diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4208014f82..8c3fb723fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -164,7 +164,6 @@ jobs: cargo clippy -p test_match && cargo clippy -p test_matrix3x2 && cargo clippy -p test_metadata && - cargo clippy -p test_mshtml && cargo clippy -p test_not_dll && cargo clippy -p test_no_use && cargo clippy -p test_ntstatus && diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3b49c496d3..672222e6d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -126,8 +126,8 @@ jobs: cargo test --target ${{ matrix.target }} -p test_component_client && cargo test --target ${{ matrix.target }} -p test_const_fields && cargo test --target ${{ matrix.target }} -p test_core && - cargo test --target ${{ matrix.target }} -p test_data_object && cargo clean && + cargo test --target ${{ matrix.target }} -p test_data_object && cargo test --target ${{ matrix.target }} -p test_debug && cargo test --target ${{ matrix.target }} -p test_deprecated && cargo test --target ${{ matrix.target }} -p test_dispatch && @@ -148,7 +148,6 @@ jobs: cargo test --target ${{ matrix.target }} -p test_match && cargo test --target ${{ matrix.target }} -p test_matrix3x2 && cargo test --target ${{ matrix.target }} -p test_metadata && - cargo test --target ${{ matrix.target }} -p test_mshtml && cargo test --target ${{ matrix.target }} -p test_not_dll && cargo test --target ${{ matrix.target }} -p test_no_use && cargo test --target ${{ matrix.target }} -p test_ntstatus && diff --git a/crates/libs/sys/Cargo.toml b/crates/libs/sys/Cargo.toml index a311b79396..0e40fbba38 100644 --- a/crates/libs/sys/Cargo.toml +++ b/crates/libs/sys/Cargo.toml @@ -594,7 +594,6 @@ Win32_System_DeveloperLicensing = ["Win32_System"] Win32_System_Diagnostics = ["Win32_System"] Win32_System_Diagnostics_Ceip = ["Win32_System_Diagnostics"] Win32_System_Diagnostics_Debug = ["Win32_System_Diagnostics"] -Win32_System_Diagnostics_Debug_WebApp = ["Win32_System_Diagnostics_Debug"] Win32_System_Diagnostics_Etw = ["Win32_System_Diagnostics"] Win32_System_Diagnostics_ProcessSnapshotting = ["Win32_System_Diagnostics"] Win32_System_Diagnostics_ToolHelp = ["Win32_System_Diagnostics"] @@ -714,5 +713,3 @@ Win32_UI_WindowsAndMessaging = ["Win32_UI"] Win32_UI_Wpf = ["Win32_UI"] Win32_UI_Xaml = ["Win32_UI"] Win32_UI_Xaml_Diagnostics = ["Win32_UI_Xaml"] -Win32_Web = ["Win32"] -Win32_Web_MsHtml = ["Win32_Web"] diff --git a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/WebApp/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/WebApp/mod.rs deleted file mode 100644 index af979c7fee..0000000000 --- a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/WebApp/mod.rs +++ /dev/null @@ -1,12 +0,0 @@ -pub type IWebApplicationActivation = *mut ::core::ffi::c_void; -pub type IWebApplicationAuthoringMode = *mut ::core::ffi::c_void; -pub type IWebApplicationHost = *mut ::core::ffi::c_void; -pub type IWebApplicationNavigationEvents = *mut ::core::ffi::c_void; -pub type IWebApplicationScriptEvents = *mut ::core::ffi::c_void; -pub type IWebApplicationUIEvents = *mut ::core::ffi::c_void; -pub type IWebApplicationUpdateEvents = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_WebApp\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -pub type RegisterAuthoringClientFunctionType = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_WebApp\"`*"] -pub type UnregisterAuthoringClientFunctionType = ::core::option::Option ::windows_sys::core::HRESULT>; diff --git a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs index a17a05fe01..e1cbd93aa2 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs @@ -1,5 +1,3 @@ -#[cfg(feature = "Win32_System_Diagnostics_Debug_WebApp")] -pub mod WebApp; #[cfg_attr(windows, link(name = "windows"))] extern "system" { #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] diff --git a/crates/libs/sys/src/Windows/Win32/Web/MsHtml/mod.rs b/crates/libs/sys/src/Windows/Win32/Web/MsHtml/mod.rs deleted file mode 100644 index 03c55255ad..0000000000 --- a/crates/libs/sys/src/Windows/Win32/Web/MsHtml/mod.rs +++ /dev/null @@ -1,19620 +0,0 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Graphics_Gdi\"`*"] - #[cfg(feature = "Win32_Graphics_Gdi")] - pub fn ComputeInvCMAP(prgbcolors: *const super::super::Graphics::Gdi::RGBQUAD, ncolors: u32, pinvtable: *mut u8, cbtable: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`*"] - #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] - pub fn CreateDDrawSurfaceOnDIB(hbmdib: super::super::Graphics::Gdi::HBITMAP, ppsurface: *mut super::super::Graphics::DirectDraw::IDirectDrawSurface) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] - pub fn CreateMIMEMap(ppmap: *mut IMapMIMEToCLSID) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub fn DecodeImage(pstream: super::super::System::Com::IStream, pmap: IMapMIMEToCLSID, peventsink: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub fn DecodeImageEx(pstream: super::super::System::Com::IStream, pmap: IMapMIMEToCLSID, peventsink: ::windows_sys::core::IUnknown, pszmimetypeparam: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Graphics_Gdi\"`*"] - #[cfg(feature = "Win32_Graphics_Gdi")] - pub fn DitherTo8(pdestbits: *mut u8, ndestpitch: i32, psrcbits: *mut u8, nsrcpitch: i32, bfidsrc: *const ::windows_sys::core::GUID, prgbdestcolors: *mut super::super::Graphics::Gdi::RGBQUAD, prgbsrccolors: *mut super::super::Graphics::Gdi::RGBQUAD, pbdestinvmap: *mut u8, x: i32, y: i32, cx: i32, cy: i32, ldesttrans: i32, lsrctrans: i32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DoPrivacyDlg(hwndowner: super::super::Foundation::HWND, pszurl: ::windows_sys::core::PCWSTR, pprivacyenum: IEnumPrivacyRecords, freportallsites: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] - pub fn GetMaxMIMEIDBytes(pnmaxbytes: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] - pub fn IdentifyMIMEType(pbbytes: *const u8, nbytes: u32, pnformat: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RatingAccessDeniedDialog(hdlg: super::super::Foundation::HWND, pszusername: ::windows_sys::core::PCSTR, pszcontentdescription: ::windows_sys::core::PCSTR, pratingdetails: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RatingAccessDeniedDialog2(hdlg: super::super::Foundation::HWND, pszusername: ::windows_sys::core::PCSTR, pratingdetails: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RatingAccessDeniedDialog2W(hdlg: super::super::Foundation::HWND, pszusername: ::windows_sys::core::PCWSTR, pratingdetails: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RatingAccessDeniedDialogW(hdlg: super::super::Foundation::HWND, pszusername: ::windows_sys::core::PCWSTR, pszcontentdescription: ::windows_sys::core::PCWSTR, pratingdetails: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RatingAddToApprovedSites(hdlg: super::super::Foundation::HWND, cbpasswordblob: u32, pbpasswordblob: *mut u8, lpszurl: ::windows_sys::core::PCWSTR, falwaysnever: super::super::Foundation::BOOL, fsitepage: super::super::Foundation::BOOL, fapprovedsitesenforced: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] - pub fn RatingCheckUserAccess(pszusername: ::windows_sys::core::PCSTR, pszurl: ::windows_sys::core::PCSTR, pszratinginfo: ::windows_sys::core::PCSTR, pdata: *const u8, cbdata: u32, ppratingdetails: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] - pub fn RatingCheckUserAccessW(pszusername: ::windows_sys::core::PCWSTR, pszurl: ::windows_sys::core::PCWSTR, pszratinginfo: ::windows_sys::core::PCWSTR, pdata: *const u8, cbdata: u32, ppratingdetails: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RatingClickedOnPRFInternal(hwndowner: super::super::Foundation::HWND, param1: super::super::Foundation::HINSTANCE, lpszfilename: ::windows_sys::core::PCSTR, nshow: i32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RatingClickedOnRATInternal(hwndowner: super::super::Foundation::HWND, param1: super::super::Foundation::HINSTANCE, lpszfilename: ::windows_sys::core::PCSTR, nshow: i32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RatingEnable(hwndparent: super::super::Foundation::HWND, pszusername: ::windows_sys::core::PCSTR, fenable: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RatingEnableW(hwndparent: super::super::Foundation::HWND, pszusername: ::windows_sys::core::PCWSTR, fenable: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] - pub fn RatingEnabledQuery() -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] - pub fn RatingFreeDetails(pratingdetails: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] - pub fn RatingInit() -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RatingObtainCancel(hratingobtainquery: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RatingObtainQuery(psztargeturl: ::windows_sys::core::PCSTR, dwuserdata: u32, fcallback: isize, phratingobtainquery: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RatingObtainQueryW(psztargeturl: ::windows_sys::core::PCWSTR, dwuserdata: u32, fcallback: isize, phratingobtainquery: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RatingSetupUI(hdlg: super::super::Foundation::HWND, pszusername: ::windows_sys::core::PCSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RatingSetupUIW(hdlg: super::super::Foundation::HWND, pszusername: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub fn SniffStream(pinstream: super::super::System::Com::IStream, pnformat: *mut u32, ppoutstream: *mut super::super::System::Com::IStream) -> ::windows_sys::core::HRESULT; -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ADDRESSBAND: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type ADDURL_FLAG = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ADDURL_FIRST: ADDURL_FLAG = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ADDURL_ADDTOHISTORYANDCACHE: ADDURL_FLAG = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ADDURL_ADDTOCACHE: ADDURL_FLAG = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ADDURL_Max: ADDURL_FLAG = 2147483647i32; -pub const AnchorClick: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 332742972, data2: 13241, data3: 4562, data4: [149, 167, 0, 192, 79, 142, 203, 2] }; -pub const ApplicationCache: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616873, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type BEHAVIOR_EVENT = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENT_FIRST: BEHAVIOR_EVENT = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENT_CONTENTREADY: BEHAVIOR_EVENT = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENT_DOCUMENTREADY: BEHAVIOR_EVENT = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENT_APPLYSTYLE: BEHAVIOR_EVENT = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENT_DOCUMENTCONTEXTCHANGE: BEHAVIOR_EVENT = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENT_CONTENTSAVE: BEHAVIOR_EVENT = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENT_LAST: BEHAVIOR_EVENT = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_EVENT_Max: BEHAVIOR_EVENT = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type BEHAVIOR_EVENT_FLAGS = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENTFLAGS_BUBBLE: BEHAVIOR_EVENT_FLAGS = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENTFLAGS_STANDARDADDITIVE: BEHAVIOR_EVENT_FLAGS = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_EVENT_FLAGS_Max: BEHAVIOR_EVENT_FLAGS = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type BEHAVIOR_LAYOUT_INFO = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORLAYOUTINFO_FULLDELEGATION: BEHAVIOR_LAYOUT_INFO = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORLAYOUTINFO_MODIFYNATURAL: BEHAVIOR_LAYOUT_INFO = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORLAYOUTINFO_MAPSIZE: BEHAVIOR_LAYOUT_INFO = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_LAYOUT_INFO_Max: BEHAVIOR_LAYOUT_INFO = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type BEHAVIOR_LAYOUT_MODE = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORLAYOUTMODE_NATURAL: BEHAVIOR_LAYOUT_MODE = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORLAYOUTMODE_MINWIDTH: BEHAVIOR_LAYOUT_MODE = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORLAYOUTMODE_MAXWIDTH: BEHAVIOR_LAYOUT_MODE = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORLAYOUTMODE_MEDIA_RESOLUTION: BEHAVIOR_LAYOUT_MODE = 16384i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORLAYOUTMODE_FINAL_PERCENT: BEHAVIOR_LAYOUT_MODE = 32768i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_LAYOUT_MODE_Max: BEHAVIOR_LAYOUT_MODE = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type BEHAVIOR_RELATION = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_FIRSTRELATION: BEHAVIOR_RELATION = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_SAMEELEMENT: BEHAVIOR_RELATION = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_PARENT: BEHAVIOR_RELATION = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_CHILD: BEHAVIOR_RELATION = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_SIBLING: BEHAVIOR_RELATION = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_LASTRELATION: BEHAVIOR_RELATION = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_RELATION_Max: BEHAVIOR_RELATION = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type BEHAVIOR_RENDER_INFO = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_BEFOREBACKGROUND: BEHAVIOR_RENDER_INFO = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_AFTERBACKGROUND: BEHAVIOR_RENDER_INFO = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_BEFORECONTENT: BEHAVIOR_RENDER_INFO = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_AFTERCONTENT: BEHAVIOR_RENDER_INFO = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_AFTERFOREGROUND: BEHAVIOR_RENDER_INFO = 32i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_ABOVECONTENT: BEHAVIOR_RENDER_INFO = 40i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_ALLLAYERS: BEHAVIOR_RENDER_INFO = 255i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_DISABLEBACKGROUND: BEHAVIOR_RENDER_INFO = 256i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_DISABLENEGATIVEZ: BEHAVIOR_RENDER_INFO = 512i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_DISABLECONTENT: BEHAVIOR_RENDER_INFO = 1024i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_DISABLEPOSITIVEZ: BEHAVIOR_RENDER_INFO = 2048i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_DISABLEALLLAYERS: BEHAVIOR_RENDER_INFO = 3840i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_HITTESTING: BEHAVIOR_RENDER_INFO = 4096i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_SURFACE: BEHAVIOR_RENDER_INFO = 1048576i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_3DSURFACE: BEHAVIOR_RENDER_INFO = 2097152i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_RENDER_INFO_Max: BEHAVIOR_RENDER_INFO = 2147483647i32; -pub const BlockFormats: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612785, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type BoolValue = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const True: BoolValue = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const False: BoolValue = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BoolValue_Max: BoolValue = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type CARET_DIRECTION = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CARET_DIRECTION_INDETERMINATE: CARET_DIRECTION = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CARET_DIRECTION_SAME: CARET_DIRECTION = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CARET_DIRECTION_BACKWARD: CARET_DIRECTION = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CARET_DIRECTION_FORWARD: CARET_DIRECTION = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CARET_DIRECTION_Max: CARET_DIRECTION = 2147483647i32; -pub const CATID_MSOfficeAntiVirus: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1459604528, data2: 54168, data3: 4560, data4: [178, 174, 0, 160, 201, 8, 250, 73] }; -pub const CClientCaps: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2123088974, data2: 44799, data3: 4561, data4: [137, 194, 0, 192, 79, 182, 191, 196] }; -pub const CDeviceRect: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612436, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CDownloadBehavior: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612158, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CEventObj: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611850, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CGID_DocHostCommandHandler: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4086022722, data2: 47440, data3: 4561, data4: [137, 24, 0, 192, 79, 194, 200, 54] }; -pub const CGID_EditStateCommands: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611894, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CHeaderFooter: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612429, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CLayoutRect: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612324, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_HOSTCONTEXT_URL: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_ALLOWRECOVERY: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_BASEIURI: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_HTMLDLGTRUST: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_IURI: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_NAMESPACE: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_SECSTATE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_SECURITY_WINDOW: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_SID: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_TRUSTEDDOC: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_URL: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMD_ZOOM_FIT: i32 = -5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMD_ZOOM_ONEPAGE: i32 = -2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMD_ZOOM_PAGEWIDTH: i32 = -1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMD_ZOOM_SELECTION: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMD_ZOOM_TWOPAGES: i32 = -3i32; -pub const CMimeTypes: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611710, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COLOR_NO_TRANSPARENT: u32 = 4294967295u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_ANCHOR: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_CONTROL: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_DEBUG: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_DEFAULT: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_DISABLEDFLASH: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_ENTITY: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_HSCROLL: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_IMAGE: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_IMGDYNSRC: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_MEDIA: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_PDF: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_TABLE: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_TEXTSELECT: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_UNKNOWN: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_VSCROLL: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COOKIEACTION_ACCEPT: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COOKIEACTION_DOWNGRADE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COOKIEACTION_LEASH: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COOKIEACTION_NONE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COOKIEACTION_READ: u32 = 32u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COOKIEACTION_REJECT: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COOKIEACTION_SUPPRESS: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type COORD_SYSTEM = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COORD_SYSTEM_GLOBAL: COORD_SYSTEM = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COORD_SYSTEM_PARENT: COORD_SYSTEM = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COORD_SYSTEM_CONTAINER: COORD_SYSTEM = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COORD_SYSTEM_CONTENT: COORD_SYSTEM = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COORD_SYSTEM_FRAME: COORD_SYSTEM = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COORD_SYSTEM_CLIENT: COORD_SYSTEM = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COORD_SYSTEM_Max: COORD_SYSTEM = 2147483647i32; -pub const COpsProfile: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611714, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CPersistDataPeer: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611847, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CPersistHistory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611912, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CPersistShortcut: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611910, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CPersistSnapshot: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611913, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CPersistUserData: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611854, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CPlugins: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611711, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CPrintManagerTemplatePrinter: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1667342164, data2: 40305, data3: 19491, data4: [160, 141, 80, 215, 241, 141, 178, 233] }; -pub const CTemplatePrinter: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612403, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CanvasGradient: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616597, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CanvasImageData: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616603, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CanvasPattern: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616599, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CanvasRenderingContext2D: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616576, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CanvasTextMetrics: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616601, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const CoDitherToRGB8: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2824916560, data2: 14608, data3: 4560, data4: [134, 252, 0, 160, 201, 19, 247, 80] }; -pub const CoMapMIMEToCLSID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 818131072, data2: 12539, data3: 4560, data4: [183, 36, 0, 170, 0, 108, 26, 1] }; -pub const CoSniffStream: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1778515360, data2: 12511, data3: 4560, data4: [183, 36, 0, 170, 0, 108, 26, 1] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEBUGCALLBACKNOTIFICATION_ANIMATIONFRAME: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEBUGCALLBACKNOTIFICATION_DOMEVENT: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEBUGCALLBACKNOTIFICATION_IMMEDIATE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEBUGCALLBACKNOTIFICATION_INTERVAL: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEBUGCALLBACKNOTIFICATION_TIMEOUT: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEBUGDOMEVENTPROPAGATIONSTATUS_DEFAULTCANCELED: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEBUGDOMEVENTPROPAGATIONSTATUS_STOPIMMEDIATEPROPAGATION: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEBUGDOMEVENTPROPAGATIONSTATUS_STOPPROPAGATION: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type DEV_CONSOLE_MESSAGE_LEVEL = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DCML_INFORMATIONAL: DEV_CONSOLE_MESSAGE_LEVEL = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DCML_WARNING: DEV_CONSOLE_MESSAGE_LEVEL = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DCML_ERROR: DEV_CONSOLE_MESSAGE_LEVEL = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEV_CONSOLE_MESSAGE_LEVEL_Max: DEV_CONSOLE_MESSAGE_LEVEL = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISP10_IE10_XMSARIAFLOWFROM: u32 = 66835u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_1D: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_2D: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AAHEADER: u32 = 70793u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ACTIVEXFILTERINGENABLED: u32 = 61u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ACTIVEX_EXPANDO_BASE: u32 = 72536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ACTIVEX_EXPANDO_MAX: u32 = 73535u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDCHANNEL: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDDESKTOPCOMPONENT: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDFAVORITE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDSEARCHPROVIDER: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDSERVICE: u32 = 30u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDSITEMODE: u32 = 49u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDTHUMBNAILBUTTONS: u32 = 48u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDTOFAVORITESBAR: u32 = 32u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDTRACKINGPROTECTIONLIST: u32 = 57u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADVANCEERROR: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADVISEDATASRCCHANGEEVENT: i32 = -3901i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AMBIENT_DLCONTROL: i32 = -5512i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AMBIENT_OFFLINEIFNOTCONNECTED: i32 = -5501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AMBIENT_SILENT: i32 = -5502i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AMBIENT_USERAGENT: i32 = -5513i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ANCHOR: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_APPLICATIONCACHE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AREA: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ATTRS: u32 = 70536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AUDIO: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AUTOCOMPLETEATTACH: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AUTOCOMPLETESAVEFORM: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AUTOSCAN: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ACCELERATOR: u32 = 70683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ACCEVENTRECORDID_END: u32 = 71209u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ACCEVENTRECORDID_START: u32 = 71190u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ALIGNCONTENT: u32 = 71009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ALIGNITEMS: u32 = 71007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ALIGNMENTBASELINE: u32 = 70814u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ALIGNSELF: u32 = 71008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ALLOWTRANSPARENCY: u32 = 70742u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATION: u32 = 70985u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATIONDELAY: u32 = 70981u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATIONDIRECTION: u32 = 70982u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATIONDURATION: u32 = 70979u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATIONFILLMODE: u32 = 70986u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATIONITERATIONCOUNT: u32 = 70984u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATIONNAME: u32 = 70978u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATIONPLAYSTATE: u32 = 70983u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATIONTIMINGFUNCTION: u32 = 70980u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BACKFACEVISIBILITY: u32 = 70977u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BACKGROUND: u32 = 70568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BACKGROUNDATTACHMENT: u32 = 70581u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BACKGROUNDIMAGE: u32 = 70537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BACKGROUNDPOSITION: u32 = 70582u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BACKGROUNDPOSX: u32 = 70569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BACKGROUNDPOSY: u32 = 70570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BACKGROUNDREPEAT: u32 = 70580u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BASEFONT: u32 = 70562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BASELINESHIFT: u32 = 70815u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BDURLIMGCTXCACHEINDEX: u32 = 71214u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BEHAVIOR: u32 = 70651u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BGURLIMGCTXCACHEINDEX: u32 = 70646u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BGURLIMGCTXCACHEINDEX_FLETTER: u32 = 70738u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BGURLIMGCTXCACHEINDEX_FLINE: u32 = 70737u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDER: u32 = 70585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERBOTTOM: u32 = 70588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERBOTTOMCOLOR: u32 = 70593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERBOTTOMLEFTRADIUS: u32 = 70850u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERBOTTOMRIGHTRADIUS: u32 = 70849u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERBOTTOMSTYLE: u32 = 70603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERBOTTOMWIDTH: u32 = 70598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERCOLLAPSE: u32 = 70620u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERCOLOR: u32 = 70590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERIMAGE: u32 = 71010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERIMAGEOUTSET: u32 = 71014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERIMAGEREPEAT: u32 = 71015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERIMAGESLICE: u32 = 71012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERIMAGESOURCE: u32 = 71011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERIMAGEWIDTH: u32 = 71013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERLEFT: u32 = 70589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERLEFTCOLOR: u32 = 70594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERLEFTSTYLE: u32 = 70604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERLEFTWIDTH: u32 = 70599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERRADIUS: u32 = 70846u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERRIGHT: u32 = 70587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERRIGHTCOLOR: u32 = 70592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERRIGHTSTYLE: u32 = 70602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERRIGHTWIDTH: u32 = 70597u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERSPACING: u32 = 70763u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERSTYLE: u32 = 70600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERTOP: u32 = 70586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERTOPCOLOR: u32 = 70591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERTOPLEFTRADIUS: u32 = 70847u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERTOPRIGHTRADIUS: u32 = 70848u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERTOPSTYLE: u32 = 70601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERTOPWIDTH: u32 = 70596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERWIDTH: u32 = 70595u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BOXSIZING: u32 = 70762u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BREAKAFTER: u32 = 70882u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BREAKBEFORE: u32 = 70881u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BREAKINSIDE: u32 = 70883u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CAPTIONSIDE: u32 = 70755u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLASSLIST: u32 = 70953u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLEAR: u32 = 70552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLIP: u32 = 70628u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLIPPATH: u32 = 70820u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLIPRECTBOTTOM: u32 = 70631u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLIPRECTLEFT: u32 = 70632u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLIPRECTRIGHT: u32 = 70630u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLIPRECTTOP: u32 = 70629u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLIPRULE: u32 = 70821u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLORINTERPOLATIONFILTERS: u32 = 70928u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNCOUNT: u32 = 70872u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNFILL: u32 = 70875u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNGAP: u32 = 70874u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNRULE: u32 = 70877u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNRULECOLOR: u32 = 70880u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNRULESTYLE: u32 = 70878u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNRULEWIDTH: u32 = 70879u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNS: u32 = 70871u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNSPAN: u32 = 70876u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNWIDTH: u32 = 70873u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CONTENT: u32 = 70754u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COUNTERINCREMENT: u32 = 70756u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COUNTERRESET: u32 = 70757u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CSSFLOAT: u32 = 70845u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CURSOR: u32 = 70638u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_DATASET: u32 = 71016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_DEFAULTTEXTSELECTION: u32 = 70724u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_DIR: u32 = 70653u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_DIRECTION: u32 = 70655u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_DISPLAY: u32 = 70607u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_DOCFRAGMENT: u32 = 70678u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_DOMINANTBASELINE: u32 = 70816u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_DRAGGABLE: u32 = 70944u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_EDITABLE: u32 = 70698u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_EMPTYCELLS: u32 = 70786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ENABLEBACKGROUND: u32 = 70946u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_EVENTSINK: u32 = 70639u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_EXTENDEDTAGDESC: u32 = 70687u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FILL: u32 = 70822u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FILLOPACITY: u32 = 70823u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FILLRULE: u32 = 70824u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FILTER: u32 = 70618u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FIRST: u32 = 70536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLEX: u32 = 71002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLEXBASIS: u32 = 71005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLEXDIRECTION: u32 = 70998u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLEXFLOW: u32 = 71000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLEXGROW: u32 = 71003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLEXSHRINK: u32 = 71004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLEXWRAP: u32 = 70999u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLOAT: u32 = 70606u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLOODCOLOR: u32 = 70926u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLOODOPACITY: u32 = 70927u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONT: u32 = 70577u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTFACE: u32 = 70554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTFACESRC: u32 = 70633u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTFEATURESETTINGS: u32 = 70987u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTSIZE: u32 = 70555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTSIZEADJUST: u32 = 70817u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTSIZECOMBINE: u32 = 70579u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTSIZEKEYWORD: u32 = 70578u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTSTRETCH: u32 = 70818u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTSTYLE: u32 = 70560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTVARIANT: u32 = 70561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTWEIGHT: u32 = 70563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FROZEN: u32 = 70734u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_GLYPHORIENTATIONHORIZONTAL: u32 = 70843u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_GLYPHORIENTATIONVERTICAL: u32 = 70844u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HASLAYOUT: u32 = 70696u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HIDDEN: u32 = 70617u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HIDEFOCUS: u32 = 70699u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HTCDD_CREATEEVENTOBJECT: u32 = 70680u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HTCDD_DEFAULTS: u32 = 70701u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HTCDD_ELEMENT: u32 = 70679u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HTCDD_ISMARKUPSHARED: u32 = 70693u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HTCDD_PROTECTEDELEMENT: u32 = 70690u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HTCDISPATCHITEM_VALUE: u32 = 70677u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HTCDISPATCHITEM_VALUE_SCRIPTSONLY: u32 = 70686u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_IE9_BACKGROUNDCLIP: u32 = 70852u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_IE9_BACKGROUNDORIGIN: u32 = 70853u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_IE9_BACKGROUNDSIZE: u32 = 70854u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_IE9_BOXSHADOW: u32 = 70855u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_IMEMODE: u32 = 70656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_INTERPOLATION: u32 = 70749u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ISBLOCK: u32 = 70744u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_JUSTIFYCONTENT: u32 = 71006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_KERNING: u32 = 70825u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LANG: u32 = 70545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LANGUAGE: u32 = 70636u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LAYOUTFLOW: u32 = 70691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LAYOUTGRID: u32 = 70667u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LAYOUTGRIDCHAR: u32 = 70663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LAYOUTGRIDLINE: u32 = 70664u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LAYOUTGRIDMODE: u32 = 70665u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LAYOUTGRIDTYPE: u32 = 70666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LETTERSPACING: u32 = 70544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LIGHTINGCOLOR: u32 = 70929u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LINEBREAK: u32 = 70669u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LINEHEIGHT: u32 = 70542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LISTSTYLE: u32 = 70611u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LISTSTYLEIMAGE: u32 = 70610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LISTSTYLEPOSITION: u32 = 70609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LISTSTYLETYPE: u32 = 70608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LISTTYPE: u32 = 70553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LIURLIMGCTXCACHEINDEX: u32 = 70647u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARGIN: u32 = 70572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARGINBOTTOM: u32 = 70575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARGINLEFT: u32 = 70576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARGINRIGHT: u32 = 70574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARGINTOP: u32 = 70573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARKER: u32 = 70826u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARKEREND: u32 = 70827u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARKERMID: u32 = 70828u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARKERSTART: u32 = 70829u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MASK: u32 = 70830u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MAX: u32 = 71535u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MAXHEIGHT: u32 = 70750u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MAXWIDTH: u32 = 70752u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIA: u32 = 70697u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAASPECTRATIO: u32 = 71153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIACOLOR: u32 = 71159u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIACOLORINDEX: u32 = 71162u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIADEVICEASPECTRATIO: u32 = 71156u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIADEVICEHEIGHT: u32 = 71150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIADEVICEWIDTH: u32 = 71147u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAGRID: u32 = 71188u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAHEIGHT: u32 = 71144u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXASPECTRATIO: u32 = 71151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXCOLOR: u32 = 71157u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXCOLORINDEX: u32 = 71160u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXDEVICEASPECTRATIO: u32 = 71154u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXDEVICEHEIGHT: u32 = 71148u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXDEVICEWIDTH: u32 = 71145u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXHEIGHT: u32 = 71142u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXMONOCHROME: u32 = 71163u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXRESOLUTION: u32 = 71166u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXWIDTH: u32 = 71139u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINASPECTRATIO: u32 = 71152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINCOLOR: u32 = 71158u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINCOLORINDEX: u32 = 71161u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINDEVICEASPECTRATIO: u32 = 71155u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINDEVICEHEIGHT: u32 = 71149u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINDEVICEWIDTH: u32 = 71146u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINHEIGHT: u32 = 71143u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINMONOCHROME: u32 = 71164u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINRESOLUTION: u32 = 71167u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINWIDTH: u32 = 71140u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMONOCHROME: u32 = 71165u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMSHIGHCONTRAST: u32 = 71174u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMSVIEWSTATE: u32 = 71178u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAORIENTATION: u32 = 71138u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIARESOLUTION: u32 = 71168u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIASCAN: u32 = 71189u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAWEBKITDEVICEPIXELRATIO: u32 = 71215u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAWEBKITMAXDEVICEPIXELRATIO: u32 = 71216u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAWEBKITMINDEVICEPIXELRATIO: u32 = 71217u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAWIDTH: u32 = 71141u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MIN: u32 = 70536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MINHEIGHT: u32 = 70747u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MINWIDTH: u32 = 70751u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ACCELERATOR: u32 = 70783u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATION: u32 = 70924u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATIONDELAY: u32 = 70920u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATIONDIRECTION: u32 = 70921u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATIONDURATION: u32 = 70918u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATIONFILLMODE: u32 = 70925u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATIONITERATIONCOUNT: u32 = 70923u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATIONNAME: u32 = 70917u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATIONPLAYSTATE: u32 = 70922u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATIONTIMINGFUNCTION: u32 = 70919u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_BACKFACEVISIBILITY: u32 = 70890u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_BACKGROUNDPOSX: u32 = 70781u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_BACKGROUNDPOSY: u32 = 70782u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_BEHAVIOR: u32 = 70767u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_BLOCKPROGRESSION: u32 = 70787u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMCHAINING: u32 = 70895u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMFACTOR: u32 = 70900u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMING: u32 = 70892u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMLIMIT: u32 = 70897u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMLIMITMAX: u32 = 70902u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMLIMITMIN: u32 = 70901u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMSNAP: u32 = 70898u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMSNAPPOINTS: u32 = 70899u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMSNAPTYPE: u32 = 70893u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FILTER: u32 = 70801u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEX: u32 = 70955u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXALIGN: u32 = 70962u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXDIRECTION: u32 = 70960u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXFLOW: u32 = 70959u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXITEMALIGN: u32 = 70963u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXLINEPACK: u32 = 70965u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXNEGATIVE: u32 = 70957u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXORDER: u32 = 70966u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXPACK: u32 = 70964u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXPOSITIVE: u32 = 70956u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXPREFERREDSIZE: u32 = 70958u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXWRAP: u32 = 70961u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLOWFROM: u32 = 70938u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLOWINTO: u32 = 70939u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FONTFEATURESETTINGS: u32 = 70950u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_GRIDCOLUMN: u32 = 70908u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_GRIDCOLUMNALIGN: u32 = 70909u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_GRIDCOLUMNS: u32 = 70910u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_GRIDCOLUMNSPAN: u32 = 70911u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_GRIDROW: u32 = 70913u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_GRIDROWALIGN: u32 = 70914u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_GRIDROWS: u32 = 70915u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_GRIDROWSPAN: u32 = 70916u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_HIGHCONTRASTADJUST: u32 = 70945u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_HYPHENATE_LIMIT_CHARS: u32 = 70942u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_HYPHENATE_LIMIT_LINES: u32 = 70943u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_HYPHENATE_LIMIT_ZONE: u32 = 70941u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_HYPHENS: u32 = 70940u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_IMEALIGN: u32 = 71017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_IMEMODE: u32 = 70780u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_LAYOUTFLOW: u32 = 70784u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_LAYOUTGRID: u32 = 70799u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_LAYOUTGRIDCHAR: u32 = 70795u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_LAYOUTGRIDLINE: u32 = 70796u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_LAYOUTGRIDMODE: u32 = 70797u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_LAYOUTGRIDTYPE: u32 = 70798u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_LINEBREAK: u32 = 70800u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_OVERFLOWSTYLE: u32 = 70935u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_OVERFLOWX: u32 = 70802u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_OVERFLOWY: u32 = 70803u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_PERSPECTIVE: u32 = 70885u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_PERSPECTIVEORIGIN: u32 = 70886u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_PERSPECTIVEORIGINX: u32 = 70887u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_PERSPECTIVEORIGINY: u32 = 70888u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLBAR3DLIGHTCOLOR: u32 = 70770u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLBARARROWCOLOR: u32 = 70774u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLBARBASECOLOR: u32 = 70768u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLBARDARKSHADOWCOLOR: u32 = 70773u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLBARFACECOLOR: u32 = 70769u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLBARHIGHLIGHTCOLOR: u32 = 70772u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLBARSHADOWCOLOR: u32 = 70771u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLBARTRACKCOLOR: u32 = 70775u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLCHAINING: u32 = 70891u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLLIMIT: u32 = 70934u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLLIMITXMAX: u32 = 70932u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLLIMITXMIN: u32 = 70930u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLLIMITYMAX: u32 = 70933u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLLIMITYMIN: u32 = 70931u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLRAILS: u32 = 70894u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLSNAPPOINTSX: u32 = 70905u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLSNAPPOINTSY: u32 = 70906u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLSNAPTYPE: u32 = 70896u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLSNAPX: u32 = 70903u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLSNAPY: u32 = 70904u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLTRANSLATION: u32 = 70954u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TEXTALIGNLAST: u32 = 70776u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TEXTAUTOSPACE: u32 = 70804u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TEXTCOMBINEHORIZONTAL: u32 = 71018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TEXTJUSTIFY: u32 = 70805u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TEXTKASHIDASPACE: u32 = 70806u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TEXTOVERFLOW: u32 = 70777u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TEXTSIZEADJUST: u32 = 70864u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TEXTUNDERLINEPOSITION: u32 = 70778u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TOUCHACTION: u32 = 70952u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TOUCHSELECT: u32 = 70994u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSFORM: u32 = 70851u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSFORMORIGIN: u32 = 70861u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSFORMORIGINX: u32 = 70862u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSFORMORIGINY: u32 = 70863u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSFORMORIGINZ: u32 = 70884u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSFORMSTYLE: u32 = 70889u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSITION: u32 = 70870u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSITIONDELAY: u32 = 70869u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSITIONDURATION: u32 = 70867u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSITIONPROPERTY: u32 = 70866u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSITIONTIMINGFUNCTION: u32 = 70868u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_USERSELECT: u32 = 70951u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_WORDBREAK: u32 = 70807u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_WORDWRAP: u32 = 70808u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_WRAPFLOW: u32 = 70949u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_WRAPMARGIN: u32 = 70947u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_WRAPTHROUGH: u32 = 70937u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_WRITINGMODE: u32 = 70779u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ZOOM: u32 = 70785u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_NOWRAP: u32 = 70541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_OPACITY: u32 = 70819u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ORDER: u32 = 71001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ORPHANS: u32 = 70764u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_OUTLINE: u32 = 70758u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_OUTLINECOLOR: u32 = 70761u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_OUTLINESTYLE: u32 = 70760u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_OUTLINEWIDTH: u32 = 70759u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_OVERFLOW: u32 = 70546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_OVERFLOWX: u32 = 70675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_OVERFLOWY: u32 = 70676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PADDING: u32 = 70547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PADDINGBOTTOM: u32 = 70550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PADDINGLEFT: u32 = 70551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PADDINGRIGHT: u32 = 70549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PADDINGTOP: u32 = 70548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PAGEBREAKAFTER: u32 = 70614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PAGEBREAKBEFORE: u32 = 70613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PAGEBREAKINSIDE: u32 = 70766u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PERSPECTIVE: u32 = 70974u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PERSPECTIVEORIGIN: u32 = 70975u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PERSPECTIVEORIGINX: u32 = 70992u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PERSPECTIVEORIGINY: u32 = 70993u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_POINTEREVENTS: u32 = 70831u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_POSITION: u32 = 70626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PROPNOTIFYSINK: u32 = 70640u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_QUOTES: u32 = 70788u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_RENDERINGPRIORITY: u32 = 70706u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ROTATE: u32 = 70688u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ROWPOSITIONCHANGESINK: u32 = 70650u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ROWSETASYNCHNOTIFYSINK: u32 = 70648u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ROWSETNOTIFYSINK: u32 = 70641u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_RUBYALIGN: u32 = 70657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_RUBYOVERHANG: u32 = 70659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_RUBYPOSITION: u32 = 70658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLL: u32 = 70615u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLLBAR3DLIGHTCOLOR: u32 = 70718u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLLBARARROWCOLOR: u32 = 70722u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLLBARBASECOLOR: u32 = 70716u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLLBARDARKSHADOWCOLOR: u32 = 70721u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLLBARFACECOLOR: u32 = 70717u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLLBARHIGHLIGHTCOLOR: u32 = 70720u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLLBARSHADOWCOLOR: u32 = 70719u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLLBARTRACKCOLOR: u32 = 70732u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SPELLCHECK: u32 = 70907u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STOPCOLOR: u32 = 70832u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STOPOPACITY: u32 = 70833u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STROKE: u32 = 70834u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STROKEDASHARRAY: u32 = 70835u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STROKEDASHOFFSET: u32 = 70836u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STROKELINECAP: u32 = 70837u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STROKELINEJOIN: u32 = 70838u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STROKEMITERLIMIT: u32 = 70839u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STROKEOPACITY: u32 = 70840u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STROKEWIDTH: u32 = 70841u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STYLETEXT: u32 = 70635u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STYLETEXTDECORATION: u32 = 70727u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TABLEBORDERCOLOR: u32 = 70564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TABLEBORDERCOLORDARK: u32 = 70566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TABLEBORDERCOLORLIGHT: u32 = 70565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TABLELAYOUT: u32 = 70634u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TABLEVALIGN: u32 = 70567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTALIGNLAST: u32 = 70739u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTANCHOR: u32 = 70842u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTAUTOSPACE: u32 = 70668u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTBACKGROUNDCOLOR: u32 = 70705u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTCOLOR: u32 = 70726u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTDECORATION: u32 = 70571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTDECORATIONBLINK: u32 = 70558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTDECORATIONCOLOR: u32 = 70725u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTDECORATIONLINETHROUGH: u32 = 70556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTDECORATIONNONE: u32 = 70559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTDECORATIONOVERLINE: u32 = 70605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTDECORATIONUNDERLINE: u32 = 70557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTEFFECT: u32 = 70704u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTINDENT: u32 = 70543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTJUSTIFY: u32 = 70671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTJUSTIFYTRIM: u32 = 70672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTKASHIDA: u32 = 70673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTKASHIDASPACE: u32 = 70740u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTLINETHROUGHSTYLE: u32 = 70702u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTOVERFLOW: u32 = 70745u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTSHADOW: u32 = 70936u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTTRANSFORM: u32 = 70540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTUNDERLINEPOSITION: u32 = 70695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTUNDERLINESTYLE: u32 = 70703u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TOUCHACTION: u32 = 71019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSFORM: u32 = 70967u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSFORMORIGIN: u32 = 70968u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSFORMORIGINX: u32 = 70988u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSFORMORIGINY: u32 = 70989u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSFORMORIGINZ: u32 = 70990u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSFORMSTYLE: u32 = 70976u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSITION: u32 = 70973u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSITIONDELAY: u32 = 70972u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSITIONDURATION: u32 = 70970u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSITIONPROPERTY: u32 = 70969u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSITIONTIMINGFUNCTION: u32 = 70971u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_UNICODEBIDI: u32 = 70654u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_UNIQUEPEERNUMBER: u32 = 70682u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_URNATOM: u32 = 70681u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_VERTICALALIGN: u32 = 70584u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_VIEWINHERITSTYLE: u32 = 70735u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_VISIBILITY: u32 = 70616u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATION: u32 = 71033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATIONDELAY: u32 = 71038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATIONDIRECTION: u32 = 71040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATIONDURATION: u32 = 71036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATIONFILLMODE: u32 = 71027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATIONITERATIONCOUNT: u32 = 71039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATIONNAME: u32 = 71035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATIONPLAYSTATE: u32 = 71041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATIONTIMINGFUNCTION: u32 = 71037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_APPEARANCE: u32 = 71020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKFACEVISIBILITY: u32 = 71030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUND: u32 = 71055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDATTACHMENT: u32 = 71046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDCLIP: u32 = 71048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDCOLOR: u32 = 71047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDIMAGE: u32 = 71049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDORIGIN: u32 = 71051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDPOSITION: u32 = 71052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDPOSITIONX: u32 = 71053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDPOSITIONY: u32 = 71054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDREPEAT: u32 = 71050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDSIZE: u32 = 71029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BORDERIMAGE: u32 = 71061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BORDERIMAGEOUTSET: u32 = 71065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BORDERIMAGEREPEAT: u32 = 71066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BORDERIMAGESLICE: u32 = 71063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BORDERIMAGESOURCE: u32 = 71062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BORDERIMAGEWIDTH: u32 = 71064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BOXALIGN: u32 = 71021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BOXDIRECTION: u32 = 71026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BOXFLEX: u32 = 71024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BOXORDINALGROUP: u32 = 71022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BOXORIENT: u32 = 71025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BOXPACK: u32 = 71023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BOXSIZING: u32 = 71031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TEXTSIZEADJUST: u32 = 71060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSFORM: u32 = 71028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSFORMORIGIN: u32 = 71056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSFORMORIGINX: u32 = 71057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSFORMORIGINY: u32 = 71058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSFORMORIGINZ: u32 = 71059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSITION: u32 = 71034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSITIONDELAY: u32 = 71045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSITIONDURATION: u32 = 71043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSITIONPROPERTY: u32 = 71042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSITIONTIMINGFUNCTION: u32 = 71044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_USERSELECT: u32 = 71032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WHITESPACE: u32 = 70612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WIDOWS: u32 = 70765u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WORDBREAK: u32 = 70670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WORDSPACING: u32 = 70583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WORDWRAP: u32 = 70694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WRITINGMODE: u32 = 70728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ZINDEX: u32 = 70627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ZOOM: u32 = 70689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BASE_STYLE: u32 = 70036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BASE_STYLERULE: u32 = 1100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BEFORENAVIGATE: u32 = 100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BEFORENAVIGATE2: u32 = 250u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BEFORESCRIPTEXECUTE: u32 = 290u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BGSOUND: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BLOCK: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BODY: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BR: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BRANDIMAGEURI: u32 = 20u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BUILDNEWTABPAGE: u32 = 33u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BUTTON: u32 = 8000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANADVANCEERROR: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANRETREATERROR: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANVASELEMENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANVASGRADIENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANVASIMAGEDATA: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANVASPIXELARRAY: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANVASPIXELARRAY_BASE: u32 = 5000000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANVASPIXELARRAY_MAX: u32 = 2000000000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANVASRENDERCONTEXT2D: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANVASTEXTMETRICS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CHANGEDEFAULTBROWSER: u32 = 68u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CHECKBOX: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CLEARNOTIFICATION: u32 = 71u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CLEARSITEMODEICONOVERLAY: u32 = 45u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CLIENTCAPS: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CLIENTTOHOSTWINDOW: u32 = 268u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_COLLECTION: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_COLLECTION_MAX: u32 = 2999999u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_COLLECTION_MIN: u32 = 1000000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_COMMANDSTATECHANGE: u32 = 105u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_COMMENTPDL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CONTENTDISCOVERYRESET: u32 = 36u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_COUNTVIEWTYPES: u32 = 22u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CREATESUBSCRIPTION: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CUSTOMIZECLEARTYPE: u32 = 23u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CUSTOMIZESETTINGS: u32 = 17u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTBOLD: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTCHARSET: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTITAL: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTNAME: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTSIZE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTSTRIKE: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTSUBSCRIPT: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTSUPERSCRIPT: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTUNDER: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTWEIGHT: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DATALIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DATATRANSFER: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DD: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DEBUG_ENABLESECUREPROXYASSERTS: i32 = -5518i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DEBUG_INTERNALWINDOW: i32 = -5517i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DEBUG_ISSECUREPROXY: i32 = -5515i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DEBUG_TRUSTEDPROXY: i32 = -5516i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DEFAULTS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DEFAULTSEARCHPROVIDER: u32 = 26u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DEFAULTVALUE: u32 = 70619u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DELETESUBSCRIPTION: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DEPTH: u32 = 17u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DIAGNOSECONNECTION: u32 = 22u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DIAGNOSECONNECTIONUILESS: u32 = 66u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DIR: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DIV: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOCFRAG: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOCUMENTCOMPATIBLEINFO: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOCUMENTCOMPATIBLEINFO_COLLECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOCUMENTCOMPLETE: u32 = 259u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOCUMENTTYPE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMATTRIBUTE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMBEFOREUNLOADEVENT: u32 = 1375u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMCLOSEEVENT: u32 = 1525u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMCOMPOSITIONEVENT: u32 = 1175u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMCUSTOMEVENT: u32 = 1200u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMDRAGEVENT: u32 = 1400u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMEVENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMEXCEPTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMFOCUSEVENT: u32 = 1250u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMIMPLEMENTATION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMKEYBOARDEVENT: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMESSAGEEVENT: u32 = 1325u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMOUSEEVENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMOUSEWHEELEVENT: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMSANIMATIONEVENT: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMSGESTUREEVENT: u32 = 1450u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMSMANIPULATIONEVENT: u32 = 1525u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMSPOINTEREVENT: u32 = 1425u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMSTRANSITIONEVENT: u32 = 1475u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMUTATIONEVENT: u32 = 1225u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMPARSER: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMPROGRESSEVENT: u32 = 1550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMRANGE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMSITEMODEEVENT: u32 = 1300u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMSTORAGE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMSTORAGEEVENT: u32 = 1350u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMSTORAGEITEM: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMSTORAGELIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMTEXTEVENT: u32 = 1125u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMTEXTNODE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMTRAVERSAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMUIEVENT: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMWHEELEVENT: u32 = 1100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOUBLECLICK: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOWNLOADBEGIN: u32 = 106u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOWNLOADCOMPLETE: u32 = 104u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONCLICK: i32 = -600i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONDBLCLICK: i32 = -601i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONKEYDOWN: i32 = -602i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONKEYPRESS: i32 = -603i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONKEYUP: i32 = -604i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONMOUSEDOWN: i32 = -605i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONMOUSEMOVE: i32 = -606i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONMOUSEUP: i32 = -607i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONREADYSTATECHANGE: i32 = -609i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONSCRIPTLETEVENT: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EFONT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ELEMENT: u32 = 66536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ENABLENOTIFICATIONQUEUE: u32 = 72u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ENABLENOTIFICATIONQUEUELARGE: u32 = 78u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ENABLENOTIFICATIONQUEUESQUARE: u32 = 76u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ENABLENOTIFICATIONQUEUEWIDE: u32 = 77u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ENABLESUGGESTEDSITES: u32 = 39u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ENUMOPTIONS: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVENTEXCEPTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVENTHOOK_INSENSITIVE_BASE: u32 = 4500000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVENTHOOK_INSENSITIVE_MAX: u32 = 4999999u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVENTHOOK_SENSITIVE_BASE: u32 = 4000000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVENTHOOK_SENSITIVE_MAX: u32 = 4499999u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVENTOBJ: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVENTS: u32 = 71536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONACTIVATE: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONAFTERPRINT: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONAFTERUPDATE: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONALERT: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFOREACTIVATE: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFORECOPY: u32 = 65566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFORECUT: u32 = 65565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFOREDEACTIVATE: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFOREEDITFOCUS: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFOREPASTE: u32 = 65567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFOREPRINT: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFOREUNLOAD: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFOREUPDATE: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBOUNCE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCELLCHANGE: u32 = 65570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCHANGEBLUR: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCHANGEFOCUS: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCLICK: i32 = -600i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCONTENTREADY: u32 = 1029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCONTEXTMENU: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCONTROLSELECT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCOPY: u32 = 65563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCUT: u32 = 65562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDATAAVAILABLE: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDATASETCHANGED: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDATASETCOMPLETE: u32 = 65552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDBLCLICK: i32 = -601i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDEACTIVATE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDOMMUTATION: u32 = 1068u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDRAG: u32 = 65556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDRAGEND: u32 = 65557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDRAGENTER: u32 = 65558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDRAGLEAVE: u32 = 65560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDRAGOVER: u32 = 65559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDRAGSTART: u32 = 65547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDROP: u32 = 65561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONERRORUPDATE: u32 = 65549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONFILTER: u32 = 65553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONFINISH: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONFOCUS: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONFOCUSIN: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONFOCUSOUT: u32 = 1049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONHASHCHANGE: u32 = 1066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONHELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONHIDE: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONKEYDOWN: i32 = -602i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONKEYPRESS: i32 = -603i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONKEYUP: i32 = -604i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONLAYOUT: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONLAYOUTCOMPLETE: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONLINKEDOVERFLOW: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONLOSECAPTURE: u32 = 65554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMESSAGE: u32 = 1067u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSEDOWN: i32 = -605i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSEENTER: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSEHOVER: u32 = 1028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSELEAVE: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSEMOVE: i32 = -606i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSEOUT: u32 = 65545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSEOVER: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSEUP: i32 = -607i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSEWHEEL: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOVE: u32 = 1035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOVEEND: u32 = 1039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOVESTART: u32 = 1038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMULTILAYOUTCLEANUP: u32 = 1046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONOBJECTCONTENTSCROLLED: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONOFFLINE: u32 = 1065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONONLINE: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONPAGE: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONPASTE: u32 = 65564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONPERSISTLOAD: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONPERSISTSAVE: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONPOPUPMENUEND: u32 = 1063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONPOPUPMENUSTART: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONPROPERTYCHANGE: u32 = 65555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONREADYSTATECHANGE: i32 = -609i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONRESET: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONRESIZE: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONRESIZEEND: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONRESIZESTART: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONROWENTER: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONROWEXIT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONROWSDELETE: u32 = 65568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONROWSINSERTED: u32 = 65569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSCROLL: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSELECT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSELECTADD: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSELECTIONCHANGE: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSELECTREMOVE: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSELECTSTART: u32 = 65548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSELECTWITHIN: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSHOW: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSTART: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSTOP: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSTORAGE: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSTORAGECOMMIT: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSUBMIT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSYSTEMSCROLLINGEND: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSYSTEMSCROLLINGSTART: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONUNLOAD: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONVALUECHANGE: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROPS_COUNT: u32 = 260u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ADDTRACK: u32 = 71736u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_CACHED: u32 = 71721u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_CANPLAY: u32 = 71670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_CANPLAYTHROUGH: u32 = 71671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_CHECKING: u32 = 71717u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_COMPOSITIONEND: u32 = 71660u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_COMPOSITIONSTART: u32 = 71658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_COMPOSITIONUPDATE: u32 = 71659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_DOMATTRMODIFIED: u32 = 71661u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_DOMCHARDATAMODIFIED: u32 = 71664u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_DOMCONTENTLOADED: u32 = 71662u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_DOMNODEINSERTED: u32 = 71667u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_DOMNODEREMOVED: u32 = 71668u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_DOMSUBTREEMODIFIED: u32 = 71669u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_DOWNLOADING: u32 = 71719u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_DURATIONCHANGE: u32 = 71672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_EMPTIED: u32 = 71673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ENDED: u32 = 71674u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_HTML5ONREADYSTATECHANGE: u32 = 71780u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_INPUT: u32 = 71663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_INVALID: u32 = 71724u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_LOADEDDATA: u32 = 71675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_LOADEDMETADATA: u32 = 71676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_LOADEND: u32 = 71723u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_LOADSTART: u32 = 71677u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSCONNECT: u32 = 71697u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSDISCONNECT: u32 = 71698u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSELEMENTRESIZE: u32 = 71742u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONCONTAINSFULLSCREENELEMENTCHANGED: u32 = 71783u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONCONTENTLOADING: u32 = 71753u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONDOMCONTENTLOADED: u32 = 71752u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONFRAMECONTENTLOADING: u32 = 71757u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONFRAMEDOMCONTENTLOADED: u32 = 71756u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONFRAMENAVIGATIONCOMPLETED: u32 = 71759u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONFRAMENAVIGATIONSTARTING: u32 = 71758u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONLONGRUNNINGSCRIPTDETECTED: u32 = 71763u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONNAVIGATIONCOMPLETED: u32 = 71755u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONNAVIGATIONSTARTING: u32 = 71754u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONSCRIPTNOTIFY: u32 = 71760u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONUNSAFECONTENTWARNINGDISPLAYING: u32 = 71762u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONUNVIEWABLECONTENT: u32 = 71761u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSORIENTATIONCHANGE: u32 = 71772u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_NOUPDATE: u32 = 71718u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_OBSOLETE: u32 = 71722u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONABORT: u32 = 71564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONACTIVATE: u32 = 71623u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONADDSOURCEBUFFER: u32 = 71746u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONAFTERPRINT: u32 = 71603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONAFTERUPDATE: u32 = 71558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONALERT: u32 = 71640u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONANIMATIONEND: u32 = 71712u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONANIMATIONITERATION: u32 = 71713u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONANIMATIONSTART: u32 = 71711u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONATTACHEVENT: u32 = 71606u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREACTIVATE: u32 = 71626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFORECOPY: u32 = 71595u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFORECUT: u32 = 71594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREDEACTIVATE: u32 = 71613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREDRAGOVER: u32 = 71559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREDROPORPASTE: u32 = 71560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREEDITFOCUS: u32 = 71605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREPASTE: u32 = 71596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREPRINT: u32 = 71602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREUNLOAD: u32 = 71575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREUPDATE: u32 = 71557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBLOCKED: u32 = 71726u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBLUR: u32 = 71551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBOUNCE: u32 = 71556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCELLCHANGE: u32 = 71600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCHANGEBLUR: u32 = 71581u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCHANGEFOCUS: u32 = 71580u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCLICK: u32 = 71544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCLOSE: u32 = 71716u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCOMPASSNEEDSCALIBRATION: u32 = 71782u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCOMPLETE: u32 = 71727u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCONTENTREADY: u32 = 71608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCONTEXTMENU: u32 = 71601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCONTROLSELECT: u32 = 71615u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCOPY: u32 = 71592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCUECHANGE: u32 = 71729u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCUT: u32 = 71591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDATAAVAILABLE: u32 = 71577u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDATASETCHANGED: u32 = 71576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDATASETCOMPLETE: u32 = 71578u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDBLCLICK: u32 = 71545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDEACTIVATE: u32 = 71624u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDEVICEMOTION: u32 = 71774u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDEVICEORIENTATION: u32 = 71773u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDOMFOCUSIN: u32 = 71793u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDOMFOCUSOUT: u32 = 71794u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDOMMUTATION: u32 = 71647u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDRAG: u32 = 71585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDRAGEND: u32 = 71586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDRAGENTER: u32 = 71587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDRAGLEAVE: u32 = 71589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDRAGOVER: u32 = 71588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDRAGSTART: u32 = 71571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDROP: u32 = 71590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONENTER: u32 = 71730u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONERRORUPDATE: u32 = 71574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONEXIT: u32 = 71731u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONFILTER: u32 = 71579u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONFINISH: u32 = 71562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONFOCUS: u32 = 71550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONFOCUSIN: u32 = 71627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONFOCUSOUT: u32 = 71628u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONHASHCHANGE: u32 = 71645u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONHELP: u32 = 71549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONHIDE: u32 = 71639u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONKEYDOWN: u32 = 71541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONKEYPRESS: u32 = 71543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONKEYUP: u32 = 71542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONLAYOUT: u32 = 71570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONLAYOUTCOMPLETE: u32 = 71609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONLINKEDOVERFLOW: u32 = 71611u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONLOSECAPTURE: u32 = 71582u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMESSAGE: u32 = 71646u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSEDOWN: u32 = 71538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSEENTER: u32 = 71621u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSEHOVER: u32 = 71607u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSELEAVE: u32 = 71622u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSEMOVE: u32 = 71540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSEOUT: u32 = 71537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSEOVER: u32 = 71536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSEUP: u32 = 71539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSEWHEEL: u32 = 71612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOVE: u32 = 71614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOVEEND: u32 = 71618u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOVESTART: u32 = 71617u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSCANDIDATEWINDOWHIDE: u32 = 71779u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSCANDIDATEWINDOWSHOW: u32 = 71777u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSCANDIDATEWINDOWUPDATE: u32 = 71778u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSCONTENTZOOM: u32 = 71708u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSFULLSCREENCHANGE: u32 = 71740u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSFULLSCREENERROR: u32 = 71741u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSGESTURECHANGE: u32 = 71700u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSGESTUREDOUBLETAP: u32 = 71704u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSGESTUREEND: u32 = 71701u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSGESTUREHOLD: u32 = 71702u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSGESTURESTART: u32 = 71699u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSGESTURETAP: u32 = 71703u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSGOTPOINTERCAPTURE: u32 = 71707u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSHOLDVISUAL: u32 = 71738u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSINERTIASTART: u32 = 71705u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSKEYADDED: u32 = 71751u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSKEYERROR: u32 = 71750u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSKEYMESSAGE: u32 = 71749u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSLOSTPOINTERCAPTURE: u32 = 71706u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSMANIPULATIONSTATECHANGED: u32 = 71714u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSNEEDKEY: u32 = 71748u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTERCANCEL: u32 = 71695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTERDOWN: u32 = 71690u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTERENTER: u32 = 71769u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTERHOVER: u32 = 71696u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTERLEAVE: u32 = 71770u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTERMOVE: u32 = 71691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTEROUT: u32 = 71694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTEROVER: u32 = 71693u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTERUP: u32 = 71692u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSREGIONUPDATE: u32 = 71733u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSSITEMODEJUMPLISTITEMREMOVED: u32 = 71666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSSITEPINNED: u32 = 71771u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSTHUMBNAILCLICK: u32 = 71657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSVIDEOFORMATCHANGED: u32 = 71735u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSVIDEOFRAMESTEPCOMPLETED: u32 = 71737u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSVIDEOOPTIMALLAYOUTCHANGED: u32 = 71739u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMULTILAYOUTCLEANUP: u32 = 71625u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONOBJECTCONTENTSCROLLED: u32 = 71635u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONOFFLINE: u32 = 71644u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONONLINE: u32 = 71643u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONOPEN: u32 = 71715u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPAGE: u32 = 71610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPAGEHIDE: u32 = 71776u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPAGESHOW: u32 = 71775u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPASTE: u32 = 71593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPERSISTLOAD: u32 = 71597u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPERSISTSAVE: u32 = 71584u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPOPSTATE: u32 = 71728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPOPUPMENUEND: u32 = 71642u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPOPUPMENUSTART: u32 = 71641u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPROPERTYCHANGE: u32 = 71583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONREMOVESOURCEBUFFER: u32 = 71747u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONRESET: u32 = 71548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONRESIZE: u32 = 71572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONRESIZEEND: u32 = 71620u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONRESIZESTART: u32 = 71619u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONROWENTER: u32 = 71555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONROWEXIT: u32 = 71554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONROWSDELETE: u32 = 71598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONROWSINSERTED: u32 = 71599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSCROLL: u32 = 71567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSELECTADD: u32 = 71630u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSELECTIONCHANGE: u32 = 71616u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSELECTREMOVE: u32 = 71631u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSELECTSTART: u32 = 71573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSELECTWITHIN: u32 = 71632u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSHOW: u32 = 71638u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSOURCECLOSE: u32 = 71744u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSOURCEENDED: u32 = 71745u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSOURCEOPEN: u32 = 71743u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSTART: u32 = 71563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSTOP: u32 = 71604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSTORAGE: u32 = 71636u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSTORAGECOMMIT: u32 = 71637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSUBMIT: u32 = 71547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSUCCESS: u32 = 71725u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSYSTEMSCROLLINGEND: u32 = 71634u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSYSTEMSCROLLINGSTART: u32 = 71633u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONTOUCHCANCEL: u32 = 71787u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONTOUCHEND: u32 = 71785u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONTOUCHMOVE: u32 = 71786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONTOUCHSTART: u32 = 71784u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONTRANSITIONEND: u32 = 71710u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONTRANSITIONSTART: u32 = 71709u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONUNLOAD: u32 = 71569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONUPDATE: u32 = 71767u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONUPDATEEND: u32 = 71768u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONUPDATESTART: u32 = 71766u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONUPGRADENEEDED: u32 = 71734u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONVALUECHANGE: u32 = 71629u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONWEBKITANIMATIONEND: u32 = 71790u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONWEBKITANIMATIONITERATION: u32 = 71791u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONWEBKITANIMATIONSTART: u32 = 71789u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONWEBKITTRANSITIONEND: u32 = 71788u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ORIENTATIONCHANGE: u32 = 71795u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_PAUSE: u32 = 71678u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_PLAY: u32 = 71679u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_PLAYING: u32 = 71680u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_PROGRESS: u32 = 71681u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_RATECHANGE: u32 = 71682u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_REMOVETRACK: u32 = 71781u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SEEKED: u32 = 71683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SEEKING: u32 = 71684u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SINKLIMIT: u32 = 71647u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_STALLED: u32 = 71685u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SUSPEND: u32 = 71686u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SVGABORT: u32 = 71652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SVGERROR: u32 = 71653u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SVGLOAD: u32 = 71650u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SVGRESIZE: u32 = 71654u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SVGSCROLL: u32 = 71655u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SVGUNLOAD: u32 = 71651u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SVGZOOM: u32 = 71656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_TEXTINPUT: u32 = 71665u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_TIMEOUT: u32 = 71648u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_TIMEUPDATE: u32 = 71687u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_UPDATEREADY: u32 = 71720u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_VISIBILITYCHANGE: u32 = 71732u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_VOLUMECHANGE: u32 = 71688u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_WAITING: u32 = 71689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_WEBGLCONTEXTCREATIONERROR: u32 = 71792u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_WEBGLCONTEXTLOST: u32 = 71764u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_WEBGLCONTEXTRESTORED: u32 = 71765u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_WHEEL: u32 = 71649u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EXPAND: u32 = 25u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EXPANDO_BASE: u32 = 3000000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EXPANDO_MAX: u32 = 3999999u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EXPORT: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FAVSELECTIONCHANGE: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FILEDOWNLOAD: u32 = 270u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FILTERS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FLAGS: u32 = 19u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FORM: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FRAME: u32 = 69536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FRAMEBEFORENAVIGATE: u32 = 200u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FRAMENAVIGATECOMPLETE: u32 = 201u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FRAMENEWWINDOW: u32 = 204u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FRAMESCOLLECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FRAMESET: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FRAMESITE: u32 = 68536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GENERIC: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETALWAYSSHOWLOCKSTATE: u32 = 23u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETCVLISTDATA: u32 = 93u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETCVLISTLOCALDATA: u32 = 94u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETDETAILSSTATE: u32 = 19u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETEMIELISTDATA: u32 = 95u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETEMIELISTLOCALDATA: u32 = 96u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETERRORCHAR: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETERRORCODE: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETERRORLINE: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETERRORMSG: u32 = 17u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETERRORURL: u32 = 18u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETEXPERIMENTALFLAG: u32 = 85u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETEXPERIMENTALVALUE: u32 = 87u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETNEEDHVSIAUTOLAUNCHFLAG: u32 = 100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETNEEDIEAUTOLAUNCHFLAG: u32 = 89u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETOSSKU: u32 = 103u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETPERERRSTATE: u32 = 21u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HASNEEDHVSIAUTOLAUNCHFLAG: u32 = 102u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HASNEEDIEAUTOLAUNCHFLAG: u32 = 88u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HEADER: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HEDELEMS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HISTORY: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HISTORYOBJECT: i32 = -5507i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HR: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTML5ATTRIBUTESELECTORCI: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLAPP: u32 = 5000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDLG: u32 = 25000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDLGMODEL: u32 = 26000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONACTIVATE: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONAFTERUPDATE: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREACTIVATE: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREDEACTIVATE: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREEDITFOCUS: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREUPDATE: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONCELLCHANGE: u32 = 65570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONCLICK: i32 = -600i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONCONTEXTMENU: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONCONTROLSELECT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONDATAAVAILABLE: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONDATASETCHANGED: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONDATASETCOMPLETE: u32 = 65552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONDBLCLICK: i32 = -601i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONDEACTIVATE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONDRAGSTART: u32 = 65547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONERRORUPDATE: u32 = 65549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONFOCUSIN: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONFOCUSOUT: u32 = 1049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONHELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONKEYDOWN: i32 = -602i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONKEYPRESS: i32 = -603i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONKEYUP: i32 = -604i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEDOWN: i32 = -605i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEMOVE: i32 = -606i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEOUT: u32 = 65545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEOVER: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEUP: i32 = -607i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEWHEEL: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONPROPERTYCHANGE: u32 = 65555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONREADYSTATECHANGE: i32 = -609i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONROWENTER: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONROWEXIT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONROWSDELETE: u32 = 65568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONROWSINSERTED: u32 = 65569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONSELECTIONCHANGE: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONSELECTSTART: u32 = 65548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONSTOP: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS3_ONSTORAGE: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS3_ONSTORAGECOMMIT: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS4_ONMSSITEMODEJUMPLISTITEMREMOVED: u32 = 71666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS4_ONMSTHUMBNAILCLICK: u32 = 71657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONACTIVATE: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONAFTERUPDATE: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONBEFOREACTIVATE: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONBEFOREDEACTIVATE: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONBEFOREEDITFOCUS: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONBEFOREUPDATE: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONCELLCHANGE: u32 = 65570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONCLICK: i32 = -600i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONCONTEXTMENU: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONCONTROLSELECT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONDATAAVAILABLE: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONDATASETCHANGED: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONDATASETCOMPLETE: u32 = 65552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONDBLCLICK: i32 = -601i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONDEACTIVATE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONDRAGSTART: u32 = 65547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONERRORUPDATE: u32 = 65549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONFOCUSIN: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONFOCUSOUT: u32 = 1049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONHELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONKEYDOWN: i32 = -602i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONKEYPRESS: i32 = -603i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONKEYUP: i32 = -604i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONMOUSEDOWN: i32 = -605i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONMOUSEMOVE: i32 = -606i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONMOUSEOUT: u32 = 65545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONMOUSEOVER: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONMOUSEUP: i32 = -607i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONMOUSEWHEEL: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONPROPERTYCHANGE: u32 = 65555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONREADYSTATECHANGE: i32 = -609i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONROWENTER: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONROWEXIT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONROWSDELETE: u32 = 65568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONROWSINSERTED: u32 = 65569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONSELECTIONCHANGE: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONSELECTSTART: u32 = 65548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONSTOP: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONACTIVATE: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONAFTERUPDATE: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONBEFOREACTIVATE: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONBEFORECOPY: u32 = 65566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONBEFORECUT: u32 = 65565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONBEFOREDEACTIVATE: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONBEFOREPASTE: u32 = 65567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONBEFOREUPDATE: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONCELLCHANGE: u32 = 65570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONCLICK: i32 = -600i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONCONTEXTMENU: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONCONTROLSELECT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONCOPY: u32 = 65563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONCUT: u32 = 65562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDATAAVAILABLE: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDATASETCHANGED: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDATASETCOMPLETE: u32 = 65552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDBLCLICK: i32 = -601i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDEACTIVATE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDRAG: u32 = 65556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDRAGEND: u32 = 65557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDRAGENTER: u32 = 65558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDRAGLEAVE: u32 = 65560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDRAGOVER: u32 = 65559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDRAGSTART: u32 = 65547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDROP: u32 = 65561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONERRORUPDATE: u32 = 65549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONFILTERCHANGE: u32 = 65553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONFOCUS: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONFOCUSIN: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONFOCUSOUT: u32 = 1049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONHELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONKEYDOWN: i32 = -602i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONKEYPRESS: i32 = -603i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONKEYUP: i32 = -604i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONLAYOUTCOMPLETE: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONLOSECAPTURE: u32 = 65554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOUSEDOWN: i32 = -605i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOUSEENTER: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOUSELEAVE: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOUSEMOVE: i32 = -606i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOUSEOUT: u32 = 65545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOUSEOVER: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOUSEUP: i32 = -607i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOUSEWHEEL: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOVE: u32 = 1035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOVEEND: u32 = 1039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOVESTART: u32 = 1038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONPAGE: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONPASTE: u32 = 65564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONPROPERTYCHANGE: u32 = 65555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONREADYSTATECHANGE: i32 = -609i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONRESIZE: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONRESIZEEND: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONRESIZESTART: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONROWENTER: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONROWEXIT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONROWSDELETE: u32 = 65568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONROWSINSERTED: u32 = 65569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONSCROLL: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONSELECTSTART: u32 = 65548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS3_ONOFFLINE: u32 = 1065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS3_ONONLINE: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS4_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS4_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS4_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS4_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS4_ONMSCONTENTZOOM: u32 = 71708u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS4_ONRESET: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS4_ONSELECT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS4_ONSUBMIT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONACTIVATE: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONAFTERUPDATE: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONBEFOREACTIVATE: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONBEFORECOPY: u32 = 65566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONBEFORECUT: u32 = 65565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONBEFOREDEACTIVATE: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONBEFOREEDITFOCUS: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONBEFOREPASTE: u32 = 65567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONBEFOREUPDATE: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONCELLCHANGE: u32 = 65570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONCLICK: i32 = -600i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONCONTEXTMENU: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONCONTROLSELECT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONCOPY: u32 = 65563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONCUT: u32 = 65562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDATAAVAILABLE: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDATASETCHANGED: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDATASETCOMPLETE: u32 = 65552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDBLCLICK: i32 = -601i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDEACTIVATE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDRAG: u32 = 65556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDRAGEND: u32 = 65557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDRAGENTER: u32 = 65558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDRAGLEAVE: u32 = 65560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDRAGOVER: u32 = 65559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDRAGSTART: u32 = 65547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDROP: u32 = 65561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONERRORUPDATE: u32 = 65549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONFILTERCHANGE: u32 = 65553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONFOCUS: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONFOCUSIN: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONFOCUSOUT: u32 = 1049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONHELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONKEYDOWN: i32 = -602i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONKEYPRESS: i32 = -603i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONKEYUP: i32 = -604i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONLAYOUTCOMPLETE: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONLOSECAPTURE: u32 = 65554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOUSEDOWN: i32 = -605i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOUSEENTER: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOUSELEAVE: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOUSEMOVE: i32 = -606i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOUSEOUT: u32 = 65545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOUSEOVER: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOUSEUP: i32 = -607i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOUSEWHEEL: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOVE: u32 = 1035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOVEEND: u32 = 1039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOVESTART: u32 = 1038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONPAGE: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONPASTE: u32 = 65564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONPROPERTYCHANGE: u32 = 65555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONREADYSTATECHANGE: i32 = -609i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONRESIZE: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONRESIZEEND: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONRESIZESTART: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONROWENTER: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONROWEXIT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONROWSDELETE: u32 = 65568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONROWSINSERTED: u32 = 65569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONSCROLL: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONSELECTSTART: u32 = 65548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLFORMELEMENTEVENTS2_ONRESET: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLFORMELEMENTEVENTS2_ONSUBMIT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLFORMELEMENTEVENTS_ONRESET: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLFORMELEMENTEVENTS_ONSUBMIT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLFRAMESITEEVENTS2_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLFRAMESITEEVENTS_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLIMGEVENTS2_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLIMGEVENTS2_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLIMGEVENTS2_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLIMGEVENTS_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLIMGEVENTS_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLIMGEVENTS_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTIMAGEEVENTS2_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTIMAGEEVENTS2_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTIMAGEEVENTS2_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTIMAGEEVENTS_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTIMAGEEVENTS_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTIMAGEEVENTS_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS2_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS2_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS2_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS2_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS2_ONSELECT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS_ONSELECT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLLINKELEMENTEVENTS2_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLLINKELEMENTEVENTS2_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLLINKELEMENTEVENTS_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLLINKELEMENTEVENTS_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLMARQUEEELEMENTEVENTS2_ONBOUNCE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLMARQUEEELEMENTEVENTS2_ONFINISH: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLMARQUEEELEMENTEVENTS2_ONSTART: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLMARQUEEELEMENTEVENTS_ONBOUNCE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLMARQUEEELEMENTEVENTS_ONFINISH: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLMARQUEEELEMENTEVENTS_ONSTART: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLNAMESPACEEVENTS_ONREADYSTATECHANGE: i32 = -609i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECT: u32 = 66036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONAFTERUPDATE: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONBEFOREUPDATE: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONCELLCHANGE: u32 = 65570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONDATAAVAILABLE: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONDATASETCHANGED: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONDATASETCOMPLETE: u32 = 65552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONERROR: u32 = 65555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONERRORUPDATE: u32 = 65549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONREADYSTATECHANGE: u32 = 65556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONROWENTER: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONROWEXIT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONROWSDELETE: u32 = 65568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONROWSINSERTED: u32 = 65569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONAFTERUPDATE: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONBEFOREUPDATE: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONCELLCHANGE: u32 = 65570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONDATAAVAILABLE: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONDATASETCHANGED: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONDATASETCOMPLETE: u32 = 65552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONERROR: u32 = 65555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONERRORUPDATE: u32 = 65549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONREADYSTATECHANGE: u32 = 65556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONROWENTER: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONROWEXIT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONROWSDELETE: u32 = 65568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONROWSINSERTED: u32 = 65569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLPOPUP: u32 = 27000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSCRIPTEVENTS2_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSCRIPTEVENTS_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSELECTELEMENTEVENTS2_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSELECTELEMENTEVENTS_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSELECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSTYLEELEMENTEVENTS2_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSTYLEELEMENTEVENTS2_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSTYLEELEMENTEVENTS_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSTYLEELEMENTEVENTS_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLTEXTCONTAINEREVENTS2_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLTEXTCONTAINEREVENTS2_ONSELECT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLTEXTCONTAINEREVENTS_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLTEXTCONTAINEREVENTS_ONSELECT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONAFTERPRINT: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONBEFOREPRINT: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONBEFOREUNLOAD: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONFOCUS: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONHELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONRESIZE: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONSCROLL: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONUNLOAD: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS3_ONHASHCHANGE: u32 = 1066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS3_ONMESSAGE: u32 = 1067u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONAFTERPRINT: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONBEFOREPRINT: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONBEFOREUNLOAD: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONFOCUS: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONHELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONRESIZE: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONSCROLL: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONUNLOAD: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLXMLHTTPREQUESTEVENTS_ONREADYSTATECHANGE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLXMLHTTPREQUESTEVENTS_ONTIMEOUT: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IBLOCKFORMATS_COUNT: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IBLOCKFORMATS_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IBLOCKFORMATS__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASGRADIENT_ADDCOLORSTOP: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASIMAGEDATA_DATA: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASIMAGEDATA_HEIGHT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASIMAGEDATA_WIDTH: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASPIXELARRAY_LENGTH: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_ARC: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_ARCTO: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_BEGINPATH: u32 = 1028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_BEZIERCURVETO: u32 = 1029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_CANVAS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_CLEARRECT: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_CLIP: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_CLOSEPATH: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_CREATEIMAGEDATA: u32 = 1046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_CREATELINEARGRADIENT: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_CREATEPATTERN: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_CREATERADIALGRADIENT: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_DRAWIMAGE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_FILL: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_FILLRECT: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_FILLSTYLE: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_FILLTEXT: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_FONT: u32 = 1039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_GETIMAGEDATA: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_GLOBALALPHA: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_GLOBALCOMPOSITEOPERATION: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_ISPOINTINPATH: u32 = 1038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_LINECAP: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_LINEJOIN: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_LINETO: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_LINEWIDTH: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_MEASURETEXT: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_MITERLIMIT: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_MOVETO: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_PUTIMAGEDATA: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_QUADRATICCURVETO: u32 = 1035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_RECT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_RESTORE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_ROTATE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_SAVE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_SCALE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_SETTRANSFORM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_SHADOWBLUR: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_SHADOWCOLOR: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_SHADOWOFFSETX: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_SHADOWOFFSETY: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_STROKE: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_STROKERECT: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_STROKESTYLE: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_STROKETEXT: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_TEXTALIGN: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_TEXTBASELINE: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_TRANSFORM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_TRANSLATE: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASTEXTMETRICS_WIDTH: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_ADDCOMPONENTREQUEST: u32 = 19u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_AVAILHEIGHT: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_AVAILWIDTH: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_BUFFERDEPTH: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_CLEARCOMPONENTREQUEST: u32 = 21u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_COLORDEPTH: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_COMPAREVERSIONS: u32 = 18u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_CONNECTIONSPEED: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_CONNECTIONTYPE: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_COOKIEENABLED: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_CPUCLASS: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_DOCOMPONENTREQUEST: u32 = 20u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_GETCOMPONENTVERSION: u32 = 17u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_HEIGHT: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_ISCOMPONENTINSTALLED: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_JAVAENABLED: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_ONLINE: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_PLATFORM: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_SYSTEMLANGUAGE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_USERLANGUAGE: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_WIDTH: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOCUMENTEVENT_CREATEEVENT: u32 = 1108u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOCUMENTRANGE_CREATERANGE: u32 = 1111u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOCUMENTSELECTOR_QUERYSELECTOR: u32 = 1105u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOCUMENTSELECTOR_QUERYSELECTORALL: u32 = 1106u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOCUMENTTRAVERSAL_CREATENODEITERATOR: u32 = 1121u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOCUMENTTRAVERSAL_CREATETREEWALKER: u32 = 1122u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMBEFOREUNLOADEVENT_RETURNVALUE: u32 = 1376u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMCLOSEEVENT_INITCLOSEEVENT: u32 = 1529u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMCLOSEEVENT_WASCLEAN: u32 = 1526u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMCOMPOSITIONEVENT_DATA: u32 = 1176u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMCOMPOSITIONEVENT_INITCOMPOSITIONEVENT: u32 = 1177u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMCOMPOSITIONEVENT_LOCALE: u32 = 1178u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMCUSTOMEVENT_DETAIL: u32 = 1201u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMCUSTOMEVENT_INITCUSTOMEVENT: u32 = 1202u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMDOCUMENTTYPE_ENTITIES: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMDOCUMENTTYPE_INTERNALSUBSET: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMDOCUMENTTYPE_NAME: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMDOCUMENTTYPE_NOTATIONS: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMDOCUMENTTYPE_PUBLICID: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMDOCUMENTTYPE_SYSTEMID: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMDRAGEVENT_DATATRANSFER: u32 = 1401u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMDRAGEVENT_INITDRAGEVENT: u32 = 1402u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_BUBBLES: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_CANCELABLE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_CANCELBUBBLE: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_CURRENTTARGET: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_DEFAULTPREVENTED: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_EVENTPHASE: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_INITEVENT: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_ISTRUSTED: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_PREVENTDEFAULT: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_SRCELEMENT: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_STOPIMMEDIATEPROPAGATION: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_STOPPROPAGATION: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_TARGET: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_TIMESTAMP: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_TYPE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEXCEPTION_CODE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEXCEPTION_MESSAGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMFOCUSEVENT_INITFOCUSEVENT: u32 = 1252u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMFOCUSEVENT_RELATEDTARGET: u32 = 1251u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_ALTKEY: u32 = 1155u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_CHARCODE: u32 = 1161u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_CTRLKEY: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_GETMODIFIERSTATE: u32 = 1158u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_IE9_CHAR: u32 = 1163u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_INITKEYBOARDEVENT: u32 = 1159u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_KEY: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_KEYCODE: u32 = 1160u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_LOCALE: u32 = 1164u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_LOCATION: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_METAKEY: u32 = 1156u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_REPEAT: u32 = 1157u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_SHIFTKEY: u32 = 1154u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_WHICH: u32 = 1162u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMESSAGEEVENT_DATA: u32 = 1326u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMESSAGEEVENT_INITMESSAGEEVENT: u32 = 1329u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMESSAGEEVENT_ORIGIN: u32 = 1327u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMESSAGEEVENT_SOURCE: u32 = 1328u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_ALTKEY: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_BUTTON: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_BUTTONS: u32 = 1063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_CLIENTX: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_CLIENTY: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_CTRLKEY: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_FROMELEMENT: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_GETMODIFIERSTATE: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_INITMOUSEEVENT: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_LAYERX: u32 = 1072u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_LAYERY: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_METAKEY: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_OFFSETX: u32 = 1068u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_OFFSETY: u32 = 1069u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_PAGEX: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_PAGEY: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_RELATEDTARGET: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_SCREENX: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_SCREENY: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_SHIFTKEY: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_TOELEMENT: u32 = 1065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_WHICH: u32 = 1074u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_X: u32 = 1066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_Y: u32 = 1067u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEWHEELEVENT_INITMOUSEWHEELEVENT: u32 = 1077u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEWHEELEVENT_WHEELDELTA: u32 = 1076u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSANIMATIONEVENT_ANIMATIONNAME: u32 = 1501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSANIMATIONEVENT_ELAPSEDTIME: u32 = 1502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSANIMATIONEVENT_INITMSANIMATIONEVENT: u32 = 1503u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSMANIPULATIONEVENT_CURRENTSTATE: u32 = 1527u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSMANIPULATIONEVENT_INITMSMANIPULATIONEVENT: u32 = 1528u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSMANIPULATIONEVENT_LASTSTATE: u32 = 1526u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSTRANSITIONEVENT_ELAPSEDTIME: u32 = 1477u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSTRANSITIONEVENT_INITMSTRANSITIONEVENT: u32 = 1478u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSTRANSITIONEVENT_PROPERTYNAME: u32 = 1476u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMUTATIONEVENT_ATTRCHANGE: u32 = 1230u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMUTATIONEVENT_ATTRNAME: u32 = 1229u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMUTATIONEVENT_INITMUTATIONEVENT: u32 = 1231u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMUTATIONEVENT_NEWVALUE: u32 = 1228u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMUTATIONEVENT_PREVVALUE: u32 = 1227u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMUTATIONEVENT_RELATEDNODE: u32 = 1226u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMNODEITERATOR_DETACH: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMNODEITERATOR_EXPANDENTITYREFERENCES: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMNODEITERATOR_FILTER: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMNODEITERATOR_NEXTNODE: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMNODEITERATOR_PREVIOUSNODE: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMNODEITERATOR_ROOT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMNODEITERATOR_WHATTOSHOW: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMPARSERFACTORY_CREATE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMPARSER_PARSEFROMSTRING: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMPROCESSINGINSTRUCTION_DATA: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMPROCESSINGINSTRUCTION_TARGET: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMPROGRESSEVENT_INITPROGRESSEVENT: u32 = 1554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMPROGRESSEVENT_LENGTHCOMPUTABLE: u32 = 1551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMPROGRESSEVENT_LOADED: u32 = 1552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMPROGRESSEVENT_TOTAL: u32 = 1553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMSITEMODEEVENT_ACTIONURL: u32 = 1302u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMSITEMODEEVENT_BUTTONID: u32 = 1301u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMSTORAGEEVENT_INITSTORAGEEVENT: u32 = 1356u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMSTORAGEEVENT_KEY: u32 = 1351u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMSTORAGEEVENT_NEWVALUE: u32 = 1353u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMSTORAGEEVENT_OLDVALUE: u32 = 1352u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMSTORAGEEVENT_STORAGEAREA: u32 = 1355u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMSTORAGEEVENT_URL: u32 = 1354u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTEXTEVENT_DATA: u32 = 1126u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTEXTEVENT_INITTEXTEVENT: u32 = 1128u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTEXTEVENT_INPUTMETHOD: u32 = 1127u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTEXTEVENT_LOCALE: u32 = 1129u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_CURRENTNODE: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_EXPANDENTITYREFERENCES: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_FILTER: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_FIRSTCHILD: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_LASTCHILD: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_NEXTNODE: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_NEXTSIBLING: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_PARENTNODE: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_PREVIOUSNODE: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_PREVIOUSSIBLING: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_ROOT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_WHATTOSHOW: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMUIEVENT_DETAIL: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMUIEVENT_INITUIEVENT: u32 = 1028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMUIEVENT_VIEW: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMWHEELEVENT_DELTAMODE: u32 = 1104u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMWHEELEVENT_DELTAX: u32 = 1101u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMWHEELEVENT_DELTAY: u32 = 1102u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMWHEELEVENT_DELTAZ: u32 = 1103u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMWHEELEVENT_INITWHEELEVENT: u32 = 1105u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMXMLSERIALIZERFACTORY_CREATE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMXMLSERIALIZER_SERIALIZETOSTRING: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE10_ELEMENT: u32 = 66822u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE10_ELEMENTBASE: u32 = 66822u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_ANCHOR: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_AREA: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_ATTR: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_BASE: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_BLOCK: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_BODY: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_COLLECTION: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_ELEMENT: u32 = 66736u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_ELEMENTBASE: u32 = 66736u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_ELEMENTMAX: u32 = 66776u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_EMBED: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_FORM: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_FRAME: u32 = 69656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_FRAMESITEBASE: u32 = 69656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_HEAD: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_IFRAME: u32 = 69656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_IMG: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_INPUT: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_LINK: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_META: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_MOD: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_NAMEDNODEMAP: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_NORMAL_FIRST: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_OBJECT: u32 = 68566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_OBJECTBASE: u32 = 68566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_PARAM: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_SCRIPT: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_SELECT: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_STYLE: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ACTIVATE: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ADDSOURCEBUFFER: u32 = 71746u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ADDTRACK: u32 = 71736u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_AFTERPRINT: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ANIMATIONEND: u32 = 71712u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ANIMATIONITERATION: u32 = 71713u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ANIMATIONSTART: u32 = 71711u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BEFOREACTIVATE: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BEFORECOPY: u32 = 65566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BEFORECUT: u32 = 65565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BEFOREDEACTIVATE: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BEFOREPASTE: u32 = 65567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BEFOREPRINT: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BEFOREUNLOAD: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BLOCKED: u32 = 71726u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BOUNCE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CACHED: u32 = 71721u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CANPLAY: u32 = 71670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CANPLAYTHROUGH: u32 = 71671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CHECKING: u32 = 71717u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CLICK: i32 = -600i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CLOSE: u32 = 71716u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_COMPASSNEEDSCALIBRATION: u32 = 71782u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_COMPLETE: u32 = 71727u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_COMPOSITIONEND: u32 = 71660u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_COMPOSITIONSTART: u32 = 71658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_COMPOSITIONUPDATE: u32 = 71659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CONTEXTMENU: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_COPY: u32 = 65563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CUECHANGE: u32 = 71729u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CUT: u32 = 65562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DBLCLICK: i32 = -601i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DEACTIVATE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DEVICEMOTION: u32 = 71774u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DEVICEORIENTATION: u32 = 71773u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DOMATTRMODIFIED: u32 = 71661u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DOMCHARACTERDATAMODIFIED: u32 = 71664u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DOMCONTENTLOADED: u32 = 71662u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DOMNODEINSERTED: u32 = 71667u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DOMNODEREMOVED: u32 = 71668u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DOMSUBTREEMODIFIED: u32 = 71669u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DOWNLOADING: u32 = 71719u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DRAG: u32 = 65556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DRAGEND: u32 = 65557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DRAGENTER: u32 = 65558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DRAGLEAVE: u32 = 65560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DRAGOVER: u32 = 65559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DRAGSTART: u32 = 65547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DROP: u32 = 65561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DURATIONCHANGE: u32 = 71672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_EMPTIED: u32 = 71673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ENDED: u32 = 71674u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ENTER: u32 = 71730u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_EXIT: u32 = 71731u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_FINISH: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_FOCUS: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_FOCUSIN: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_FOCUSOUT: u32 = 1049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_HASHCHANGE: u32 = 1066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_HELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_INPUT: u32 = 71663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_INVALID: u32 = 71724u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_KEYDOWN: i32 = -602i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_KEYPRESS: i32 = -603i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_KEYUP: i32 = -604i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_LOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_LOADEDDATA: u32 = 71675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_LOADEDMETADATA: u32 = 71676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_LOADEND: u32 = 71723u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_LOADSTART: u32 = 71677u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MESSAGE: u32 = 1067u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MOUSEDOWN: i32 = -605i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MOUSEENTER: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MOUSELEAVE: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MOUSEMOVE: i32 = -606i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MOUSEOUT: u32 = 65545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MOUSEOVER: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MOUSEUP: i32 = -607i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MOUSEWHEEL: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSBEFOREEDITFOCUS: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSCANDIDATEWINDOWHIDE: u32 = 71779u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSCANDIDATEWINDOWSHOW: u32 = 71777u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSCANDIDATEWINDOWUPDATE: u32 = 71778u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSCONTENTZOOM: u32 = 71708u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSCONTROLRESIZEEND: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSCONTROLRESIZESTART: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSCONTROLSELECT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSELEMENTRESIZE: u32 = 71742u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSFULLSCREENCHANGE: u32 = 71740u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSFULLSCREENERROR: u32 = 71741u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSGESTURECHANGE: u32 = 71700u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSGESTUREDOUBLETAP: u32 = 71704u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSGESTUREEND: u32 = 71701u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSGESTUREHOLD: u32 = 71702u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSGESTURESTART: u32 = 71699u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSGESTURETAP: u32 = 71703u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSGOTPOINTERCAPTURE: u32 = 71707u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSHOLDVISUAL: u32 = 71738u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSINERTIASTART: u32 = 71705u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSKEYADDED: u32 = 71751u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSKEYERROR: u32 = 71750u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSKEYMESSAGE: u32 = 71749u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSLOSTPOINTERCAPTURE: u32 = 71706u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSMANIPULATIONSTATECHANGED: u32 = 71714u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSNEEDKEY: u32 = 71748u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSORIENTATIONCHANGE: u32 = 71772u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTERCANCEL: u32 = 71695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTERDOWN: u32 = 71690u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTERENTER: u32 = 71769u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTERHOVER: u32 = 71696u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTERLEAVE: u32 = 71770u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTERMOVE: u32 = 71691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTEROUT: u32 = 71694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTEROVER: u32 = 71693u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTERUP: u32 = 71692u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSREGIONUPDATE: u32 = 71733u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSSITEMODEJUMPLISTITEMREMOVED: u32 = 71666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSSITEPINNED: u32 = 71771u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSTHUMBNAILCLICK: u32 = 71657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSVIDEOFORMATCHANGED: u32 = 71735u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSVIDEOFRAMESTEPCOMPLETED: u32 = 71737u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSVIDEOOPTIMALLAYOUTCHANGED: u32 = 71739u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWCONTAINSFULLSCREENELEMENTCHANGED: u32 = 71783u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWCONTENTLOADING: u32 = 71753u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWDOMCONTENTLOADED: u32 = 71752u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWFRAMECONTENTLOADING: u32 = 71757u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWFRAMEDOMCONTENTLOADED: u32 = 71756u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWFRAMENAVIGATIONCOMPLETED: u32 = 71759u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWFRAMENAVIGATIONSTARTING: u32 = 71758u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWLONGRUNNINGSCRIPTDETECTED: u32 = 71763u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWNAVIGATIONCOMPLETED: u32 = 71755u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWNAVIGATIONSTARTING: u32 = 71754u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWSCRIPTNOTIFY: u32 = 71760u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWUNSAFECONTENTWARNINGDISPLAYING: u32 = 71762u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWUNVIEWABLECONTENTIDENTIFIED: u32 = 71761u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_NOUPDATE: u32 = 71718u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_OBSOLETE: u32 = 71722u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_OFFLINE: u32 = 1065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ONLINE: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_OPEN: u32 = 71715u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ORIENTATIONCHANGE: u32 = 71795u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_PAGEHIDE: u32 = 71776u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_PAGESHOW: u32 = 71775u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_PASTE: u32 = 65564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_PAUSE: u32 = 71678u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_PLAY: u32 = 71679u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_PLAYING: u32 = 71680u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_POPSTATE: u32 = 71728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_PROGRESS: u32 = 71681u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_RATECHANGE: u32 = 71682u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_READYSTATECHANGE: i32 = -609i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_REMOVESOURCEBUFFER: u32 = 71747u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_REMOVETRACK: u32 = 71781u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_RESET: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_RESIZE: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SCROLL: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SEEKED: u32 = 71683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SEEKING: u32 = 71684u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SELECT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SELECTIONCHANGE: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SELECTSTART: u32 = 65548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SOURCECLOSE: u32 = 71744u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SOURCEENDED: u32 = 71745u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SOURCEOPEN: u32 = 71743u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_STALLED: u32 = 71685u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_START: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_STOP: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_STORAGE: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_STORAGECOMMIT: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SUBMIT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SUCCESS: u32 = 71725u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SUSPEND: u32 = 71686u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SVGABORT: u32 = 71652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SVGERROR: u32 = 71653u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SVGLOAD: u32 = 71650u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SVGRESIZE: u32 = 71654u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SVGSCROLL: u32 = 71655u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SVGUNLOAD: u32 = 71651u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SVGZOOM: u32 = 71656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TEXTINPUT: u32 = 71665u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TIMEOUT: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TIMEUPDATE: u32 = 71687u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TOUCHCANCEL: u32 = 71787u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TOUCHEND: u32 = 71785u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TOUCHMOVE: u32 = 71786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TOUCHSTART: u32 = 71784u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TRANSITIONEND: u32 = 71710u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TRANSITIONSTART: u32 = 71709u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_UNLOAD: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_UPDATE: u32 = 71767u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_UPDATEEND: u32 = 71768u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_UPDATEREADY: u32 = 71720u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_UPDATESTART: u32 = 71766u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_UPGRADENEEDED: u32 = 71734u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_VISIBILITYCHANGE: u32 = 71732u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_VOLUMECHANGE: u32 = 71688u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_WAITING: u32 = 71689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_WEBGLCONTEXTCREATIONERROR: u32 = 71792u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_WEBGLCONTEXTLOST: u32 = 71764u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_WEBGLCONTEXTRESTORED: u32 = 71765u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_WHEEL: u32 = 71649u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9_ELEMENT: u32 = 66786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9_ELEMENTBASE: u32 = 66786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9_ELEMENTMAX: u32 = 66821u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IELEMENTSELECTOR_QUERYSELECTOR: u32 = 66650u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IELEMENTSELECTOR_QUERYSELECTORALL: u32 = 66651u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IELEMENTTRAVERSAL_CHILDELEMENTCOUNT: u32 = 66812u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IELEMENTTRAVERSAL_FIRSTELEMENTCHILD: u32 = 66808u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IELEMENTTRAVERSAL_LASTELEMENTCHILD: u32 = 66809u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IELEMENTTRAVERSAL_NEXTELEMENTSIBLING: u32 = 66811u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IELEMENTTRAVERSAL_PREVIOUSELEMENTSIBLING: u32 = 66810u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IEVENTEXCEPTION_CODE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IEVENTEXCEPTION_MESSAGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IEVENTTARGET_ADDEVENTLISTENER: u32 = 66046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IEVENTTARGET_DISPATCHEVENT: u32 = 66048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IEVENTTARGET_REMOVEEVENTLISTENER: u32 = 66047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IFONTNAMES_COUNT: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IFONTNAMES_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IFONTNAMES__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IFRAME: u32 = 69536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IGETSVGDOCUMENT_GETSVGDOCUMENT: u32 = 65615u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCATTACHBEHAVIOR2_FIREEVENT: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCATTACHBEHAVIOR_DETACHEVENT: u32 = 66036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCATTACHBEHAVIOR_FIREEVENT: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCDEFAULTDISPATCH_CREATEEVENTOBJECT: u32 = 70680u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCDEFAULTDISPATCH_DEFAULTS: u32 = 70701u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCDEFAULTDISPATCH_DOCUMENT: u32 = 70678u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCDEFAULTDISPATCH_ELEMENT: u32 = 70679u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCDESCBEHAVIOR_NAME: u32 = 66037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCDESCBEHAVIOR_URN: u32 = 66036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCEVENTBEHAVIOR_FIRE: u32 = 66036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCPROPERTYBEHAVIOR_FIRECHANGE: u32 = 66036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCPROPERTYBEHAVIOR_VALUE: u32 = 70677u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT2_CHARSET: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT2_COORDS: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT2_HREFLANG: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT2_SHAPE: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT2_TYPE: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT3_IE8_COORDS: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT3_IE8_HREF: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT3_IE8_SHAPE: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_ACCESSKEY: u32 = 67541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_BLUR: u32 = 67538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_FOCUS: u32 = 67536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_HASH: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_HOST: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_HOSTNAME: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_HREF: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_METHODS: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_MIMETYPE: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_NAMEPROP: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_ONBLUR: u32 = 71551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_ONFOCUS: u32 = 71550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_PATHNAME: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_PORT: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_PROTOCOL: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_PROTOCOLLONG: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_REL: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_REV: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_SEARCH: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_TABINDEX: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_TARGET: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_URN: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR2_CONTEXTMENU: u32 = 5014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR2_INNERBORDER: u32 = 5015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR2_SCROLL: u32 = 5016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR2_SCROLLFLAT: u32 = 5017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR2_SELECTION: u32 = 5018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR3_NAVIGABLE: u32 = 5019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_APPLICATIONNAME: u32 = 5000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_BORDER: u32 = 5007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_BORDERSTYLE: u32 = 5008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_CAPTION: u32 = 5010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_COMMANDLINE: u32 = 5013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_ICON: u32 = 5002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_MAXIMIZEBUTTON: u32 = 5006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_MINIMIZEBUTTON: u32 = 5005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_SHOWINTASKBAR: u32 = 5012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_SINGLEINSTANCE: u32 = 5003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_SYSMENU: u32 = 5009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_VERSION: u32 = 5001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_WINDOWSTATE: u32 = 5011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ABORT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ONCACHED: u32 = 71721u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ONCHECKING: u32 = 71717u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ONDOWNLOADING: u32 = 71719u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ONNOUPDATE: u32 = 71718u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ONOBSOLETE: u32 = 71722u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ONPROGRESS: u32 = 71681u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ONUPDATEREADY: u32 = 71720u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_STATUS: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_SWAPCACHE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_UPDATE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT2_IE8_COORDS: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT2_IE8_HREF: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT2_IE8_SHAPE: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_ALT: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_BLUR: u32 = 67538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_COORDS: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_FOCUS: u32 = 67536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_HASH: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_HOST: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_HOSTNAME: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_HREF: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_NOHREF: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_ONBLUR: u32 = 71551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_ONFOCUS: u32 = 71550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_PATHNAME: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_PORT: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_PROTOCOL: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_SEARCH: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_SHAPE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_TABINDEX: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_TARGET: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION2_URNS: u32 = 1505u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION3_NAMEDITEM: u32 = 1506u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION4_IE8_ITEM: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION4_IE8_LENGTH: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION4_IE8_NAMEDITEM: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION_ADD: u32 = 1503u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION_LENGTH: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION_REMOVE: u32 = 1504u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION_TAGS: u32 = 1502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION2_GETNAMEDITEM: u32 = 1501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION2_REMOVENAMEDITEM: u32 = 1503u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION2_SETNAMEDITEM: u32 = 1502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_GETNAMEDITEM: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_ITEM: u32 = 1154u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_LENGTH: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_REMOVENAMEDITEM: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_SETNAMEDITEM: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION4_GETNAMEDITEMNS: u32 = 1155u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION4_IE9_GETNAMEDITEM: u32 = 1158u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION4_IE9_ITEM: u32 = 1161u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION4_IE9_LENGTH: u32 = 1162u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION4_IE9_REMOVENAMEDITEM: u32 = 1160u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION4_IE9_SETNAMEDITEM: u32 = 1159u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION4_REMOVENAMEDITEMNS: u32 = 1157u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION4_SETNAMEDITEMNS: u32 = 1156u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION_LENGTH: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAUDIOELEMENTFACTORY_CREATE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBASEELEMENT2_IE8_HREF: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBASEELEMENT_HREF: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBASEELEMENT_TARGET: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBASEFONTELEMENT_COLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBASEFONTELEMENT_FACE: u32 = 70554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBASEFONTELEMENT_SIZE: u32 = 70562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBGSOUND_BALANCE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBGSOUND_LOOP: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBGSOUND_SRC: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBGSOUND_VOLUME: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBLOCKELEMENT2_CITE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBLOCKELEMENT2_WIDTH: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBLOCKELEMENT3_IE8_CITE: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBLOCKELEMENT_CLEAR: u32 = 70552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT2_ONAFTERPRINT: u32 = 71603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT2_ONBEFOREPRINT: u32 = 71602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT3_IE8_BACKGROUND: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT3_ONHASHCHANGE: u32 = 71645u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT3_ONOFFLINE: u32 = 71644u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT3_ONONLINE: u32 = 71643u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT4_ONMESSAGE: u32 = 71646u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT4_ONSTORAGE: u32 = 71636u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT5_ONPOPSTATE: u32 = 71728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_ALINK: u32 = 2011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_BACKGROUND: u32 = 70537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_BGCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_BGPROPERTIES: u32 = 70581u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_BOTTOMMARGIN: u32 = 70575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_CREATETEXTRANGE: u32 = 2013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_LEFTMARGIN: u32 = 70576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_LINK: u32 = 2010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_NOWRAP: u32 = 70541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_ONBEFOREUNLOAD: u32 = 71575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_ONUNLOAD: u32 = 71569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_RIGHTMARGIN: u32 = 70574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_SCROLL: u32 = 70615u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_TEXT: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_TOPMARGIN: u32 = 70573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_VLINK: u32 = 2012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBOOKMARKCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBOOKMARKCOLLECTION_LENGTH: u32 = 1501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBOOKMARKCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBRELEMENT_CLEAR: u32 = 70552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBUTTONELEMENT2_IE9_TYPE: u32 = 8003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBUTTONELEMENT_CREATETEXTRANGE: u32 = 8002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBUTTONELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBUTTONELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBUTTONELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBUTTONELEMENT_STATUS: u32 = 8001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBUTTONELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBUTTONELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCANVASELEMENT_GETCONTEXT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCANVASELEMENT_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCANVASELEMENT_TODATAURL: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCANVASELEMENT_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT2_APPENDDATA: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT2_DATA: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT2_DELETEDATA: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT2_INSERTDATA: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT2_LENGTH: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT2_REPLACEDATA: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT2_SUBSTRINGDATA: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT3_IE9_DELETEDATA: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT3_IE9_INSERTDATA: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT3_IE9_REPLACEDATA: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT3_IE9_SUBSTRINGDATA: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT_ATOMIC: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT_TEXT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_BACKGROUNDCOLOR: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_BLOCKDIRECTION: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_BOLD: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_DIRECTION: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_EXPLICITFACE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_FONTNAME: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_FONTSIZE: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_FONTWEIGHT: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_HASBGCOLOR: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_ITALIC: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_OL: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_OVERLINE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_PREFORMATTED: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_STRIKEOUT: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_SUBSCRIPT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_SUPERSCRIPT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_TEXTCOLOR: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_UNDERLINE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_ACCESSKEY: u32 = 67541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_ADDFILTER: u32 = 67553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_BLUR: u32 = 67538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_CLIENTHEIGHT: u32 = 67555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_CLIENTLEFT: u32 = 67558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_CLIENTTOP: u32 = 67557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_CLIENTWIDTH: u32 = 67556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_FOCUS: u32 = 67536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_ONBLUR: u32 = 71551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_ONFOCUS: u32 = 71550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_ONRESIZE: u32 = 71572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_REMOVEFILTER: u32 = 67554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_TABINDEX: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE2_ADDELEMENT: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_ADD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_COMMONPARENTELEMENT: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_EXECCOMMAND: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_EXECCOMMANDSHOWHELP: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_LENGTH: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_QUERYCOMMANDENABLED: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_QUERYCOMMANDINDETERM: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_QUERYCOMMANDSTATE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_QUERYCOMMANDSUPPORTED: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_QUERYCOMMANDTEXT: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_QUERYCOMMANDVALUE: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_REMOVE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_SCROLLINTOVIEW: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_SELECT: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSIMPORTRULE_HREF: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSIMPORTRULE_MEDIA: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSIMPORTRULE_STYLESHEET: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIALIST_APPENDMEDIUM: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIALIST_DELETEMEDIUM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIALIST_ITEM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIALIST_LENGTH: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIALIST_MEDIATEXT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIARULE_CSSRULES: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIARULE_DELETERULE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIARULE_INSERTRULE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIARULE_MEDIA: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSNAMESPACERULE_NAMESPACEURI: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSNAMESPACERULE_PREFIX: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSRULE_CSSTEXT: u32 = 1102u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSRULE_PARENTRULE: u32 = 1103u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSRULE_PARENTSTYLESHEET: u32 = 1104u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSRULE_TYPE: u32 = 1101u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATION: u32 = 70985u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONDELAY: u32 = 70981u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONDIRECTION: u32 = 70982u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONDURATION: u32 = 70979u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONFILLMODE: u32 = 70986u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONITERATIONCOUNT: u32 = 70984u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONNAME: u32 = 70978u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONPLAYSTATE: u32 = 70983u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONTIMINGFUNCTION: u32 = 70980u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_BACKFACEVISIBILITY: u32 = 70977u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_BREAKAFTER: u32 = 70882u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_BREAKBEFORE: u32 = 70881u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_BREAKINSIDE: u32 = 70883u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLORINTERPOLATIONFILTERS: u32 = 70928u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNCOUNT: u32 = 70872u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNFILL: u32 = 70875u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNGAP: u32 = 70874u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULE: u32 = 70877u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULECOLOR: u32 = 70880u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULESTYLE: u32 = 70878u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULEWIDTH: u32 = 70879u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNS: u32 = 70871u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNSPAN: u32 = 70876u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNWIDTH: u32 = 70873u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ENABLEBACKGROUND: u32 = 70946u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_FLOODCOLOR: u32 = 70926u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_FLOODOPACITY: u32 = 70927u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_FONTFEATURESETTINGS: u32 = 70987u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_LIGHTINGCOLOR: u32 = 70929u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATION: u32 = 70924u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATIONDELAY: u32 = 70920u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATIONDIRECTION: u32 = 70921u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATIONDURATION: u32 = 70918u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATIONFILLMODE: u32 = 70925u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATIONITERATIONCOUNT: u32 = 70923u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATIONNAME: u32 = 70917u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATIONPLAYSTATE: u32 = 70922u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATIONTIMINGFUNCTION: u32 = 70919u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSBACKFACEVISIBILITY: u32 = 70890u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSCONTENTZOOMCHAINING: u32 = 70895u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSCONTENTZOOMING: u32 = 70892u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSCONTENTZOOMLIMIT: u32 = 70897u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSCONTENTZOOMLIMITMAX: u32 = 70902u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSCONTENTZOOMLIMITMIN: u32 = 70901u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSCONTENTZOOMSNAP: u32 = 70898u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSCONTENTZOOMSNAPPOINTS: u32 = 70899u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSCONTENTZOOMSNAPTYPE: u32 = 70893u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEX: u32 = 70955u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXALIGN: u32 = 70962u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXDIRECTION: u32 = 70960u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXFLOW: u32 = 70959u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXITEMALIGN: u32 = 70963u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXLINEPACK: u32 = 70965u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXNEGATIVE: u32 = 70957u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXORDER: u32 = 70966u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXPACK: u32 = 70964u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXPOSITIVE: u32 = 70956u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXPREFERREDSIZE: u32 = 70958u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXWRAP: u32 = 70961u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLOWFROM: u32 = 70938u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLOWINTO: u32 = 70939u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFONTFEATURESETTINGS: u32 = 70950u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSGRIDCOLUMN: u32 = 70908u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSGRIDCOLUMNALIGN: u32 = 70909u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSGRIDCOLUMNS: u32 = 70910u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSGRIDCOLUMNSPAN: u32 = 70911u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSGRIDROW: u32 = 70913u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSGRIDROWALIGN: u32 = 70914u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSGRIDROWS: u32 = 70915u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSGRIDROWSPAN: u32 = 70916u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSHIGHCONTRASTADJUST: u32 = 70945u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSHYPHENATELIMITCHARS: u32 = 70942u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSHYPHENATELIMITLINES: u32 = 70943u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSHYPHENATELIMITZONE: u32 = 70941u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSHYPHENS: u32 = 70940u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSOVERFLOWSTYLE: u32 = 70935u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSPERSPECTIVE: u32 = 70885u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSPERSPECTIVEORIGIN: u32 = 70886u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLCHAINING: u32 = 70891u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLLIMIT: u32 = 70934u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLLIMITXMAX: u32 = 70932u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLLIMITXMIN: u32 = 70930u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLLIMITYMAX: u32 = 70933u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLLIMITYMIN: u32 = 70931u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLRAILS: u32 = 70894u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLSNAPPOINTSX: u32 = 70905u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLSNAPPOINTSY: u32 = 70906u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLSNAPTYPE: u32 = 70896u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLSNAPX: u32 = 70903u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLSNAPY: u32 = 70904u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLTRANSLATION: u32 = 70954u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSTOUCHACTION: u32 = 70952u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSTOUCHSELECT: u32 = 70994u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSTRANSFORMSTYLE: u32 = 70889u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSTRANSITION: u32 = 70870u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSTRANSITIONDELAY: u32 = 70869u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSTRANSITIONDURATION: u32 = 70867u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSTRANSITIONPROPERTY: u32 = 70866u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSTRANSITIONTIMINGFUNCTION: u32 = 70868u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSUSERSELECT: u32 = 70951u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSWRAPFLOW: u32 = 70949u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSWRAPMARGIN: u32 = 70947u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSWRAPTHROUGH: u32 = 70937u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_PERSPECTIVE: u32 = 70974u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_PERSPECTIVEORIGIN: u32 = 70975u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TEXTSHADOW: u32 = 70936u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSFORM: u32 = 70967u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSFORMORIGIN: u32 = 70968u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSFORMSTYLE: u32 = 70976u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSITION: u32 = 70973u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSITIONDELAY: u32 = 70972u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSITIONDURATION: u32 = 70970u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSITIONPROPERTY: u32 = 70969u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSITIONTIMINGFUNCTION: u32 = 70971u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_ALIGNCONTENT: u32 = 71009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_ALIGNITEMS: u32 = 71007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_ALIGNSELF: u32 = 71008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_BORDERIMAGE: u32 = 71010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_BORDERIMAGEOUTSET: u32 = 71014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_BORDERIMAGEREPEAT: u32 = 71015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_BORDERIMAGESLICE: u32 = 71012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_BORDERIMAGESOURCE: u32 = 71011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_BORDERIMAGEWIDTH: u32 = 71013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_FLEX: u32 = 71002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_FLEXBASIS: u32 = 71005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_FLEXDIRECTION: u32 = 70998u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_FLEXFLOW: u32 = 71000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_FLEXGROW: u32 = 71003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_FLEXSHRINK: u32 = 71004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_FLEXWRAP: u32 = 70999u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_JUSTIFYCONTENT: u32 = 71006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_MSIMEALIGN: u32 = 71017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_MSTEXTCOMBINEHORIZONTAL: u32 = 71018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_TOUCHACTION: u32 = 71019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_MSTEXTSIZEADJUST: u32 = 70864u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATION: u32 = 71033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATIONDELAY: u32 = 71038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATIONDIRECTION: u32 = 71040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATIONDURATION: u32 = 71036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATIONFILLMODE: u32 = 71027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATIONITERATIONCOUNT: u32 = 71039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATIONNAME: u32 = 71035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATIONPLAYSTATE: u32 = 71041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATIONTIMINGFUNCTION: u32 = 71037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITAPPEARANCE: u32 = 71020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKFACEVISIBILITY: u32 = 71030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUND: u32 = 71055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDATTACHMENT: u32 = 71046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDCLIP: u32 = 71048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDCOLOR: u32 = 71047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDIMAGE: u32 = 71049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDORIGIN: u32 = 71051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDPOSITION: u32 = 71052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDPOSITIONX: u32 = 71053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDPOSITIONY: u32 = 71054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDREPEAT: u32 = 71050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDSIZE: u32 = 71029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBORDERIMAGE: u32 = 71061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBORDERIMAGEOUTSET: u32 = 71065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBORDERIMAGEREPEAT: u32 = 71066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBORDERIMAGESLICE: u32 = 71063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBORDERIMAGESOURCE: u32 = 71062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBORDERIMAGEWIDTH: u32 = 71064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBOXALIGN: u32 = 71021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBOXDIRECTION: u32 = 71026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBOXFLEX: u32 = 71024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBOXORDINALGROUP: u32 = 71022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBOXORIENT: u32 = 71025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBOXPACK: u32 = 71023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBOXSIZING: u32 = 71031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITTEXTSIZEADJUST: u32 = 71060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITTRANSFORM: u32 = 71028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITTRANSFORMORIGIN: u32 = 71056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITTRANSITION: u32 = 71034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITTRANSITIONDELAY: u32 = 71045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITTRANSITIONDURATION: u32 = 71043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITTRANSITIONPROPERTY: u32 = 71042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITTRANSITIONTIMINGFUNCTION: u32 = 71044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITUSERSELECT: u32 = 71032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_ACCELERATOR: u32 = 70683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_ALIGNMENTBASELINE: u32 = 70814u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUND: u32 = 70568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDATTACHMENT: u32 = 70581u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDCLIP: u32 = 70852u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDIMAGE: u32 = 70537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDORIGIN: u32 = 70853u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITION: u32 = 70582u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITIONX: u32 = 70569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITIONY: u32 = 70570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDREPEAT: u32 = 70580u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDSIZE: u32 = 70854u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BASELINESHIFT: u32 = 70815u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BEHAVIOR: u32 = 70651u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDER: u32 = 70585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOM: u32 = 70588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMCOLOR: u32 = 70593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMLEFTRADIUS: u32 = 70850u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMRIGHTRADIUS: u32 = 70849u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMSTYLE: u32 = 70603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMWIDTH: u32 = 70598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERCOLLAPSE: u32 = 70620u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERCOLOR: u32 = 70590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFT: u32 = 70589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTCOLOR: u32 = 70594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTSTYLE: u32 = 70604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTWIDTH: u32 = 70599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRADIUS: u32 = 70846u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHT: u32 = 70587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTCOLOR: u32 = 70592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTSTYLE: u32 = 70602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTWIDTH: u32 = 70597u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERSPACING: u32 = 70763u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERSTYLE: u32 = 70600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOP: u32 = 70586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPCOLOR: u32 = 70591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPLEFTRADIUS: u32 = 70847u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPRIGHTRADIUS: u32 = 70848u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPSTYLE: u32 = 70601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPWIDTH: u32 = 70596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERWIDTH: u32 = 70595u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BOTTOM: u32 = 65614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BOXSHADOW: u32 = 70855u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BOXSIZING: u32 = 70762u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CAPTIONSIDE: u32 = 70755u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CLEAR: u32 = 70552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CLIP: u32 = 70628u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CLIPBOTTOM: u32 = 70631u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CLIPLEFT: u32 = 70632u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CLIPPATH: u32 = 70820u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CLIPRIGHT: u32 = 70630u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CLIPRULE: u32 = 70821u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CLIPTOP: u32 = 70629u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_COLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CONTENT: u32 = 70754u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_COUNTERINCREMENT: u32 = 70756u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_COUNTERRESET: u32 = 70757u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CSSFLOAT: u32 = 70845u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CSSTEXT: u32 = 70635u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CURSOR: u32 = 70638u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_DIRECTION: u32 = 70655u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_DISPLAY: u32 = 70607u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_DOMINANTBASELINE: u32 = 70816u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_EMPTYCELLS: u32 = 70786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FILL: u32 = 70822u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FILLOPACITY: u32 = 70823u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FILLRULE: u32 = 70824u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FILTER: u32 = 70618u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FONT: u32 = 70577u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FONTFAMILY: u32 = 70554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FONTSIZE: u32 = 70555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FONTSIZEADJUST: u32 = 70817u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FONTSTRETCH: u32 = 70818u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FONTSTYLE: u32 = 70560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FONTVARIANT: u32 = 70561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FONTWEIGHT: u32 = 70563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_GETPROPERTYPRIORITY: u32 = 70040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_GETPROPERTYVALUE: u32 = 70039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_GLYPHORIENTATIONHORIZONTAL: u32 = 70843u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_GLYPHORIENTATIONVERTICAL: u32 = 70844u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_IMEMODE: u32 = 70656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_KERNING: u32 = 70825u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LAYOUTFLOW: u32 = 70691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LAYOUTGRID: u32 = 70667u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LAYOUTGRIDCHAR: u32 = 70663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LAYOUTGRIDLINE: u32 = 70664u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LAYOUTGRIDMODE: u32 = 70665u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LAYOUTGRIDTYPE: u32 = 70666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LEFT: u32 = 65539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LENGTH: u32 = 70037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LETTERSPACING: u32 = 70544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LINEBREAK: u32 = 70669u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LINEHEIGHT: u32 = 70542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLE: u32 = 70611u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLEIMAGE: u32 = 70610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLEPOSITION: u32 = 70609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLETYPE: u32 = 70608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARGIN: u32 = 70572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARGINBOTTOM: u32 = 70575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARGINLEFT: u32 = 70576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARGINRIGHT: u32 = 70574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARGINTOP: u32 = 70573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARKER: u32 = 70826u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARKEREND: u32 = 70827u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARKERMID: u32 = 70828u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARKERSTART: u32 = 70829u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MASK: u32 = 70830u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MAXHEIGHT: u32 = 70750u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MAXWIDTH: u32 = 70752u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MINHEIGHT: u32 = 70747u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MINWIDTH: u32 = 70751u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MSBLOCKPROGRESSION: u32 = 70787u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MSINTERPOLATIONMODE: u32 = 70749u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MSTRANSFORM: u32 = 70851u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MSTRANSFORMORIGIN: u32 = 70861u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_OPACITY: u32 = 70819u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_ORPHANS: u32 = 70764u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_OUTLINE: u32 = 70758u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_OUTLINECOLOR: u32 = 70761u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_OUTLINESTYLE: u32 = 70760u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_OUTLINEWIDTH: u32 = 70759u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOW: u32 = 70546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOWX: u32 = 70675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOWY: u32 = 70676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PADDING: u32 = 70547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGBOTTOM: u32 = 70550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGLEFT: u32 = 70551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGRIGHT: u32 = 70549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGTOP: u32 = 70548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PAGEBREAKAFTER: u32 = 70614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PAGEBREAKBEFORE: u32 = 70613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PAGEBREAKINSIDE: u32 = 70766u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PARENTRULE: u32 = 70038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_POINTEREVENTS: u32 = 70831u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_POSITION: u32 = 70626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_QUOTES: u32 = 70788u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_REMOVEPROPERTY: u32 = 70041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_RIGHT: u32 = 65613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_RUBYALIGN: u32 = 70657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_RUBYOVERHANG: u32 = 70659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_RUBYPOSITION: u32 = 70658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SCROLLBAR3DLIGHTCOLOR: u32 = 70718u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SCROLLBARARROWCOLOR: u32 = 70722u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SCROLLBARBASECOLOR: u32 = 70716u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SCROLLBARDARKSHADOWCOLOR: u32 = 70721u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SCROLLBARFACECOLOR: u32 = 70717u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SCROLLBARHIGHLIGHTCOLOR: u32 = 70720u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SCROLLBARSHADOWCOLOR: u32 = 70719u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SCROLLBARTRACKCOLOR: u32 = 70732u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SETPROPERTY: u32 = 70042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STOPCOLOR: u32 = 70832u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STOPOPACITY: u32 = 70833u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STROKE: u32 = 70834u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STROKEDASHARRAY: u32 = 70835u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STROKEDASHOFFSET: u32 = 70836u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STROKELINECAP: u32 = 70837u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STROKELINEJOIN: u32 = 70838u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STROKEMITERLIMIT: u32 = 70839u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STROKEOPACITY: u32 = 70840u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STROKEWIDTH: u32 = 70841u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STYLEFLOAT: u32 = 70606u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TABLELAYOUT: u32 = 70634u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTALIGNLAST: u32 = 70739u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTANCHOR: u32 = 70842u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTAUTOSPACE: u32 = 70668u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTDECORATION: u32 = 70571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTINDENT: u32 = 70543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTJUSTIFY: u32 = 70671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTJUSTIFYTRIM: u32 = 70672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTKASHIDA: u32 = 70673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTKASHIDASPACE: u32 = 70740u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTOVERFLOW: u32 = 70745u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTTRANSFORM: u32 = 70540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTUNDERLINEPOSITION: u32 = 70695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TOP: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_UNICODEBIDI: u32 = 70654u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_VERTICALALIGN: u32 = 70584u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_VISIBILITY: u32 = 70616u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_WHITESPACE: u32 = 70612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_WIDOWS: u32 = 70765u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_WORDBREAK: u32 = 70670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_WORDSPACING: u32 = 70583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_WORDWRAP: u32 = 70694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_WRITINGMODE: u32 = 70728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_ZINDEX: u32 = 70627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_ZOOM: u32 = 70689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_FILTER: u32 = 70618u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_HASLAYOUT: u32 = 70696u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_ISBLOCK: u32 = 70744u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_LAYOUTFLOW: u32 = 70691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_SCROLLBAR3DLIGHTCOLOR: u32 = 70718u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_SCROLLBARARROWCOLOR: u32 = 70722u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_SCROLLBARBASECOLOR: u32 = 70716u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_SCROLLBARDARKSHADOWCOLOR: u32 = 70721u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_SCROLLBARFACECOLOR: u32 = 70717u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_SCROLLBARHIGHLIGHTCOLOR: u32 = 70720u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_SCROLLBARSHADOWCOLOR: u32 = 70719u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_SCROLLBARTRACKCOLOR: u32 = 70732u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_TEXTALIGNLAST: u32 = 70739u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_TEXTKASHIDASPACE: u32 = 70740u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_TEXTUNDERLINEPOSITION: u32 = 70695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_WORDWRAP: u32 = 70694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_WRITINGMODE: u32 = 70728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_ZOOM: u32 = 70689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE3_MINHEIGHT: u32 = 70747u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE3_TEXTOVERFLOW: u32 = 70745u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE3_WHITESPACE: u32 = 70612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE3_WORDSPACING: u32 = 70583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE4_MAXHEIGHT: u32 = 70750u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE4_MAXWIDTH: u32 = 70752u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE4_MINWIDTH: u32 = 70751u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE4_MSINTERPOLATIONMODE: u32 = 70749u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_BORDERSPACING: u32 = 70763u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_BOXSIZING: u32 = 70762u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_CAPTIONSIDE: u32 = 70755u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_EMPTYCELLS: u32 = 70786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_MSBLOCKPROGRESSION: u32 = 70787u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_ORPHANS: u32 = 70764u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_OUTLINE: u32 = 70758u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_OUTLINECOLOR: u32 = 70761u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_OUTLINESTYLE: u32 = 70760u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_OUTLINEWIDTH: u32 = 70759u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_PAGEBREAKINSIDE: u32 = 70766u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_QUOTES: u32 = 70788u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_WIDOWS: u32 = 70765u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_ACCELERATOR: u32 = 70683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BACKGROUNDATTACHMENT: u32 = 70581u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BACKGROUNDCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BACKGROUNDIMAGE: u32 = 70537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BACKGROUNDPOSITIONX: u32 = 70569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BACKGROUNDPOSITIONY: u32 = 70570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BACKGROUNDREPEAT: u32 = 70580u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BEHAVIOR: u32 = 70651u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BLOCKDIRECTION: u32 = 70653u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMCOLOR: u32 = 70593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMSTYLE: u32 = 70603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMWIDTH: u32 = 70598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERCOLLAPSE: u32 = 70620u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERCOLOR: u32 = 70590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERLEFTCOLOR: u32 = 70594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERLEFTSTYLE: u32 = 70604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERLEFTWIDTH: u32 = 70599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTCOLOR: u32 = 70592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTSTYLE: u32 = 70602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTWIDTH: u32 = 70597u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERSTYLE: u32 = 70600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERTOPCOLOR: u32 = 70591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERTOPSTYLE: u32 = 70601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERTOPWIDTH: u32 = 70596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERWIDTH: u32 = 70595u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BOTTOM: u32 = 65614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_CLEAR: u32 = 70552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_CLIPBOTTOM: u32 = 70631u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_CLIPLEFT: u32 = 70632u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_CLIPRIGHT: u32 = 70630u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_CLIPTOP: u32 = 70629u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_COLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_CURSOR: u32 = 70638u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_DIRECTION: u32 = 70655u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_DISPLAY: u32 = 70607u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_FONTFAMILY: u32 = 70554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_FONTSIZE: u32 = 70555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_FONTSTYLE: u32 = 70560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_FONTVARIANT: u32 = 70561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_FONTWEIGHT: u32 = 70563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_GETATTRIBUTE: u32 = 66038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_IMEMODE: u32 = 70656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDCHAR: u32 = 70663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDLINE: u32 = 70664u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDMODE: u32 = 70665u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDTYPE: u32 = 70666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LEFT: u32 = 65539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LETTERSPACING: u32 = 70544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LINEBREAK: u32 = 70669u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LINEHEIGHT: u32 = 70542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LISTSTYLEIMAGE: u32 = 70610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LISTSTYLEPOSITION: u32 = 70609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LISTSTYLETYPE: u32 = 70608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_MARGIN: u32 = 70572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_MARGINBOTTOM: u32 = 70575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_MARGINLEFT: u32 = 70576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_MARGINRIGHT: u32 = 70574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_MARGINTOP: u32 = 70573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_OVERFLOW: u32 = 70546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_OVERFLOWX: u32 = 70675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_OVERFLOWY: u32 = 70676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_PADDING: u32 = 70547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_PADDINGBOTTOM: u32 = 70550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_PADDINGLEFT: u32 = 70551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_PADDINGRIGHT: u32 = 70549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_PADDINGTOP: u32 = 70548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_PAGEBREAKAFTER: u32 = 70614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_PAGEBREAKBEFORE: u32 = 70613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_POSITION: u32 = 70626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_RIGHT: u32 = 65613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_RUBYALIGN: u32 = 70657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_RUBYOVERHANG: u32 = 70659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_RUBYPOSITION: u32 = 70658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_STYLEFLOAT: u32 = 70606u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TABLELAYOUT: u32 = 70634u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TEXTALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TEXTAUTOSPACE: u32 = 70668u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TEXTDECORATION: u32 = 70571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TEXTINDENT: u32 = 70543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TEXTJUSTIFY: u32 = 70671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TEXTJUSTIFYTRIM: u32 = 70672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TEXTKASHIDA: u32 = 70673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TEXTTRANSFORM: u32 = 70540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TOP: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_UNICODEBIDI: u32 = 70654u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_VERTICALALIGN: u32 = 70584u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_VISIBILITY: u32 = 70616u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_WORDBREAK: u32 = 70670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_ZINDEX: u32 = 70627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDATABINDING_DATAFLD: u32 = 66557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDATABINDING_DATAFORMATAS: u32 = 66559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDATABINDING_DATASRC: u32 = 66558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDATATRANSFER_CLEARDATA: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDATATRANSFER_DROPEFFECT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDATATRANSFER_EFFECTALLOWED: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDATATRANSFER_GETDATA: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDATATRANSFER_SETDATA: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDDELEMENT_NOWRAP: u32 = 70541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG2_RESIZABLE: u32 = 25015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG2_STATUS: u32 = 25014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG3_DIALOGHIDE: u32 = 25007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG3_UNADORNED: u32 = 25016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_CLOSE: u32 = 25011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_DIALOGARGUMENTS: u32 = 25000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_DIALOGHEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_DIALOGLEFT: u32 = 65539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_DIALOGTOP: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_DIALOGWIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_MENUARGUMENTS: u32 = 25013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_RETURNVALUE: u32 = 25001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_TOSTRING: u32 = 25012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIVELEMENT_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIVELEMENT_NOWRAP: u32 = 70541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIVPOSITION_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDLGSAFEHELPER_BLOCKFORMATS: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDLGSAFEHELPER_CHOOSECOLORDLG: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDLGSAFEHELPER_FONTS: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDLGSAFEHELPER_GETCHARSET: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDLISTELEMENT_COMPACT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ACTIVEELEMENT: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ALINKCOLOR: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ALL: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ANCHORS: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_APPLETS: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_BGCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_BODY: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_CHARSET: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_CLEAR: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_CLOSE: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_COOKIE: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_CREATEELEMENT: u32 = 1067u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_CREATESTYLESHEET: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_DEFAULTCHARSET: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_DESIGNMODE: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_DOMAIN: u32 = 1029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ELEMENTFROMPOINT: u32 = 1068u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_EMBEDS: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_EXECCOMMAND: u32 = 1065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_EXECCOMMANDSHOWHELP: u32 = 1066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_EXPANDO: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_FGCOLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_FILECREATEDDATE: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_FILEMODIFIEDDATE: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_FILESIZE: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_FILEUPDATEDDATE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_FORMS: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_FRAMES: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_IMAGES: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_LASTMODIFIED: u32 = 1028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_LINKCOLOR: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_LINKS: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_LOCATION: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_MIMETYPE: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_NAMEPROP: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONAFTERUPDATE: u32 = 71558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONBEFOREUPDATE: u32 = 71557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONCLICK: u32 = 71544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONDBLCLICK: u32 = 71545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONDRAGSTART: u32 = 71571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONERRORUPDATE: u32 = 71574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONHELP: u32 = 71549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONKEYDOWN: u32 = 71541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONKEYPRESS: u32 = 71543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONKEYUP: u32 = 71542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONMOUSEDOWN: u32 = 71538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONMOUSEMOVE: u32 = 71540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONMOUSEOUT: u32 = 71537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONMOUSEOVER: u32 = 71536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONMOUSEUP: u32 = 71539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONROWENTER: u32 = 71555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONROWEXIT: u32 = 71554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONSELECTSTART: u32 = 71573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_OPEN: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_PARENTWINDOW: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_PLUGINS: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_PROTOCOL: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_QUERYCOMMANDENABLED: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_QUERYCOMMANDINDETERM: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_QUERYCOMMANDSTATE: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_QUERYCOMMANDSUPPORTED: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_QUERYCOMMANDTEXT: u32 = 1063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_QUERYCOMMANDVALUE: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_READYSTATE: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_REFERRER: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_SCRIPTS: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_SECURITY: u32 = 1046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_SELECTION: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_STYLESHEETS: u32 = 1069u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_TITLE: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_TOSTRING: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_URL: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_VLINKCOLOR: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_WRITE: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_WRITELN: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ATTACHEVENT: u32 = 66043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_BASEURL: u32 = 1080u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_CHILDNODES: u32 = 66585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_CREATEDOCUMENTFRAGMENT: u32 = 1076u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_CREATETEXTNODE: u32 = 1074u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_DETACHEVENT: u32 = 66044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_DIR: u32 = 70653u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_DOCUMENTELEMENT: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ENABLEDOWNLOAD: u32 = 1079u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_GETELEMENTBYID: u32 = 1088u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_GETELEMENTSBYNAME: u32 = 1086u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_GETELEMENTSBYTAGNAME: u32 = 1087u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_INHERITSTYLESHEETS: u32 = 1082u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONBEFOREEDITFOCUS: u32 = 71605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONCELLCHANGE: u32 = 71600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONCONTEXTMENU: u32 = 71601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONDATAAVAILABLE: u32 = 71577u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONDATASETCHANGED: u32 = 71576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONDATASETCOMPLETE: u32 = 71578u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONPROPERTYCHANGE: u32 = 71583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONROWSDELETE: u32 = 71598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONROWSINSERTED: u32 = 71599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONSTOP: u32 = 71604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_PARENTDOCUMENT: u32 = 1078u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_RECALC: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_RELEASECAPTURE: u32 = 1072u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_UNIQUEID: u32 = 1077u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_CREATEDOCUMENTFROMURL: u32 = 1092u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_CREATEEVENTOBJECT: u32 = 1094u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_CREATERENDERSTYLE: u32 = 1096u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_FIREEVENT: u32 = 1095u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_FOCUS: u32 = 1089u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_HASFOCUS: u32 = 1090u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_MEDIA: u32 = 1093u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_NAMESPACES: u32 = 1091u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_ONCONTROLSELECT: u32 = 71615u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_ONSELECTIONCHANGE: u32 = 71616u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_URLUNENCODED: u32 = 1097u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_COMPATMODE: u32 = 1102u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_CREATEATTRIBUTE: u32 = 1100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_CREATECOMMENT: u32 = 1101u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_DOCTYPE: u32 = 1098u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_IMPLEMENTATION: u32 = 1099u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_ONACTIVATE: u32 = 71623u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_ONBEFOREACTIVATE: u32 = 71626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_ONBEFOREDEACTIVATE: u32 = 71613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_ONDEACTIVATE: u32 = 71624u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_ONFOCUSIN: u32 = 71627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_ONFOCUSOUT: u32 = 71628u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_ONMOUSEWHEEL: u32 = 71612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT6_COMPATIBLE: u32 = 1103u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT6_DOCUMENTMODE: u32 = 1104u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT6_IE8_GETELEMENTBYID: u32 = 1107u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT6_ONSTORAGE: u32 = 71636u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT6_ONSTORAGECOMMIT: u32 = 71637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT6_UPDATESETTINGS: u32 = 1109u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ADOPTNODE: u32 = 1125u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_CHARACTERSET: u32 = 1117u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_CREATEATTRIBUTENS: u32 = 1115u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_CREATECDATASECTION: u32 = 1123u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_CREATEELEMENTNS: u32 = 1114u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_CREATEPROCESSINGINSTRUCTION: u32 = 1124u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_DEFAULTVIEW: u32 = 1110u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_GETELEMENTSBYCLASSNAME: u32 = 1120u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_GETELEMENTSBYTAGNAMENS: u32 = 1113u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_GETSELECTION: u32 = 1112u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_HASATTRIBUTES: u32 = 1132u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_HEAD: u32 = 1138u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_IE9_ALL: u32 = 1126u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_IE9_BODY: u32 = 1137u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_IE9_CREATEATTRIBUTE: u32 = 1119u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_IE9_CREATEELEMENT: u32 = 1118u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_IE9_PARENTWINDOW: u32 = 1136u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_IMPORTNODE: u32 = 1135u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_INPUTENCODING: u32 = 1127u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_NORMALIZE: u32 = 1134u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONABORT: u32 = 71564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONBLUR: u32 = 71551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONCANPLAY: u32 = 71670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONCANPLAYTHROUGH: u32 = 71671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONDRAG: u32 = 71585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONDRAGEND: u32 = 71586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONDRAGENTER: u32 = 71587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONDRAGLEAVE: u32 = 71589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONDRAGOVER: u32 = 71588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONDROP: u32 = 71590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONDURATIONCHANGE: u32 = 71672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONEMPTIED: u32 = 71673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONENDED: u32 = 71674u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONFOCUS: u32 = 71550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONINPUT: u32 = 71663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONLOADEDDATA: u32 = 71675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONLOADEDMETADATA: u32 = 71676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONLOADSTART: u32 = 71677u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONMSSITEMODEJUMPLISTITEMREMOVED: u32 = 71666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONMSTHUMBNAILCLICK: u32 = 71657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONPAUSE: u32 = 71678u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONPLAY: u32 = 71679u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONPLAYING: u32 = 71680u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONPROGRESS: u32 = 71681u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONRATECHANGE: u32 = 71682u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONRESET: u32 = 71548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONSCROLL: u32 = 71567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONSEEKED: u32 = 71683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONSEEKING: u32 = 71684u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONSTALLED: u32 = 71685u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONSUBMIT: u32 = 71547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONSUSPEND: u32 = 71686u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONTIMEUPDATE: u32 = 71687u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONVOLUMECHANGE: u32 = 71688u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONWAITING: u32 = 71689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_XMLENCODING: u32 = 1128u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_XMLSTANDALONE: u32 = 1129u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_XMLVERSION: u32 = 1130u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ELEMENTSFROMPOINT: u32 = 1139u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ELEMENTSFROMRECT: u32 = 1140u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_MSCAPSLOCKWARNINGOFF: u32 = 1141u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSCONTENTZOOM: u32 = 71708u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSGESTURECHANGE: u32 = 71700u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSGESTUREDOUBLETAP: u32 = 71704u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSGESTUREEND: u32 = 71701u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSGESTUREHOLD: u32 = 71702u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSGESTURESTART: u32 = 71699u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSGESTURETAP: u32 = 71703u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSINERTIASTART: u32 = 71705u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSMANIPULATIONSTATECHANGED: u32 = 71714u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSPOINTERCANCEL: u32 = 71695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSPOINTERDOWN: u32 = 71690u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSPOINTERHOVER: u32 = 71696u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSPOINTERMOVE: u32 = 71691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSPOINTEROUT: u32 = 71694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSPOINTEROVER: u32 = 71693u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSPOINTERUP: u32 = 71692u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENTCOMPATIBLEINFOCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENTCOMPATIBLEINFOCOLLECTION_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENTCOMPATIBLEINFO_USERAGENT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENTCOMPATIBLEINFO_VERSION: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT_SCRIPT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_APPENDCHILD: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_ATTRIBUTES: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_CHILDNODES: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_CLONENODE: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_EXPANDO: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_FIRSTCHILD: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_HASCHILDNODES: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_INSERTBEFORE: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_LASTCHILD: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_NAME: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_NEXTSIBLING: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_NODETYPE: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_OWNERDOCUMENT: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_PARENTNODE: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_PREVIOUSSIBLING: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_REMOVECHILD: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_REPLACECHILD: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_VALUE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE3_IE8_NODEVALUE: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE3_IE8_SPECIFIED: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE3_IE8_VALUE: u32 = 1154u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE3_OWNERELEMENT: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_HASATTRIBUTES: u32 = 1166u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_CHILDNODES: u32 = 1165u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_FIRSTCHILD: u32 = 1163u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_HASCHILDNODES: u32 = 1167u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_LASTCHILD: u32 = 1164u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_NAME: u32 = 1161u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_NODENAME: u32 = 1160u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_NODEVALUE: u32 = 1159u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_SPECIFIED: u32 = 1171u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_VALUE: u32 = 1162u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_NORMALIZE: u32 = 1170u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE_NODENAME: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE_NODEVALUE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE_SPECIFIED: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMCHILDRENCOLLECTION2_IE9_ITEM: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMCHILDRENCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMCHILDRENCOLLECTION_LENGTH: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMCHILDRENCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMCONSTRUCTOR_CONSTRUCTOR: u32 = 66045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMIMPLEMENTATION2_CREATEDOCUMENT: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMIMPLEMENTATION2_CREATEDOCUMENTTYPE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMIMPLEMENTATION2_CREATEHTMLDOCUMENT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMIMPLEMENTATION2_IE9_HASFEATURE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMIMPLEMENTATION_HASFEATURE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE2_OWNERDOCUMENT: u32 = 66649u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_COMPAREDOCUMENTPOSITION: u32 = 66662u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_IE9_APPENDCHILD: u32 = 66804u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_IE9_INSERTBEFORE: u32 = 66805u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_IE9_REMOVECHILD: u32 = 66806u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_IE9_REPLACECHILD: u32 = 66807u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_ISDEFAULTNAMESPACE: u32 = 66660u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_ISEQUALNODE: u32 = 66657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_ISSAMENODE: u32 = 66661u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_ISSUPPORTED: u32 = 66813u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_LOCALNAME: u32 = 66654u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_LOOKUPNAMESPACEURI: u32 = 66658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_LOOKUPPREFIX: u32 = 66659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_NAMESPACEURI: u32 = 66655u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_PREFIX: u32 = 66656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_TEXTCONTENT: u32 = 66663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_APPENDCHILD: u32 = 66609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_ATTRIBUTES: u32 = 66586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_CHILDNODES: u32 = 66585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_CLONENODE: u32 = 66597u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_FIRSTCHILD: u32 = 66612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_HASCHILDNODES: u32 = 66584u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_INSERTBEFORE: u32 = 66587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_LASTCHILD: u32 = 66613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_NEXTSIBLING: u32 = 66615u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_NODENAME: u32 = 66610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_NODETYPE: u32 = 66582u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_NODEVALUE: u32 = 66611u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_PARENTNODE: u32 = 66583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_PREVIOUSSIBLING: u32 = 66614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_REMOVECHILD: u32 = 66588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_REMOVENODE: u32 = 66602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_REPLACECHILD: u32 = 66589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_REPLACENODE: u32 = 66603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_SWAPNODE: u32 = 66604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_CLONECONTENTS: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_CLONERANGE: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_COLLAPSE: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_COLLAPSED: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_COMMONANCESTORCONTAINER: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_COMPAREBOUNDARYPOINTS: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_DELETECONTENTS: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_DETACH: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_ENDCONTAINER: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_ENDOFFSET: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_EXTRACTCONTENTS: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_GETBOUNDINGCLIENTRECT: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_GETCLIENTRECTS: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_INSERTNODE: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SELECTNODE: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SELECTNODECONTENTS: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SETEND: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SETENDAFTER: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SETENDBEFORE: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SETSTART: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SETSTARTAFTER: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SETSTARTBEFORE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_STARTCONTAINER: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_STARTOFFSET: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SURROUNDCONTENTS: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_TOSTRING: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE2_APPENDDATA: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE2_DELETEDATA: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE2_INSERTDATA: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE2_REPLACEDATA: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE2_SUBSTRINGDATA: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_HASATTRIBUTES: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_IE9_DELETEDATA: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_IE9_INSERTDATA: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_IE9_REPLACEDATA: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_IE9_SPLITTEXT: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_IE9_SUBSTRINGDATA: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_NORMALIZE: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_REPLACEWHOLETEXT: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_WHOLETEXT: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE_DATA: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE_LENGTH: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE_SPLITTEXT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE_TOSTRING: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDTELEMENT_NOWRAP: u32 = 70541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ACCESSKEY: u32 = 67541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ADDBEHAVIOR: u32 = 66616u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ADDFILTER: u32 = 67553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_APPLYELEMENT: u32 = 66601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ATTACHEVENT: u32 = 66043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_BEHAVIORURNS: u32 = 66618u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_BLUR: u32 = 67538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_CANHAVECHILDREN: u32 = 66608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_CLEARATTRIBUTES: u32 = 66598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_CLIENTHEIGHT: u32 = 67555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_CLIENTLEFT: u32 = 67558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_CLIENTTOP: u32 = 67557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_CLIENTWIDTH: u32 = 67556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_COMPONENTFROMPOINT: u32 = 66578u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_CREATECONTROLRANGE: u32 = 66592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_CURRENTSTYLE: u32 = 66543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_DETACHEVENT: u32 = 66044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_DIR: u32 = 70653u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_DOSCROLL: u32 = 66579u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_FOCUS: u32 = 67536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_GETADJACENTTEXT: u32 = 66606u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_GETBOUNDINGCLIENTRECT: u32 = 66581u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_GETCLIENTRECTS: u32 = 66580u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_GETELEMENTSBYTAGNAME: u32 = 66621u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_GETEXPRESSION: u32 = 66041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_INSERTADJACENTELEMENT: u32 = 66605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_MERGEATTRIBUTES: u32 = 66599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONBEFORECOPY: u32 = 71595u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONBEFORECUT: u32 = 71594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS: u32 = 71605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONBEFOREPASTE: u32 = 71596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONBLUR: u32 = 71551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONCELLCHANGE: u32 = 71600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONCONTEXTMENU: u32 = 71601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONCOPY: u32 = 71592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONCUT: u32 = 71591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONDRAG: u32 = 71585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONDRAGEND: u32 = 71586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONDRAGENTER: u32 = 71587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONDRAGLEAVE: u32 = 71589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONDRAGOVER: u32 = 71588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONDROP: u32 = 71590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONFOCUS: u32 = 71550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONLOSECAPTURE: u32 = 71582u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONPASTE: u32 = 71593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE: u32 = 71583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONRESIZE: u32 = 71572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONROWSDELETE: u32 = 71598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONROWSINSERTED: u32 = 71599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONSCROLL: u32 = 71567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_READYSTATEVALUE: u32 = 66620u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_RELEASECAPTURE: u32 = 66577u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_REMOVEBEHAVIOR: u32 = 66617u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_REMOVEEXPRESSION: u32 = 66042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_REMOVEFILTER: u32 = 67554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_REPLACEADJACENTTEXT: u32 = 66607u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_RUNTIMESTYLE: u32 = 66600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_SCOPENAME: u32 = 66575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_SCROLLHEIGHT: u32 = 66593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_SCROLLLEFT: u32 = 66596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_SCROLLTOP: u32 = 66595u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_SCROLLWIDTH: u32 = 66594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_SETCAPTURE: u32 = 66576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_SETEXPRESSION: u32 = 66040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_TABINDEX: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_TAGURN: u32 = 66619u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_CANHAVEHTML: u32 = 66634u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_CONTENTEDITABLE: u32 = 70698u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_DRAGDROP: u32 = 66643u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_FIREEVENT: u32 = 66642u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_GLYPHMODE: u32 = 66644u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_HIDEFOCUS: u32 = 70699u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_INFLATEBLOCK: u32 = 66636u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ISCONTENTEDITABLE: u32 = 66638u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ISDISABLED: u32 = 66641u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ISMULTILINE: u32 = 66633u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_MERGEATTRIBUTES: u32 = 66632u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONACTIVATE: u32 = 71623u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE: u32 = 71613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONCONTROLSELECT: u32 = 71615u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONDEACTIVATE: u32 = 71624u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE: u32 = 71609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONMOUSEENTER: u32 = 71621u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONMOUSELEAVE: u32 = 71622u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONMOVE: u32 = 71614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONMOVEEND: u32 = 71618u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONMOVESTART: u32 = 71617u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONPAGE: u32 = 71610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONRESIZEEND: u32 = 71620u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONRESIZESTART: u32 = 71619u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_SETACTIVE: u32 = 66637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT4_GETATTRIBUTENODE: u32 = 66645u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT4_NORMALIZE: u32 = 66648u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE: u32 = 71626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT4_ONFOCUSIN: u32 = 71627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT4_ONFOCUSOUT: u32 = 71628u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT4_ONMOUSEWHEEL: u32 = 71612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT4_REMOVEATTRIBUTENODE: u32 = 66647u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT4_SETATTRIBUTENODE: u32 = 66646u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAACTIVEDESCENDANT: u32 = 66768u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIABUSY: u32 = 66741u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIACHECKED: u32 = 66742u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIACONTROLS: u32 = 66764u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIADESCRIBEDBY: u32 = 66765u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIADISABLED: u32 = 66743u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAEXPANDED: u32 = 66744u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAFLOWTO: u32 = 66766u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAHASPOPUP: u32 = 66745u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAHIDDEN: u32 = 66746u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAINVALID: u32 = 66747u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIALABELLEDBY: u32 = 66767u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIALEVEL: u32 = 66761u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIALIVE: u32 = 66771u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAMULTISELECTABLE: u32 = 66748u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAOWNS: u32 = 66769u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAPOSINSET: u32 = 66759u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAPRESSED: u32 = 66749u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAREADONLY: u32 = 66750u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIARELEVANT: u32 = 66772u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAREQUIRED: u32 = 66751u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIASECRET: u32 = 66752u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIASELECTED: u32 = 66753u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIASETSIZE: u32 = 66760u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAVALUEMAX: u32 = 66763u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAVALUEMIN: u32 = 66762u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAVALUENOW: u32 = 66758u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_HASATTRIBUTE: u32 = 66739u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_HASATTRIBUTES: u32 = 66770u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_IE8_ATTRIBUTES: u32 = 66757u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_IE8_GETATTRIBUTE: u32 = 66754u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_IE8_GETATTRIBUTENODE: u32 = 66736u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_IE8_REMOVEATTRIBUTE: u32 = 66756u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_IE8_REMOVEATTRIBUTENODE: u32 = 66738u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_IE8_SETATTRIBUTE: u32 = 66755u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_IE8_SETATTRIBUTENODE: u32 = 66737u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ROLE: u32 = 66740u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_GETATTRIBUTENODENS: u32 = 66786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_GETATTRIBUTENS: u32 = 66789u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_GETELEMENTSBYCLASSNAME: u32 = 66803u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_GETELEMENTSBYTAGNAMENS: u32 = 66799u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_HASATTRIBUTENS: u32 = 66788u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_GETATTRIBUTE: u32 = 66796u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_GETATTRIBUTENODE: u32 = 66792u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_HASATTRIBUTE: u32 = 66795u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_HASATTRIBUTES: u32 = 66815u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_NODENAME: u32 = 66802u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_REMOVEATTRIBUTE: u32 = 66798u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_REMOVEATTRIBUTENODE: u32 = 66794u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_SETATTRIBUTE: u32 = 66797u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_SETATTRIBUTENODE: u32 = 66793u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_TAGNAME: u32 = 66801u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_MSMATCHESSELECTOR: u32 = 66814u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONABORT: u32 = 71564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONCANPLAY: u32 = 71670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONCANPLAYTHROUGH: u32 = 71671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONDURATIONCHANGE: u32 = 71672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONEMPTIED: u32 = 71673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONENDED: u32 = 71674u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONINPUT: u32 = 71663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONLOADEDDATA: u32 = 71675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONLOADEDMETADATA: u32 = 71676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONLOADSTART: u32 = 71677u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONPAUSE: u32 = 71678u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONPLAY: u32 = 71679u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONPLAYING: u32 = 71680u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONPROGRESS: u32 = 71681u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONRATECHANGE: u32 = 71682u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONRESET: u32 = 71548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONSEEKED: u32 = 71683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONSEEKING: u32 = 71684u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONSTALLED: u32 = 71685u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONSUBMIT: u32 = 71547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONSUSPEND: u32 = 71686u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONTIMEUPDATE: u32 = 71687u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONVOLUMECHANGE: u32 = 71688u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONWAITING: u32 = 71689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_REMOVEATTRIBUTENS: u32 = 66791u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_SETATTRIBUTENODENS: u32 = 66787u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_SETATTRIBUTENS: u32 = 66790u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_MSRELEASEPOINTERCAPTURE: u32 = 66823u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_MSSETPOINTERCAPTURE: u32 = 66822u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONCUECHANGE: u32 = 71729u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONINVALID: u32 = 71724u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSANIMATIONEND: u32 = 71712u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSANIMATIONITERATION: u32 = 71713u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSANIMATIONSTART: u32 = 71711u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSGESTURECHANGE: u32 = 71700u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSGESTUREDOUBLETAP: u32 = 71704u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSGESTUREEND: u32 = 71701u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSGESTUREHOLD: u32 = 71702u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSGESTURESTART: u32 = 71699u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSGESTURETAP: u32 = 71703u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSGOTPOINTERCAPTURE: u32 = 71707u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSINERTIASTART: u32 = 71705u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSLOSTPOINTERCAPTURE: u32 = 71706u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSMANIPULATIONSTATECHANGED: u32 = 71714u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSPOINTERCANCEL: u32 = 71695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSPOINTERDOWN: u32 = 71690u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSPOINTERHOVER: u32 = 71696u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSPOINTERMOVE: u32 = 71691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSPOINTEROUT: u32 = 71694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSPOINTEROVER: u32 = 71693u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSPOINTERUP: u32 = 71692u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSTRANSITIONEND: u32 = 71710u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSTRANSITIONSTART: u32 = 71709u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_SPELLCHECK: u32 = 70907u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_XMSACCELERATORKEY: u32 = 66834u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTAPPLIEDSTYLES_MSGETRULESAPPLIED: u32 = 66652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTAPPLIEDSTYLES_MSGETRULESAPPLIEDWITHANCESTOR: u32 = 66653u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION2_URNS: u32 = 1505u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION3_NAMEDITEM: u32 = 1506u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION4_IE8_ITEM: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION4_IE8_LENGTH: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION4_IE8_NAMEDITEM: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION_LENGTH: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION_TAGS: u32 = 1502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION_TOSTRING: u32 = 1501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_CANHAVEHTML: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_CONTENTEDITABLE: u32 = 70698u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_FROZEN: u32 = 70734u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_ISMULTILINE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_SCROLLSEGMENTX: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_SCROLLSEGMENTY: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_STYLE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_TABSTOP: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_VIEWINHERITSTYLE: u32 = 70735u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_VIEWLINK: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_VIEWMASTERTAB: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ALL: u32 = 66574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_CHILDREN: u32 = 66573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_CLASSNAME: u32 = 66537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_CLICK: u32 = 66569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_CONTAINS: u32 = 66556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_DOCUMENT: u32 = 66554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_FILTERS: u32 = 66571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_GETATTRIBUTE: u32 = 66038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ID: u32 = 66538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_INNERHTML: u32 = 66562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_INNERTEXT: u32 = 66563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_INSERTADJACENTHTML: u32 = 66566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_INSERTADJACENTTEXT: u32 = 66567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ISTEXTEDIT: u32 = 66570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_LANG: u32 = 70545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_LANGUAGE: u32 = 70636u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_OFFSETHEIGHT: u32 = 66547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_OFFSETLEFT: u32 = 66544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_OFFSETPARENT: u32 = 66548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_OFFSETTOP: u32 = 66545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_OFFSETWIDTH: u32 = 66546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONAFTERUPDATE: u32 = 71558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONBEFOREUPDATE: u32 = 71557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONCLICK: u32 = 71544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONDATAAVAILABLE: u32 = 71577u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONDATASETCHANGED: u32 = 71576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONDATASETCOMPLETE: u32 = 71578u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONDBLCLICK: u32 = 71545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONDRAGSTART: u32 = 71571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONERRORUPDATE: u32 = 71574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONFILTERCHANGE: u32 = 71579u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONHELP: u32 = 71549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONKEYDOWN: u32 = 71541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONKEYPRESS: u32 = 71543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONKEYUP: u32 = 71542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONMOUSEDOWN: u32 = 71538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONMOUSEMOVE: u32 = 71540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONMOUSEOUT: u32 = 71537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONMOUSEOVER: u32 = 71536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONMOUSEUP: u32 = 71539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONROWENTER: u32 = 71555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONROWEXIT: u32 = 71554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONSELECTSTART: u32 = 71573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_OUTERHTML: u32 = 66564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_OUTERTEXT: u32 = 66565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_PARENTELEMENT: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_PARENTTEXTEDIT: u32 = 66568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_RECORDNUMBER: u32 = 66561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_REMOVEATTRIBUTE: u32 = 66039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_SCROLLINTOVIEW: u32 = 66555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_SETATTRIBUTE: u32 = 66037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_SOURCEINDEX: u32 = 66560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_STYLE: u32 = 65610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_TAGNAME: u32 = 66540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_TITLE: u32 = 65605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_TOSTRING: u32 = 66572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT2_IE8_PLUGINSPAGE: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT2_IE8_SRC: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT_HIDDEN: u32 = 68546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT_PALETTE: u32 = 68540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT_PLUGINSPAGE: u32 = 68541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT_SRC: u32 = 68542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT_UNITS: u32 = 68544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_ALTKEY: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_BOOKMARKS: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_BOUNDELEMENTS: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_BUTTON: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_CLIENTX: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_CLIENTY: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_CTRLKEY: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_DATAFLD: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_DATATRANSFER: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_FROMELEMENT: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_GETATTRIBUTE: u32 = 66038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_OFFSETX: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_OFFSETY: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_PROPERTYNAME: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_QUALIFIER: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_REASON: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_RECORDSET: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_REMOVEATTRIBUTE: u32 = 66039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_REPEAT: u32 = 1035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_SCREENX: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_SCREENY: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_SETATTRIBUTE: u32 = 66037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_SHIFTKEY: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_SRCELEMENT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_SRCFILTER: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_SRCURN: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_TOELEMENT: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_TYPE: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_X: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_Y: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_ALTLEFT: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_BEHAVIORCOOKIE: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_BEHAVIORPART: u32 = 1049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_CONTENTOVERFLOW: u32 = 1038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_CTRLLEFT: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_IMECOMPOSITIONCHANGE: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_IMENOTIFYCOMMAND: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_IMENOTIFYDATA: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_IMEREQUEST: u32 = 1046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_IMEREQUESTDATA: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_KEYBOARDLAYOUT: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_NEXTPAGE: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_SHIFTLEFT: u32 = 1039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ4_WHEELDELTA: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ5_DATA: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ5_ISSESSION: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ5_ORIGIN: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ5_SOURCE: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ5_URL: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ6_ACTIONURL: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ6_BUTTONID: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_ALTKEY: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_BUTTON: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_CANCELBUBBLE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_CLIENTX: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_CLIENTY: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_CTRLKEY: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_FROMELEMENT: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_KEYCODE: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_OFFSETX: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_OFFSETY: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_QUALIFIER: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_REASON: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_RETURNVALUE: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_SCREENX: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_SCREENY: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_SHIFTKEY: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_SRCELEMENT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_SRCFILTER: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_TOELEMENT: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_TYPE: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_X: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_Y: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFIELDSETELEMENT2_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFIELDSETELEMENT_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFILTERSCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFILTERSCOLLECTION_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFILTERSCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTELEMENT_COLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTELEMENT_FACE: u32 = 70554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTELEMENT_SIZE: u32 = 70555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTNAMESCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTNAMESCOLLECTION_LENGTH: u32 = 1501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTNAMESCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTSIZESCOLLECTION_FORFONT: u32 = 1503u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTSIZESCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTSIZESCOLLECTION_LENGTH: u32 = 1502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTSIZESCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT2_ACCEPTCHARSET: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT2_URNS: u32 = 1505u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT3_NAMEDITEM: u32 = 1506u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT4_IE8_ACTION: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_ACTION: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_DIR: u32 = 70653u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_ELEMENTS: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_ENCODING: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_LENGTH: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_METHOD: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_ONRESET: u32 = 71548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_ONSUBMIT: u32 = 71547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_RESET: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_SUBMIT: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_TAGS: u32 = 1502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_TARGET: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE2_ALLOWTRANSPARENCY: u32 = 70742u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE2_CONTENTWINDOW: u32 = 68545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE2_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE2_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE2_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE3_LONGDESC: u32 = 68546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_BORDER: u32 = 68538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_FRAMEBORDER: u32 = 68539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_FRAMESPACING: u32 = 68540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_MARGINHEIGHT: u32 = 68542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_MARGINWIDTH: u32 = 68541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_NORESIZE: u32 = 68543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_SCROLLING: u32 = 68544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_SRC: u32 = 68536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEELEMENT2_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEELEMENT2_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEELEMENT3_CONTENTDOCUMENT: u32 = 69656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEELEMENT3_IE8_FRAMEBORDER: u32 = 69659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEELEMENT3_IE8_LONGDESC: u32 = 69658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEELEMENT3_IE8_SRC: u32 = 69657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEELEMENT_BORDERCOLOR: u32 = 69537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESCOLLECTION2_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESCOLLECTION2_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT2_ONAFTERPRINT: u32 = 71603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT2_ONBEFOREPRINT: u32 = 71602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT3_ONHASHCHANGE: u32 = 71645u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT3_ONMESSAGE: u32 = 71646u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT3_ONOFFLINE: u32 = 71644u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT3_ONONLINE: u32 = 71643u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT3_ONSTORAGE: u32 = 71636u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_BORDER: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_BORDERCOLOR: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_COLS: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_FRAMEBORDER: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_FRAMESPACING: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_ONBEFOREUNLOAD: u32 = 71575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_ONUNLOAD: u32 = 71569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_ROWS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLGENERICELEMENT_NAMEDRECORDSET: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLGENERICELEMENT_RECORDSET: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHEADELEMENT2_IE8_PROFILE: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHEADELEMENT_PROFILE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHEADERELEMENT_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHRELEMENT_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHRELEMENT_COLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHRELEMENT_NOSHADE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHRELEMENT_SIZE: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHRELEMENT_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHTMLELEMENT_VERSION: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT2_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT2_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT3_CONTENTDOCUMENT: u32 = 69656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT3_IE8_FRAMEBORDER: u32 = 69659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT3_IE8_LONGDESC: u32 = 69658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT3_IE8_SRC: u32 = 69657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT_HSPACE: u32 = 69538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT_VSPACE: u32 = 69537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMAGEELEMENTFACTORY_CREATE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT2_LONGDESC: u32 = 2019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT3_IE8_DYNSRC: u32 = 1154u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT3_IE8_LONGDESC: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT3_IE8_LOWSRC: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT3_IE8_VRML: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT4_NATURALHEIGHT: u32 = 1156u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT4_NATURALWIDTH: u32 = 1155u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_ALT: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_BORDER: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_COMPLETE: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_DYNSRC: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_FILECREATEDDATE: u32 = 2012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_FILEMODIFIEDDATE: u32 = 2013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_FILESIZE: u32 = 2011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_FILEUPDATEDDATE: u32 = 2014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_HREF: u32 = 2016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_HSPACE: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_ISMAP: u32 = 2002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_LOOP: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_LOWSRC: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_MIMETYPE: u32 = 2010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_NAMEPROP: u32 = 2017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_ONABORT: u32 = 71564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_PROTOCOL: u32 = 2015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_SRC: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_START: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_USEMAP: u32 = 2008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_VRML: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_VSPACE: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTBUTTONELEMENT_CREATETEXTRANGE: u32 = 2006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTBUTTONELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTBUTTONELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTBUTTONELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTBUTTONELEMENT_STATUS: u32 = 2021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTBUTTONELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTBUTTONELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT2_ACCEPT: u32 = 2022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT2_USEMAP: u32 = 2023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT3_IE8_DYNSRC: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT3_IE8_LOWSRC: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT3_IE8_SRC: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT3_IE8_VRML: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_ALT: u32 = 2010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_BORDER: u32 = 2012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_CHECKED: u32 = 2009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_COMPLETE: u32 = 2018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_CREATETEXTRANGE: u32 = 2006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_DEFAULTCHECKED: u32 = 2008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_DEFAULTVALUE: u32 = 70619u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_DYNSRC: u32 = 2017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_HSPACE: u32 = 2014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_INDETERMINATE: u32 = 2007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_LOOP: u32 = 2019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_LOWSRC: u32 = 2015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_MAXLENGTH: u32 = 2003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_ONABORT: u32 = 71564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_READONLY: u32 = 2005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_SELECT: u32 = 2004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_SIZE: u32 = 2002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_SRC: u32 = 2011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_START: u32 = 2020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_STATUS: u32 = 2001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_VRML: u32 = 2016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_VSPACE: u32 = 2013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_MAXLENGTH: u32 = 2003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_SELECT: u32 = 2004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_SIZE: u32 = 2002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_STATUS: u32 = 2021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTHIDDENELEMENT_CREATETEXTRANGE: u32 = 2006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTHIDDENELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTHIDDENELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTHIDDENELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTHIDDENELEMENT_STATUS: u32 = 2021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTHIDDENELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTHIDDENELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_ALT: u32 = 2010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_BORDER: u32 = 2012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_COMPLETE: u32 = 2018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_DYNSRC: u32 = 2017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_HSPACE: u32 = 2014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_LOOP: u32 = 2019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_LOWSRC: u32 = 2015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_ONABORT: u32 = 71564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_SRC: u32 = 2011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_START: u32 = 2020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_VRML: u32 = 2016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_VSPACE: u32 = 2013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_ALT: u32 = 2010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_MAX: u32 = 2029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_MIN: u32 = 2028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_STEP: u32 = 2030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_STEPDOWN: u32 = 2032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_STEPUP: u32 = 2033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_VALUEASNUMBER: u32 = 2031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT2_SELECTIONEND: u32 = 2026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT2_SELECTIONSTART: u32 = 2025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT2_SETSELECTIONRANGE: u32 = 2027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_CREATETEXTRANGE: u32 = 2006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_DEFAULTVALUE: u32 = 70619u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_MAXLENGTH: u32 = 2003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_READONLY: u32 = 2005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_SELECT: u32 = 2004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_SIZE: u32 = 2002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_STATUS: u32 = 2021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIPRINTCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIPRINTCOLLECTION_LENGTH: u32 = 1501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIPRINTCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLISINDEXELEMENT2_FORM: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLISINDEXELEMENT_ACTION: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLISINDEXELEMENT_PROMPT: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLABELELEMENT2_FORM: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLABELELEMENT_ACCESSKEY: u32 = 67541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLABELELEMENT_HTMLFOR: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLEGENDELEMENT2_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLEGENDELEMENT_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLIELEMENT_TYPE: u32 = 70553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLIELEMENT_VALUE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT2_TARGET: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT3_CHARSET: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT3_HREFLANG: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT4_IE8_HREF: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT5_SHEET: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_HREF: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_MEDIA: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_REL: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_REV: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_STYLESHEET: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_TYPE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLISTELEMENT2_COMPACT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_ASSIGN: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_HASH: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_HOST: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_HOSTNAME: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_HREF: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_PATHNAME: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_PORT: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_PROTOCOL: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_RELOAD: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_REPLACE: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_SEARCH: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_TOSTRING: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMAPELEMENT_AREAS: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMAPELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_BEHAVIOR: u32 = 6002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_BGCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_DIRECTION: u32 = 6001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_HSPACE: u32 = 6006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_LOOP: u32 = 6004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_ONBOUNCE: u32 = 71556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_ONFINISH: u32 = 71562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_ONSTART: u32 = 71563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_SCROLLAMOUNT: u32 = 6003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_SCROLLDELAY: u32 = 6000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_START: u32 = 6010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_STOP: u32 = 6011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_TRUESPEED: u32 = 6007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_VSPACE: u32 = 6005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT2_CURRENTTIMEDOUBLE: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT2_DEFAULTPLAYBACKRATEDOUBLE: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT2_DURATIONDOUBLE: u32 = 1029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT2_INITIALTIMEDOUBLE: u32 = 1028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT2_PLAYBACKRATEDOUBLE: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT2_VOLUMEDOUBLE: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_AUTOBUFFER: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_AUTOPLAY: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_BUFFERED: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_CANPLAYTYPE: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_CONTROLS: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_CURRENTSRC: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_CURRENTTIME: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_DEFAULTPLAYBACKRATE: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_DURATION: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_ENDED: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_ERROR: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_INITIALTIME: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_LOAD: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_LOOP: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_MUTED: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_NETWORKSTATE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_PAUSE: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_PAUSED: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_PLAY: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_PLAYBACKRATE: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_PLAYED: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_PRELOAD: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_SEEKABLE: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_SEEKING: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_SRC: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_VOLUME: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAERROR_CODE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMETAELEMENT2_SCHEME: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMETAELEMENT3_IE8_URL: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMETAELEMENT_CHARSET: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMETAELEMENT_CONTENT: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMETAELEMENT_HTTPEQUIV: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMETAELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMETAELEMENT_URL: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMIMETYPESCOLLECTION_LENGTH: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMODELESSINIT_DOCUMENT: u32 = 25007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMODELESSINIT_MONIKER: u32 = 25006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMODELESSINIT_OPTIONSTRING: u32 = 25001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMODELESSINIT_PARAMETERS: u32 = 25000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSCSSKEYFRAMERULE_KEYTEXT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSCSSKEYFRAMERULE_STYLE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSCSSKEYFRAMESRULE_APPENDRULE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSCSSKEYFRAMESRULE_CSSRULES: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSCSSKEYFRAMESRULE_DELETERULE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSCSSKEYFRAMESRULE_FINDRULE: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSCSSKEYFRAMESRULE_NAME: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSIMGELEMENT_MSPLAYTODISABLED: u32 = 1157u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSIMGELEMENT_MSPLAYTOPRIMARY: u32 = 1158u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSMEDIAELEMENT_MSPLAYTODISABLED: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSMEDIAELEMENT_MSPLAYTOPRIMARY: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACECOLLECTION_ADD: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACECOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACECOLLECTION_LENGTH: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACE_ATTACHEVENT: u32 = 66043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACE_DETACHEVENT: u32 = 66044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACE_DOIMPORT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACE_NAME: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACE_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACE_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACE_TAGNAMES: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACE_URN: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNEXTIDELEMENT_N: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT2_CLASSID: u32 = 68538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT2_DATA: u32 = 68539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT2_NAMEDRECORDSET: u32 = 68550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT3_ALT: u32 = 68552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT3_ARCHIVE: u32 = 68551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT3_BORDER: u32 = 68555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT3_DECLARE: u32 = 68553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT3_STANDBY: u32 = 68554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT3_USEMAP: u32 = 68556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT4_CONTENTDOCUMENT: u32 = 68566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT4_IE8_CODEBASE: u32 = 68567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT4_IE8_DATA: u32 = 68568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT5_IE9_OBJECT: u32 = 68569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_ALTHTML: u32 = 68547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_BASEHREF: u32 = 65538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_CLASSID: u32 = 68538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_CODE: u32 = 68544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_CODEBASE: u32 = 68542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_CODETYPE: u32 = 68543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_DATA: u32 = 68539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_HSPACE: u32 = 68549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_OBJECT: u32 = 68537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_READYSTATE: u32 = 68546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_RECORDSET: u32 = 68541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_TYPE: u32 = 68545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_VSPACE: u32 = 68548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOLISTELEMENT_COMPACT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOLISTELEMENT_START: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOLISTELEMENT_TYPE: u32 = 70553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_ADDREADREQUEST: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_ADDREQUEST: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_CLEARREQUEST: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_COMMITCHANGES: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_DOREADREQUEST: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_DOREQUEST: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_DOWRITEREQUEST: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_GETATTRIBUTE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_SETATTRIBUTE: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_CHECKED: u32 = 2009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_DEFAULTCHECKED: u32 = 2008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_INDETERMINATE: u32 = 2007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_STATUS: u32 = 2001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENT3_LABEL: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENT4_IE9_VALUE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENTFACTORY_CREATE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENT_DEFAULTSELECTED: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENT_FORM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENT_INDEX: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENT_SELECTED: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENT_TEXT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENT_VALUE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_ANYTHINGAFTERFRAMESET: u32 = 1513u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_CHOOSECOLORDLG: u32 = 1517u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_DOCUMENT: u32 = 1503u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_ERRORCHARACTER: u32 = 1507u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_ERRORCODE: u32 = 1508u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_ERRORDEBUG: u32 = 1510u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_ERRORLINE: u32 = 1506u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_ERRORMESSAGE: u32 = 1509u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_EXECARG: u32 = 1505u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_FINDTEXT: u32 = 1512u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_FONTS: u32 = 1504u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_GETCHARSET: u32 = 1520u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_ISAPARTMENTMODEL: u32 = 1519u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_OPENFILEDLG: u32 = 1515u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_SAVEFILEDLG: u32 = 1516u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_SECURECONNECTIONINFO: u32 = 1521u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_SHOWSECURITYINFO: u32 = 1518u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_SIZES: u32 = 1514u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_UNSECUREDWINDOWOFDOCUMENT: u32 = 1511u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAELEMENT_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAMELEMENT2_IE8_VALUETYPE: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAMELEMENT2_NAME: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAMELEMENT2_TYPE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAMELEMENT2_VALUE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAMELEMENT_NAME: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAMELEMENT_TYPE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAMELEMENT_VALUE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAMELEMENT_VALUETYPE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCENAVIGATION_REDIRECTCOUNT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCENAVIGATION_TOJSON: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCENAVIGATION_TOSTRING: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCENAVIGATION_TYPE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_CONNECTEND: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_CONNECTSTART: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_DOMAINLOOKUPEND: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_DOMAINLOOKUPSTART: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_DOMCOMPLETE: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_DOMCONTENTLOADEDEVENTEND: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_DOMCONTENTLOADEDEVENTSTART: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_DOMINTERACTIVE: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_DOMLOADING: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_FETCHSTART: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_LOADEVENTEND: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_LOADEVENTSTART: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_MSFIRSTPAINT: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_NAVIGATIONSTART: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_REDIRECTEND: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_REDIRECTSTART: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_REQUESTSTART: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_RESPONSEEND: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_RESPONSESTART: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_TOJSON: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_TOSTRING: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_UNLOADEVENTEND: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_UNLOADEVENTSTART: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCE_NAVIGATION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCE_TIMING: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCE_TOJSON: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCE_TOSTRING: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPHRASEELEMENT2_CITE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPHRASEELEMENT2_DATETIME: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPHRASEELEMENT3_IE8_CITE: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPLUGINSCOLLECTION_LENGTH: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPLUGINSCOLLECTION_REFRESH: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPOPUP_DOCUMENT: u32 = 27003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPOPUP_HIDE: u32 = 27002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPOPUP_ISOPEN: u32 = 27004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPOPUP_SHOW: u32 = 27001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPROGRESSELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPROGRESSELEMENT_MAX: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPROGRESSELEMENT_POSITION: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPROGRESSELEMENT_VALUE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECT2_HEIGHT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECT2_WIDTH: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECTCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECTCOLLECTION_LENGTH: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECTCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECT_BOTTOM: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECT_LEFT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECT_RIGHT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECT_TOP: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_DEFAULTTEXTSELECTION: u32 = 70724u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_RENDERINGPRIORITY: u32 = 70706u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_TEXTBACKGROUNDCOLOR: u32 = 70705u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_TEXTCOLOR: u32 = 70726u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_TEXTDECORATION: u32 = 70727u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_TEXTDECORATIONCOLOR: u32 = 70725u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_TEXTEFFECT: u32 = 70704u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_TEXTLINETHROUGHSTYLE: u32 = 70702u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_TEXTUNDERLINESTYLE: u32 = 70703u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_ACCELERATOR: u32 = 70683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_BEHAVIOR: u32 = 70651u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_BORDERCOLLAPSE: u32 = 70620u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_BOTTOM: u32 = 65614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_DIRECTION: u32 = 70655u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_IMEMODE: u32 = 70656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_LAYOUTGRID: u32 = 70667u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_LAYOUTGRIDCHAR: u32 = 70663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_LAYOUTGRIDLINE: u32 = 70664u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_LAYOUTGRIDMODE: u32 = 70665u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_LAYOUTGRIDTYPE: u32 = 70666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_LINEBREAK: u32 = 70669u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_OVERFLOWX: u32 = 70675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_OVERFLOWY: u32 = 70676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_PIXELBOTTOM: u32 = 69545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_PIXELRIGHT: u32 = 69546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_POSBOTTOM: u32 = 69547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_POSITION: u32 = 70626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_POSRIGHT: u32 = 69548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_RIGHT: u32 = 65613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_RUBYALIGN: u32 = 70657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_RUBYOVERHANG: u32 = 70659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_RUBYPOSITION: u32 = 70658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_TABLELAYOUT: u32 = 70634u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_TEXTAUTOSPACE: u32 = 70668u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_TEXTJUSTIFY: u32 = 70671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_TEXTJUSTIFYTRIM: u32 = 70672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_TEXTKASHIDA: u32 = 70673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_UNICODEBIDI: u32 = 70654u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_WORDBREAK: u32 = 70670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_LAYOUTFLOW: u32 = 70691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_SCROLLBAR3DLIGHTCOLOR: u32 = 70718u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_SCROLLBARARROWCOLOR: u32 = 70722u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_SCROLLBARBASECOLOR: u32 = 70716u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_SCROLLBARDARKSHADOWCOLOR: u32 = 70721u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_SCROLLBARFACECOLOR: u32 = 70717u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_SCROLLBARHIGHLIGHTCOLOR: u32 = 70720u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_SCROLLBARSHADOWCOLOR: u32 = 70719u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_SCROLLBARTRACKCOLOR: u32 = 70732u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_TEXTALIGNLAST: u32 = 70739u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_TEXTKASHIDASPACE: u32 = 70740u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_TEXTUNDERLINEPOSITION: u32 = 70695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_WORDWRAP: u32 = 70694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_WRITINGMODE: u32 = 70728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_ZOOM: u32 = 70689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE4_MINHEIGHT: u32 = 70747u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE4_TEXTOVERFLOW: u32 = 70745u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE5_MAXHEIGHT: u32 = 70750u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE5_MAXWIDTH: u32 = 70752u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE5_MINWIDTH: u32 = 70751u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE5_MSINTERPOLATIONMODE: u32 = 70749u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_BORDERSPACING: u32 = 70763u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_BOXSIZING: u32 = 70762u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_CAPTIONSIDE: u32 = 70755u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_CONTENT: u32 = 70754u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_COUNTERINCREMENT: u32 = 70756u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_COUNTERRESET: u32 = 70757u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_EMPTYCELLS: u32 = 70786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_MSBLOCKPROGRESSION: u32 = 70787u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_ORPHANS: u32 = 70764u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_OUTLINE: u32 = 70758u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_OUTLINECOLOR: u32 = 70761u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_OUTLINESTYLE: u32 = 70760u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_OUTLINEWIDTH: u32 = 70759u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_PAGEBREAKINSIDE: u32 = 70766u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_QUOTES: u32 = 70788u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_WIDOWS: u32 = 70765u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BACKGROUND: u32 = 70568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BACKGROUNDATTACHMENT: u32 = 70581u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BACKGROUNDCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BACKGROUNDIMAGE: u32 = 70537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITION: u32 = 70582u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITIONX: u32 = 70569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITIONY: u32 = 70570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BACKGROUNDREPEAT: u32 = 70580u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDER: u32 = 70585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERBOTTOM: u32 = 70588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERBOTTOMCOLOR: u32 = 70593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERBOTTOMSTYLE: u32 = 70603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERBOTTOMWIDTH: u32 = 70598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERCOLOR: u32 = 70590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERLEFT: u32 = 70589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERLEFTCOLOR: u32 = 70594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERLEFTSTYLE: u32 = 70604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERLEFTWIDTH: u32 = 70599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERRIGHT: u32 = 70587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERRIGHTCOLOR: u32 = 70592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERRIGHTSTYLE: u32 = 70602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERRIGHTWIDTH: u32 = 70597u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERSTYLE: u32 = 70600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERTOP: u32 = 70586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERTOPCOLOR: u32 = 70591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERTOPSTYLE: u32 = 70601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERTOPWIDTH: u32 = 70596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERWIDTH: u32 = 70595u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_CLEAR: u32 = 70552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_CLIP: u32 = 70628u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_COLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_CSSTEXT: u32 = 70635u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_CURSOR: u32 = 70638u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_DISPLAY: u32 = 70607u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_FILTER: u32 = 70618u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_FONT: u32 = 70577u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_FONTFAMILY: u32 = 70554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_FONTSIZE: u32 = 70555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_FONTSTYLE: u32 = 70560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_FONTVARIANT: u32 = 70561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_FONTWEIGHT: u32 = 70563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_GETATTRIBUTE: u32 = 66038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_LEFT: u32 = 65539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_LETTERSPACING: u32 = 70544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_LINEHEIGHT: u32 = 70542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_LISTSTYLE: u32 = 70611u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_LISTSTYLEIMAGE: u32 = 70610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_LISTSTYLEPOSITION: u32 = 70609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_LISTSTYLETYPE: u32 = 70608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_MARGIN: u32 = 70572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_MARGINBOTTOM: u32 = 70575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_MARGINLEFT: u32 = 70576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_MARGINRIGHT: u32 = 70574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_MARGINTOP: u32 = 70573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_OVERFLOW: u32 = 70546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_PADDING: u32 = 70547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_PADDINGBOTTOM: u32 = 70550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_PADDINGLEFT: u32 = 70551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_PADDINGRIGHT: u32 = 70549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_PADDINGTOP: u32 = 70548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_PAGEBREAKAFTER: u32 = 70614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_PAGEBREAKBEFORE: u32 = 70613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_POSITION: u32 = 70626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_REMOVEATTRIBUTE: u32 = 66039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_SETATTRIBUTE: u32 = 66037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_STYLEFLOAT: u32 = 70606u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTDECORATION: u32 = 70571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTDECORATIONBLINK: u32 = 70558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTDECORATIONLINETHROUGH: u32 = 70556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTDECORATIONNONE: u32 = 70559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTDECORATIONOVERLINE: u32 = 70605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTDECORATIONUNDERLINE: u32 = 70557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTINDENT: u32 = 70543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTTRANSFORM: u32 = 70540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TOP: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_VERTICALALIGN: u32 = 70584u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_VISIBILITY: u32 = 70616u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_WHITESPACE: u32 = 70612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_WORDSPACING: u32 = 70583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_ZINDEX: u32 = 70627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN2_DEVICEXDPI: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN2_DEVICEYDPI: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN2_LOGICALXDPI: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN2_LOGICALYDPI: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN3_SYSTEMXDPI: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN3_SYSTEMYDPI: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN4_PIXELDEPTH: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN_AVAILHEIGHT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN_AVAILWIDTH: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN_BUFFERDEPTH: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN_COLORDEPTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN_FONTSMOOTHINGENABLED: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN_HEIGHT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN_UPDATEINTERVAL: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN_WIDTH: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT2_CHARSET: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT3_IE8_SRC: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT4_USEDCHARSET: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT_DEFER: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT_EVENT: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT_HTMLFOR: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT_SRC: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT_TEXT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT_TYPE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT2_URNS: u32 = 1505u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT4_NAMEDITEM: u32 = 1506u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT5_IE8_ADD: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT6_IE9_ADD: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT6_IE9_VALUE: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_ADD: u32 = 1503u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_LENGTH: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_MULTIPLE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_OPTIONS: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_REMOVE: u32 = 1504u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_SELECTEDINDEX: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_SIZE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_TAGS: u32 = 1502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_TYPE: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_VALUE: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTIONOBJECT2_CREATERANGECOLLECTION: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTIONOBJECT2_TYPEDETAIL: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTIONOBJECT_CLEAR: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTIONOBJECT_CREATERANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTIONOBJECT_EMPTY: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTIONOBJECT_TYPE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_ADDRANGE: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_ANCHORNODE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_ANCHOROFFSET: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_COLLAPSE: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_COLLAPSETOEND: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_COLLAPSETOSTART: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_DELETEFROMDOCUMENT: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_FOCUSNODE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_FOCUSOFFSET: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_GETRANGEAT: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_ISCOLLAPSED: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_RANGECOUNT: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_REMOVEALLRANGES: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_REMOVERANGE: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_SELECTALLCHILDREN: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_TOSTRING: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSOURCEELEMENT_MEDIA: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSOURCEELEMENT_SRC: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSOURCEELEMENT_TYPE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSPANFLOW_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTORAGE2_IE9_SETITEM: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTORAGE_CLEAR: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTORAGE_GETITEM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTORAGE_KEY: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTORAGE_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTORAGE_REMAININGSPACE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTORAGE_REMOVEITEM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTORAGE_SETITEM: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_ACCELERATOR: u32 = 70683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_BEHAVIOR: u32 = 70651u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_BORDERCOLLAPSE: u32 = 70620u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_BOTTOM: u32 = 65614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_DIRECTION: u32 = 70655u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_GETEXPRESSION: u32 = 66041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_IMEMODE: u32 = 70656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_LAYOUTGRID: u32 = 70667u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_LAYOUTGRIDCHAR: u32 = 70663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_LAYOUTGRIDLINE: u32 = 70664u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_LAYOUTGRIDMODE: u32 = 70665u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_LAYOUTGRIDTYPE: u32 = 70666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_LINEBREAK: u32 = 70669u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_OVERFLOWX: u32 = 70675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_OVERFLOWY: u32 = 70676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_PIXELBOTTOM: u32 = 69545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_PIXELRIGHT: u32 = 69546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_POSBOTTOM: u32 = 69547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_POSITION: u32 = 70626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_POSRIGHT: u32 = 69548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_REMOVEEXPRESSION: u32 = 66042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_RIGHT: u32 = 65613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_RUBYALIGN: u32 = 70657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_RUBYOVERHANG: u32 = 70659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_RUBYPOSITION: u32 = 70658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_SETEXPRESSION: u32 = 66040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_TABLELAYOUT: u32 = 70634u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_TEXTAUTOSPACE: u32 = 70668u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_TEXTJUSTIFY: u32 = 70671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_TEXTJUSTIFYTRIM: u32 = 70672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_TEXTKASHIDA: u32 = 70673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_UNICODEBIDI: u32 = 70654u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_WORDBREAK: u32 = 70670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_LAYOUTFLOW: u32 = 70691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_SCROLLBAR3DLIGHTCOLOR: u32 = 70718u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_SCROLLBARARROWCOLOR: u32 = 70722u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_SCROLLBARBASECOLOR: u32 = 70716u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_SCROLLBARDARKSHADOWCOLOR: u32 = 70721u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_SCROLLBARFACECOLOR: u32 = 70717u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_SCROLLBARHIGHLIGHTCOLOR: u32 = 70720u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_SCROLLBARSHADOWCOLOR: u32 = 70719u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_SCROLLBARTRACKCOLOR: u32 = 70732u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_TEXTALIGNLAST: u32 = 70739u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_TEXTKASHIDASPACE: u32 = 70740u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_TEXTUNDERLINEPOSITION: u32 = 70695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_WORDWRAP: u32 = 70694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_WRITINGMODE: u32 = 70728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_ZOOM: u32 = 70689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE4_MINHEIGHT: u32 = 70747u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE4_TEXTOVERFLOW: u32 = 70745u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE5_MAXHEIGHT: u32 = 70750u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE5_MAXWIDTH: u32 = 70752u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE5_MINWIDTH: u32 = 70751u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE5_MSINTERPOLATIONMODE: u32 = 70749u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_BORDERSPACING: u32 = 70763u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_BOXSIZING: u32 = 70762u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_CAPTIONSIDE: u32 = 70755u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_CONTENT: u32 = 70754u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_COUNTERINCREMENT: u32 = 70756u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_COUNTERRESET: u32 = 70757u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_EMPTYCELLS: u32 = 70786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_MSBLOCKPROGRESSION: u32 = 70787u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_ORPHANS: u32 = 70764u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_OUTLINE: u32 = 70758u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_OUTLINECOLOR: u32 = 70761u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_OUTLINESTYLE: u32 = 70760u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_OUTLINEWIDTH: u32 = 70759u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_PAGEBREAKINSIDE: u32 = 70766u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_QUOTES: u32 = 70788u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_WIDOWS: u32 = 70765u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT2_SHEET: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT_MEDIA: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT_STYLESHEET: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT_TYPE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEENABLED_MSGETPROPERTYENABLED: u32 = 70043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEENABLED_MSPUTPROPERTYENABLED: u32 = 70044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEFONTFACE2_STYLE: u32 = 65610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEFONTFACE_FONTSRC: u32 = 70633u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEMEDIA_MATCHMEDIUM: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEMEDIA_TYPE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET2_ADDPAGERULE: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET2_PAGES: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET3_IE8_HREF: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET3_ISALTERNATE: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET3_ISPREFALTERNATE: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_CSSRULES: u32 = 1158u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_DELETERULE: u32 = 1161u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_IE9_HREF: u32 = 1154u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_IE9_MEDIA: u32 = 1159u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_IE9_TITLE: u32 = 1155u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_IE9_TYPE: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_INSERTRULE: u32 = 1160u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_OWNERNODE: u32 = 1156u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_OWNERRULE: u32 = 1157u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETPAGE2_SELECTORTEXT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETPAGE2_STYLE: u32 = 65610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETPAGESCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETPAGESCOLLECTION_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETPAGE_PSEUDOCLASS: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETPAGE_SELECTOR: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULE2_IE9_SELECTORTEXT: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULEAPPLIED_MSGETSPECIFICITY: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULEAPPLIED_MSSPECIFICITY: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESAPPLIEDCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESAPPLIEDCOLLECTION_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESAPPLIEDCOLLECTION_PROPERTYAPPLIEDBY: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESAPPLIEDCOLLECTION_PROPERTYAPPLIEDTRACE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESAPPLIEDCOLLECTION_PROPERTYAPPLIEDTRACELENGTH: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESCOLLECTION2_IE9_ITEM: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESCOLLECTION2_IE9_LENGTH: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESCOLLECTION_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULE_READONLY: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULE_SELECTORTEXT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULE_STYLE: u32 = 65610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETSCOLLECTION2_IE9_ITEM: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETSCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETSCOLLECTION_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETSCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_ADDIMPORT: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_ADDRULE: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_CSSTEXT: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_HREF: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_ID: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_IMPORTS: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_MEDIA: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_OWNINGELEMENT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_PARENTSTYLESHEET: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_READONLY: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_REMOVEIMPORT: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_REMOVERULE: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_RULES: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_TITLE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_TYPE: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BACKGROUND: u32 = 70568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BACKGROUNDATTACHMENT: u32 = 70581u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BACKGROUNDCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BACKGROUNDIMAGE: u32 = 70537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BACKGROUNDPOSITION: u32 = 70582u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONX: u32 = 70569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONY: u32 = 70570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BACKGROUNDREPEAT: u32 = 70580u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDER: u32 = 70585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERBOTTOM: u32 = 70588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERBOTTOMCOLOR: u32 = 70593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERBOTTOMSTYLE: u32 = 70603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERBOTTOMWIDTH: u32 = 70598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERCOLOR: u32 = 70590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERLEFT: u32 = 70589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERLEFTCOLOR: u32 = 70594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERLEFTSTYLE: u32 = 70604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERLEFTWIDTH: u32 = 70599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERRIGHT: u32 = 70587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERRIGHTCOLOR: u32 = 70592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERRIGHTSTYLE: u32 = 70602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERRIGHTWIDTH: u32 = 70597u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERSTYLE: u32 = 70600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERTOP: u32 = 70586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERTOPCOLOR: u32 = 70591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERTOPSTYLE: u32 = 70601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERTOPWIDTH: u32 = 70596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERWIDTH: u32 = 70595u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_CLEAR: u32 = 70552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_CLIP: u32 = 70628u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_COLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_CSSTEXT: u32 = 70635u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_CURSOR: u32 = 70638u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_DISPLAY: u32 = 70607u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_FILTER: u32 = 70618u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_FONT: u32 = 70577u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_FONTFAMILY: u32 = 70554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_FONTSIZE: u32 = 70555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_FONTSTYLE: u32 = 70560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_FONTVARIANT: u32 = 70561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_FONTWEIGHT: u32 = 70563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_GETATTRIBUTE: u32 = 66038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_LEFT: u32 = 65539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_LETTERSPACING: u32 = 70544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_LINEHEIGHT: u32 = 70542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_LISTSTYLE: u32 = 70611u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_LISTSTYLEIMAGE: u32 = 70610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_LISTSTYLEPOSITION: u32 = 70609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_LISTSTYLETYPE: u32 = 70608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_MARGIN: u32 = 70572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_MARGINBOTTOM: u32 = 70575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_MARGINLEFT: u32 = 70576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_MARGINRIGHT: u32 = 70574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_MARGINTOP: u32 = 70573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_OVERFLOW: u32 = 70546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PADDING: u32 = 70547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PADDINGBOTTOM: u32 = 70550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PADDINGLEFT: u32 = 70551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PADDINGRIGHT: u32 = 70549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PADDINGTOP: u32 = 70548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PAGEBREAKAFTER: u32 = 70614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PAGEBREAKBEFORE: u32 = 70613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PIXELHEIGHT: u32 = 69539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PIXELLEFT: u32 = 69537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PIXELTOP: u32 = 69536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PIXELWIDTH: u32 = 69538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_POSHEIGHT: u32 = 69543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_POSITION: u32 = 70626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_POSLEFT: u32 = 69541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_POSTOP: u32 = 69540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_POSWIDTH: u32 = 69542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_REMOVEATTRIBUTE: u32 = 66039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_SETATTRIBUTE: u32 = 66037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_STYLEFLOAT: u32 = 70606u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTDECORATION: u32 = 70571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTDECORATIONBLINK: u32 = 70558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTDECORATIONLINETHROUGH: u32 = 70556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTDECORATIONNONE: u32 = 70559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTDECORATIONOVERLINE: u32 = 70605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTDECORATIONUNDERLINE: u32 = 70557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTINDENT: u32 = 70543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTTRANSFORM: u32 = 70540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TOP: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TOSTRING: u32 = 69544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_VERTICALALIGN: u32 = 70584u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_VISIBILITY: u32 = 70616u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_WHITESPACE: u32 = 70612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_WORDSPACING: u32 = 70583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_ZINDEX: u32 = 70627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSUBMITDATA_APPENDITEMSEPARATOR: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSUBMITDATA_APPENDNAMEFILEPAIR: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSUBMITDATA_APPENDNAMEVALUEPAIR: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE2_CELLS: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE2_FIRSTPAGE: u32 = 1035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE2_LASTPAGE: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE2_MOVEROW: u32 = 1038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE3_SUMMARY: u32 = 1039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE4_CREATETBODY: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE4_IE9_CAPTION: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE4_IE9_DELETEROW: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE4_IE9_INSERTROW: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE4_IE9_TFOOT: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE4_IE9_THEAD: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECAPTION_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECAPTION_VALIGN: u32 = 70567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL2_ABBR: u32 = 2004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL2_AXIS: u32 = 2005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL2_CH: u32 = 2006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL2_CHOFF: u32 = 2007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL2_HEADERS: u32 = 2008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL2_SCOPE: u32 = 2009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL3_IE9_CH: u32 = 2010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL3_IE9_CHOFF: u32 = 2011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_BACKGROUND: u32 = 70537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_BGCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_BORDERCOLOR: u32 = 70564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_BORDERCOLORDARK: u32 = 70566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_BORDERCOLORLIGHT: u32 = 70565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_CELLINDEX: u32 = 2003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_COLSPAN: u32 = 2002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_NOWRAP: u32 = 70541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_ROWSPAN: u32 = 2001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_VALIGN: u32 = 70567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECOL2_CH: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECOL2_CHOFF: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECOL3_IE9_CH: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECOL3_IE9_CHOFF: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECOL_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECOL_SPAN: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECOL_VALIGN: u32 = 70567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECOL_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW2_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW3_CH: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW3_CHOFF: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW4_IE9_CH: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW4_IE9_CHOFF: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW4_IE9_DELETECELL: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW4_IE9_INSERTCELL: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROWMETRICS_CLIENTHEIGHT: u32 = 67555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROWMETRICS_CLIENTLEFT: u32 = 67558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROWMETRICS_CLIENTTOP: u32 = 67557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROWMETRICS_CLIENTWIDTH: u32 = 67556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_BGCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_BORDERCOLOR: u32 = 70564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_BORDERCOLORDARK: u32 = 70566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_BORDERCOLORLIGHT: u32 = 70565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_CELLS: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_DELETECELL: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_INSERTCELL: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_ROWINDEX: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_SECTIONROWINDEX: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_VALIGN: u32 = 70567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION2_MOVEROW: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION3_CH: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION3_CHOFF: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION4_IE9_CH: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION4_IE9_CHOFF: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION4_IE9_DELETEROW: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION4_IE9_INSERTROW: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION_BGCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION_DELETEROW: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION_INSERTROW: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION_ROWS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION_VALIGN: u32 = 70567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_BACKGROUND: u32 = 70537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_BGCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_BORDER: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_BORDERCOLOR: u32 = 70564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_BORDERCOLORDARK: u32 = 70566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_BORDERCOLORLIGHT: u32 = 70565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_CAPTION: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_CELLPADDING: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_CELLSPACING: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_COLS: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_CREATECAPTION: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_CREATETFOOT: u32 = 1028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_CREATETHEAD: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_DATAPAGESIZE: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_DELETECAPTION: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_DELETEROW: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_DELETETFOOT: u32 = 1029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_DELETETHEAD: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_FRAME: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_INSERTROW: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_NEXTPAGE: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_PREVIOUSPAGE: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_REFRESH: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_ROWS: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_RULES: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_TBODIES: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_TFOOT: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_THEAD: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT2_SELECTIONEND: u32 = 7008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT2_SELECTIONSTART: u32 = 7007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT2_SETSELECTIONRANGE: u32 = 7009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_COLS: u32 = 7002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_CREATETEXTRANGE: u32 = 7006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_DEFAULTVALUE: u32 = 70619u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_READONLY: u32 = 7004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_ROWS: u32 = 7001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_SELECT: u32 = 7005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_STATUS: u32 = 2001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_WRAP: u32 = 7003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTCONTAINER_CREATECONTROLRANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTCONTAINER_ONSCROLL: u32 = 71567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTCONTAINER_SCROLLHEIGHT: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTCONTAINER_SCROLLLEFT: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTCONTAINER_SCROLLTOP: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTCONTAINER_SCROLLWIDTH: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTRANGEMETRICS2_GETBOUNDINGCLIENTRECT: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTRANGEMETRICS2_GETCLIENTRECTS: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTRANGEMETRICS_BOUNDINGHEIGHT: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTRANGEMETRICS_BOUNDINGLEFT: u32 = 1038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTRANGEMETRICS_BOUNDINGTOP: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTRANGEMETRICS_BOUNDINGWIDTH: u32 = 1039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTRANGEMETRICS_OFFSETLEFT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTRANGEMETRICS_OFFSETTOP: u32 = 1035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTIMERANGES2_ENDDOUBLE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTIMERANGES2_STARTDOUBLE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTIMERANGES_END: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTIMERANGES_LENGTH: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTIMERANGES_START: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTITLEELEMENT_TEXT: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGECOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGECOLLECTION_LENGTH: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGECOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGEINTERNAL_GET_VISIBLETEXT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_COLLAPSE: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_COMPAREENDPOINTS: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_DUPLICATE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_EXECCOMMAND: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_EXECCOMMANDSHOWHELP: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_EXPAND: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_FINDTEXT: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_GETBOOKMARK: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_HTMLTEXT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_INRANGE: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_ISEQUAL: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_MOVE: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_MOVEEND: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_MOVESTART: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_MOVETOBOOKMARK: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_MOVETOELEMENTTEXT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_MOVETOPOINT: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_PARENTELEMENT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_PASTEHTML: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_QUERYCOMMANDENABLED: u32 = 1028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_QUERYCOMMANDINDETERM: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_QUERYCOMMANDSTATE: u32 = 1029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_QUERYCOMMANDSUPPORTED: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_QUERYCOMMANDTEXT: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_QUERYCOMMANDVALUE: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_SCROLLINTOVIEW: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_SELECT: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_SETENDPOINT: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_TEXT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLULISTELEMENT_COMPACT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLULISTELEMENT_TYPE: u32 = 70553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLUNIQUENAME_UNIQUEID: u32 = 66591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLUNIQUENAME_UNIQUENUMBER: u32 = 66590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLURNCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLURNCOLLECTION_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLVIDEOELEMENT_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLVIDEOELEMENT_POSTER: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLVIDEOELEMENT_VIDEOHEIGHT: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLVIDEOELEMENT_VIDEOWIDTH: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLVIDEOELEMENT_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ALERT: u32 = 1105u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_BLUR: u32 = 1159u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_CLEARINTERVAL: u32 = 1163u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_CLEARTIMEOUT: u32 = 1104u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_CLIENTINFORMATION: u32 = 1161u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_CLOSE: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_CLOSED: u32 = 23u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_CONFIRM: u32 = 1110u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_DEFAULTSTATUS: u32 = 1101u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_DOCUMENT: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_EVENT: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_EXECSCRIPT: u32 = 1165u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_EXTERNAL: u32 = 1169u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_FOCUS: u32 = 1158u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_FRAMES: u32 = 1100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_HISTORY: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_IMAGE: u32 = 1125u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_LOCATION: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_MOVEBY: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_MOVETO: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_NAME: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_NAVIGATE: u32 = 25u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_NAVIGATOR: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_OFFSCREENBUFFERING: u32 = 1164u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONBEFOREUNLOAD: u32 = 71575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONBLUR: u32 = 71551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONFOCUS: u32 = 71550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONHELP: u32 = 71549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONRESIZE: u32 = 71572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONSCROLL: u32 = 71567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONUNLOAD: u32 = 71569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_OPEN: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_OPENER: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_OPTION: u32 = 1157u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_PARENT: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_PROMPT: u32 = 1111u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_RESIZEBY: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_RESIZETO: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SCREEN: u32 = 1156u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SCROLL: u32 = 1160u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SCROLLBY: u32 = 1167u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SCROLLTO: u32 = 1168u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SELF: u32 = 20u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SETINTERVAL: u32 = 1173u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SETTIMEOUT: u32 = 1172u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SHOWHELP: u32 = 1155u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SHOWMODALDIALOG: u32 = 1154u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_STATUS: u32 = 1102u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_TOP: u32 = 21u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_TOSTRING: u32 = 1166u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_WINDOW: u32 = 22u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2__NEWENUM: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_ATTACHEVENT: u32 = 66043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_CLIPBOARDDATA: u32 = 1175u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_DETACHEVENT: u32 = 66044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_ONAFTERPRINT: u32 = 71603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_ONBEFOREPRINT: u32 = 71602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_PRINT: u32 = 1174u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_SCREENLEFT: u32 = 1170u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_SCREENTOP: u32 = 1171u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_SETINTERVAL: u32 = 1162u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_SETTIMEOUT: u32 = 1103u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_SHOWMODELESSDIALOG: u32 = 1176u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW4_CREATEPOPUP: u32 = 1180u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW4_FRAMEELEMENT: u32 = 1181u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW5_XMLHTTPREQUEST: u32 = 1190u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_LOCALSTORAGE: u32 = 1193u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_MAXCONNECTIONSPERSERVER: u32 = 1194u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_MSWRITEPROFILERMARK: u32 = 1198u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_ONHASHCHANGE: u32 = 71645u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_ONMESSAGE: u32 = 71646u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_POSTMESSAGE: u32 = 1196u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_SESSIONSTORAGE: u32 = 1192u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_TOSTATICHTML: u32 = 1197u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_XDOMAINREQUEST: u32 = 1191u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_GETCOMPUTEDSTYLE: u32 = 1200u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_GETSELECTION: u32 = 1199u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_INNERHEIGHT: u32 = 1205u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_INNERWIDTH: u32 = 1204u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONABORT: u32 = 71564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONCANPLAY: u32 = 71670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONCANPLAYTHROUGH: u32 = 71671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONCLICK: u32 = 71544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONCONTEXTMENU: u32 = 71601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDBLCLICK: u32 = 71545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDRAG: u32 = 71585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDRAGEND: u32 = 71586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDRAGENTER: u32 = 71587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDRAGLEAVE: u32 = 71589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDRAGOVER: u32 = 71588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDRAGSTART: u32 = 71571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDROP: u32 = 71590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDURATIONCHANGE: u32 = 71672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONEMPTIED: u32 = 71673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONENDED: u32 = 71674u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONFOCUSIN: u32 = 71627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONFOCUSOUT: u32 = 71628u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONINPUT: u32 = 71663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONKEYDOWN: u32 = 71541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONKEYPRESS: u32 = 71543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONKEYUP: u32 = 71542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONLOADEDDATA: u32 = 71675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONLOADEDMETADATA: u32 = 71676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONLOADSTART: u32 = 71677u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONMOUSEDOWN: u32 = 71538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONMOUSEENTER: u32 = 71621u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONMOUSELEAVE: u32 = 71622u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONMOUSEMOVE: u32 = 71540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONMOUSEOUT: u32 = 71537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONMOUSEOVER: u32 = 71536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONMOUSEUP: u32 = 71539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONMOUSEWHEEL: u32 = 71612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONOFFLINE: u32 = 71644u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONONLINE: u32 = 71643u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONPAUSE: u32 = 71678u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONPLAY: u32 = 71679u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONPLAYING: u32 = 71680u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONPROGRESS: u32 = 71681u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONRATECHANGE: u32 = 71682u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONRESET: u32 = 71548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONSEEKED: u32 = 71683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONSEEKING: u32 = 71684u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONSTALLED: u32 = 71685u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONSTORAGE: u32 = 71636u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONSUBMIT: u32 = 71547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONSUSPEND: u32 = 71686u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONTIMEUPDATE: u32 = 71687u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONVOLUMECHANGE: u32 = 71688u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONWAITING: u32 = 71689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_OUTERHEIGHT: u32 = 1211u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_OUTERWIDTH: u32 = 1210u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_PAGEXOFFSET: u32 = 1206u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_PAGEYOFFSET: u32 = 1207u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_PERFORMANCE: u32 = 1203u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_SCREENX: u32 = 1208u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_SCREENY: u32 = 1209u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_STYLEMEDIA: u32 = 1202u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_APPLICATIONCACHE: u32 = 1213u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSGESTURECHANGE: u32 = 71700u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSGESTUREDOUBLETAP: u32 = 71704u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSGESTUREEND: u32 = 71701u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSGESTUREHOLD: u32 = 71702u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSGESTURESTART: u32 = 71699u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSGESTURETAP: u32 = 71703u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSINERTIASTART: u32 = 71705u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSPOINTERCANCEL: u32 = 71695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSPOINTERDOWN: u32 = 71690u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSPOINTERHOVER: u32 = 71696u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSPOINTERMOVE: u32 = 71691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSPOINTEROUT: u32 = 71694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSPOINTEROVER: u32 = 71693u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSPOINTERUP: u32 = 71692u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONPOPSTATE: u32 = 71728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUESTFACTORY_CREATE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_ABORT: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_CONTENTTYPE: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_ONPROGRESS: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_ONTIMEOUT: u32 = 71648u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_OPEN: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_RESPONSETEXT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_SEND: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_TIMEOUT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST2_ONTIMEOUT: u32 = 71648u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST2_TIMEOUT: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUESTFACTORY_CREATE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_ABORT: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_GETALLRESPONSEHEADERS: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_GETRESPONSEHEADER: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_OPEN: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_READYSTATE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_RESPONSEBODY: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_RESPONSETEXT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_RESPONSEXML: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_SEND: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_SETREQUESTHEADER: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_STATUS: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_STATUSTEXT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ILINEINFO: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ILINEINFO_BASELINE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ILINEINFO_LINEDIRECTION: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ILINEINFO_TEXTDESCENT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ILINEINFO_TEXTHEIGHT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ILINEINFO_X: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IMG: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IMGBASE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IMPORT: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IMPORTEXPORTFAVORITES: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INAVIGATORDONOTTRACK_MSDONOTTRACK: u32 = 22u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INAVIGATORGEOLOCATION_GEOLOCATION: u32 = 21u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INITIALIZED: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INPRIVATEFILTERINGENABLED: u32 = 37u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INPUT: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INPUTIMAGE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INPUTTEXT: u32 = 4000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INPUTTEXTBASE: u32 = 3000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIAATOMIC: u32 = 71179u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIAAUTOCOMPLETE: u32 = 71180u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIADROPEFFECT: u32 = 71181u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIAGRABBED: u32 = 71182u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIALABEL: u32 = 71183u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIAMULTILINE: u32 = 71184u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIAORIENTATION: u32 = 71185u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIASORT: u32 = 71186u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIAVALUETEXT: u32 = 71187u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARYELEMENTRELEASENOTIFYPTRCACHE: u32 = 70712u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARYOBJECTRELEASECLEANUPPTRCACHE: u32 = 70753u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_A_MS_HYPHENATE_LIMIT_AFTER: u32 = 71177u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_A_MS_HYPHENATE_LIMIT_BEFORE: u32 = 71176u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_A_MS_HYPHENATE_LIMIT_WORDS: u32 = 71175u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_BACKGROUNDDEFINITION: u32 = 71137u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_BGURLIMGCTXCACHEINDEX_GCAFTER: u32 = 70790u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_BGURLIMGCTXCACHEINDEX_GCBEFORE: u32 = 70789u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_BGURLIMGCTXCACHEINDEX_URLAFTER: u32 = 70792u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_BGURLIMGCTXCACHEINDEX_URLBEFORE: u32 = 70791u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CATTRIBUTECOLLPTRCACHE: u32 = 70746u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CATTRIBUTEPTRCACHE: u32 = 71169u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CDOMCHILDRENPTRCACHE: u32 = 70662u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CELEMENTCLASSCACHE: u32 = 2147483648u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CODEPAGESETTINGSPTRCACHE: u32 = 70708u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_COMPUTEFORMATSTATECACHE: u32 = 70715u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CRUNTIMESTYLEPTRCACHE: u32 = 70644u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CSS_PARSEDARY: u32 = 71211u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CSS_TRACEDSTYLES: u32 = 71213u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CSTYLEPTRCACHE: u32 = 70643u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_DATABINDTASKPTRCACHE: u32 = 70710u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_DWNDOCPTRCACHE: u32 = 70709u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_DWNHEADERCACHE: u32 = 70733u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_DWNPOSTPTRCACHE: u32 = 70707u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ERRORPAGEDWNPOST: u32 = 70997u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ERRORPAGEREASON: u32 = 70996u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ERRORPAGEREFRESHURL: u32 = 70995u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_FILTERNATIVEINFOPTRCACHE: u32 = 70692u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_FILTERPTRCACHE: u32 = 70649u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_FIRST: u32 = 71136u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_FOCUSITEMS: u32 = 70731u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_FONTFACEUNICODERANGE: u32 = 71170u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_FONTHISTORYINDEX: u32 = 70741u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_FRAMESCOLLECTION: u32 = 70736u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_GENERICCOMPLUSREF: u32 = 70730u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_GETTERSETTERCOLLECTION: u32 = 70794u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_INLINESTYLEAA: u32 = 70642u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_INVOKECONTEXT: u32 = 70645u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_INVOKECONTEXTDOCUMENT: u32 = 70748u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_LAYOUTRECTREGISTRYPTRCACHE: u32 = 70700u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_MEDIA_REFERENCE: u32 = 70729u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_NAMEDFLOWCOLLECTION: u32 = 71173u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ONBEHAVIOR_APPLYSTYLE: u32 = 70684u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ONBEHAVIOR_CONTENTREADY: u32 = 70660u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ONBEHAVIOR_CONTENTSAVE: u32 = 70723u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ONBEHAVIOR_DOCUMENTREADY: u32 = 70661u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_PAGEFLOWCOLLECTION: u32 = 71172u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_PEERFACTORYURLMAPPTRCACHE: u32 = 70713u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_REQUIRED: u32 = 71210u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_RUNTIMESTYLEAA: u32 = 70685u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_SOURCELOCATION: u32 = 71212u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_STMDIRTYPTRCACHE: u32 = 70714u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_TOUCHTARGETHANDLER: u32 = 71171u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_URIBEFOREREDIRECT: u32 = 70809u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_URLLOCATIONCACHE: u32 = 70711u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_URLSEARCHCACHE: u32 = 70743u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INVOKECONTEXTMENU: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMHISTORY_BACK: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMHISTORY_FORWARD: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMHISTORY_GO: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMHISTORY_LENGTH: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_APPCODENAME: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_APPMINORVERSION: u32 = 17u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_APPNAME: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_APPVERSION: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_BROWSERLANGUAGE: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_CONNECTIONSPEED: u32 = 18u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_COOKIEENABLED: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_CPUCLASS: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_JAVAENABLED: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_MIMETYPES: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_ONLINE: u32 = 19u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_OPSPROFILE: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_PLATFORM: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_PLUGINS: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_SYSTEMLANGUAGE: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_TAINTENABLED: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_TOSTRING: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_USERAGENT: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_USERLANGUAGE: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_USERPROFILE: u32 = 20u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER2_PERCENTSCALE: u32 = 509u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER2_SHOWHEADERFOOTER: u32 = 507u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER2_SHRINKTOFIT: u32 = 508u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER_DRAWPREVIEWPAGE: u32 = 502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER_ENDPRINT: u32 = 506u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER_GETPRINTTASKOPTIONVALUE: u32 = 505u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER_INVALIDATEPREVIEW: u32 = 504u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER_SETPAGECOUNT: u32 = 503u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER_STARTPRINT: u32 = 501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRANGEEXCEPTION_CODE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRANGEEXCEPTION_MESSAGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIEDCOLLECTION_ELEMENT: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIEDCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIEDCOLLECTION_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIEDCOLLECTION_PROPERTY: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIEDCOLLECTION_PROPERTYCOUNT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIEDCOLLECTION_PROPERTYINHERITEDFROM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIEDCOLLECTION_PROPERTYINHERITEDTRACE: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIEDCOLLECTION_PROPERTYINHERITEDTRACELENGTH: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIED_APPLIEDRULES: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIED_ELEMENT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIED_HASINHERITABLEPROPERTY: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIED_INLINESTYLES: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIED_PROPERTYISINHERITABLE: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIED_PROPERTYISINLINE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISMETAREFERRERAVAILABLE: u32 = 83u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISSEARCHMIGRATED: u32 = 25u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISSEARCHPROVIDERINSTALLED: u32 = 24u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISSERVICEINSTALLED: u32 = 31u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISSITEMODE: u32 = 43u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISSITEMODEFIRSTRUN: u32 = 59u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISSUBSCRIBED: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGAELEMENT_TARGET: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANGLE_CONVERTTOSPECIFIEDUNITS: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANGLE_NEWVALUESPECIFIEDUNITS: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANGLE_UNITTYPE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANGLE_VALUE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANGLE_VALUEASSTRING: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANGLE_VALUEINSPECIFIEDUNITS: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDANGLE_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDANGLE_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDBOOLEAN_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDBOOLEAN_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDENUMERATION_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDENUMERATION_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDINTEGER_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDINTEGER_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDLENGTHLIST_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDLENGTHLIST_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDLENGTH_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDLENGTH_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDNUMBERLIST_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDNUMBERLIST_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDNUMBER_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDNUMBER_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDPATHDATA_ANIMATEDNORMALIZEDPATHSEGLIST: u32 = 1078u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDPATHDATA_ANIMATEDPATHSEGLIST: u32 = 1077u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDPATHDATA_NORMALIZEDPATHSEGLIST: u32 = 1076u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDPATHDATA_PATHSEGLIST: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDPOINTS_ANIMATEDPOINTS: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDPOINTS_POINTS: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDPRESERVEASPECTRATIO_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDPRESERVEASPECTRATIO_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDRECT_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDRECT_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDSTRING_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDSTRING_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDTRANSFORMLIST_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDTRANSFORMLIST_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGCIRCLEELEMENT_CX: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGCIRCLEELEMENT_CY: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGCIRCLEELEMENT_R: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGCLIPPATHELEMENT_CLIPPATHUNITS: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGDOCUMENT_ROOTELEMENT: u32 = 1116u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCELIST_ITEM: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCELIST_LENGTH: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCE_CHILDNODES: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCE_CORRESPONDINGELEMENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCE_CORRESPONDINGUSEELEMENT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCE_FIRSTCHILD: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCE_LASTCHILD: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCE_NEXTSIBLING: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCE_PARENTNODE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCE_PREVIOUSSIBLING: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENT_FOCUSABLE: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENT_OWNERSVGELEMENT: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENT_VIEWPORTELEMENT: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENT_XMLBASE: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELLIPSEELEMENT_CX: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELLIPSEELEMENT_CY: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELLIPSEELEMENT_RX: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELLIPSEELEMENT_RY: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGEXCEPTION_CODE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGEXCEPTION_MESSAGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGEXTERNALRESOURCESREQUIRED_EXTERNALRESOURCESREQUIRED: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGFITTOVIEWBOX_PRESERVEASPECTRATIO: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGFITTOVIEWBOX_VIEWBOX: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGGRADIENTELEMENT_GRADIENTTRANSFORM: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGGRADIENTELEMENT_GRADIENTUNITS: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGGRADIENTELEMENT_SPREADMETHOD: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGIMAGEELEMENT_HEIGHT: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGIMAGEELEMENT_WIDTH: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGIMAGEELEMENT_X: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGIMAGEELEMENT_Y: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLANGSPACE_XMLLANG: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLANGSPACE_XMLSPACE: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTHLIST_APPENDITEM: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTHLIST_CLEAR: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTHLIST_GETITEM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTHLIST_INITIALIZE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTHLIST_INSERTITEMBEFORE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTHLIST_NUMBEROFITEMS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTHLIST_REMOVEITEM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTHLIST_REPLACEITEM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTH_CONVERTTOSPECIFIEDUNITS: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTH_NEWVALUESPECIFIEDUNITS: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTH_UNITTYPE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTH_VALUE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTH_VALUEASSTRING: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTH_VALUEINSPECIFIEDUNITS: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLINEARGRADIENTELEMENT_X1: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLINEARGRADIENTELEMENT_X2: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLINEARGRADIENTELEMENT_Y1: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLINEARGRADIENTELEMENT_Y2: u32 = 1077u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLINEELEMENT_X1: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLINEELEMENT_X2: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLINEELEMENT_Y1: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLINEELEMENT_Y2: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLOCATABLE_FARTHESTVIEWPORTELEMENT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLOCATABLE_GETBBOX: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLOCATABLE_GETCTM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLOCATABLE_GETSCREENCTM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLOCATABLE_GETTRANSFORMTOELEMENT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLOCATABLE_NEARESTVIEWPORTELEMENT: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_MARKERHEIGHT: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_MARKERUNITS: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_MARKERWIDTH: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_ORIENTANGLE: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_ORIENTTYPE: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_REFX: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_REFY: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_SETORIENTTOANGLE: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_SETORIENTTOAUTO: u32 = 1063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMASKELEMENT_HEIGHT: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMASKELEMENT_MASKCONTENTUNITS: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMASKELEMENT_MASKUNITS: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMASKELEMENT_WIDTH: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMASKELEMENT_X: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMASKELEMENT_Y: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_A: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_B: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_C: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_D: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_E: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_F: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_FLIPX: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_FLIPY: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_INVERSE: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_MULTIPLY: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_ROTATE: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_ROTATEFROMVECTOR: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_SCALE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_SCALENONUNIFORM: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_SKEWX: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_SKEWY: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_TRANSLATE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBERLIST_APPENDITEM: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBERLIST_CLEAR: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBERLIST_GETITEM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBERLIST_INITIALIZE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBERLIST_INSERTITEMBEFORE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBERLIST_NUMBEROFITEMS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBERLIST_REMOVEITEM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBERLIST_REPLACEITEM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBER_VALUE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGARCABS: u32 = 1063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGARCREL: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCLOSEPATH: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCURVETOCUBICABS: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCURVETOCUBICREL: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCURVETOCUBICSMOOTHABS: u32 = 1069u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCURVETOCUBICSMOOTHREL: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCURVETOQUADRATICABS: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCURVETOQUADRATICREL: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCURVETOQUADRATICSMOOTHABS: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCURVETOQUADRATICSMOOTHREL: u32 = 1072u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGLINETOABS: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGLINETOHORIZONTALABS: u32 = 1065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGLINETOHORIZONTALREL: u32 = 1066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGLINETOREL: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGLINETOVERTICALABS: u32 = 1067u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGLINETOVERTICALREL: u32 = 1068u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGMOVETOABS: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGMOVETOREL: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_GETPATHSEGATLENGTH: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_GETPOINTATLENGTH: u32 = 1074u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_GETTOTALLENGTH: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_PATHLENGTH: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCABS_ANGLE: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCABS_LARGEARCFLAG: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCABS_R1: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCABS_R2: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCABS_SWEEPFLAG: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCABS_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCABS_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCREL_ANGLE: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCREL_LARGEARCFLAG: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCREL_R1: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCREL_R2: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCREL_SWEEPFLAG: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCREL_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCREL_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICABS_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICABS_X1: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICABS_X2: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICABS_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICABS_Y1: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICABS_Y2: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICREL_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICREL_X1: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICREL_X2: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICREL_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICREL_Y1: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICREL_Y2: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICSMOOTHABS_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICSMOOTHABS_X2: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICSMOOTHABS_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICSMOOTHABS_Y2: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICSMOOTHREL_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICSMOOTHREL_X2: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICSMOOTHREL_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICSMOOTHREL_Y2: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICABS_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICABS_X1: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICABS_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICABS_Y1: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICREL_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICREL_X1: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICREL_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICREL_Y1: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICSMOOTHABS_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICSMOOTHABS_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICSMOOTHREL_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICSMOOTHREL_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLINETOABS_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLINETOABS_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLINETOHORIZONTALABS_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLINETOHORIZONTALREL_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLINETOREL_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLINETOREL_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLINETOVERTICALABS_Y: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLINETOVERTICALREL_Y: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLIST_APPENDITEM: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLIST_CLEAR: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLIST_GETITEM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLIST_INITIALIZE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLIST_INSERTITEMBEFORE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLIST_NUMBEROFITEMS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLIST_REMOVEITEM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLIST_REPLACEITEM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGMOVETOABS_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGMOVETOABS_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGMOVETOREL_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGMOVETOREL_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEG_PATHSEGTYPE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEG_PATHSEGTYPEASLETTER: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATTERNELEMENT_HEIGHT: u32 = 1063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATTERNELEMENT_PATTERNCONTENTUNITS: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATTERNELEMENT_PATTERNTRANSFORM: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATTERNELEMENT_PATTERNUNITS: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATTERNELEMENT_WIDTH: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATTERNELEMENT_X: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATTERNELEMENT_Y: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINTLIST_APPENDITEM: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINTLIST_CLEAR: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINTLIST_GETITEM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINTLIST_INITIALIZE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINTLIST_INSERTITEMBEFORE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINTLIST_NUMBEROFITEMS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINTLIST_REMOVEITEM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINTLIST_REPLACEITEM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINT_MATRIXTRANSFORM: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINT_X: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINT_Y: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPRESERVEASPECTRATIO_ALIGN: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPRESERVEASPECTRATIO_MEETORSLICE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRADIALGRADIENTELEMENT_CX: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRADIALGRADIENTELEMENT_CY: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRADIALGRADIENTELEMENT_FX: u32 = 1077u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRADIALGRADIENTELEMENT_FY: u32 = 1079u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRADIALGRADIENTELEMENT_R: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECTELEMENT_HEIGHT: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECTELEMENT_RX: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECTELEMENT_RY: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECTELEMENT_WIDTH: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECTELEMENT_X: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECTELEMENT_Y: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECT_HEIGHT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECT_WIDTH: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECT_X: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECT_Y: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSCRIPTELEMENT_TYPE: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTOPELEMENT_OFFSET: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTRINGLIST_APPENDITEM: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTRINGLIST_CLEAR: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTRINGLIST_GETITEM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTRINGLIST_INITIALIZE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTRINGLIST_INSERTITEMBEFORE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTRINGLIST_NUMBEROFITEMS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTRINGLIST_REMOVEITEM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTRINGLIST_REPLACEITEM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTYLABLE_CLASSNAME: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTYLEELEMENT_MEDIA: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTYLEELEMENT_TYPE: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_ANIMATIONSPAUSED: u32 = 1076u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CHECKENCLOSURE: u32 = 1082u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CHECKINTERSECTION: u32 = 1081u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CONTENTSCRIPTTYPE: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CONTENTSTYLETYPE: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CREATESVGANGLE: u32 = 1086u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CREATESVGLENGTH: u32 = 1085u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CREATESVGMATRIX: u32 = 1088u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CREATESVGNUMBER: u32 = 1084u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CREATESVGPOINT: u32 = 1087u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CREATESVGRECT: u32 = 1089u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CREATESVGTRANSFORM: u32 = 1090u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CREATESVGTRANSFORMFROMMATRIX: u32 = 1091u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CURRENTSCALE: u32 = 1068u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CURRENTTRANSLATE: u32 = 1069u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CURRENTVIEW: u32 = 1067u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_DESELECTALL: u32 = 1083u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_FORCEREDRAW: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_GETCURRENTTIME: u32 = 1077u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_GETELEMENTBYID: u32 = 1092u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_GETENCLOSURELIST: u32 = 1080u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_GETINTERSECTIONLIST: u32 = 1079u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_HEIGHT: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_PAUSEANIMATIONS: u32 = 1074u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_PIXELUNITTOMILLIMETERX: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_PIXELUNITTOMILLIMETERY: u32 = 1063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_SCREENPIXELTOMILLIMETERX: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_SCREENPIXELTOMILLIMETERY: u32 = 1065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_SETCURRENTTIME: u32 = 1078u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_SUSPENDREDRAW: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_UNPAUSEANIMATIONS: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_UNSUSPENDREDRAW: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_UNSUSPENDREDRAWALL: u32 = 1072u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_USECURRENTVIEW: u32 = 1066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_VIEWPORT: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_WIDTH: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_X: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_Y: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTESTS_HASEXTENSION: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTESTS_REQUIREDEXTENSIONS: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTESTS_REQUIREDFEATURES: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTESTS_SYSTEMLANGUAGE: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_GETCHARNUMATPOSITION: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_GETCOMPUTEDTEXTLENGTH: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_GETENDPOSITIONOFCHAR: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_GETEXTENTOFCHAR: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_GETNUMBEROFCHARS: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_GETROTATIONOFCHAR: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_GETSTARTPOSITIONOFCHAR: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_GETSUBSTRINGLENGTH: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_LENGTHADJUST: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_SELECTSUBSTRING: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_TEXTLENGTH: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTPATHELEMENT_METHOD: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTPATHELEMENT_SPACING: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTPATHELEMENT_STARTOFFSET: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTPOSITIONINGELEMENT_DX: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTPOSITIONINGELEMENT_DY: u32 = 1077u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTPOSITIONINGELEMENT_ROTATE: u32 = 1079u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTPOSITIONINGELEMENT_X: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTPOSITIONINGELEMENT_Y: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMABLE_TRANSFORM: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_APPENDITEM: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_CLEAR: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_CONSOLIDATE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_CREATESVGTRANSFORMFROMMATRIX: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_GETITEM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_INITIALIZE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_INSERTITEMBEFORE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_NUMBEROFITEMS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_REMOVEITEM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_REPLACEITEM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_ANGLE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_MATRIX: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_SETMATRIX: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_SETROTATE: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_SETSCALE: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_SETSKEWX: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_SETSKEWY: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_SETTRANSLATE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_TYPE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGURIREFERENCE_HREF: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGUSEELEMENT_ANIMATEDINSTANCEROOT: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGUSEELEMENT_HEIGHT: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGUSEELEMENT_INSTANCEROOT: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGUSEELEMENT_WIDTH: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGUSEELEMENT_X: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGUSEELEMENT_Y: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGVIEWELEMENT_VIEWTARGET: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGZOOMANDPAN_ZOOMANDPAN: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGZOOMEVENT_NEWSCALE: u32 = 1279u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGZOOMEVENT_NEWTRANSLATE: u32 = 1280u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGZOOMEVENT_PREVIOUSSCALE: u32 = 1277u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGZOOMEVENT_PREVIOUSTRANSLATE: u32 = 1278u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGZOOMEVENT_ZOOMRECTSCREEN: u32 = 1276u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER2_DEVICESUPPORTS: u32 = 41u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER2_FRAMEACTIVEENABLED: u32 = 38u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER2_ORIENTATION: u32 = 39u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER2_SELECTIONENABLED: u32 = 37u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER2_USEPRINTERCOPYCOLLATE: u32 = 40u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_GETPAGEMARGINBOTTOM: u32 = 45u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_GETPAGEMARGINBOTTOMIMPORTANT: u32 = 49u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_GETPAGEMARGINLEFT: u32 = 46u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_GETPAGEMARGINLEFTIMPORTANT: u32 = 50u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_GETPAGEMARGINRIGHT: u32 = 44u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_GETPAGEMARGINRIGHTIMPORTANT: u32 = 48u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_GETPAGEMARGINTOP: u32 = 43u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_GETPAGEMARGINTOPIMPORTANT: u32 = 47u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_HEADERFOOTERFONT: u32 = 42u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_ALLLINKEDDOCUMENTS: u32 = 23u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_COLLATE: u32 = 17u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_COPIES: u32 = 19u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_CURRENTPAGE: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_CURRENTPAGEAVAIL: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_DUPLEX: u32 = 18u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_ENSUREPRINTDIALOGDEFAULTS: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_FOOTER: u32 = 25u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_FRAMEACTIVE: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_FRAMEASSHOWN: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_FRAMESETDOCUMENT: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_HEADER: u32 = 24u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_MARGINBOTTOM: u32 = 29u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_MARGINLEFT: u32 = 26u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_MARGINRIGHT: u32 = 27u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_MARGINTOP: u32 = 28u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_PAGEFROM: u32 = 20u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_PAGEHEIGHT: u32 = 31u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_PAGETO: u32 = 21u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_PAGEWIDTH: u32 = 30u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_PRINTBLANKPAGE: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_PRINTNONNATIVE: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_PRINTNONNATIVEFRAMES: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_PRINTPAGE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_SELECTEDPAGES: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_SELECTION: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_SHOWPAGESETUPDIALOG: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_SHOWPRINTDIALOG: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_STARTDOC: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_STOPDOC: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_TABLEOFLINKS: u32 = 22u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_UNPRINTABLEBOTTOM: u32 = 35u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_UNPRINTABLELEFT: u32 = 32u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_UNPRINTABLERIGHT: u32 = 34u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_UNPRINTABLETOP: u32 = 33u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_UPDATEPAGESTATUS: u32 = 36u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_BUBBLEEVENT: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_FROZEN: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_ONVISIBILITYCHANGE: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_RAISEEVENT: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_SCROLLBAR: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_SELECTABLECONTENT: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_SETCONTEXTMENU: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_VERSION: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_VISIBILITY: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBBRIDGE_ABOUTBOX: i32 = -552i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBBRIDGE_EMBED: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBBRIDGE_EVENT: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBBRIDGE_READYSTATE: i32 = -525i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBBRIDGE_SCROLLBAR: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBBRIDGE_URL: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOCOORDINATES_ACCURACY: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOCOORDINATES_ALTITUDE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOCOORDINATES_ALTITUDEACCURACY: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOCOORDINATES_HEADING: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOCOORDINATES_LATITUDE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOCOORDINATES_LONGITUDE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOCOORDINATES_SPEED: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOLOCATION_CLEARWATCH: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOLOCATION_GETCURRENTPOSITION: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOLOCATION_WATCHPOSITION: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOPOSITIONERROR_CODE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOPOSITIONERROR_MESSAGE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOPOSITION_COORDS: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOPOSITION_TIMESTAMP: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LABEL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LAUNCHIE: u32 = 91u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LAUNCHINHVSI: u32 = 99u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LAUNCHINTERNETOPTIONS: u32 = 74u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LAUNCHNETWORKCLIENTHELP: u32 = 67u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LI: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LINK: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LOCATION: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LOCATIONOBJECT: i32 = -5506i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MAP: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MARKUP: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MARQUEE: u32 = 6000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MEDIA: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MEDIAERROR: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MEDIALIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MEDIAQUERY: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MENU: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MIMETYPES_COL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MODE: u32 = 18u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MOVESELECTIONDOWN: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MOVESELECTIONTO: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MOVESELECTIONUP: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSANIMATIONEND: u32 = 1095u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSANIMATIONITERATION: u32 = 1096u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSANIMATIONSTART: u32 = 1094u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSDATASRCINTERFACE: i32 = -3900i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSGESTURECHANGE: u32 = 1084u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSGESTUREDOUBLETAP: u32 = 1088u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSGESTUREEND: u32 = 1085u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSGESTUREHOLD: u32 = 1086u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSGESTUREINIT: u32 = 1097u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSGESTURESTART: u32 = 1083u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSGESTURETAP: u32 = 1087u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSGOTPOINTERCAPTURE: u32 = 1091u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSHTMLWEBVIEWELEMENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSINERTIASTART: u32 = 1089u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSLOSTPOINTERCAPTURE: u32 = 1090u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSMANIPULATIONSTATECHANGED: u32 = 1098u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSORIENTATIONCHANGE: u32 = 1103u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTERCANCEL: u32 = 1081u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTERDOWN: u32 = 1076u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTERENTER: u32 = 1101u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTERHOVER: u32 = 1082u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTERLEAVE: u32 = 1102u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTERMOVE: u32 = 1077u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTEROUT: u32 = 1080u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTEROVER: u32 = 1079u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTERPOINT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTERUP: u32 = 1078u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSTRANSITIONEND: u32 = 1093u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSTRANSITIONSTART: u32 = 1092u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAMESPACE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAMESPACE_COLLECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAVIGATEANDFIND: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAVIGATECOMPLETE: u32 = 101u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAVIGATECOMPLETE2: u32 = 252u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAVIGATEERROR: u32 = 271u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAVIGATETOSUGGESTEDSITES: u32 = 40u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAVIGATOR: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAVIGATOROBJECT: i32 = -5508i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NEWFOLDER: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NEWPROCESS: u32 = 284u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NEWWINDOW: u32 = 107u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NEWWINDOW2: u32 = 251u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NEWWINDOW3: u32 = 273u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NORMAL_FIRST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NSCOLUMNS: u32 = 21u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OBJECT: u32 = 68536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OBJECT_ORDINAL_BASE: u32 = 73536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OBJECT_ORDINAL_MAX: u32 = 74535u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OLESITE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OMDOCUMENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OMRECT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OMWINDOW: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONACTIVATE: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONADDRESSBAR: u32 = 261u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONAFTERPRINT: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONALERT: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONBEFOREACTIVATE: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONBEFOREDEACTIVATE: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONBEFOREEDITFOCUS: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONBEFOREPRINT: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONBEFOREUNLOAD: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONBOUNCE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONCHANGEBLUR: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONCHANGEFOCUS: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONCLOSE: u32 = 1100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONCOMPASSNEEDSCALIBRATION: u32 = 1108u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONCONTENTREADY: u32 = 1029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONCONTEXTMENU: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONCONTROLSELECT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONDEACTIVATE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONDEVICEMOTION: u32 = 1105u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONDEVICEORIENTATION: u32 = 1104u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONDOMMUTATION: u32 = 1068u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONFINISH: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONFOCUSIN: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONFOCUSOUT: u32 = 1049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONFULLSCREEN: u32 = 258u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONHASHCHANGE: u32 = 1066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONHIDE: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONLAYOUT: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONLAYOUTCOMPLETE: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONLINKEDOVERFLOW: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMENUBAR: u32 = 256u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMESSAGE: u32 = 1067u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMOUSEENTER: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMOUSEHOVER: u32 = 1028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMOUSELEAVE: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMOUSEWHEEL: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMOVE: u32 = 1035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMOVEEND: u32 = 1039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMOVESTART: u32 = 1038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMULTILAYOUTCLEANUP: u32 = 1046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONOBJECTCONTENTSCROLLED: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONOFFLINE: u32 = 1065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONONLINE: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONOPEN: u32 = 1099u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONPAGE: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONPAGEHIDE: u32 = 1107u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONPAGESHOW: u32 = 1106u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONPERSIST: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONPERSISTLOAD: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONPERSISTSAVE: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONPOPUPMENUEND: u32 = 1063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONPOPUPMENUSTART: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONQUIT: u32 = 253u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONRESET: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONRESIZE: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONRESIZEEND: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONRESIZESTART: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSCROLL: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSELECT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSELECTADD: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSELECTIONCHANGE: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSELECTREMOVE: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSELECTWITHIN: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSHOW: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSTART: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSTATUSBAR: u32 = 257u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSTOP: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSTORAGE: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSTORAGECOMMIT: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSUBMIT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSYSTEMSCROLLINGEND: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSYSTEMSCROLLINGSTART: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONTHEATERMODE: u32 = 260u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONTOOLBAR: u32 = 255u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONUNLOAD: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONVALUECHANGE: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONVISIBLE: u32 = 254u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OPENFAVORITESPANE: u32 = 97u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OPENFAVORITESSETTINGS: u32 = 98u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OPTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OPTIONS_COL: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PARA: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PARAM: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PEER_HOLDER_BASE: u32 = 5000000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PERFORMANCE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PERFORMANCENAVIGATION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PERFORMANCEOBJECT: i32 = -5505i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PERFORMANCETIMING: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PERSISTDATA: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PHISHINGENABLED: u32 = 19u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PHRASE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PINNEDSITESTATE: u32 = 73u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PLAYTO: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PLAYTODEVICE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PLUGINS_COL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PRINTMANAGER_TEMPLATE_PRINTER: u32 = 501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PRINTTEMPLATEINSTANTIATION: u32 = 225u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PRINTTEMPLATETEARDOWN: u32 = 226u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PRIVACYIMPACTEDSTATECHANGE: u32 = 272u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PROCESSINGINSTRUCTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PROGRESS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PROGRESSCHANGE: u32 = 108u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PROPERTYCHANGE: u32 = 112u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PROTECTEDELEMENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PROVISIONNETWORKS: u32 = 62u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_QUIT: u32 = 103u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RADIO: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RANGE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RANGEEXCEPTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_REDIRECTXDOMAINBLOCKED: u32 = 286u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_REFRESHOFFLINEDESKTOP: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_REMOVESCHEDULEDTILENOTIFICATION: u32 = 80u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_REPORTSAFEURL: u32 = 63u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RESETEXPERIMENTALFLAGS: u32 = 92u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RESETFIRSTBOOTMODE: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RESETSAFEMODE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RESETSORT: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RETREATERROR: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RICHTEXT: u32 = 7000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ROOT: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RULESAPPLIED: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RULESAPPLIED_COLLECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RUNONCEHASSHOWN: u32 = 28u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RUNONCEREQUIREDSETTINGSCOMPLETE: u32 = 27u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RUNONCESHOWN: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SCHEDULEDTILENOTIFICATION: u32 = 79u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SCREEN: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SCRIPT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SEARCHGUIDEURL: u32 = 29u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SECURITYCTX: i32 = -5511i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SECURITYDOMAIN: i32 = -5514i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SELECT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SELECTEDITEM: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SELECTEDITEMS: u32 = 24u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SELECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SELECTIONCHANGE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SELECTOBJ: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETACTIVITIESVISIBLE: u32 = 35u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETDETAILSSTATE: u32 = 20u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETEXPERIMENTALFLAG: u32 = 84u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETEXPERIMENTALVALUE: u32 = 86u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETMSDEFAULTS: u32 = 104u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETNEEDHVSIAUTOLAUNCHFLAG: u32 = 101u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETNEEDIEAUTOLAUNCHFLAG: u32 = 90u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETPERERRSTATE: u32 = 22u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETPHISHINGFILTERSTATUS: u32 = 282u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETRECENTLYCLOSEDVISIBLE: u32 = 34u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETROOT: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETSECURELOCKICON: u32 = 269u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETSITEMODEICONOVERLAY: u32 = 44u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETSITEMODEPROPERTIES: u32 = 50u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETTHUMBNAILBUTTONS: u32 = 47u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETVIEWTYPE: u32 = 23u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SHELLUIHELPERLAST: u32 = 105u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SHOWBROWSERUI: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SHOWINPRIVATEHELP: u32 = 42u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SHOWTABSHELP: u32 = 41u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITE: u32 = 67536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODEACTIVATE: u32 = 58u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODEADDBUTTONSTYLE: u32 = 54u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODEADDJUMPLISTITEM: u32 = 52u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODECLEARBADGE: u32 = 65u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODECLEARJUMPLIST: u32 = 53u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODECREATEJUMPLIST: u32 = 51u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODEREFRESHBADGE: u32 = 64u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODESHOWBUTTONSTYLE: u32 = 55u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODESHOWJUMPLIST: u32 = 56u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SKIPRUNONCE: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SKIPTABSWELCOME: u32 = 21u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SOURCE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SQMENABLED: u32 = 18u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STARTBADGEUPDATE: u32 = 81u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STARTPERIODICUPDATE: u32 = 70u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STARTPERIODICUPDATEBATCH: u32 = 75u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STATUSTEXTCHANGE: u32 = 102u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STOPBADGEUPDATE: u32 = 82u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STOPPERIODICUPDATE: u32 = 69u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLE: u32 = 69536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLEELEMENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLEMEDIA: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLEPAGE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLEPAGES_COL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLERULE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLERULES_COL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLESHEET: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLESHEETRULESAPPLIED_COLLECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLESHEETSCOLLECTION_NAMED_BASE: u32 = 1000000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLESHEETSCOLLECTION_NAMED_MAX: u32 = 1999999u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLESHEETSCOLLECTION_ORDINAL_BASE: u32 = 2000000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLESHEETSCOLLECTION_ORDINAL_MAX: u32 = 2999999u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLESHEETS_COL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SUBSCRIPTIONSENABLED: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SUGGESTEDSITESENABLED: u32 = 38u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGABORT: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGAELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGALTGLYPHDEFELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGALTGLYPHELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGALTGLYPHITEMELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANGLE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATECOLORELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDANGLE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDBOOLEAN: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDENUMERATION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDINTEGER: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDLENGTH: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDLENGTHLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDNUMBER: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDNUMBERLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDPOINTS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDPRESERVEASPECTRATIO: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDRECT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDSTRING: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDTRANSFORMLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEMOTIONELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATETRANSFORMELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGCIRCLEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGCLIPPATHELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGCOLOR_PROFILEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGCOMPONENTTRANSFERFUNCTIONELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGCURSORELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGDEFINITION_SRCELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGDEFSELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGDESCELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGELEMENT: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGELEMENTINSTANCE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGELEMENTINSTANCELIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGELEMENT_BASE: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGELLIPSEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGERROR: u32 = 1072u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGEXCEPTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGEXTERNALRESOURCESREQUIRED_EXTERNALRESOURCESREQUIRED_ATTR: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGEXTERNALRESOURCESREQUIRED_EXTERNALRESOURCESREQUIRED_PROP: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEBLENDELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFECOLORMATRIXELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFECOMPONENTTRANSFERELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFECOMPOSITEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFECONVOLVEMATRIXELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEDIFFUSELIGHTINGELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEDISPLACEMENTMAPELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEDISTANTLIGHTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEFLOODELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEFUNCAELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEFUNCBELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEFUNCGELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEFUNCRELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEGAUSSIANBLURELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEIMAGEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEMERGEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEMERGENODEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEMORPHOLOGYELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEOFFSETELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEPOINTLIGHTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFESPECULARLIGHTINGELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFESPOTLIGHTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFETILEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFETURBULENCEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFILTERELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFITTOVIEWBOX_PRESERVEASPECTRATIO_ATTR: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFITTOVIEWBOX_PRESERVEASPECTRATIO_PROP: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFITTOVIEWBOX_VIEWBOX_ATTR: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFITTOVIEWBOX_VIEWBOX_PROP: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFONTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFONT_FACEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFONT_FACE_FORMATELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFONT_FACE_NAMEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFONT_FACE_SRCELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFONT_FACE_URIELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFOREIGNOBJECTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGGELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGGLYPHELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGGLYPHREFELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGGRADIENTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGHKERNELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGIMAGEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLANGSPACE_XMLLANG: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLANGSPACE_XMLSPACE: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLENGTH: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLENGTHLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLINEARGRADIENTELEMENT: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLINEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLOAD: u32 = 1069u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLOCATABLE_FARTHESTVIEWPORTELEMENT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLOCATABLE_GETBBOX: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLOCATABLE_GETCTM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLOCATABLE_GETSCREENCTM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLOCATABLE_GETTRANSFORMTOELEMENT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLOCATABLE_NEARESTVIEWPORTELEMENT: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGMARKERELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGMASKELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGMATRIX: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGMETADATAELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGMISSING_GLYPHELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGMIXINS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGMPATHELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGNUMBER: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGNUMBERLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEG: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGARCABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGARCREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCLOSEPATH: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCURVETOCUBICABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCURVETOCUBICREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCURVETOCUBICSMOOTHABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCURVETOCUBICSMOOTHREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCURVETOQUADRATICABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCURVETOQUADRATICREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCURVETOQUADRATICSMOOTHABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCURVETOQUADRATICSMOOTHREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGLINETOABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGLINETOHORIZONTALABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGLINETOHORIZONTALREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGLINETOREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGLINETOVERTICALABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGLINETOVERTICALREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGMOVETOABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGMOVETOREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEG_BASE: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATTERNELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPOINT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPOINTLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPOLYGONELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPOLYLINEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPRESERVEASPECTRATIO: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGRADIALGRADIENTELEMENT: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGRECT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGRECTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGRESIZE: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSCRIPTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSCROLL: u32 = 1074u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSETELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSTOPELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSTRINGLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSTYLABLE_CLASSNAME_PROP: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSTYLEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSVGELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSWITCHELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSYMBOLELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTESTS_HASEXTENSION: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTESTS_REQUIREDEXTENSIONS_ATTR: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTESTS_REQUIREDEXTENSIONS_PROP: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTESTS_REQUIREDFEATURES_ATTR: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTESTS_REQUIREDFEATURES_PROP: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTESTS_SYSTEMLANGUAGE_ATTR: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTESTS_SYSTEMLANGUAGE_PROP: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTEXTCONTENTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTEXTCONTENTELEMENT_BASE: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTEXTELEMENT: u32 = 1090u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTEXTPATHELEMENT: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTEXTPOSITIONINGELEMENT: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTEXTPOSITIONINGELEMENT_BASE: u32 = 1090u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTITLEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTRANSFORM: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTRANSFORMABLE_TRANSFORM_ATTR: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTRANSFORMABLE_TRANSFORM_PROP: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTRANSFORMLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTREFELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTSPANELEMENT: u32 = 1090u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGUNLOAD: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGURIREFERENCE_HREF: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGUSEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGVIEWELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGVKERNELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGZOOM: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGZOOMANDPAN_ZOOMANDPAN: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGZOOMEVENT: u32 = 1275u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SYNCHRONIZE: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TABLE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TABLECELL: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TABLECOL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TABLEROW: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TABLESECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TAGNAMES_COLLECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TEMPLATE_PRINTER: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TEXTAREA: u32 = 5000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TEXTSITE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_THIRDPARTYURLBLOCKED: u32 = 285u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TIMERANGES: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TITLECHANGE: u32 = 113u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TITLEICONCHANGE: u32 = 114u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TRACK: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TRACKINGPROTECTIONENABLED: u32 = 60u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TVFLAGS: u32 = 20u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_UL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_UNKNOWNPDL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_UNSELECTALL: u32 = 26u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_UPDATEPAGESTATUS: u32 = 227u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_UPDATETHUMBNAILBUTTON: u32 = 46u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_URN_COLL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_VIDEO: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_VIEWUPDATE: u32 = 281u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WEBGEOCOORDINATES: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WEBGEOLOCATION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WEBGEOPOSITION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WEBGEOPOSITION_ERROR: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WEBSOCKET: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WEBWORKERFINISHED: u32 = 289u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WEBWORKERSTARTED: u32 = 288u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOW: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWACTIVATE: u32 = 111u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWCLOSING: u32 = 263u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWMOVE: u32 = 109u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWOBJECT: i32 = -5500i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWREGISTERED: u32 = 200u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWRESIZE: u32 = 110u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWREVOKED: u32 = 201u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWSETHEIGHT: u32 = 267u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWSETLEFT: u32 = 264u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWSETRESIZABLE: u32 = 262u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWSETTOP: u32 = 265u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWSETWIDTH: u32 = 266u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWSTATECHANGED: u32 = 283u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_XDOMAINREQUEST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_XMLDECL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_XMLHTTPREQUEST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_XMLSERIALIZER: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_XOBJ_EXPANDO: u32 = 72536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_XOBJ_ORDINAL: u32 = 73536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type DISPLAY_BREAK = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_BREAK_None: DISPLAY_BREAK = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_BREAK_Block: DISPLAY_BREAK = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_BREAK_Break: DISPLAY_BREAK = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_BREAK_Max: DISPLAY_BREAK = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type DISPLAY_GRAVITY = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_GRAVITY_PreviousLine: DISPLAY_GRAVITY = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_GRAVITY_NextLine: DISPLAY_GRAVITY = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_GRAVITY_Max: DISPLAY_GRAVITY = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type DISPLAY_MOVEUNIT = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_MOVEUNIT_PreviousLine: DISPLAY_MOVEUNIT = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_MOVEUNIT_NextLine: DISPLAY_MOVEUNIT = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_MOVEUNIT_CurrentLineStart: DISPLAY_MOVEUNIT = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_MOVEUNIT_CurrentLineEnd: DISPLAY_MOVEUNIT = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_MOVEUNIT_TopOfWindow: DISPLAY_MOVEUNIT = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_MOVEUNIT_BottomOfWindow: DISPLAY_MOVEUNIT = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_MOVEUNIT_Max: DISPLAY_MOVEUNIT = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_BGSOUNDS: u32 = 64u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_DLIMAGES: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_DOWNLOADONLY: u32 = 2048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_FORCEOFFLINE: u32 = 268435456u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NOFRAMES: u32 = 524288u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NO_BEHAVIORS: u32 = 32768u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NO_CLIENTPULL: u32 = 536870912u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NO_DLACTIVEXCTLS: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NO_FRAMEDOWNLOAD: u32 = 4096u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NO_JAVA: u32 = 256u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NO_METACHARSET: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NO_RUNACTIVEXCTLS: u32 = 512u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NO_SCRIPTS: u32 = 128u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_OFFLINE: u32 = 2147483648u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_OFFLINEIFNOTCONNECTED: u32 = 2147483648u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_PRAGMA_NO_CACHE: u32 = 16384u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_RESYNCHRONIZE: u32 = 8192u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_SILENT: u32 = 1073741824u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_URL_ENCODING_DISABLE_UTF8: u32 = 131072u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_URL_ENCODING_ENABLE_UTF8: u32 = 262144u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_VIDEOS: u32 = 32u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type DOCHOSTUIDBLCLK = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIDBLCLK_DEFAULT: DOCHOSTUIDBLCLK = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIDBLCLK_SHOWPROPERTIES: DOCHOSTUIDBLCLK = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIDBLCLK_SHOWCODE: DOCHOSTUIDBLCLK = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type DOCHOSTUIFLAG = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_DIALOG: DOCHOSTUIFLAG = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_DISABLE_HELP_MENU: DOCHOSTUIFLAG = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_NO3DBORDER: DOCHOSTUIFLAG = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_SCROLL_NO: DOCHOSTUIFLAG = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_DISABLE_SCRIPT_INACTIVE: DOCHOSTUIFLAG = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_OPENNEWWIN: DOCHOSTUIFLAG = 32i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_DISABLE_OFFSCREEN: DOCHOSTUIFLAG = 64i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_FLAT_SCROLLBAR: DOCHOSTUIFLAG = 128i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_DIV_BLOCKDEFAULT: DOCHOSTUIFLAG = 256i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_ACTIVATE_CLIENTHIT_ONLY: DOCHOSTUIFLAG = 512i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_OVERRIDEBEHAVIORFACTORY: DOCHOSTUIFLAG = 1024i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_CODEPAGELINKEDFONTS: DOCHOSTUIFLAG = 2048i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_URL_ENCODING_DISABLE_UTF8: DOCHOSTUIFLAG = 4096i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_URL_ENCODING_ENABLE_UTF8: DOCHOSTUIFLAG = 8192i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_ENABLE_FORMS_AUTOCOMPLETE: DOCHOSTUIFLAG = 16384i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_ENABLE_INPLACE_NAVIGATION: DOCHOSTUIFLAG = 65536i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_IME_ENABLE_RECONVERSION: DOCHOSTUIFLAG = 131072i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_THEME: DOCHOSTUIFLAG = 262144i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_NOTHEME: DOCHOSTUIFLAG = 524288i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_NOPICS: DOCHOSTUIFLAG = 1048576i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_NO3DOUTERBORDER: DOCHOSTUIFLAG = 2097152i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_DISABLE_EDIT_NS_FIXUP: DOCHOSTUIFLAG = 4194304i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_LOCAL_MACHINE_ACCESS_CHECK: DOCHOSTUIFLAG = 8388608i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_DISABLE_UNTRUSTEDPROTOCOL: DOCHOSTUIFLAG = 16777216i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_HOST_NAVIGATES: DOCHOSTUIFLAG = 33554432i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_ENABLE_REDIRECT_NOTIFICATION: DOCHOSTUIFLAG = 67108864i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_USE_WINDOWLESS_SELECTCONTROL: DOCHOSTUIFLAG = 134217728i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_USE_WINDOWED_SELECTCONTROL: DOCHOSTUIFLAG = 268435456i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_ENABLE_ACTIVEX_INACTIVATE_MODE: DOCHOSTUIFLAG = 536870912i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_DPI_AWARE: DOCHOSTUIFLAG = 1073741824i32; -#[repr(C)] -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub struct DOCHOSTUIINFO { - pub cbSize: u32, - pub dwFlags: u32, - pub dwDoubleClick: u32, - pub pchHostCss: ::windows_sys::core::PWSTR, - pub pchHostNS: ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for DOCHOSTUIINFO {} -impl ::core::clone::Clone for DOCHOSTUIINFO { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type DOCHOSTUITYPE = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUITYPE_BROWSE: DOCHOSTUITYPE = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUITYPE_AUTHOR: DOCHOSTUITYPE = 1i32; -pub const DOMBeforeUnloadEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616676, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMChildrenCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612138, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMCloseEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616832, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMCompositionEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616537, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMCustomEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616543, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMDocumentType: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616633, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMDragEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616674, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810615995, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMException: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616620, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMFocusEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616525, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMKeyboardEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616535, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMMSAnimationEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616760, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMMSManipulationEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616855, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMMSTransitionEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616758, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMMessageEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616609, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMMouseEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616527, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMMouseWheelEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616529, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMMutationEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616539, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMParser: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616706, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMParserFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616708, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMProcessingInstruction: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616643, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMProgressEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616607, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMSiteModeEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616678, data2: 39094, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMStorageEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616611, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMTextEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616533, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMUIEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616523, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const DOMWheelEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616531, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type DOM_EVENT_PHASE = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEP_CAPTURING_PHASE: DOM_EVENT_PHASE = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEP_AT_TARGET: DOM_EVENT_PHASE = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEP_BUBBLING_PHASE: DOM_EVENT_PHASE = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOM_EVENT_PHASE_Max: DOM_EVENT_PHASE = 2147483647i32; -pub type DWebBridgeEvents = *mut ::core::ffi::c_void; -pub type DispApplicationCache = *mut ::core::ffi::c_void; -pub type DispCEventObj = *mut ::core::ffi::c_void; -pub type DispCPlugins = *mut ::core::ffi::c_void; -pub type DispCPrintManagerTemplatePrinter = *mut ::core::ffi::c_void; -pub type DispCanvasGradient = *mut ::core::ffi::c_void; -pub type DispCanvasImageData = *mut ::core::ffi::c_void; -pub type DispCanvasPattern = *mut ::core::ffi::c_void; -pub type DispCanvasRenderingContext2D = *mut ::core::ffi::c_void; -pub type DispCanvasTextMetrics = *mut ::core::ffi::c_void; -pub type DispDOMBeforeUnloadEvent = *mut ::core::ffi::c_void; -pub type DispDOMChildrenCollection = *mut ::core::ffi::c_void; -pub type DispDOMCloseEvent = *mut ::core::ffi::c_void; -pub type DispDOMCompositionEvent = *mut ::core::ffi::c_void; -pub type DispDOMCustomEvent = *mut ::core::ffi::c_void; -pub type DispDOMDocumentType = *mut ::core::ffi::c_void; -pub type DispDOMDragEvent = *mut ::core::ffi::c_void; -pub type DispDOMEvent = *mut ::core::ffi::c_void; -pub type DispDOMException = *mut ::core::ffi::c_void; -pub type DispDOMFocusEvent = *mut ::core::ffi::c_void; -pub type DispDOMKeyboardEvent = *mut ::core::ffi::c_void; -pub type DispDOMMSAnimationEvent = *mut ::core::ffi::c_void; -pub type DispDOMMSManipulationEvent = *mut ::core::ffi::c_void; -pub type DispDOMMSTransitionEvent = *mut ::core::ffi::c_void; -pub type DispDOMMessageEvent = *mut ::core::ffi::c_void; -pub type DispDOMMouseEvent = *mut ::core::ffi::c_void; -pub type DispDOMMouseWheelEvent = *mut ::core::ffi::c_void; -pub type DispDOMMutationEvent = *mut ::core::ffi::c_void; -pub type DispDOMParser = *mut ::core::ffi::c_void; -pub type DispDOMProcessingInstruction = *mut ::core::ffi::c_void; -pub type DispDOMProgressEvent = *mut ::core::ffi::c_void; -pub type DispDOMSiteModeEvent = *mut ::core::ffi::c_void; -pub type DispDOMStorageEvent = *mut ::core::ffi::c_void; -pub type DispDOMTextEvent = *mut ::core::ffi::c_void; -pub type DispDOMUIEvent = *mut ::core::ffi::c_void; -pub type DispDOMWheelEvent = *mut ::core::ffi::c_void; -pub type DispEventException = *mut ::core::ffi::c_void; -pub type DispHTCAttachBehavior = *mut ::core::ffi::c_void; -pub type DispHTCDefaultDispatch = *mut ::core::ffi::c_void; -pub type DispHTCDescBehavior = *mut ::core::ffi::c_void; -pub type DispHTCEventBehavior = *mut ::core::ffi::c_void; -pub type DispHTCMethodBehavior = *mut ::core::ffi::c_void; -pub type DispHTCPropertyBehavior = *mut ::core::ffi::c_void; -pub type DispHTMLAnchorElement = *mut ::core::ffi::c_void; -pub type DispHTMLAppBehavior = *mut ::core::ffi::c_void; -pub type DispHTMLAreaElement = *mut ::core::ffi::c_void; -pub type DispHTMLAreasCollection = *mut ::core::ffi::c_void; -pub type DispHTMLAttributeCollection = *mut ::core::ffi::c_void; -pub type DispHTMLAudioElement = *mut ::core::ffi::c_void; -pub type DispHTMLBGsound = *mut ::core::ffi::c_void; -pub type DispHTMLBRElement = *mut ::core::ffi::c_void; -pub type DispHTMLBaseElement = *mut ::core::ffi::c_void; -pub type DispHTMLBaseFontElement = *mut ::core::ffi::c_void; -pub type DispHTMLBlockElement = *mut ::core::ffi::c_void; -pub type DispHTMLBody = *mut ::core::ffi::c_void; -pub type DispHTMLButtonElement = *mut ::core::ffi::c_void; -pub type DispHTMLCSSImportRule = *mut ::core::ffi::c_void; -pub type DispHTMLCSSMediaList = *mut ::core::ffi::c_void; -pub type DispHTMLCSSMediaRule = *mut ::core::ffi::c_void; -pub type DispHTMLCSSNamespaceRule = *mut ::core::ffi::c_void; -pub type DispHTMLCSSRule = *mut ::core::ffi::c_void; -pub type DispHTMLCSSStyleDeclaration = *mut ::core::ffi::c_void; -pub type DispHTMLCanvasElement = *mut ::core::ffi::c_void; -pub type DispHTMLCommentElement = *mut ::core::ffi::c_void; -pub type DispHTMLCurrentStyle = *mut ::core::ffi::c_void; -pub type DispHTMLDDElement = *mut ::core::ffi::c_void; -pub type DispHTMLDListElement = *mut ::core::ffi::c_void; -pub type DispHTMLDOMAttribute = *mut ::core::ffi::c_void; -pub type DispHTMLDOMImplementation = *mut ::core::ffi::c_void; -pub type DispHTMLDOMRange = *mut ::core::ffi::c_void; -pub type DispHTMLDOMTextNode = *mut ::core::ffi::c_void; -pub type DispHTMLDTElement = *mut ::core::ffi::c_void; -pub type DispHTMLDefaults = *mut ::core::ffi::c_void; -pub type DispHTMLDivElement = *mut ::core::ffi::c_void; -pub type DispHTMLDivPosition = *mut ::core::ffi::c_void; -pub type DispHTMLDocument = *mut ::core::ffi::c_void; -pub type DispHTMLDocumentCompatibleInfo = *mut ::core::ffi::c_void; -pub type DispHTMLDocumentCompatibleInfoCollection = *mut ::core::ffi::c_void; -pub type DispHTMLElementCollection = *mut ::core::ffi::c_void; -pub type DispHTMLEmbed = *mut ::core::ffi::c_void; -pub type DispHTMLFieldSetElement = *mut ::core::ffi::c_void; -pub type DispHTMLFontElement = *mut ::core::ffi::c_void; -pub type DispHTMLFormElement = *mut ::core::ffi::c_void; -pub type DispHTMLFrameBase = *mut ::core::ffi::c_void; -pub type DispHTMLFrameElement = *mut ::core::ffi::c_void; -pub type DispHTMLFrameSetSite = *mut ::core::ffi::c_void; -pub type DispHTMLGenericElement = *mut ::core::ffi::c_void; -pub type DispHTMLHRElement = *mut ::core::ffi::c_void; -pub type DispHTMLHeadElement = *mut ::core::ffi::c_void; -pub type DispHTMLHeaderElement = *mut ::core::ffi::c_void; -pub type DispHTMLHistory = *mut ::core::ffi::c_void; -pub type DispHTMLHtmlElement = *mut ::core::ffi::c_void; -pub type DispHTMLIFrame = *mut ::core::ffi::c_void; -pub type DispHTMLImg = *mut ::core::ffi::c_void; -pub type DispHTMLInputElement = *mut ::core::ffi::c_void; -pub type DispHTMLIsIndexElement = *mut ::core::ffi::c_void; -pub type DispHTMLLIElement = *mut ::core::ffi::c_void; -pub type DispHTMLLabelElement = *mut ::core::ffi::c_void; -pub type DispHTMLLegendElement = *mut ::core::ffi::c_void; -pub type DispHTMLLinkElement = *mut ::core::ffi::c_void; -pub type DispHTMLListElement = *mut ::core::ffi::c_void; -pub type DispHTMLLocation = *mut ::core::ffi::c_void; -pub type DispHTMLMSCSSKeyframeRule = *mut ::core::ffi::c_void; -pub type DispHTMLMSCSSKeyframesRule = *mut ::core::ffi::c_void; -pub type DispHTMLMapElement = *mut ::core::ffi::c_void; -pub type DispHTMLMarqueeElement = *mut ::core::ffi::c_void; -pub type DispHTMLMediaElement = *mut ::core::ffi::c_void; -pub type DispHTMLMediaError = *mut ::core::ffi::c_void; -pub type DispHTMLMetaElement = *mut ::core::ffi::c_void; -pub type DispHTMLNamespace = *mut ::core::ffi::c_void; -pub type DispHTMLNamespaceCollection = *mut ::core::ffi::c_void; -pub type DispHTMLNavigator = *mut ::core::ffi::c_void; -pub type DispHTMLNextIdElement = *mut ::core::ffi::c_void; -pub type DispHTMLNoShowElement = *mut ::core::ffi::c_void; -pub type DispHTMLOListElement = *mut ::core::ffi::c_void; -pub type DispHTMLObjectElement = *mut ::core::ffi::c_void; -pub type DispHTMLOptionElement = *mut ::core::ffi::c_void; -pub type DispHTMLParaElement = *mut ::core::ffi::c_void; -pub type DispHTMLParamElement = *mut ::core::ffi::c_void; -pub type DispHTMLPerformance = *mut ::core::ffi::c_void; -pub type DispHTMLPerformanceNavigation = *mut ::core::ffi::c_void; -pub type DispHTMLPerformanceTiming = *mut ::core::ffi::c_void; -pub type DispHTMLPhraseElement = *mut ::core::ffi::c_void; -pub type DispHTMLPopup = *mut ::core::ffi::c_void; -pub type DispHTMLProgressElement = *mut ::core::ffi::c_void; -pub type DispHTMLRenderStyle = *mut ::core::ffi::c_void; -pub type DispHTMLRichtextElement = *mut ::core::ffi::c_void; -pub type DispHTMLRuleStyle = *mut ::core::ffi::c_void; -pub type DispHTMLScreen = *mut ::core::ffi::c_void; -pub type DispHTMLScriptElement = *mut ::core::ffi::c_void; -pub type DispHTMLSelectElement = *mut ::core::ffi::c_void; -pub type DispHTMLSemanticElement = *mut ::core::ffi::c_void; -pub type DispHTMLSourceElement = *mut ::core::ffi::c_void; -pub type DispHTMLSpanElement = *mut ::core::ffi::c_void; -pub type DispHTMLSpanFlow = *mut ::core::ffi::c_void; -pub type DispHTMLStorage = *mut ::core::ffi::c_void; -pub type DispHTMLStyle = *mut ::core::ffi::c_void; -pub type DispHTMLStyleElement = *mut ::core::ffi::c_void; -pub type DispHTMLStyleFontFace = *mut ::core::ffi::c_void; -pub type DispHTMLStyleMedia = *mut ::core::ffi::c_void; -pub type DispHTMLStyleSheet = *mut ::core::ffi::c_void; -pub type DispHTMLStyleSheetPage = *mut ::core::ffi::c_void; -pub type DispHTMLStyleSheetPagesCollection = *mut ::core::ffi::c_void; -pub type DispHTMLStyleSheetRule = *mut ::core::ffi::c_void; -pub type DispHTMLStyleSheetRulesAppliedCollection = *mut ::core::ffi::c_void; -pub type DispHTMLStyleSheetRulesCollection = *mut ::core::ffi::c_void; -pub type DispHTMLStyleSheetsCollection = *mut ::core::ffi::c_void; -pub type DispHTMLTable = *mut ::core::ffi::c_void; -pub type DispHTMLTableCaption = *mut ::core::ffi::c_void; -pub type DispHTMLTableCell = *mut ::core::ffi::c_void; -pub type DispHTMLTableCol = *mut ::core::ffi::c_void; -pub type DispHTMLTableRow = *mut ::core::ffi::c_void; -pub type DispHTMLTableSection = *mut ::core::ffi::c_void; -pub type DispHTMLTextAreaElement = *mut ::core::ffi::c_void; -pub type DispHTMLTextElement = *mut ::core::ffi::c_void; -pub type DispHTMLTimeRanges = *mut ::core::ffi::c_void; -pub type DispHTMLTitleElement = *mut ::core::ffi::c_void; -pub type DispHTMLUListElement = *mut ::core::ffi::c_void; -pub type DispHTMLUnknownElement = *mut ::core::ffi::c_void; -pub type DispHTMLUrnCollection = *mut ::core::ffi::c_void; -pub type DispHTMLVideoElement = *mut ::core::ffi::c_void; -pub type DispHTMLW3CComputedStyle = *mut ::core::ffi::c_void; -pub type DispHTMLWindow2 = *mut ::core::ffi::c_void; -pub type DispHTMLWindowProxy = *mut ::core::ffi::c_void; -pub type DispHTMLWndOptionElement = *mut ::core::ffi::c_void; -pub type DispHTMLWndSelectElement = *mut ::core::ffi::c_void; -pub type DispHTMLXMLHttpRequest = *mut ::core::ffi::c_void; -pub type DispIHTMLInputButtonElement = *mut ::core::ffi::c_void; -pub type DispIHTMLInputFileElement = *mut ::core::ffi::c_void; -pub type DispIHTMLInputImage = *mut ::core::ffi::c_void; -pub type DispIHTMLInputTextElement = *mut ::core::ffi::c_void; -pub type DispIHTMLOptionButtonElement = *mut ::core::ffi::c_void; -pub type DispNodeIterator = *mut ::core::ffi::c_void; -pub type DispRangeException = *mut ::core::ffi::c_void; -pub type DispRulesApplied = *mut ::core::ffi::c_void; -pub type DispRulesAppliedCollection = *mut ::core::ffi::c_void; -pub type DispSVGAElement = *mut ::core::ffi::c_void; -pub type DispSVGCircleElement = *mut ::core::ffi::c_void; -pub type DispSVGClipPathElement = *mut ::core::ffi::c_void; -pub type DispSVGDefsElement = *mut ::core::ffi::c_void; -pub type DispSVGDescElement = *mut ::core::ffi::c_void; -pub type DispSVGElement = *mut ::core::ffi::c_void; -pub type DispSVGElementInstance = *mut ::core::ffi::c_void; -pub type DispSVGElementInstanceList = *mut ::core::ffi::c_void; -pub type DispSVGEllipseElement = *mut ::core::ffi::c_void; -pub type DispSVGException = *mut ::core::ffi::c_void; -pub type DispSVGGElement = *mut ::core::ffi::c_void; -pub type DispSVGGradientElement = *mut ::core::ffi::c_void; -pub type DispSVGImageElement = *mut ::core::ffi::c_void; -pub type DispSVGLineElement = *mut ::core::ffi::c_void; -pub type DispSVGLinearGradientElement = *mut ::core::ffi::c_void; -pub type DispSVGMarkerElement = *mut ::core::ffi::c_void; -pub type DispSVGMaskElement = *mut ::core::ffi::c_void; -pub type DispSVGMetadataElement = *mut ::core::ffi::c_void; -pub type DispSVGPathElement = *mut ::core::ffi::c_void; -pub type DispSVGPathSegArcAbs = *mut ::core::ffi::c_void; -pub type DispSVGPathSegArcRel = *mut ::core::ffi::c_void; -pub type DispSVGPathSegClosePath = *mut ::core::ffi::c_void; -pub type DispSVGPathSegCurvetoCubicAbs = *mut ::core::ffi::c_void; -pub type DispSVGPathSegCurvetoCubicRel = *mut ::core::ffi::c_void; -pub type DispSVGPathSegCurvetoCubicSmoothAbs = *mut ::core::ffi::c_void; -pub type DispSVGPathSegCurvetoCubicSmoothRel = *mut ::core::ffi::c_void; -pub type DispSVGPathSegCurvetoQuadraticAbs = *mut ::core::ffi::c_void; -pub type DispSVGPathSegCurvetoQuadraticRel = *mut ::core::ffi::c_void; -pub type DispSVGPathSegCurvetoQuadraticSmoothAbs = *mut ::core::ffi::c_void; -pub type DispSVGPathSegCurvetoQuadraticSmoothRel = *mut ::core::ffi::c_void; -pub type DispSVGPathSegLinetoAbs = *mut ::core::ffi::c_void; -pub type DispSVGPathSegLinetoHorizontalAbs = *mut ::core::ffi::c_void; -pub type DispSVGPathSegLinetoHorizontalRel = *mut ::core::ffi::c_void; -pub type DispSVGPathSegLinetoRel = *mut ::core::ffi::c_void; -pub type DispSVGPathSegLinetoVerticalAbs = *mut ::core::ffi::c_void; -pub type DispSVGPathSegLinetoVerticalRel = *mut ::core::ffi::c_void; -pub type DispSVGPathSegMovetoAbs = *mut ::core::ffi::c_void; -pub type DispSVGPathSegMovetoRel = *mut ::core::ffi::c_void; -pub type DispSVGPatternElement = *mut ::core::ffi::c_void; -pub type DispSVGPolygonElement = *mut ::core::ffi::c_void; -pub type DispSVGPolylineElement = *mut ::core::ffi::c_void; -pub type DispSVGRadialGradientElement = *mut ::core::ffi::c_void; -pub type DispSVGRectElement = *mut ::core::ffi::c_void; -pub type DispSVGSVGElement = *mut ::core::ffi::c_void; -pub type DispSVGScriptElement = *mut ::core::ffi::c_void; -pub type DispSVGStopElement = *mut ::core::ffi::c_void; -pub type DispSVGStyleElement = *mut ::core::ffi::c_void; -pub type DispSVGSwitchElement = *mut ::core::ffi::c_void; -pub type DispSVGSymbolElement = *mut ::core::ffi::c_void; -pub type DispSVGTSpanElement = *mut ::core::ffi::c_void; -pub type DispSVGTextContentElement = *mut ::core::ffi::c_void; -pub type DispSVGTextElement = *mut ::core::ffi::c_void; -pub type DispSVGTextPathElement = *mut ::core::ffi::c_void; -pub type DispSVGTextPositioningElement = *mut ::core::ffi::c_void; -pub type DispSVGTitleElement = *mut ::core::ffi::c_void; -pub type DispSVGUseElement = *mut ::core::ffi::c_void; -pub type DispSVGViewElement = *mut ::core::ffi::c_void; -pub type DispSVGZoomEvent = *mut ::core::ffi::c_void; -pub type DispStaticNodeList = *mut ::core::ffi::c_void; -pub type DispTreeWalker = *mut ::core::ffi::c_void; -pub type DispWebGeocoordinates = *mut ::core::ffi::c_void; -pub type DispWebGeolocation = *mut ::core::ffi::c_void; -pub type DispWebGeoposition = *mut ::core::ffi::c_void; -pub type DispWebGeopositionError = *mut ::core::ffi::c_void; -pub type DispXDomainRequest = *mut ::core::ffi::c_void; -pub type DispXMLHttpRequestEventTarget = *mut ::core::ffi::c_void; -pub type DispXMLSerializer = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type DomConstructor = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorObject: DomConstructor = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorAttr: DomConstructor = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorBehaviorUrnsCollection: DomConstructor = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorBookmarkCollection: DomConstructor = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorCompatibleInfo: DomConstructor = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorCompatibleInfoCollection: DomConstructor = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorControlRangeCollection: DomConstructor = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorCSSCurrentStyleDeclaration: DomConstructor = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorCSSRuleList: DomConstructor = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorCSSRuleStyleDeclaration: DomConstructor = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorCSSStyleDeclaration: DomConstructor = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorCSSStyleRule: DomConstructor = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorCSSStyleSheet: DomConstructor = 12i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorDataTransfer: DomConstructor = 13i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorDOMImplementation: DomConstructor = 14i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorElement: DomConstructor = 15i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorEvent: DomConstructor = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHistory: DomConstructor = 17i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTCElementBehaviorDefaults: DomConstructor = 18i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLAnchorElement: DomConstructor = 19i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLAreaElement: DomConstructor = 20i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLAreasCollection: DomConstructor = 21i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLBaseElement: DomConstructor = 22i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLBaseFontElement: DomConstructor = 23i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLBGSoundElement: DomConstructor = 24i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLBlockElement: DomConstructor = 25i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLBodyElement: DomConstructor = 26i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLBRElement: DomConstructor = 27i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLButtonElement: DomConstructor = 28i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLCollection: DomConstructor = 29i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLCommentElement: DomConstructor = 30i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLDDElement: DomConstructor = 31i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLDivElement: DomConstructor = 32i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLDocument: DomConstructor = 33i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLDListElement: DomConstructor = 34i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLDTElement: DomConstructor = 35i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLEmbedElement: DomConstructor = 36i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLFieldSetElement: DomConstructor = 37i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLFontElement: DomConstructor = 38i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLFormElement: DomConstructor = 39i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLFrameElement: DomConstructor = 40i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLFrameSetElement: DomConstructor = 41i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLGenericElement: DomConstructor = 42i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLHeadElement: DomConstructor = 43i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLHeadingElement: DomConstructor = 44i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLHRElement: DomConstructor = 45i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLHtmlElement: DomConstructor = 46i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLIFrameElement: DomConstructor = 47i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLImageElement: DomConstructor = 48i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLInputElement: DomConstructor = 49i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLIsIndexElement: DomConstructor = 50i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLLabelElement: DomConstructor = 51i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLLegendElement: DomConstructor = 52i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLLIElement: DomConstructor = 53i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLLinkElement: DomConstructor = 54i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLMapElement: DomConstructor = 55i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLMarqueeElement: DomConstructor = 56i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLMetaElement: DomConstructor = 57i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLModelessDialog: DomConstructor = 58i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLNamespaceInfo: DomConstructor = 59i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLNamespaceInfoCollection: DomConstructor = 60i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLNextIdElement: DomConstructor = 61i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLNoShowElement: DomConstructor = 62i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLObjectElement: DomConstructor = 63i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLOListElement: DomConstructor = 64i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLOptionElement: DomConstructor = 65i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLParagraphElement: DomConstructor = 66i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLParamElement: DomConstructor = 67i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLPhraseElement: DomConstructor = 68i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLPluginsCollection: DomConstructor = 69i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLPopup: DomConstructor = 70i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLScriptElement: DomConstructor = 71i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLSelectElement: DomConstructor = 72i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLSpanElement: DomConstructor = 73i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLStyleElement: DomConstructor = 74i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTableCaptionElement: DomConstructor = 75i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTableCellElement: DomConstructor = 76i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTableColElement: DomConstructor = 77i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTableElement: DomConstructor = 78i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTableRowElement: DomConstructor = 79i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTableSectionElement: DomConstructor = 80i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTextAreaElement: DomConstructor = 81i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTextElement: DomConstructor = 82i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTitleElement: DomConstructor = 83i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLUListElement: DomConstructor = 84i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLUnknownElement: DomConstructor = 85i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorImage: DomConstructor = 86i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorLocation: DomConstructor = 87i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorNamedNodeMap: DomConstructor = 88i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorNavigator: DomConstructor = 89i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorNodeList: DomConstructor = 90i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorOption: DomConstructor = 91i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorScreen: DomConstructor = 92i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorSelection: DomConstructor = 93i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorStaticNodeList: DomConstructor = 94i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorStorage: DomConstructor = 95i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorStyleSheetList: DomConstructor = 96i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorStyleSheetPage: DomConstructor = 97i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorStyleSheetPageList: DomConstructor = 98i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorText: DomConstructor = 99i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorTextRange: DomConstructor = 100i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorTextRangeCollection: DomConstructor = 101i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorTextRectangle: DomConstructor = 102i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorTextRectangleList: DomConstructor = 103i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorWindow: DomConstructor = 104i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorXDomainRequest: DomConstructor = 105i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorXMLHttpRequest: DomConstructor = 106i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorMax: DomConstructor = 107i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructor_Max: DomConstructor = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type ELEMENTDESCRIPTOR_FLAGS = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENTDESCRIPTORFLAGS_LITERAL: ELEMENTDESCRIPTOR_FLAGS = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENTDESCRIPTORFLAGS_NESTED_LITERAL: ELEMENTDESCRIPTOR_FLAGS = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENTDESCRIPTOR_FLAGS_Max: ELEMENTDESCRIPTOR_FLAGS = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type ELEMENTNAMESPACE_FLAGS = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENTNAMESPACEFLAGS_ALLOWANYTAG: ELEMENTNAMESPACE_FLAGS = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENTNAMESPACEFLAGS_QUERYFORUNKNOWNTAGS: ELEMENTNAMESPACE_FLAGS = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENTNAMESPACE_FLAGS_Max: ELEMENTNAMESPACE_FLAGS = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type ELEMENT_ADJACENCY = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEM_ADJ_BeforeBegin: ELEMENT_ADJACENCY = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEM_ADJ_AfterBegin: ELEMENT_ADJACENCY = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEM_ADJ_BeforeEnd: ELEMENT_ADJACENCY = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEM_ADJ_AfterEnd: ELEMENT_ADJACENCY = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_ADJACENCY_Max: ELEMENT_ADJACENCY = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type ELEMENT_CORNER = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_NONE: ELEMENT_CORNER = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_TOP: ELEMENT_CORNER = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_LEFT: ELEMENT_CORNER = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_BOTTOM: ELEMENT_CORNER = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_RIGHT: ELEMENT_CORNER = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_TOPLEFT: ELEMENT_CORNER = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_TOPRIGHT: ELEMENT_CORNER = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_BOTTOMLEFT: ELEMENT_CORNER = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_BOTTOMRIGHT: ELEMENT_CORNER = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_Max: ELEMENT_CORNER = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type ELEMENT_TAG_ID = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_NULL: ELEMENT_TAG_ID = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_UNKNOWN: ELEMENT_TAG_ID = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_A: ELEMENT_TAG_ID = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_ACRONYM: ELEMENT_TAG_ID = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_ADDRESS: ELEMENT_TAG_ID = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_APPLET: ELEMENT_TAG_ID = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_AREA: ELEMENT_TAG_ID = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_B: ELEMENT_TAG_ID = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BASE: ELEMENT_TAG_ID = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BASEFONT: ELEMENT_TAG_ID = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BDO: ELEMENT_TAG_ID = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BGSOUND: ELEMENT_TAG_ID = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BIG: ELEMENT_TAG_ID = 12i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BLINK: ELEMENT_TAG_ID = 13i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BLOCKQUOTE: ELEMENT_TAG_ID = 14i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BODY: ELEMENT_TAG_ID = 15i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BR: ELEMENT_TAG_ID = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BUTTON: ELEMENT_TAG_ID = 17i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_CAPTION: ELEMENT_TAG_ID = 18i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_CENTER: ELEMENT_TAG_ID = 19i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_CITE: ELEMENT_TAG_ID = 20i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_CODE: ELEMENT_TAG_ID = 21i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_COL: ELEMENT_TAG_ID = 22i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_COLGROUP: ELEMENT_TAG_ID = 23i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_COMMENT: ELEMENT_TAG_ID = 24i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_COMMENT_RAW: ELEMENT_TAG_ID = 25i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DD: ELEMENT_TAG_ID = 26i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DEL: ELEMENT_TAG_ID = 27i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DFN: ELEMENT_TAG_ID = 28i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DIR: ELEMENT_TAG_ID = 29i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DIV: ELEMENT_TAG_ID = 30i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DL: ELEMENT_TAG_ID = 31i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DT: ELEMENT_TAG_ID = 32i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_EM: ELEMENT_TAG_ID = 33i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_EMBED: ELEMENT_TAG_ID = 34i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_FIELDSET: ELEMENT_TAG_ID = 35i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_FONT: ELEMENT_TAG_ID = 36i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_FORM: ELEMENT_TAG_ID = 37i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_FRAME: ELEMENT_TAG_ID = 38i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_FRAMESET: ELEMENT_TAG_ID = 39i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_GENERIC: ELEMENT_TAG_ID = 40i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_H1: ELEMENT_TAG_ID = 41i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_H2: ELEMENT_TAG_ID = 42i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_H3: ELEMENT_TAG_ID = 43i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_H4: ELEMENT_TAG_ID = 44i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_H5: ELEMENT_TAG_ID = 45i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_H6: ELEMENT_TAG_ID = 46i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_HEAD: ELEMENT_TAG_ID = 47i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_HR: ELEMENT_TAG_ID = 48i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_HTML: ELEMENT_TAG_ID = 49i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_I: ELEMENT_TAG_ID = 50i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_IFRAME: ELEMENT_TAG_ID = 51i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_IMG: ELEMENT_TAG_ID = 52i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_INPUT: ELEMENT_TAG_ID = 53i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_INS: ELEMENT_TAG_ID = 54i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_KBD: ELEMENT_TAG_ID = 55i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_LABEL: ELEMENT_TAG_ID = 56i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_LEGEND: ELEMENT_TAG_ID = 57i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_LI: ELEMENT_TAG_ID = 58i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_LINK: ELEMENT_TAG_ID = 59i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_LISTING: ELEMENT_TAG_ID = 60i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MAP: ELEMENT_TAG_ID = 61i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MARQUEE: ELEMENT_TAG_ID = 62i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MENU: ELEMENT_TAG_ID = 63i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_META: ELEMENT_TAG_ID = 64i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_NEXTID: ELEMENT_TAG_ID = 65i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_NOBR: ELEMENT_TAG_ID = 66i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_NOEMBED: ELEMENT_TAG_ID = 67i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_NOFRAMES: ELEMENT_TAG_ID = 68i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_NOSCRIPT: ELEMENT_TAG_ID = 69i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_OBJECT: ELEMENT_TAG_ID = 70i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_OL: ELEMENT_TAG_ID = 71i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_OPTION: ELEMENT_TAG_ID = 72i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_P: ELEMENT_TAG_ID = 73i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_PARAM: ELEMENT_TAG_ID = 74i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_PLAINTEXT: ELEMENT_TAG_ID = 75i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_PRE: ELEMENT_TAG_ID = 76i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_Q: ELEMENT_TAG_ID = 77i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_RP: ELEMENT_TAG_ID = 78i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_RT: ELEMENT_TAG_ID = 79i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_RUBY: ELEMENT_TAG_ID = 80i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_S: ELEMENT_TAG_ID = 81i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SAMP: ELEMENT_TAG_ID = 82i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SCRIPT: ELEMENT_TAG_ID = 83i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SELECT: ELEMENT_TAG_ID = 84i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SMALL: ELEMENT_TAG_ID = 85i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SPAN: ELEMENT_TAG_ID = 86i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_STRIKE: ELEMENT_TAG_ID = 87i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_STRONG: ELEMENT_TAG_ID = 88i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_STYLE: ELEMENT_TAG_ID = 89i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SUB: ELEMENT_TAG_ID = 90i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SUP: ELEMENT_TAG_ID = 91i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TABLE: ELEMENT_TAG_ID = 92i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TBODY: ELEMENT_TAG_ID = 93i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TC: ELEMENT_TAG_ID = 94i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TD: ELEMENT_TAG_ID = 95i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TEXTAREA: ELEMENT_TAG_ID = 96i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TFOOT: ELEMENT_TAG_ID = 97i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TH: ELEMENT_TAG_ID = 98i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_THEAD: ELEMENT_TAG_ID = 99i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TITLE: ELEMENT_TAG_ID = 100i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TR: ELEMENT_TAG_ID = 101i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TT: ELEMENT_TAG_ID = 102i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_U: ELEMENT_TAG_ID = 103i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_UL: ELEMENT_TAG_ID = 104i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_VAR: ELEMENT_TAG_ID = 105i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_WBR: ELEMENT_TAG_ID = 106i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_XMP: ELEMENT_TAG_ID = 107i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_ROOT: ELEMENT_TAG_ID = 108i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_OPTGROUP: ELEMENT_TAG_ID = 109i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_ABBR: ELEMENT_TAG_ID = 110i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_A: ELEMENT_TAG_ID = 111i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_ALTGLYPH: ELEMENT_TAG_ID = 112i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_ALTGLYPHDEF: ELEMENT_TAG_ID = 113i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_ALTGLYPHITEM: ELEMENT_TAG_ID = 114i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_ANIMATE: ELEMENT_TAG_ID = 115i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_ANIMATECOLOR: ELEMENT_TAG_ID = 116i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_ANIMATEMOTION: ELEMENT_TAG_ID = 117i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_ANIMATETRANSFORM: ELEMENT_TAG_ID = 118i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_CIRCLE: ELEMENT_TAG_ID = 119i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_CLIPPATH: ELEMENT_TAG_ID = 120i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_COLOR_PROFILE: ELEMENT_TAG_ID = 121i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_CURSOR: ELEMENT_TAG_ID = 122i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_DEFINITION_SRC: ELEMENT_TAG_ID = 123i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_DEFS: ELEMENT_TAG_ID = 124i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_DESC: ELEMENT_TAG_ID = 125i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_ELLIPSE: ELEMENT_TAG_ID = 126i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEBLEND: ELEMENT_TAG_ID = 127i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FECOLORMATRIX: ELEMENT_TAG_ID = 128i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FECOMPONENTTRANSFER: ELEMENT_TAG_ID = 129i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FECOMPOSITE: ELEMENT_TAG_ID = 130i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FECONVOLVEMATRIX: ELEMENT_TAG_ID = 131i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEDIFFUSELIGHTING: ELEMENT_TAG_ID = 132i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEDISPLACEMENTMAP: ELEMENT_TAG_ID = 133i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEDISTANTLIGHT: ELEMENT_TAG_ID = 134i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEFLOOD: ELEMENT_TAG_ID = 135i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEFUNCA: ELEMENT_TAG_ID = 136i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEFUNCB: ELEMENT_TAG_ID = 137i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEFUNCG: ELEMENT_TAG_ID = 138i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEFUNCR: ELEMENT_TAG_ID = 139i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEGAUSSIANBLUR: ELEMENT_TAG_ID = 140i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEIMAGE: ELEMENT_TAG_ID = 141i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEMERGE: ELEMENT_TAG_ID = 142i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEMERGENODE: ELEMENT_TAG_ID = 143i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEMORPHOLOGY: ELEMENT_TAG_ID = 144i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEOFFSET: ELEMENT_TAG_ID = 145i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEPOINTLIGHT: ELEMENT_TAG_ID = 146i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FESPECULARLIGHTING: ELEMENT_TAG_ID = 147i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FESPOTLIGHT: ELEMENT_TAG_ID = 148i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FETILE: ELEMENT_TAG_ID = 149i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FETURBULENCE: ELEMENT_TAG_ID = 150i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FILTER: ELEMENT_TAG_ID = 151i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FONT: ELEMENT_TAG_ID = 152i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FONT_FACE: ELEMENT_TAG_ID = 153i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FONT_FACE_FORMAT: ELEMENT_TAG_ID = 154i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FONT_FACE_NAME: ELEMENT_TAG_ID = 155i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FONT_FACE_SRC: ELEMENT_TAG_ID = 156i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FONT_FACE_URI: ELEMENT_TAG_ID = 157i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FOREIGNOBJECT: ELEMENT_TAG_ID = 158i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_G: ELEMENT_TAG_ID = 159i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_GLYPH: ELEMENT_TAG_ID = 160i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_GLYPHREF: ELEMENT_TAG_ID = 161i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_HKERN: ELEMENT_TAG_ID = 162i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_IMAGE: ELEMENT_TAG_ID = 163i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_LINE: ELEMENT_TAG_ID = 164i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_LINEARGRADIENT: ELEMENT_TAG_ID = 165i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_MARKER: ELEMENT_TAG_ID = 166i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_MASK: ELEMENT_TAG_ID = 167i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_METADATA: ELEMENT_TAG_ID = 168i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_MISSING_GLYPH: ELEMENT_TAG_ID = 169i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_MPATH: ELEMENT_TAG_ID = 170i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_PATH: ELEMENT_TAG_ID = 171i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_PATTERN: ELEMENT_TAG_ID = 172i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_POLYGON: ELEMENT_TAG_ID = 173i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_POLYLINE: ELEMENT_TAG_ID = 174i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_RADIALGRADIENT: ELEMENT_TAG_ID = 175i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_RECT: ELEMENT_TAG_ID = 176i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_SCRIPT: ELEMENT_TAG_ID = 177i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_SET: ELEMENT_TAG_ID = 178i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_STOP: ELEMENT_TAG_ID = 179i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_STYLE: ELEMENT_TAG_ID = 180i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_SVG: ELEMENT_TAG_ID = 181i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_SWITCH: ELEMENT_TAG_ID = 182i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_SYMBOL: ELEMENT_TAG_ID = 183i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_TEXT: ELEMENT_TAG_ID = 184i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_TEXTPATH: ELEMENT_TAG_ID = 185i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_TITLE: ELEMENT_TAG_ID = 186i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_TREF: ELEMENT_TAG_ID = 187i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_TSPAN: ELEMENT_TAG_ID = 188i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_USE: ELEMENT_TAG_ID = 189i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_VIEW: ELEMENT_TAG_ID = 190i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_VKERN: ELEMENT_TAG_ID = 191i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_AUDIO: ELEMENT_TAG_ID = 192i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SOURCE: ELEMENT_TAG_ID = 193i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_VIDEO: ELEMENT_TAG_ID = 194i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_CANVAS: ELEMENT_TAG_ID = 195i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DOCTYPE: ELEMENT_TAG_ID = 196i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_KEYGEN: ELEMENT_TAG_ID = 197i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_PROCESSINGINSTRUCTION: ELEMENT_TAG_ID = 198i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_ARTICLE: ELEMENT_TAG_ID = 199i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_ASIDE: ELEMENT_TAG_ID = 200i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_FIGCAPTION: ELEMENT_TAG_ID = 201i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_FIGURE: ELEMENT_TAG_ID = 202i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_FOOTER: ELEMENT_TAG_ID = 203i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_HEADER: ELEMENT_TAG_ID = 204i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_HGROUP: ELEMENT_TAG_ID = 205i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MARK: ELEMENT_TAG_ID = 206i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_NAV: ELEMENT_TAG_ID = 207i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SECTION: ELEMENT_TAG_ID = 208i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_PROGRESS: ELEMENT_TAG_ID = 209i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MATHML_ANNOTATION_XML: ELEMENT_TAG_ID = 210i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MATHML_MATH: ELEMENT_TAG_ID = 211i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MATHML_MI: ELEMENT_TAG_ID = 212i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MATHML_MN: ELEMENT_TAG_ID = 213i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MATHML_MO: ELEMENT_TAG_ID = 214i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MATHML_MS: ELEMENT_TAG_ID = 215i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MATHML_MTEXT: ELEMENT_TAG_ID = 216i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DATALIST: ELEMENT_TAG_ID = 217i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TRACK: ELEMENT_TAG_ID = 218i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_ISINDEX: ELEMENT_TAG_ID = 219i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_COMMAND: ELEMENT_TAG_ID = 220i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DETAILS: ELEMENT_TAG_ID = 221i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SUMMARY: ELEMENT_TAG_ID = 222i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_X_MS_WEBVIEW: ELEMENT_TAG_ID = 223i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_COUNT: ELEMENT_TAG_ID = 224i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_LAST_PREDEFINED: ELEMENT_TAG_ID = 10000i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_TAG_ID_Max: ELEMENT_TAG_ID = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const E_SURFACE_DISCARDED: i32 = -2147434493i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const E_SURFACE_NODC: i32 = -2147434492i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const E_SURFACE_NOSURFACE: i32 = -2147434496i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const E_SURFACE_NOTMYDC: i32 = -2147434491i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const E_SURFACE_NOTMYPOINTER: i32 = -2147434494i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const E_SURFACE_UNKNOWN_FORMAT: i32 = -2147434495i32; -pub const EventException: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616635, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type ExtensionValidationContexts = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ExtensionValidationContextNone: ExtensionValidationContexts = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ExtensionValidationContextDynamic: ExtensionValidationContexts = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ExtensionValidationContextParsed: ExtensionValidationContexts = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type ExtensionValidationResults = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ExtensionValidationResultNone: ExtensionValidationResults = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ExtensionValidationResultDoNotInstantiate: ExtensionValidationResults = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ExtensionValidationResultArrestPageLoad: ExtensionValidationResults = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type FINDFRAME_FLAGS = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDFRAME_NONE: FINDFRAME_FLAGS = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDFRAME_JUSTTESTEXISTENCE: FINDFRAME_FLAGS = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDFRAME_INTERNAL: FINDFRAME_FLAGS = -2147483648i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type FINDTEXT_FLAGS = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_BACKWARDS: FINDTEXT_FLAGS = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_WHOLEWORD: FINDTEXT_FLAGS = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_MATCHCASE: FINDTEXT_FLAGS = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_RAW: FINDTEXT_FLAGS = 131072i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_MATCHREPEATEDWHITESPACE: FINDTEXT_FLAGS = 262144i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_MATCHDIAC: FINDTEXT_FLAGS = 536870912i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_MATCHKASHIDA: FINDTEXT_FLAGS = 1073741824i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_MATCHALEFHAMZA: FINDTEXT_FLAGS = -2147483648i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_FLAGS_Max: FINDTEXT_FLAGS = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type FRAMEOPTIONS_FLAGS = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FRAMEOPTIONS_SCROLL_YES: FRAMEOPTIONS_FLAGS = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FRAMEOPTIONS_SCROLL_NO: FRAMEOPTIONS_FLAGS = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FRAMEOPTIONS_SCROLL_AUTO: FRAMEOPTIONS_FLAGS = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FRAMEOPTIONS_NORESIZE: FRAMEOPTIONS_FLAGS = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FRAMEOPTIONS_NO3DBORDER: FRAMEOPTIONS_FLAGS = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FRAMEOPTIONS_DESKTOP: FRAMEOPTIONS_FLAGS = 32i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FRAMEOPTIONS_BROWSERBAND: FRAMEOPTIONS_FLAGS = 64i32; -pub const FontNames: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612794, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const FramesCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612726, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTCAttachBehavior: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612213, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTCDefaultDispatch: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611964, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTCDescBehavior: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612189, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTCEventBehavior: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611966, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTCMethodBehavior: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612272, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTCPropertyBehavior: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612190, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLAnchorElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611272, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLAnchorEvents = *mut ::core::ffi::c_void; -pub type HTMLAnchorEvents2 = *mut ::core::ffi::c_void; -pub const HTMLAppBehavior: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612171, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HTMLAppFlag = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLAppFlagNo: HTMLAppFlag = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLAppFlagOff: HTMLAppFlag = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLAppFlag0: HTMLAppFlag = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLAppFlagYes: HTMLAppFlag = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLAppFlagOn: HTMLAppFlag = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLAppFlag1: HTMLAppFlag = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLAppFlag_Max: HTMLAppFlag = 2147483647i32; -pub const HTMLAreaElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611331, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLAreaEvents = *mut ::core::ffi::c_void; -pub type HTMLAreaEvents2 = *mut ::core::ffi::c_void; -pub const HTMLAreasCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611914, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLAttributeCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611916, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLAudioElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616590, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLAudioElementFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616812, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLBGsound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611568, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLBRElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611328, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLBaseElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611318, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLBaseFontElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611330, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLBlockElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611329, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLBody: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611274, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HTMLBorder = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderNone: HTMLBorder = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderThick: HTMLBorder = 262144i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderDialog: HTMLBorder = 4194304i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderThin: HTMLBorder = 8388608i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorder_Max: HTMLBorder = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HTMLBorderStyle = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderStyleNormal: HTMLBorderStyle = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderStyleRaised: HTMLBorderStyle = 256i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderStyleSunken: HTMLBorderStyle = 512i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderStylecombined: HTMLBorderStyle = 768i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderStyleStatic: HTMLBorderStyle = 131072i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderStyle_Max: HTMLBorderStyle = 2147483647i32; -pub const HTMLButtonElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611398, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLButtonElementEvents = *mut ::core::ffi::c_void; -pub type HTMLButtonElementEvents2 = *mut ::core::ffi::c_void; -pub const HTMLCSSImportRule: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616560, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLCSSMediaList: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616626, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLCSSMediaRule: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616561, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLCSSNamespaceRule: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616562, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLCSSRule: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616559, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLCSSStyleDeclaration: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616641, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLCanvasElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616549, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HTMLCaptionFlag = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLCaptionFlagNo: HTMLCaptionFlag = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLCaptionFlagYes: HTMLCaptionFlag = 12582912i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLCaptionFlag_Max: HTMLCaptionFlag = 2147483647i32; -pub const HTMLCommentElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611479, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLControlElementEvents = *mut ::core::ffi::c_void; -pub type HTMLControlElementEvents2 = *mut ::core::ffi::c_void; -pub const HTMLCurrentStyle: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611676, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLDDElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611327, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDLG_ALLOW_UNKNOWN_THREAD: u32 = 512u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDLG_MODAL: u32 = 32u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDLG_MODELESS: u32 = 64u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDLG_NOUI: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDLG_PRINT_TEMPLATE: u32 = 128u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDLG_VERIFY: u32 = 256u32; -pub const HTMLDListElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611325, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLDOMAttribute: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611890, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLDOMImplementation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612750, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLDOMRange: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616515, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLDOMTextNode: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611898, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLDOMXmlSerializerFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616704, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLDTElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611324, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLDefaults: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612424, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLDialog: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611338, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLDivElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611326, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLDivPosition: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611273, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HTMLDlgBorder = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgBorderThin: HTMLDlgBorder = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgBorderThick: HTMLDlgBorder = 262144i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgBorder_Max: HTMLDlgBorder = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HTMLDlgCenter = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenterNo: HTMLDlgCenter = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenterOff: HTMLDlgCenter = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenter0: HTMLDlgCenter = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenterYes: HTMLDlgCenter = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenterOn: HTMLDlgCenter = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenter1: HTMLDlgCenter = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenterParent: HTMLDlgCenter = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenterDesktop: HTMLDlgCenter = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenter_Max: HTMLDlgCenter = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HTMLDlgEdge = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgEdgeSunken: HTMLDlgEdge = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgEdgeRaised: HTMLDlgEdge = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgEdge_Max: HTMLDlgEdge = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HTMLDlgFlag = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgFlagNo: HTMLDlgFlag = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgFlagOff: HTMLDlgFlag = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgFlag0: HTMLDlgFlag = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgFlagYes: HTMLDlgFlag = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgFlagOn: HTMLDlgFlag = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgFlag1: HTMLDlgFlag = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgFlagNotSet: HTMLDlgFlag = -1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgFlag_Max: HTMLDlgFlag = 2147483647i32; -pub const HTMLDocument: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 624126240, data2: 1017, data3: 4559, data4: [143, 208, 0, 170, 0, 104, 111, 19] }; -pub const HTMLDocumentCompatibleInfo: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810615835, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLDocumentCompatibleInfoCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810615833, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLDocumentEvents = *mut ::core::ffi::c_void; -pub type HTMLDocumentEvents2 = *mut ::core::ffi::c_void; -pub type HTMLDocumentEvents3 = *mut ::core::ffi::c_void; -pub type HTMLDocumentEvents4 = *mut ::core::ffi::c_void; -pub const HTMLElementCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611915, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLElementEvents = *mut ::core::ffi::c_void; -pub type HTMLElementEvents2 = *mut ::core::ffi::c_void; -pub type HTMLElementEvents3 = *mut ::core::ffi::c_void; -pub type HTMLElementEvents4 = *mut ::core::ffi::c_void; -pub const HTMLEmbed: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611293, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLFieldSetElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611688, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLFontElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611323, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLFormElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611281, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLFormElementEvents = *mut ::core::ffi::c_void; -pub type HTMLFormElementEvents2 = *mut ::core::ffi::c_void; -pub const HTMLFrameBase: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611474, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLFrameElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611476, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLFrameSetSite: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611482, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLFrameSiteEvents = *mut ::core::ffi::c_void; -pub type HTMLFrameSiteEvents2 = *mut ::core::ffi::c_void; -pub const HTMLGenericElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611896, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLHRElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611282, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLHeadElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611859, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLHeaderElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611322, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLHistory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4274956963, data2: 33797, data3: 4559, data4: [139, 161, 0, 170, 0, 71, 109, 166] }; -pub const HTMLHtmlElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611857, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLIFrame: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611478, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLImageElementFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611599, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLImg: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611265, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLImgEvents = *mut ::core::ffi::c_void; -pub type HTMLImgEvents2 = *mut ::core::ffi::c_void; -pub const HTMLInputButtonElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611380, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLInputElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612184, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLInputFileElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611374, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLInputFileElementEvents = *mut ::core::ffi::c_void; -pub type HTMLInputFileElementEvents2 = *mut ::core::ffi::c_void; -pub const HTMLInputImage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611396, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLInputImageEvents = *mut ::core::ffi::c_void; -pub type HTMLInputImageEvents2 = *mut ::core::ffi::c_void; -pub const HTMLInputTextElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611371, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLInputTextElementEvents = *mut ::core::ffi::c_void; -pub type HTMLInputTextElementEvents2 = *mut ::core::ffi::c_void; -pub const HTMLIsIndexElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611320, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLLIElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611315, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLLabelElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611499, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLLabelEvents = *mut ::core::ffi::c_void; -pub type HTMLLabelEvents2 = *mut ::core::ffi::c_void; -pub const HTMLLegendElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611689, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLLinkElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611319, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLLinkElementEvents = *mut ::core::ffi::c_void; -pub type HTMLLinkElementEvents2 = *mut ::core::ffi::c_void; -pub const HTMLListElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611314, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLLocation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 373010913, data2: 28160, data3: 4559, data4: [131, 122, 72, 220, 4, 193, 0, 0] }; -pub const HTMLMSCSSKeyframeRule: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616846, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLMSCSSKeyframesRule: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616847, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLMapElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611313, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLMapEvents = *mut ::core::ffi::c_void; -pub type HTMLMapEvents2 = *mut ::core::ffi::c_void; -pub const HTMLMarqueeElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611385, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLMarqueeElementEvents = *mut ::core::ffi::c_void; -pub type HTMLMarqueeElementEvents2 = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HTMLMaximizeFlag = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLMaximizeFlagNo: HTMLMaximizeFlag = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLMaximizeFlagYes: HTMLMaximizeFlag = 65536i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLMaximizeFlag_Max: HTMLMaximizeFlag = 2147483647i32; -pub const HTMLMediaElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616588, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLMediaError: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616586, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLMetaElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611317, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HTMLMinimizeFlag = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLMinimizeFlagNo: HTMLMinimizeFlag = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLMinimizeFlagYes: HTMLMinimizeFlag = 131072i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLMinimizeFlag_Max: HTMLMinimizeFlag = 2147483647i32; -pub const HTMLNamespace: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612412, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLNamespaceCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612409, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLNamespaceEvents = *mut ::core::ffi::c_void; -pub const HTMLNavigator: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4274956966, data2: 33797, data3: 4559, data4: [139, 161, 0, 170, 0, 71, 109, 166] }; -pub const HTMLNextIdElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611321, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLNoShowElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611595, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLOListElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611312, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLObjectElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611278, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLObjectElementEvents = *mut ::core::ffi::c_void; -pub type HTMLObjectElementEvents2 = *mut ::core::ffi::c_void; -pub const HTMLOptionButtonElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611390, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLOptionButtonElementEvents = *mut ::core::ffi::c_void; -pub type HTMLOptionButtonElementEvents2 = *mut ::core::ffi::c_void; -pub const HTMLOptionElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611277, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLOptionElementFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611597, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLParaElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611311, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLParamElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612798, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLPerformance: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616655, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLPerformanceNavigation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616657, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLPerformanceTiming: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616659, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[repr(C)] -pub struct HTMLPersistEvents(pub u8); -pub const HTMLPhraseElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611310, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLPopup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612327, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLProgressElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611413, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLRenderStyle: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612394, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLRichtextElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611423, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLRuleStyle: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611664, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLScreen: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611549, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLScriptElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611340, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLScriptEvents = *mut ::core::ffi::c_void; -pub type HTMLScriptEvents2 = *mut ::core::ffi::c_void; -pub const HTMLSelectElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611269, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLSelectElementEvents = *mut ::core::ffi::c_void; -pub type HTMLSelectElementEvents2 = *mut ::core::ffi::c_void; -pub const HTMLSemanticElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616752, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLSourceElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616589, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLSpanElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611701, data2: 39092, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLSpanFlow: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611686, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLStorage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810615925, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLStyle: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611333, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLStyleElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611581, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLStyleElementEvents = *mut ::core::ffi::c_void; -pub type HTMLStyleElementEvents2 = *mut ::core::ffi::c_void; -pub const HTMLStyleFontFace: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611668, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLStyleMedia: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616652, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLStyleSheet: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611428, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLStyleSheetPage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612719, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLStyleSheetPagesCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612721, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLStyleSheetRule: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611662, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLStyleSheetRulesAppliedCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3946248261, data2: 9109, data3: 18201, data4: [184, 92, 208, 216, 14, 24, 75, 217] }; -pub const HTMLStyleSheetRulesCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611661, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLStyleSheetsCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611583, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HTMLSysMenuFlag = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLSysMenuFlagNo: HTMLSysMenuFlag = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLSysMenuFlagYes: HTMLSysMenuFlag = 524288i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLSysMenuFlag_Max: HTMLSysMenuFlag = 2147483647i32; -pub const HTMLTable: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611307, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLTableCaption: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611436, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLTableCell: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611270, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLTableCol: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611308, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLTableEvents = *mut ::core::ffi::c_void; -pub type HTMLTableEvents2 = *mut ::core::ffi::c_void; -pub const HTMLTableRow: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611309, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLTableSection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611433, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLTextAreaElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611372, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLTextContainerEvents = *mut ::core::ffi::c_void; -pub type HTMLTextContainerEvents2 = *mut ::core::ffi::c_void; -pub const HTMLTextElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611306, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLTimeRanges: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616587, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLTitleElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611332, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLUListElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611305, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLUnknownElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611304, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLUrnCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612096, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLVideoElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616591, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLW3CComputedStyle: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616520, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLWindow2: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3565842118, data2: 27210, data3: 4559, data4: [148, 167, 68, 69, 83, 84, 0, 0] }; -pub type HTMLWindowEvents = *mut ::core::ffi::c_void; -pub type HTMLWindowEvents2 = *mut ::core::ffi::c_void; -pub type HTMLWindowEvents3 = *mut ::core::ffi::c_void; -pub const HTMLWindowProxy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611601, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HTMLWindowState = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLWindowStateNormal: HTMLWindowState = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLWindowStateMaximize: HTMLWindowState = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLWindowStateMinimize: HTMLWindowState = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLWindowState_Max: HTMLWindowState = 2147483647i32; -pub const HTMLWndOptionElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611408, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLWndSelectElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611407, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const HTMLXMLHttpRequest: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810615819, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type HTMLXMLHttpRequestEvents = *mut ::core::ffi::c_void; -pub const HTMLXMLHttpRequestFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810615821, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HTML_PAINTER = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_OPAQUE: HTML_PAINTER = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_TRANSPARENT: HTML_PAINTER = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_ALPHA: HTML_PAINTER = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_COMPLEX: HTML_PAINTER = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_OVERLAY: HTML_PAINTER = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_HITTEST: HTML_PAINTER = 32i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_SURFACE: HTML_PAINTER = 256i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_3DSURFACE: HTML_PAINTER = 512i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_NOBAND: HTML_PAINTER = 1024i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_NODC: HTML_PAINTER = 4096i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_NOPHYSICALCLIP: HTML_PAINTER = 8192i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_NOSAVEDC: HTML_PAINTER = 16384i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_SUPPORTS_XFORM: HTML_PAINTER = 32768i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_EXPAND: HTML_PAINTER = 65536i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_NOSCROLLBITS: HTML_PAINTER = 131072i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTML_PAINTER_Max: HTML_PAINTER = 2147483647i32; -#[repr(C)] -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub struct HTML_PAINTER_INFO { - pub lFlags: i32, - pub lZOrder: i32, - pub iidDrawObject: ::windows_sys::core::GUID, - pub rcExpand: super::super::Foundation::RECT, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for HTML_PAINTER_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for HTML_PAINTER_INFO { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HTML_PAINT_DRAW_FLAGS = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_DRAW_UPDATEREGION: HTML_PAINT_DRAW_FLAGS = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_DRAW_USE_XFORM: HTML_PAINT_DRAW_FLAGS = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTML_PAINT_DRAW_FLAGS_Max: HTML_PAINT_DRAW_FLAGS = 2147483647i32; -#[repr(C)] -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -pub struct HTML_PAINT_DRAW_INFO { - pub rcViewport: super::super::Foundation::RECT, - pub hrgnUpdate: super::super::Graphics::Gdi::HRGN, - pub xform: HTML_PAINT_XFORM, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -impl ::core::marker::Copy for HTML_PAINT_DRAW_INFO {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -impl ::core::clone::Clone for HTML_PAINT_DRAW_INFO { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HTML_PAINT_DRAW_INFO_FLAGS = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_DRAWINFO_VIEWPORT: HTML_PAINT_DRAW_INFO_FLAGS = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_DRAWINFO_UPDATEREGION: HTML_PAINT_DRAW_INFO_FLAGS = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_DRAWINFO_XFORM: HTML_PAINT_DRAW_INFO_FLAGS = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTML_PAINT_DRAW_INFO_FLAGS_Max: HTML_PAINT_DRAW_INFO_FLAGS = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HTML_PAINT_EVENT_FLAGS = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_EVENT_TARGET: HTML_PAINT_EVENT_FLAGS = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_EVENT_SETCURSOR: HTML_PAINT_EVENT_FLAGS = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTML_PAINT_EVENT_FLAGS_Max: HTML_PAINT_EVENT_FLAGS = 2147483647i32; -#[repr(C)] -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub struct HTML_PAINT_XFORM { - pub eM11: f32, - pub eM12: f32, - pub eM21: f32, - pub eM22: f32, - pub eDx: f32, - pub eDy: f32, -} -impl ::core::marker::Copy for HTML_PAINT_XFORM {} -impl ::core::clone::Clone for HTML_PAINT_XFORM { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HTML_PAINT_ZORDER = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_NONE: HTML_PAINT_ZORDER = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_REPLACE_ALL: HTML_PAINT_ZORDER = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_REPLACE_CONTENT: HTML_PAINT_ZORDER = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_REPLACE_BACKGROUND: HTML_PAINT_ZORDER = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_BELOW_CONTENT: HTML_PAINT_ZORDER = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_BELOW_FLOW: HTML_PAINT_ZORDER = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_ABOVE_FLOW: HTML_PAINT_ZORDER = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_ABOVE_CONTENT: HTML_PAINT_ZORDER = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_WINDOW_TOP: HTML_PAINT_ZORDER = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTML_PAINT_ZORDER_Max: HTML_PAINT_ZORDER = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HT_OPTIONS = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HT_OPT_AllowAfterEOL: HT_OPTIONS = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HT_OPTIONS_Max: HT_OPTIONS = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type HT_RESULTS = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HT_RESULTS_Glyph: HT_RESULTS = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HT_RESULTS_Max: HT_RESULTS = 2147483647i32; -pub const HomePage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1986785966, data2: 54864, data3: 4561, data4: [152, 17, 0, 192, 79, 195, 29, 46] }; -pub const HomePageSetting: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 927788512, data2: 34618, data3: 19535, data4: [188, 134, 188, 200, 207, 81, 22, 163] }; -#[repr(C)] -pub struct HostDialogHelper(pub u8); -pub const HtmlDlgSafeHelper: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612761, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub type IActiveXUIHandlerSite = *mut ::core::ffi::c_void; -pub type IActiveXUIHandlerSite2 = *mut ::core::ffi::c_void; -pub type IActiveXUIHandlerSite3 = *mut ::core::ffi::c_void; -pub type IAnchorClick = *mut ::core::ffi::c_void; -pub type IAudioSessionSite = *mut ::core::ffi::c_void; -pub type IBFCacheable = *mut ::core::ffi::c_void; -pub type IBlockFormats = *mut ::core::ffi::c_void; -pub type ICSSFilter = *mut ::core::ffi::c_void; -pub type ICSSFilterSite = *mut ::core::ffi::c_void; -pub type ICanvasGradient = *mut ::core::ffi::c_void; -pub type ICanvasImageData = *mut ::core::ffi::c_void; -pub type ICanvasPattern = *mut ::core::ffi::c_void; -pub type ICanvasPixelArray = *mut ::core::ffi::c_void; -pub type ICanvasPixelArrayData = *mut ::core::ffi::c_void; -pub type ICanvasRenderingContext2D = *mut ::core::ffi::c_void; -pub type ICanvasTextMetrics = *mut ::core::ffi::c_void; -pub type ICaretPositionProvider = *mut ::core::ffi::c_void; -pub type IClassFactoryEx = *mut ::core::ffi::c_void; -pub type IClientCaps = *mut ::core::ffi::c_void; -pub type ICustomDoc = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_1D: u32 = 2170u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_1D_ELEMENT: u32 = 2396u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_2D_ELEMENT: u32 = 2395u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_2D_POSITION: u32 = 2394u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ABSOLUTE_POSITION: u32 = 2397u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ACTIVEXFILTERINGENABLED: u32 = 15030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ACTIVEXINSTALLSCOPE: u32 = 15007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ADDCONSOLEMESSAGERECEIVER: u32 = 3800u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ADDDEBUGCALLBACKRECEIVER: u32 = 3804u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ADDFAVORITES: u32 = 2261u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ADDPARTIALTESTSTEPCOUNT: u32 = 15023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ADDPDFHIGHLIGHT: u32 = 15210u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ADDPDFNOTE: u32 = 15212u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ADDRESS: u32 = 2189u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ADDTOGLYPHTABLE: u32 = 2337u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ALIGNBOTTOM: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ALIGNHORIZONTALCENTERS: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ALIGNLEFT: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ALIGNRIGHT: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ALIGNTOGRID: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ALIGNTOP: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ALIGNVERTICALCENTERS: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_APPLYHEADING1: u32 = 2255u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_APPLYHEADING2: u32 = 2256u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_APPLYHEADING3: u32 = 2257u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_APPLYNORMAL: u32 = 2254u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ARRANGEBOTTOM: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ARRANGERIGHT: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ATOMICSELECTION: u32 = 2399u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_AUTODETECT: u32 = 2329u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_AUTOURLDETECT_MODE: u32 = 2400u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BACKCOLOR: u32 = 51u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BACKGROUNDIMAGECACHE: u32 = 2430u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BASELINEFONT1: u32 = 2141u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BASELINEFONT2: u32 = 2142u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BASELINEFONT3: u32 = 2143u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BASELINEFONT4: u32 = 2144u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BASELINEFONT5: u32 = 2145u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BEGINUNDOUNIT: u32 = 3901u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BEGINUSERACTION: u32 = 2432u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BLINK: u32 = 2190u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BLOCKDIRLTR: u32 = 2352u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BLOCKDIRRTL: u32 = 2353u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BLOCKFMT: u32 = 2234u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BLUEHIGHLIGHT: u32 = 15216u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BOLD: u32 = 52u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BOOKMARK: u32 = 2123u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BORDERCOLOR: u32 = 53u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BREAKATNEXT: u32 = 2311u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BRINGFORWARD: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BRINGTOFRONT: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BROWSEMODE: u32 = 2126u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BUTTON: u32 = 2167u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CANCEL: u32 = 89u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CAPTIONINSERT: u32 = 2203u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CARETBROWSINGMODE: u32 = 2436u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CELLINSERT: u32 = 2202u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CELLMERGE: u32 = 2204u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CELLPROPERTIES: u32 = 2211u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CELLSELECT: u32 = 2206u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CELLSPLIT: u32 = 2205u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CENTERALIGNPARA: u32 = 2250u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CENTERHORIZONTALLY: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CENTERVERTICALLY: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CHANGECASE: u32 = 2246u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CHANGEFONT: u32 = 2240u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CHANGEFONTSIZE: u32 = 2241u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CHECKBOX: u32 = 2163u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CHISELED: u32 = 64u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CLEARAUTHENTICATIONCACHE: u32 = 15003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CLEARSELECTION: u32 = 2007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CLEARUNDO: u32 = 3903u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CODE: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COLUMNINSERT: u32 = 2213u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COLUMNSELECT: u32 = 2208u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COMMENT: u32 = 2173u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COMPOSESETTINGS: u32 = 2318u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CONTEXT: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CONTEXTMENU: u32 = 2280u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CONVERTOBJECT: u32 = 82u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COPY: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COPYBACKGROUND: u32 = 2265u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COPYCONTENT: u32 = 2291u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COPYFORMAT: u32 = 2237u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COPYSHORTCUT: u32 = 2262u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CREATELINK: u32 = 2290u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CREATESHORTCUT: u32 = 2266u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CSSEDITING_LEVEL: u32 = 2406u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CUSTOMCONTROL: u32 = 83u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CUSTOMIZEITEM: u32 = 84u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CUT: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DEBUGGERDYNAMICATTACH: u32 = 15202u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DEBUGGERDYNAMICATTACHSOURCERUNDOWN: u32 = 15204u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DEBUGGERDYNAMICDETACH: u32 = 15203u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DEFAULTBLOCK: u32 = 6046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DEFAULTPARAGRAPHSEPARATOR: u32 = 3900u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DELETE: u32 = 17u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DELETEPDFHIGHLIGHT: u32 = 15211u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DELETEWORD: u32 = 92u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DIRLTR: u32 = 2350u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DIRRTL: u32 = 2351u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DISABLE_EDITFOCUS_UI: u32 = 2404u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DIV: u32 = 2191u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DOCPROPERTIES: u32 = 2260u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DROPDOWNBOX: u32 = 2165u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DYNSRCPLAY: u32 = 2271u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DYNSRCSTOP: u32 = 2272u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_EDITMODE: u32 = 2127u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_EDITPDFHIGHLIGHT: u32 = 15214u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_EDITSOURCE: u32 = 2122u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_EMPTYGLYPHTABLE: u32 = 2336u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ENABLEFLIPAHEADTARGET: u32 = 15201u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ENABLE_INTERACTION: u32 = 2302u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ENABLE_OBJECT_RESIZING: u32 = 3906u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ENDUNDOUNIT: u32 = 3902u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ENDUSERACTION: u32 = 2433u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ETCHED: u32 = 65u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_EXECPRINT: u32 = 93u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FILE: u32 = 2172u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FIND: u32 = 67u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FIRE_PRINTTEMPLATEDOWN: u32 = 15001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FIRE_PRINTTEMPLATEUP: u32 = 15000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FLAT: u32 = 54u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FOLLOWLINKC: u32 = 2136u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FOLLOWLINKEDGE: u32 = 3911u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FOLLOWLINKN: u32 = 2137u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FOLLOWLINKN_INPRIVATE: u32 = 3909u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FOLLOWLINKT: u32 = 2435u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FOLLOWLINKT_INPRIVATE: u32 = 3910u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FOLLOW_ANCHOR: u32 = 2008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FONT: u32 = 90u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FONTNAME: u32 = 18u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FONTSIZE: u32 = 19u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FORECOLOR: u32 = 55u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FORM: u32 = 2181u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FORMATMARK: u32 = 2132u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FORWARDDELETE: u32 = 98u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETBLOCKFMTS: u32 = 2233u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETBYTESDOWNLOADED: u32 = 2331u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETDEBUGGERSTATE: u32 = 15205u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETDEFAULTBACKGROUNDCOLOR: u32 = 15044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETDEFAULTZOOMLEVEL: u32 = 15027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETDOCDLGFLAGS: u32 = 15005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETELEMENTBOUNDINGBOX: u32 = 15028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETFRAMEZONE: u32 = 6037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETIPRINT: u32 = 2403u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETL9QUIRKSEMULATIONENABLED: u32 = 15025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETPARTIALLAYOUTSTATUS: u32 = 15022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETPRINTMANAGERDOCSOURCE: u32 = 15038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETPRINTMANAGERDOCSOURCEASYNC: u32 = 15047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETPRINTTEMPLATE: u32 = 2295u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETPROFILINGONSTART: u32 = 15011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETSCRIPTENGINE: u32 = 3803u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETSESSIONDOCUMENTMODE: u32 = 15009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETUSERACTIONTIME: u32 = 2431u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETUSERINITFLAGS: u32 = 15004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETZOOM: u32 = 68u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETZOOMDENOMINATOR: u32 = 2346u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETZOOMNUMERATOR: u32 = 2345u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GOBACKWARD: u32 = 2282u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GOFORWARD: u32 = 2283u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GOTO: u32 = 2239u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GOTOCLIPBOARDADDRESS: u32 = 2285u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GOTOCLIPBOARDTEXT: u32 = 2286u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GREENHIGHLIGHT: u32 = 15217u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GROUP: u32 = 20u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HELP_ABOUT: u32 = 2221u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HELP_CONTENT: u32 = 2220u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HELP_README: u32 = 2222u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HORIZONTALLINE: u32 = 2150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HORIZSPACECONCATENATE: u32 = 21u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HORIZSPACEDECREASE: u32 = 22u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HORIZSPACEINCREASE: u32 = 23u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HORIZSPACEMAKEEQUAL: u32 = 24u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HTMLAREA: u32 = 2178u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HTMLCONTAIN: u32 = 2159u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HTMLEDITMODE: u32 = 2316u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HTMLSOURCE: u32 = 2157u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HWND: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HYPERLINK: u32 = 2124u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IE50_PASTE: u32 = 2401u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IE50_PASTE_MODE: u32 = 2402u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IFRAME: u32 = 2158u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IMAGE: u32 = 2168u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IMAGEMAP: u32 = 2171u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IME_ENABLE_RECONVERSION: u32 = 2409u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IMGARTPLAY: u32 = 2274u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IMGARTREWIND: u32 = 2276u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IMGARTSTOP: u32 = 2275u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IMPORT: u32 = 86u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INDENT: u32 = 2186u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INLINEDIRLTR: u32 = 2354u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INLINEDIRRTL: u32 = 2355u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSERTHTML: u32 = 2502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSERTOBJECT: u32 = 25u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSERTSPAN: u32 = 2357u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSERTTEXT: u32 = 3907u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSFIELDSET: u32 = 2119u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSINPUTBUTTON: u32 = 2115u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSINPUTHIDDEN: u32 = 2312u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSINPUTIMAGE: u32 = 2114u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSINPUTPASSWORD: u32 = 2313u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSINPUTRESET: u32 = 2116u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSINPUTSUBMIT: u32 = 2117u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSINPUTUPLOAD: u32 = 2118u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSPECTELEMENT: u32 = 3904u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INVOKEFLIPAHEADTARGET: u32 = 15200u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ISTRUSTEDDLG: u32 = 2356u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ITALIC: u32 = 56u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_JAVAAPPLET: u32 = 2175u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_JUSTIFYCENTER: u32 = 57u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_JUSTIFYFULL: u32 = 50u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_JUSTIFYGENERAL: u32 = 58u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_JUSTIFYLEFT: u32 = 59u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_JUSTIFYNONE: u32 = 94u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_JUSTIFYRIGHT: u32 = 60u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_KEEPSELECTION: u32 = 2410u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LANGUAGE: u32 = 2292u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LAUNCHDEBUGGER: u32 = 2310u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LAUNCHURICALLBACK: u32 = 3908u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LEFTALIGNPARA: u32 = 2251u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LINEBREAKBOTH: u32 = 2154u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LINEBREAKLEFT: u32 = 2152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LINEBREAKNORMAL: u32 = 2151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LINEBREAKRIGHT: u32 = 2153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LIST: u32 = 2183u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LISTBOX: u32 = 2166u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LIVERESIZE: u32 = 2398u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LOCALIZEEDITOR: u32 = 2358u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MARQUEE: u32 = 2182u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_FRAMESTEP_BACK: u32 = 2461u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_FRAMESTEP_FWD: u32 = 2460u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_FULLSCREEN_EXIT: u32 = 2447u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_FULLSCREEN_TOGGLE: u32 = 2446u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_MUTE: u32 = 2462u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_MUTEUNMUTE: u32 = 2442u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PAUSE: u32 = 2444u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAY: u32 = 2443u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYPAUSE: u32 = 2441u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE0: u32 = 2480u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE1: u32 = 2481u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE2: u32 = 2482u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE3: u32 = 2483u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE4: u32 = 2484u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE5: u32 = 2485u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE6: u32 = 2486u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE7: u32 = 2487u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE8: u32 = 2488u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE9: u32 = 2489u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_RATE_FASTER: u32 = 2456u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_RATE_SLOWER: u32 = 2457u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SEEK_BACK_LARGE: u32 = 2455u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SEEK_BACK_SMALL: u32 = 2453u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SEEK_FWD_LARGE: u32 = 2454u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SEEK_FWD_SMALL: u32 = 2452u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SEEK_TO_END: u32 = 2451u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SEEK_TO_START: u32 = 2450u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SHOWCONTROLS_TOGGLE: u32 = 2458u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SHOW_AUDIO_ACCESS: u32 = 2464u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SHOW_SUBTITLE_ACCESS: u32 = 2465u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_STOP: u32 = 2445u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_UNMUTE: u32 = 2463u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_VOLUME_DOWN: u32 = 2449u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_VOLUME_UP: u32 = 2448u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_ZOOMMODE_TOGGLE: u32 = 2459u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MENUEXT_COUNT: u32 = 3733u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MENUEXT_FIRST__: u32 = 3700u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MENUEXT_LAST__: u32 = 3732u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MENUEXT_PLACEHOLDER: u32 = 6047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MIMECSET__FIRST__: u32 = 3609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MIMECSET__LAST__: u32 = 3699u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MOVE: u32 = 88u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MP_EMAILPICTURE: u32 = 2288u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MP_MYPICS: u32 = 2287u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MP_PRINTPICTURE: u32 = 2289u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MULTILEVELREDO: u32 = 30u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MULTILEVELUNDO: u32 = 44u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MULTIPLESELECTION: u32 = 2393u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NEW: u32 = 2001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NEWPAGE: u32 = 87u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NEW_TOPLEVELWINDOW: u32 = 7050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NOACTIVATEDESIGNTIMECONTROLS: u32 = 2333u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NOACTIVATEJAVAAPPLETS: u32 = 2334u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NOACTIVATENORMALOLECONTROLS: u32 = 2332u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NOFIXUPURLSONPASTE: u32 = 2335u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NONBREAK: u32 = 2155u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NONEHIGHLIGHT: u32 = 15219u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NOTIFYCONTEXTMENUDISMISSED: u32 = 15046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NOTIFYZOOMANDSCROLLANIMATIONEND: u32 = 15045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECT: u32 = 2169u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST0: u32 = 72u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST1: u32 = 73u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST2: u32 = 74u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST3: u32 = 75u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST4: u32 = 76u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST5: u32 = 77u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST6: u32 = 78u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST7: u32 = 79u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST8: u32 = 80u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST9: u32 = 81u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLISTLAST: u32 = 81u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OLEWINDOWSTATECHANGED: u32 = 15006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OPEN: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OPENPDFNOTE: u32 = 15213u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OPTIONS: u32 = 2135u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ORDERLIST: u32 = 2184u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OUTDENT: u32 = 2187u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OVERRIDE_CURSOR: u32 = 2420u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OVERWRITE: u32 = 2314u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PAGE: u32 = 2267u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PAGEBREAK: u32 = 2177u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PAGEINFO: u32 = 2231u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PAGESETUP: u32 = 2004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PARAGRAPH: u32 = 2180u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PARSECOMPLETE: u32 = 2315u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PASTE: u32 = 26u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PASTECONTENTONLY: u32 = 2500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PASTEFORMAT: u32 = 2238u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PASTEINSERT: u32 = 2120u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PASTESPECIAL: u32 = 2006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PASTETEXTONLY: u32 = 2501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PDFDEFINE: u32 = 15222u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PDFREADALOUD: u32 = 15220u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PEERHITTESTSAMEINEDIT: u32 = 2423u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PERFORMEDITACTIVATION: u32 = 15042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PERSISTDEFAULTVALUES: u32 = 7100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PERSISTSTREAMSYNC: u32 = 2341u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PINKHIGHLIGHT: u32 = 15215u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PLUGIN: u32 = 2176u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_POPSTATEEVENT: u32 = 15017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PREFORMATTED: u32 = 2188u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PRESERVEUNDOALWAYS: u32 = 6049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PRESTOP: u32 = 2284u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PRINT: u32 = 27u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PRINTPREVIEW: u32 = 2003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PRINTQUERYJOBSPENDING: u32 = 2277u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PRINTTARGET: u32 = 2273u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PROPERTIES: u32 = 28u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PROTECTMETATAGS: u32 = 7101u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_RADIOBUTTON: u32 = 2164u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_RAISED: u32 = 61u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_RCINSERT: u32 = 2201u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REDO: u32 = 29u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REFRESH: u32 = 2300u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REFRESH_THIS: u32 = 6042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REGISTRYREFRESH: u32 = 2317u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REMOVECONSOLEMESSAGERECEIVER: u32 = 3801u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REMOVEDEBUGCALLBACKRECEIVER: u32 = 3805u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REMOVEFORMAT: u32 = 2230u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REMOVEFROMGLYPHTABLE: u32 = 2338u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REMOVEPARAFORMAT: u32 = 2253u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_RENAME: u32 = 85u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REPLACE: u32 = 2121u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REPLACEGLYPHCONTENTS: u32 = 2339u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_RESPECTVISIBILITY_INDESIGN: u32 = 2405u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_RIGHTALIGNPARA: u32 = 2252u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ROWINSERT: u32 = 2212u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ROWSELECT: u32 = 2207u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_RUNFLASH: u32 = 15208u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_RUNURLSCRIPT: u32 = 2343u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SAVE: u32 = 70u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SAVEAS: u32 = 71u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SAVEBACKGROUND: u32 = 2263u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SAVECOPYAS: u32 = 2002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SAVEPDF: u32 = 99u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SAVEPICTURE: u32 = 2270u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SAVEPRETRANSFORMSOURCE: u32 = 2370u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SAVETARGET: u32 = 2268u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCRIPT: u32 = 2174u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCRIPTDEBUGGER: u32 = 2330u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_BOTTOM: u32 = 2382u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_DOWN: u32 = 2386u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_HERE: u32 = 2380u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_LEFT: u32 = 2391u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_LEFTEDGE: u32 = 2387u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_PAGEDOWN: u32 = 2384u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_PAGELEFT: u32 = 2389u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_PAGERIGHT: u32 = 2390u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_PAGEUP: u32 = 2383u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_RIGHT: u32 = 2392u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_RIGHTEDGE: u32 = 2388u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_TOP: u32 = 2381u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_UP: u32 = 2385u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SELECTALL: u32 = 31u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SELECTIONSEARCH: u32 = 15206u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SENDBACKWARD: u32 = 32u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SENDTOBACK: u32 = 33u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETACCESSIBILITYNAME: u32 = 15040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETCUSTOMCURSOR: u32 = 2434u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETDEFAULTBACKGROUNDCOLOR: u32 = 15043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETDESKTOPITEM: u32 = 2278u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETDEVTOOLBARCONSOLE: u32 = 15016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETDIRTY: u32 = 2342u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETEXTRAHEADERS: u32 = 15039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETGEOLOCATIONCONSENT: u32 = 15029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETL9QUIRKSEMULATIONENABLED: u32 = 15024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETNAVIGATEEVENTSINK: u32 = 15013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETPAGEACTIONALLOWEDFLAGS: u32 = 15100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETPARTIALLAYOUTSTATUS: u32 = 15021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETPOINTERLOCKCONSENT: u32 = 15026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETPRINTHANDLES: u32 = 15002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETPRINTTEMPLATE: u32 = 2296u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETPROFILINGONSTART: u32 = 15010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETSCRIPTCONSOLE: u32 = 15012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETSESSIONDOCUMENTMODE: u32 = 15008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETWALLPAPER: u32 = 2264u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHADOWED: u32 = 66u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHARE: u32 = 15031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHAREAPPCACHEEVENT: u32 = 15033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHAREPDF: u32 = 15221u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHAREPICTURE: u32 = 3905u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWALIGNEDSITETAGS: u32 = 2321u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWALLTAGS: u32 = 2327u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWAREATAGS: u32 = 2325u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWCOMMENTTAGS: u32 = 2324u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWGRID: u32 = 69u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWHIDE_CODE: u32 = 2235u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWMISCTAGS: u32 = 2320u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWPAGESETUP: u32 = 2011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWPICTURE: u32 = 2269u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWPRINT: u32 = 2010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWSCRIPTTAGS: u32 = 2322u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWSHAREUI: u32 = 15207u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWSPECIALCHAR: u32 = 2249u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWSTYLETAGS: u32 = 2323u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWTABLE: u32 = 34u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWUNKNOWNTAGS: u32 = 2326u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWWBRTAGS: u32 = 2340u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWZEROBORDERATDESIGNTIME: u32 = 2328u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SIZETOCONTROL: u32 = 35u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SIZETOCONTROLHEIGHT: u32 = 36u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SIZETOCONTROLWIDTH: u32 = 37u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SIZETOFIT: u32 = 38u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SIZETOGRID: u32 = 39u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SNAPTOGRID: u32 = 40u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SPECIALCHAR: u32 = 2156u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SPELL: u32 = 2005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STARTDIAGNOSTICSMODE: u32 = 3802u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STATUSBAR: u32 = 2131u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STOP: u32 = 2138u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STOPDOWNLOAD: u32 = 2301u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STRIKETHROUGH: u32 = 91u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STYLEMENU_CHANGESELECTEDSTYLE: u32 = 2440u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STYLEMENU_GETNOSTYLE: u32 = 2438u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STYLEMENU_GETPREFSTYLE: u32 = 2439u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STYLEMENU_SETNOSTYLE: u32 = 2437u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SUBSCRIPT: u32 = 2247u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SUNKEN: u32 = 62u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SUPERSCRIPT: u32 = 2248u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TABLE: u32 = 2236u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TABLEINSERT: u32 = 2200u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TABLEPROPERTIES: u32 = 2210u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TABLESELECT: u32 = 2209u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TABORDER: u32 = 41u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TELETYPE: u32 = 2232u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TEMPLATE_PAGESETUP: u32 = 2298u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TEXTAREA: u32 = 2162u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TEXTBOX: u32 = 2161u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TEXTONLY: u32 = 2133u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TOGGLEREADINGBAR: u32 = 15209u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TOOLBARS: u32 = 2130u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TOOLBOX: u32 = 42u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TRISTATEBOLD: u32 = 95u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TRISTATEITALIC: u32 = 96u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TRISTATEUNDERLINE: u32 = 97u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TRUSTAPPCACHE: u32 = 2425u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UI_OUTDENT: u32 = 2407u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UNBOOKMARK: u32 = 2128u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UNDERLINE: u32 = 63u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UNDO: u32 = 43u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UNGROUP: u32 = 45u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UNKNOWN: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UNLINK: u32 = 2125u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UNLOADDOCUMENT: u32 = 2411u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UNORDERLIST: u32 = 2185u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UPDATEPAGESTATUS: u32 = 2408u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UPDATESETTINGSFROMREGISTRY: u32 = 15041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_VERTSPACECONCATENATE: u32 = 46u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_VERTSPACEDECREASE: u32 = 47u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_VERTSPACEINCREASE: u32 = 48u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_VERTSPACEMAKEEQUAL: u32 = 49u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_VIEWPRETRANSFORMSOURCE: u32 = 2371u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_VIEWSOURCE: u32 = 2139u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_YELLOWHIGHLIGHT: u32 = 15218u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ZOOMPERCENT: u32 = 50u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ZOOMPOPUP: u32 = 2140u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ZOOMRATIO: u32 = 2344u32; -pub type IDOMBeforeUnloadEvent = *mut ::core::ffi::c_void; -pub type IDOMCloseEvent = *mut ::core::ffi::c_void; -pub type IDOMCompositionEvent = *mut ::core::ffi::c_void; -pub type IDOMCustomEvent = *mut ::core::ffi::c_void; -pub type IDOMDocumentType = *mut ::core::ffi::c_void; -pub type IDOMDragEvent = *mut ::core::ffi::c_void; -pub type IDOMEvent = *mut ::core::ffi::c_void; -pub type IDOMEventRegistrationCallback = *mut ::core::ffi::c_void; -pub type IDOMException = *mut ::core::ffi::c_void; -pub type IDOMFocusEvent = *mut ::core::ffi::c_void; -pub type IDOMKeyboardEvent = *mut ::core::ffi::c_void; -pub type IDOMMSAnimationEvent = *mut ::core::ffi::c_void; -pub type IDOMMSManipulationEvent = *mut ::core::ffi::c_void; -pub type IDOMMSTransitionEvent = *mut ::core::ffi::c_void; -pub type IDOMMessageEvent = *mut ::core::ffi::c_void; -pub type IDOMMouseEvent = *mut ::core::ffi::c_void; -pub type IDOMMouseWheelEvent = *mut ::core::ffi::c_void; -pub type IDOMMutationEvent = *mut ::core::ffi::c_void; -pub type IDOMNodeIterator = *mut ::core::ffi::c_void; -pub type IDOMParser = *mut ::core::ffi::c_void; -pub type IDOMParserFactory = *mut ::core::ffi::c_void; -pub type IDOMProcessingInstruction = *mut ::core::ffi::c_void; -pub type IDOMProgressEvent = *mut ::core::ffi::c_void; -pub type IDOMSiteModeEvent = *mut ::core::ffi::c_void; -pub type IDOMStorageEvent = *mut ::core::ffi::c_void; -pub type IDOMTextEvent = *mut ::core::ffi::c_void; -pub type IDOMTreeWalker = *mut ::core::ffi::c_void; -pub type IDOMUIEvent = *mut ::core::ffi::c_void; -pub type IDOMWheelEvent = *mut ::core::ffi::c_void; -pub type IDOMXmlSerializer = *mut ::core::ffi::c_void; -pub type IDOMXmlSerializerFactory = *mut ::core::ffi::c_void; -pub type IDebugCallbackNotificationHandler = *mut ::core::ffi::c_void; -pub type IDeveloperConsoleMessageReceiver = *mut ::core::ffi::c_void; -pub type IDeviceRect = *mut ::core::ffi::c_void; -pub type IDiagnosticsScriptEngine = *mut ::core::ffi::c_void; -pub type IDiagnosticsScriptEngineProvider = *mut ::core::ffi::c_void; -pub type IDiagnosticsScriptEngineSite = *mut ::core::ffi::c_void; -pub type IDisplayPointer = *mut ::core::ffi::c_void; -pub type IDisplayServices = *mut ::core::ffi::c_void; -pub type IDithererImpl = *mut ::core::ffi::c_void; -pub type IDocHostShowUI = *mut ::core::ffi::c_void; -pub type IDocHostUIHandler = *mut ::core::ffi::c_void; -pub type IDocHostUIHandler2 = *mut ::core::ffi::c_void; -pub type IDocObjectService = *mut ::core::ffi::c_void; -pub type IDocumentEvent = *mut ::core::ffi::c_void; -pub type IDocumentRange = *mut ::core::ffi::c_void; -pub type IDocumentSelector = *mut ::core::ffi::c_void; -pub type IDocumentTraversal = *mut ::core::ffi::c_void; -pub type IDownloadBehavior = *mut ::core::ffi::c_void; -pub type IDownloadManager = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_ARG_CLEAR_FORMS_ALL: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_ARG_CLEAR_FORMS_ALL_BUT_PASSWORDS: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_ARG_CLEAR_FORMS_PASSWORDS_ONLY: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_BEFORENAVIGATE_DOEXTERNALBROWSE: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_BEFORENAVIGATE_GETIDLIST: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_BEFORENAVIGATE_GETSHELLBROWSE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_CLEAR_AUTOCOMPLETE_FOR_FORMS: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_GET_INVOKE_DEFAULT_BROWSER_ON_NEW_WINDOW: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_SETID_AUTOCOMPLETE_FOR_FORMS: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_SET_INVOKE_DEFAULT_BROWSER_ON_NEW_WINDOW: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IEGetProcessModule_PROC_NAME: &str = "IEGetProcessModule"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IEGetTabWindowExports_PROC_NAME: &str = "IEGetTabWindowExports"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type IEISXMLNSREGISTEREDFN = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type IELAUNCHOPTION_FLAGS = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IELAUNCHOPTION_SCRIPTDEBUG: IELAUNCHOPTION_FLAGS = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IELAUNCHOPTION_FORCE_COMPAT: IELAUNCHOPTION_FLAGS = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IELAUNCHOPTION_FORCE_EDGE: IELAUNCHOPTION_FLAGS = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IELAUNCHOPTION_LOCK_ENGINE: IELAUNCHOPTION_FLAGS = 8i32; -#[repr(C)] -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub struct IELAUNCHURLINFO { - pub cbSize: u32, - pub dwCreationFlags: u32, - pub dwLaunchOptionFlags: u32, -} -impl ::core::marker::Copy for IELAUNCHURLINFO {} -impl ::core::clone::Clone for IELAUNCHURLINFO { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IEPROCESS_MODULE_NAME: &str = "IERtUtil.dll"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub type IEREGISTERXMLNSFN = ::core::option::Option ::windows_sys::core::HRESULT>; -pub const IEWebDriverManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2419149554, data2: 21072, data3: 18355, data4: [137, 216, 98, 149, 252, 35, 188, 34] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IE_USE_OE_MAIL_HKEY: i32 = -2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IE_USE_OE_MAIL_KEY: &str = "Software\\Microsoft\\Internet Explorer\\Mail"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IE_USE_OE_MAIL_VALUE: &str = "Use Outlook Express"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IE_USE_OE_NEWS_HKEY: i32 = -2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IE_USE_OE_NEWS_KEY: &str = "Software\\Microsoft\\Internet Explorer\\News"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IE_USE_OE_NEWS_VALUE: &str = "Use Outlook Express"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IE_USE_OE_PRESENT_HKEY: i32 = -2147483646i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IE_USE_OE_PRESENT_KEY: &str = "Software\\Microsoft\\Windows\\CurrentVersion\\app.paths\\msimn.exe"; -pub type IElementBehavior = *mut ::core::ffi::c_void; -pub type IElementBehaviorCategory = *mut ::core::ffi::c_void; -pub type IElementBehaviorFactory = *mut ::core::ffi::c_void; -pub type IElementBehaviorFocus = *mut ::core::ffi::c_void; -pub type IElementBehaviorLayout = *mut ::core::ffi::c_void; -pub type IElementBehaviorLayout2 = *mut ::core::ffi::c_void; -pub type IElementBehaviorRender = *mut ::core::ffi::c_void; -pub type IElementBehaviorSite = *mut ::core::ffi::c_void; -pub type IElementBehaviorSiteCategory = *mut ::core::ffi::c_void; -pub type IElementBehaviorSiteLayout = *mut ::core::ffi::c_void; -pub type IElementBehaviorSiteLayout2 = *mut ::core::ffi::c_void; -pub type IElementBehaviorSiteOM = *mut ::core::ffi::c_void; -pub type IElementBehaviorSiteOM2 = *mut ::core::ffi::c_void; -pub type IElementBehaviorSiteRender = *mut ::core::ffi::c_void; -pub type IElementBehaviorSubmit = *mut ::core::ffi::c_void; -pub type IElementNamespace = *mut ::core::ffi::c_void; -pub type IElementNamespaceFactory = *mut ::core::ffi::c_void; -pub type IElementNamespaceFactory2 = *mut ::core::ffi::c_void; -pub type IElementNamespaceFactoryCallback = *mut ::core::ffi::c_void; -pub type IElementNamespaceTable = *mut ::core::ffi::c_void; -pub type IElementSegment = *mut ::core::ffi::c_void; -pub type IElementSelector = *mut ::core::ffi::c_void; -pub type IElementTraversal = *mut ::core::ffi::c_void; -pub type IEnumManagerFrames = *mut ::core::ffi::c_void; -pub type IEnumOpenServiceActivity = *mut ::core::ffi::c_void; -pub type IEnumOpenServiceActivityCategory = *mut ::core::ffi::c_void; -pub type IEnumPrivacyRecords = *mut ::core::ffi::c_void; -pub type IEnumSTATURL = *mut ::core::ffi::c_void; -pub type IEventException = *mut ::core::ffi::c_void; -pub type IEventTarget = *mut ::core::ffi::c_void; -pub type IEventTarget2 = *mut ::core::ffi::c_void; -pub type IExtensionValidation = *mut ::core::ffi::c_void; -pub type IFontNames = *mut ::core::ffi::c_void; -pub type IGetSVGDocument = *mut ::core::ffi::c_void; -pub type IHTCAttachBehavior = *mut ::core::ffi::c_void; -pub type IHTCAttachBehavior2 = *mut ::core::ffi::c_void; -pub type IHTCDefaultDispatch = *mut ::core::ffi::c_void; -pub type IHTCDescBehavior = *mut ::core::ffi::c_void; -pub type IHTCEventBehavior = *mut ::core::ffi::c_void; -pub type IHTCMethodBehavior = *mut ::core::ffi::c_void; -pub type IHTCPropertyBehavior = *mut ::core::ffi::c_void; -pub type IHTMLAnchorElement = *mut ::core::ffi::c_void; -pub type IHTMLAnchorElement2 = *mut ::core::ffi::c_void; -pub type IHTMLAnchorElement3 = *mut ::core::ffi::c_void; -pub type IHTMLAppBehavior = *mut ::core::ffi::c_void; -pub type IHTMLAppBehavior2 = *mut ::core::ffi::c_void; -pub type IHTMLAppBehavior3 = *mut ::core::ffi::c_void; -pub type IHTMLApplicationCache = *mut ::core::ffi::c_void; -pub type IHTMLAreaElement = *mut ::core::ffi::c_void; -pub type IHTMLAreaElement2 = *mut ::core::ffi::c_void; -pub type IHTMLAreasCollection = *mut ::core::ffi::c_void; -pub type IHTMLAreasCollection2 = *mut ::core::ffi::c_void; -pub type IHTMLAreasCollection3 = *mut ::core::ffi::c_void; -pub type IHTMLAreasCollection4 = *mut ::core::ffi::c_void; -pub type IHTMLAttributeCollection = *mut ::core::ffi::c_void; -pub type IHTMLAttributeCollection2 = *mut ::core::ffi::c_void; -pub type IHTMLAttributeCollection3 = *mut ::core::ffi::c_void; -pub type IHTMLAttributeCollection4 = *mut ::core::ffi::c_void; -pub type IHTMLAudioElement = *mut ::core::ffi::c_void; -pub type IHTMLAudioElementFactory = *mut ::core::ffi::c_void; -pub type IHTMLBGsound = *mut ::core::ffi::c_void; -pub type IHTMLBRElement = *mut ::core::ffi::c_void; -pub type IHTMLBaseElement = *mut ::core::ffi::c_void; -pub type IHTMLBaseElement2 = *mut ::core::ffi::c_void; -pub type IHTMLBaseFontElement = *mut ::core::ffi::c_void; -pub type IHTMLBlockElement = *mut ::core::ffi::c_void; -pub type IHTMLBlockElement2 = *mut ::core::ffi::c_void; -pub type IHTMLBlockElement3 = *mut ::core::ffi::c_void; -pub type IHTMLBodyElement = *mut ::core::ffi::c_void; -pub type IHTMLBodyElement2 = *mut ::core::ffi::c_void; -pub type IHTMLBodyElement3 = *mut ::core::ffi::c_void; -pub type IHTMLBodyElement4 = *mut ::core::ffi::c_void; -pub type IHTMLBodyElement5 = *mut ::core::ffi::c_void; -pub type IHTMLBookmarkCollection = *mut ::core::ffi::c_void; -pub type IHTMLButtonElement = *mut ::core::ffi::c_void; -pub type IHTMLButtonElement2 = *mut ::core::ffi::c_void; -pub type IHTMLCSSImportRule = *mut ::core::ffi::c_void; -pub type IHTMLCSSMediaList = *mut ::core::ffi::c_void; -pub type IHTMLCSSMediaRule = *mut ::core::ffi::c_void; -pub type IHTMLCSSNamespaceRule = *mut ::core::ffi::c_void; -pub type IHTMLCSSRule = *mut ::core::ffi::c_void; -pub type IHTMLCSSStyleDeclaration = *mut ::core::ffi::c_void; -pub type IHTMLCSSStyleDeclaration2 = *mut ::core::ffi::c_void; -pub type IHTMLCSSStyleDeclaration3 = *mut ::core::ffi::c_void; -pub type IHTMLCSSStyleDeclaration4 = *mut ::core::ffi::c_void; -pub type IHTMLCanvasElement = *mut ::core::ffi::c_void; -pub type IHTMLCaret = *mut ::core::ffi::c_void; -pub type IHTMLChangeLog = *mut ::core::ffi::c_void; -pub type IHTMLChangePlayback = *mut ::core::ffi::c_void; -pub type IHTMLChangeSink = *mut ::core::ffi::c_void; -pub type IHTMLCommentElement = *mut ::core::ffi::c_void; -pub type IHTMLCommentElement2 = *mut ::core::ffi::c_void; -pub type IHTMLCommentElement3 = *mut ::core::ffi::c_void; -pub type IHTMLComputedStyle = *mut ::core::ffi::c_void; -pub type IHTMLControlElement = *mut ::core::ffi::c_void; -pub type IHTMLControlRange = *mut ::core::ffi::c_void; -pub type IHTMLControlRange2 = *mut ::core::ffi::c_void; -pub type IHTMLCurrentStyle = *mut ::core::ffi::c_void; -pub type IHTMLCurrentStyle2 = *mut ::core::ffi::c_void; -pub type IHTMLCurrentStyle3 = *mut ::core::ffi::c_void; -pub type IHTMLCurrentStyle4 = *mut ::core::ffi::c_void; -pub type IHTMLCurrentStyle5 = *mut ::core::ffi::c_void; -pub type IHTMLDDElement = *mut ::core::ffi::c_void; -pub type IHTMLDListElement = *mut ::core::ffi::c_void; -pub type IHTMLDOMAttribute = *mut ::core::ffi::c_void; -pub type IHTMLDOMAttribute2 = *mut ::core::ffi::c_void; -pub type IHTMLDOMAttribute3 = *mut ::core::ffi::c_void; -pub type IHTMLDOMAttribute4 = *mut ::core::ffi::c_void; -pub type IHTMLDOMChildrenCollection = *mut ::core::ffi::c_void; -pub type IHTMLDOMChildrenCollection2 = *mut ::core::ffi::c_void; -pub type IHTMLDOMConstructor = *mut ::core::ffi::c_void; -pub type IHTMLDOMConstructorCollection = *mut ::core::ffi::c_void; -pub type IHTMLDOMImplementation = *mut ::core::ffi::c_void; -pub type IHTMLDOMImplementation2 = *mut ::core::ffi::c_void; -pub type IHTMLDOMNode = *mut ::core::ffi::c_void; -pub type IHTMLDOMNode2 = *mut ::core::ffi::c_void; -pub type IHTMLDOMNode3 = *mut ::core::ffi::c_void; -pub type IHTMLDOMRange = *mut ::core::ffi::c_void; -pub type IHTMLDOMTextNode = *mut ::core::ffi::c_void; -pub type IHTMLDOMTextNode2 = *mut ::core::ffi::c_void; -pub type IHTMLDOMTextNode3 = *mut ::core::ffi::c_void; -pub type IHTMLDTElement = *mut ::core::ffi::c_void; -pub type IHTMLDataTransfer = *mut ::core::ffi::c_void; -pub type IHTMLDatabinding = *mut ::core::ffi::c_void; -pub type IHTMLDialog = *mut ::core::ffi::c_void; -pub type IHTMLDialog2 = *mut ::core::ffi::c_void; -pub type IHTMLDialog3 = *mut ::core::ffi::c_void; -pub type IHTMLDivElement = *mut ::core::ffi::c_void; -pub type IHTMLDivPosition = *mut ::core::ffi::c_void; -pub type IHTMLDocument = *mut ::core::ffi::c_void; -pub type IHTMLDocument2 = *mut ::core::ffi::c_void; -pub type IHTMLDocument3 = *mut ::core::ffi::c_void; -pub type IHTMLDocument4 = *mut ::core::ffi::c_void; -pub type IHTMLDocument5 = *mut ::core::ffi::c_void; -pub type IHTMLDocument6 = *mut ::core::ffi::c_void; -pub type IHTMLDocument7 = *mut ::core::ffi::c_void; -pub type IHTMLDocument8 = *mut ::core::ffi::c_void; -pub type IHTMLDocumentCompatibleInfo = *mut ::core::ffi::c_void; -pub type IHTMLDocumentCompatibleInfoCollection = *mut ::core::ffi::c_void; -pub type IHTMLEditDesigner = *mut ::core::ffi::c_void; -pub type IHTMLEditHost = *mut ::core::ffi::c_void; -pub type IHTMLEditHost2 = *mut ::core::ffi::c_void; -pub type IHTMLEditServices = *mut ::core::ffi::c_void; -pub type IHTMLEditServices2 = *mut ::core::ffi::c_void; -pub type IHTMLElement = *mut ::core::ffi::c_void; -pub type IHTMLElement2 = *mut ::core::ffi::c_void; -pub type IHTMLElement3 = *mut ::core::ffi::c_void; -pub type IHTMLElement4 = *mut ::core::ffi::c_void; -pub type IHTMLElement5 = *mut ::core::ffi::c_void; -pub type IHTMLElement6 = *mut ::core::ffi::c_void; -pub type IHTMLElement7 = *mut ::core::ffi::c_void; -pub type IHTMLElementAppliedStyles = *mut ::core::ffi::c_void; -pub type IHTMLElementCollection = *mut ::core::ffi::c_void; -pub type IHTMLElementCollection2 = *mut ::core::ffi::c_void; -pub type IHTMLElementCollection3 = *mut ::core::ffi::c_void; -pub type IHTMLElementCollection4 = *mut ::core::ffi::c_void; -pub type IHTMLElementDefaults = *mut ::core::ffi::c_void; -pub type IHTMLElementRender = *mut ::core::ffi::c_void; -pub type IHTMLEmbedElement = *mut ::core::ffi::c_void; -pub type IHTMLEmbedElement2 = *mut ::core::ffi::c_void; -pub type IHTMLEventObj = *mut ::core::ffi::c_void; -pub type IHTMLEventObj2 = *mut ::core::ffi::c_void; -pub type IHTMLEventObj3 = *mut ::core::ffi::c_void; -pub type IHTMLEventObj4 = *mut ::core::ffi::c_void; -pub type IHTMLEventObj5 = *mut ::core::ffi::c_void; -pub type IHTMLEventObj6 = *mut ::core::ffi::c_void; -pub type IHTMLFieldSetElement = *mut ::core::ffi::c_void; -pub type IHTMLFieldSetElement2 = *mut ::core::ffi::c_void; -pub type IHTMLFiltersCollection = *mut ::core::ffi::c_void; -pub type IHTMLFontElement = *mut ::core::ffi::c_void; -pub type IHTMLFontNamesCollection = *mut ::core::ffi::c_void; -pub type IHTMLFontSizesCollection = *mut ::core::ffi::c_void; -pub type IHTMLFormElement = *mut ::core::ffi::c_void; -pub type IHTMLFormElement2 = *mut ::core::ffi::c_void; -pub type IHTMLFormElement3 = *mut ::core::ffi::c_void; -pub type IHTMLFormElement4 = *mut ::core::ffi::c_void; -pub type IHTMLFrameBase = *mut ::core::ffi::c_void; -pub type IHTMLFrameBase2 = *mut ::core::ffi::c_void; -pub type IHTMLFrameBase3 = *mut ::core::ffi::c_void; -pub type IHTMLFrameElement = *mut ::core::ffi::c_void; -pub type IHTMLFrameElement2 = *mut ::core::ffi::c_void; -pub type IHTMLFrameElement3 = *mut ::core::ffi::c_void; -pub type IHTMLFrameSetElement = *mut ::core::ffi::c_void; -pub type IHTMLFrameSetElement2 = *mut ::core::ffi::c_void; -pub type IHTMLFrameSetElement3 = *mut ::core::ffi::c_void; -pub type IHTMLFramesCollection2 = *mut ::core::ffi::c_void; -pub type IHTMLGenericElement = *mut ::core::ffi::c_void; -pub type IHTMLHRElement = *mut ::core::ffi::c_void; -pub type IHTMLHeadElement = *mut ::core::ffi::c_void; -pub type IHTMLHeadElement2 = *mut ::core::ffi::c_void; -pub type IHTMLHeaderElement = *mut ::core::ffi::c_void; -pub type IHTMLHtmlElement = *mut ::core::ffi::c_void; -pub type IHTMLIFrameElement = *mut ::core::ffi::c_void; -pub type IHTMLIFrameElement2 = *mut ::core::ffi::c_void; -pub type IHTMLIFrameElement3 = *mut ::core::ffi::c_void; -pub type IHTMLIPrintCollection = *mut ::core::ffi::c_void; -pub type IHTMLImageElementFactory = *mut ::core::ffi::c_void; -pub type IHTMLImgElement = *mut ::core::ffi::c_void; -pub type IHTMLImgElement2 = *mut ::core::ffi::c_void; -pub type IHTMLImgElement3 = *mut ::core::ffi::c_void; -pub type IHTMLImgElement4 = *mut ::core::ffi::c_void; -pub type IHTMLInputButtonElement = *mut ::core::ffi::c_void; -pub type IHTMLInputElement = *mut ::core::ffi::c_void; -pub type IHTMLInputElement2 = *mut ::core::ffi::c_void; -pub type IHTMLInputElement3 = *mut ::core::ffi::c_void; -pub type IHTMLInputFileElement = *mut ::core::ffi::c_void; -pub type IHTMLInputHiddenElement = *mut ::core::ffi::c_void; -pub type IHTMLInputImage = *mut ::core::ffi::c_void; -pub type IHTMLInputRangeElement = *mut ::core::ffi::c_void; -pub type IHTMLInputTextElement = *mut ::core::ffi::c_void; -pub type IHTMLInputTextElement2 = *mut ::core::ffi::c_void; -pub type IHTMLIsIndexElement = *mut ::core::ffi::c_void; -pub type IHTMLIsIndexElement2 = *mut ::core::ffi::c_void; -pub type IHTMLLIElement = *mut ::core::ffi::c_void; -pub type IHTMLLabelElement = *mut ::core::ffi::c_void; -pub type IHTMLLabelElement2 = *mut ::core::ffi::c_void; -pub type IHTMLLegendElement = *mut ::core::ffi::c_void; -pub type IHTMLLegendElement2 = *mut ::core::ffi::c_void; -pub type IHTMLLinkElement = *mut ::core::ffi::c_void; -pub type IHTMLLinkElement2 = *mut ::core::ffi::c_void; -pub type IHTMLLinkElement3 = *mut ::core::ffi::c_void; -pub type IHTMLLinkElement4 = *mut ::core::ffi::c_void; -pub type IHTMLLinkElement5 = *mut ::core::ffi::c_void; -pub type IHTMLListElement = *mut ::core::ffi::c_void; -pub type IHTMLListElement2 = *mut ::core::ffi::c_void; -pub type IHTMLLocation = *mut ::core::ffi::c_void; -pub type IHTMLMSCSSKeyframeRule = *mut ::core::ffi::c_void; -pub type IHTMLMSCSSKeyframesRule = *mut ::core::ffi::c_void; -pub type IHTMLMSImgElement = *mut ::core::ffi::c_void; -pub type IHTMLMSMediaElement = *mut ::core::ffi::c_void; -pub type IHTMLMapElement = *mut ::core::ffi::c_void; -pub type IHTMLMarqueeElement = *mut ::core::ffi::c_void; -pub type IHTMLMediaElement = *mut ::core::ffi::c_void; -pub type IHTMLMediaElement2 = *mut ::core::ffi::c_void; -pub type IHTMLMediaError = *mut ::core::ffi::c_void; -pub type IHTMLMetaElement = *mut ::core::ffi::c_void; -pub type IHTMLMetaElement2 = *mut ::core::ffi::c_void; -pub type IHTMLMetaElement3 = *mut ::core::ffi::c_void; -pub type IHTMLMimeTypesCollection = *mut ::core::ffi::c_void; -pub type IHTMLModelessInit = *mut ::core::ffi::c_void; -pub type IHTMLNamespace = *mut ::core::ffi::c_void; -pub type IHTMLNamespaceCollection = *mut ::core::ffi::c_void; -pub type IHTMLNextIdElement = *mut ::core::ffi::c_void; -pub type IHTMLNoShowElement = *mut ::core::ffi::c_void; -pub type IHTMLOListElement = *mut ::core::ffi::c_void; -pub type IHTMLOMWindowServices = *mut ::core::ffi::c_void; -pub type IHTMLObjectElement = *mut ::core::ffi::c_void; -pub type IHTMLObjectElement2 = *mut ::core::ffi::c_void; -pub type IHTMLObjectElement3 = *mut ::core::ffi::c_void; -pub type IHTMLObjectElement4 = *mut ::core::ffi::c_void; -pub type IHTMLObjectElement5 = *mut ::core::ffi::c_void; -pub type IHTMLOpsProfile = *mut ::core::ffi::c_void; -pub type IHTMLOptionButtonElement = *mut ::core::ffi::c_void; -pub type IHTMLOptionElement = *mut ::core::ffi::c_void; -pub type IHTMLOptionElement3 = *mut ::core::ffi::c_void; -pub type IHTMLOptionElement4 = *mut ::core::ffi::c_void; -pub type IHTMLOptionElementFactory = *mut ::core::ffi::c_void; -pub type IHTMLOptionsHolder = *mut ::core::ffi::c_void; -pub type IHTMLPaintSite = *mut ::core::ffi::c_void; -pub type IHTMLPainter = *mut ::core::ffi::c_void; -pub type IHTMLPainterEventInfo = *mut ::core::ffi::c_void; -pub type IHTMLPainterOverlay = *mut ::core::ffi::c_void; -pub type IHTMLParaElement = *mut ::core::ffi::c_void; -pub type IHTMLParamElement = *mut ::core::ffi::c_void; -pub type IHTMLParamElement2 = *mut ::core::ffi::c_void; -pub type IHTMLPerformance = *mut ::core::ffi::c_void; -pub type IHTMLPerformanceNavigation = *mut ::core::ffi::c_void; -pub type IHTMLPerformanceTiming = *mut ::core::ffi::c_void; -pub type IHTMLPersistData = *mut ::core::ffi::c_void; -pub type IHTMLPersistDataOM = *mut ::core::ffi::c_void; -pub type IHTMLPhraseElement = *mut ::core::ffi::c_void; -pub type IHTMLPhraseElement2 = *mut ::core::ffi::c_void; -pub type IHTMLPhraseElement3 = *mut ::core::ffi::c_void; -pub type IHTMLPluginsCollection = *mut ::core::ffi::c_void; -pub type IHTMLPopup = *mut ::core::ffi::c_void; -pub type IHTMLProgressElement = *mut ::core::ffi::c_void; -pub type IHTMLRect = *mut ::core::ffi::c_void; -pub type IHTMLRect2 = *mut ::core::ffi::c_void; -pub type IHTMLRectCollection = *mut ::core::ffi::c_void; -pub type IHTMLRenderStyle = *mut ::core::ffi::c_void; -pub type IHTMLRuleStyle = *mut ::core::ffi::c_void; -pub type IHTMLRuleStyle2 = *mut ::core::ffi::c_void; -pub type IHTMLRuleStyle3 = *mut ::core::ffi::c_void; -pub type IHTMLRuleStyle4 = *mut ::core::ffi::c_void; -pub type IHTMLRuleStyle5 = *mut ::core::ffi::c_void; -pub type IHTMLRuleStyle6 = *mut ::core::ffi::c_void; -pub type IHTMLScreen = *mut ::core::ffi::c_void; -pub type IHTMLScreen2 = *mut ::core::ffi::c_void; -pub type IHTMLScreen3 = *mut ::core::ffi::c_void; -pub type IHTMLScreen4 = *mut ::core::ffi::c_void; -pub type IHTMLScriptElement = *mut ::core::ffi::c_void; -pub type IHTMLScriptElement2 = *mut ::core::ffi::c_void; -pub type IHTMLScriptElement3 = *mut ::core::ffi::c_void; -pub type IHTMLScriptElement4 = *mut ::core::ffi::c_void; -pub type IHTMLSelectElement = *mut ::core::ffi::c_void; -pub type IHTMLSelectElement2 = *mut ::core::ffi::c_void; -pub type IHTMLSelectElement4 = *mut ::core::ffi::c_void; -pub type IHTMLSelectElement5 = *mut ::core::ffi::c_void; -pub type IHTMLSelectElement6 = *mut ::core::ffi::c_void; -pub type IHTMLSelectElementEx = *mut ::core::ffi::c_void; -pub type IHTMLSelection = *mut ::core::ffi::c_void; -pub type IHTMLSelectionObject = *mut ::core::ffi::c_void; -pub type IHTMLSelectionObject2 = *mut ::core::ffi::c_void; -pub type IHTMLSourceElement = *mut ::core::ffi::c_void; -pub type IHTMLSpanElement = *mut ::core::ffi::c_void; -pub type IHTMLSpanFlow = *mut ::core::ffi::c_void; -pub type IHTMLStorage = *mut ::core::ffi::c_void; -pub type IHTMLStorage2 = *mut ::core::ffi::c_void; -pub type IHTMLStyle = *mut ::core::ffi::c_void; -pub type IHTMLStyle2 = *mut ::core::ffi::c_void; -pub type IHTMLStyle3 = *mut ::core::ffi::c_void; -pub type IHTMLStyle4 = *mut ::core::ffi::c_void; -pub type IHTMLStyle5 = *mut ::core::ffi::c_void; -pub type IHTMLStyle6 = *mut ::core::ffi::c_void; -pub type IHTMLStyleElement = *mut ::core::ffi::c_void; -pub type IHTMLStyleElement2 = *mut ::core::ffi::c_void; -pub type IHTMLStyleEnabled = *mut ::core::ffi::c_void; -pub type IHTMLStyleFontFace = *mut ::core::ffi::c_void; -pub type IHTMLStyleFontFace2 = *mut ::core::ffi::c_void; -pub type IHTMLStyleMedia = *mut ::core::ffi::c_void; -pub type IHTMLStyleSheet = *mut ::core::ffi::c_void; -pub type IHTMLStyleSheet2 = *mut ::core::ffi::c_void; -pub type IHTMLStyleSheet3 = *mut ::core::ffi::c_void; -pub type IHTMLStyleSheet4 = *mut ::core::ffi::c_void; -pub type IHTMLStyleSheetPage = *mut ::core::ffi::c_void; -pub type IHTMLStyleSheetPage2 = *mut ::core::ffi::c_void; -pub type IHTMLStyleSheetPagesCollection = *mut ::core::ffi::c_void; -pub type IHTMLStyleSheetRule = *mut ::core::ffi::c_void; -pub type IHTMLStyleSheetRule2 = *mut ::core::ffi::c_void; -pub type IHTMLStyleSheetRuleApplied = *mut ::core::ffi::c_void; -pub type IHTMLStyleSheetRulesAppliedCollection = *mut ::core::ffi::c_void; -pub type IHTMLStyleSheetRulesCollection = *mut ::core::ffi::c_void; -pub type IHTMLStyleSheetRulesCollection2 = *mut ::core::ffi::c_void; -pub type IHTMLStyleSheetsCollection = *mut ::core::ffi::c_void; -pub type IHTMLStyleSheetsCollection2 = *mut ::core::ffi::c_void; -pub type IHTMLSubmitData = *mut ::core::ffi::c_void; -pub type IHTMLTable = *mut ::core::ffi::c_void; -pub type IHTMLTable2 = *mut ::core::ffi::c_void; -pub type IHTMLTable3 = *mut ::core::ffi::c_void; -pub type IHTMLTable4 = *mut ::core::ffi::c_void; -pub type IHTMLTableCaption = *mut ::core::ffi::c_void; -pub type IHTMLTableCell = *mut ::core::ffi::c_void; -pub type IHTMLTableCell2 = *mut ::core::ffi::c_void; -pub type IHTMLTableCell3 = *mut ::core::ffi::c_void; -pub type IHTMLTableCol = *mut ::core::ffi::c_void; -pub type IHTMLTableCol2 = *mut ::core::ffi::c_void; -pub type IHTMLTableCol3 = *mut ::core::ffi::c_void; -pub type IHTMLTableRow = *mut ::core::ffi::c_void; -pub type IHTMLTableRow2 = *mut ::core::ffi::c_void; -pub type IHTMLTableRow3 = *mut ::core::ffi::c_void; -pub type IHTMLTableRow4 = *mut ::core::ffi::c_void; -pub type IHTMLTableRowMetrics = *mut ::core::ffi::c_void; -pub type IHTMLTableSection = *mut ::core::ffi::c_void; -pub type IHTMLTableSection2 = *mut ::core::ffi::c_void; -pub type IHTMLTableSection3 = *mut ::core::ffi::c_void; -pub type IHTMLTableSection4 = *mut ::core::ffi::c_void; -pub type IHTMLTextAreaElement = *mut ::core::ffi::c_void; -pub type IHTMLTextAreaElement2 = *mut ::core::ffi::c_void; -pub type IHTMLTextContainer = *mut ::core::ffi::c_void; -pub type IHTMLTextElement = *mut ::core::ffi::c_void; -pub type IHTMLTextRangeMetrics = *mut ::core::ffi::c_void; -pub type IHTMLTextRangeMetrics2 = *mut ::core::ffi::c_void; -pub type IHTMLTimeRanges = *mut ::core::ffi::c_void; -pub type IHTMLTimeRanges2 = *mut ::core::ffi::c_void; -pub type IHTMLTitleElement = *mut ::core::ffi::c_void; -pub type IHTMLTxtRange = *mut ::core::ffi::c_void; -pub type IHTMLTxtRangeCollection = *mut ::core::ffi::c_void; -pub type IHTMLUListElement = *mut ::core::ffi::c_void; -pub type IHTMLUniqueName = *mut ::core::ffi::c_void; -pub type IHTMLUnknownElement = *mut ::core::ffi::c_void; -pub type IHTMLUrnCollection = *mut ::core::ffi::c_void; -pub type IHTMLUserDataOM = *mut ::core::ffi::c_void; -pub type IHTMLVideoElement = *mut ::core::ffi::c_void; -pub type IHTMLWindow2 = *mut ::core::ffi::c_void; -pub type IHTMLWindow3 = *mut ::core::ffi::c_void; -pub type IHTMLWindow4 = *mut ::core::ffi::c_void; -pub type IHTMLWindow5 = *mut ::core::ffi::c_void; -pub type IHTMLWindow6 = *mut ::core::ffi::c_void; -pub type IHTMLWindow7 = *mut ::core::ffi::c_void; -pub type IHTMLWindow8 = *mut ::core::ffi::c_void; -pub type IHTMLXDomainRequest = *mut ::core::ffi::c_void; -pub type IHTMLXDomainRequestFactory = *mut ::core::ffi::c_void; -pub type IHTMLXMLHttpRequest = *mut ::core::ffi::c_void; -pub type IHTMLXMLHttpRequest2 = *mut ::core::ffi::c_void; -pub type IHTMLXMLHttpRequestFactory = *mut ::core::ffi::c_void; -pub type IHeaderFooter = *mut ::core::ffi::c_void; -pub type IHeaderFooter2 = *mut ::core::ffi::c_void; -pub type IHighlightRenderingServices = *mut ::core::ffi::c_void; -pub type IHighlightSegment = *mut ::core::ffi::c_void; -pub type IHomePage = *mut ::core::ffi::c_void; -pub type IHomePageSetting = *mut ::core::ffi::c_void; -pub type IHostBehaviorInit = *mut ::core::ffi::c_void; -pub type IHostDialogHelper = *mut ::core::ffi::c_void; -pub type IHtmlDlgSafeHelper = *mut ::core::ffi::c_void; -pub type IICCSVGColor = *mut ::core::ffi::c_void; -pub type IIE70DispatchEx = *mut ::core::ffi::c_void; -pub type IIE80DispatchEx = *mut ::core::ffi::c_void; -pub type IIEWebDriverManager = *mut ::core::ffi::c_void; -pub type IIEWebDriverSite = *mut ::core::ffi::c_void; -pub type IIMEServices = *mut ::core::ffi::c_void; -pub type IImageDecodeEventSink = *mut ::core::ffi::c_void; -pub type IImageDecodeEventSink2 = *mut ::core::ffi::c_void; -pub type IImageDecodeFilter = *mut ::core::ffi::c_void; -pub type IIntelliForms = *mut ::core::ffi::c_void; -pub type IInternetExplorerManager = *mut ::core::ffi::c_void; -pub type IInternetExplorerManager2 = *mut ::core::ffi::c_void; -pub type ILayoutRect = *mut ::core::ffi::c_void; -pub type ILineInfo = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IMGDECODE_EVENT_BEGINBITS: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IMGDECODE_EVENT_BITSCOMPLETE: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IMGDECODE_EVENT_PALETTE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IMGDECODE_EVENT_PROGRESS: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IMGDECODE_EVENT_USEDDRAW: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IMGDECODE_HINT_BOTTOMUP: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IMGDECODE_HINT_FULLWIDTH: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IMGDECODE_HINT_TOPDOWN: u32 = 1u32; -pub type IMapMIMEToCLSID = *mut ::core::ffi::c_void; -pub type IMarkupContainer = *mut ::core::ffi::c_void; -pub type IMarkupContainer2 = *mut ::core::ffi::c_void; -pub type IMarkupPointer = *mut ::core::ffi::c_void; -pub type IMarkupPointer2 = *mut ::core::ffi::c_void; -pub type IMarkupServices = *mut ::core::ffi::c_void; -pub type IMarkupServices2 = *mut ::core::ffi::c_void; -pub type IMarkupTextFrags = *mut ::core::ffi::c_void; -pub type IMediaActivityNotifySite = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type INTERNETEXPLORERCONFIGURATION = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const INTERNETEXPLORERCONFIGURATION_HOST: INTERNETEXPLORERCONFIGURATION = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const INTERNETEXPLORERCONFIGURATION_WEB_DRIVER: INTERNETEXPLORERCONFIGURATION = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const INTERNETEXPLORERCONFIGURATION_WEB_DRIVER_EDGE: INTERNETEXPLORERCONFIGURATION = 4i32; -pub type INavigatorDoNotTrack = *mut ::core::ffi::c_void; -pub type INavigatorGeolocation = *mut ::core::ffi::c_void; -pub type IOmHistory = *mut ::core::ffi::c_void; -pub type IOmNavigator = *mut ::core::ffi::c_void; -pub type IOpenService = *mut ::core::ffi::c_void; -pub type IOpenServiceActivity = *mut ::core::ffi::c_void; -pub type IOpenServiceActivityCategory = *mut ::core::ffi::c_void; -pub type IOpenServiceActivityInput = *mut ::core::ffi::c_void; -pub type IOpenServiceActivityManager = *mut ::core::ffi::c_void; -pub type IOpenServiceActivityOutputContext = *mut ::core::ffi::c_void; -pub type IOpenServiceManager = *mut ::core::ffi::c_void; -pub type IPeerFactory = *mut ::core::ffi::c_void; -pub type IPersistHistory = *mut ::core::ffi::c_void; -pub type IPrintManagerTemplatePrinter = *mut ::core::ffi::c_void; -pub type IPrintManagerTemplatePrinter2 = *mut ::core::ffi::c_void; -pub type IPrintTaskRequestFactory = *mut ::core::ffi::c_void; -pub type IPrintTaskRequestHandler = *mut ::core::ffi::c_void; -pub type IRangeException = *mut ::core::ffi::c_void; -pub type IRulesApplied = *mut ::core::ffi::c_void; -pub type IRulesAppliedCollection = *mut ::core::ffi::c_void; -pub type ISVGAElement = *mut ::core::ffi::c_void; -pub type ISVGAngle = *mut ::core::ffi::c_void; -pub type ISVGAnimatedAngle = *mut ::core::ffi::c_void; -pub type ISVGAnimatedBoolean = *mut ::core::ffi::c_void; -pub type ISVGAnimatedEnumeration = *mut ::core::ffi::c_void; -pub type ISVGAnimatedInteger = *mut ::core::ffi::c_void; -pub type ISVGAnimatedLength = *mut ::core::ffi::c_void; -pub type ISVGAnimatedLengthList = *mut ::core::ffi::c_void; -pub type ISVGAnimatedNumber = *mut ::core::ffi::c_void; -pub type ISVGAnimatedNumberList = *mut ::core::ffi::c_void; -pub type ISVGAnimatedPathData = *mut ::core::ffi::c_void; -pub type ISVGAnimatedPoints = *mut ::core::ffi::c_void; -pub type ISVGAnimatedPreserveAspectRatio = *mut ::core::ffi::c_void; -pub type ISVGAnimatedRect = *mut ::core::ffi::c_void; -pub type ISVGAnimatedString = *mut ::core::ffi::c_void; -pub type ISVGAnimatedTransformList = *mut ::core::ffi::c_void; -pub type ISVGCircleElement = *mut ::core::ffi::c_void; -pub type ISVGClipPathElement = *mut ::core::ffi::c_void; -pub type ISVGDefsElement = *mut ::core::ffi::c_void; -pub type ISVGDescElement = *mut ::core::ffi::c_void; -pub type ISVGDocument = *mut ::core::ffi::c_void; -pub type ISVGElement = *mut ::core::ffi::c_void; -pub type ISVGElementInstance = *mut ::core::ffi::c_void; -pub type ISVGElementInstanceList = *mut ::core::ffi::c_void; -pub type ISVGEllipseElement = *mut ::core::ffi::c_void; -pub type ISVGException = *mut ::core::ffi::c_void; -pub type ISVGExternalResourcesRequired = *mut ::core::ffi::c_void; -pub type ISVGFitToViewBox = *mut ::core::ffi::c_void; -pub type ISVGGElement = *mut ::core::ffi::c_void; -pub type ISVGGradientElement = *mut ::core::ffi::c_void; -pub type ISVGImageElement = *mut ::core::ffi::c_void; -pub type ISVGLangSpace = *mut ::core::ffi::c_void; -pub type ISVGLength = *mut ::core::ffi::c_void; -pub type ISVGLengthList = *mut ::core::ffi::c_void; -pub type ISVGLineElement = *mut ::core::ffi::c_void; -pub type ISVGLinearGradientElement = *mut ::core::ffi::c_void; -pub type ISVGLocatable = *mut ::core::ffi::c_void; -pub type ISVGMarkerElement = *mut ::core::ffi::c_void; -pub type ISVGMaskElement = *mut ::core::ffi::c_void; -pub type ISVGMatrix = *mut ::core::ffi::c_void; -pub type ISVGMetadataElement = *mut ::core::ffi::c_void; -pub type ISVGNumber = *mut ::core::ffi::c_void; -pub type ISVGNumberList = *mut ::core::ffi::c_void; -pub type ISVGPaint = *mut ::core::ffi::c_void; -pub type ISVGPathElement = *mut ::core::ffi::c_void; -pub type ISVGPathSeg = *mut ::core::ffi::c_void; -pub type ISVGPathSegArcAbs = *mut ::core::ffi::c_void; -pub type ISVGPathSegArcRel = *mut ::core::ffi::c_void; -pub type ISVGPathSegClosePath = *mut ::core::ffi::c_void; -pub type ISVGPathSegCurvetoCubicAbs = *mut ::core::ffi::c_void; -pub type ISVGPathSegCurvetoCubicRel = *mut ::core::ffi::c_void; -pub type ISVGPathSegCurvetoCubicSmoothAbs = *mut ::core::ffi::c_void; -pub type ISVGPathSegCurvetoCubicSmoothRel = *mut ::core::ffi::c_void; -pub type ISVGPathSegCurvetoQuadraticAbs = *mut ::core::ffi::c_void; -pub type ISVGPathSegCurvetoQuadraticRel = *mut ::core::ffi::c_void; -pub type ISVGPathSegCurvetoQuadraticSmoothAbs = *mut ::core::ffi::c_void; -pub type ISVGPathSegCurvetoQuadraticSmoothRel = *mut ::core::ffi::c_void; -pub type ISVGPathSegLinetoAbs = *mut ::core::ffi::c_void; -pub type ISVGPathSegLinetoHorizontalAbs = *mut ::core::ffi::c_void; -pub type ISVGPathSegLinetoHorizontalRel = *mut ::core::ffi::c_void; -pub type ISVGPathSegLinetoRel = *mut ::core::ffi::c_void; -pub type ISVGPathSegLinetoVerticalAbs = *mut ::core::ffi::c_void; -pub type ISVGPathSegLinetoVerticalRel = *mut ::core::ffi::c_void; -pub type ISVGPathSegList = *mut ::core::ffi::c_void; -pub type ISVGPathSegMovetoAbs = *mut ::core::ffi::c_void; -pub type ISVGPathSegMovetoRel = *mut ::core::ffi::c_void; -pub type ISVGPatternElement = *mut ::core::ffi::c_void; -pub type ISVGPoint = *mut ::core::ffi::c_void; -pub type ISVGPointList = *mut ::core::ffi::c_void; -pub type ISVGPolygonElement = *mut ::core::ffi::c_void; -pub type ISVGPolylineElement = *mut ::core::ffi::c_void; -pub type ISVGPreserveAspectRatio = *mut ::core::ffi::c_void; -pub type ISVGRadialGradientElement = *mut ::core::ffi::c_void; -pub type ISVGRect = *mut ::core::ffi::c_void; -pub type ISVGRectElement = *mut ::core::ffi::c_void; -pub type ISVGSVGElement = *mut ::core::ffi::c_void; -pub type ISVGScriptElement = *mut ::core::ffi::c_void; -pub type ISVGStopElement = *mut ::core::ffi::c_void; -pub type ISVGStringList = *mut ::core::ffi::c_void; -pub type ISVGStylable = *mut ::core::ffi::c_void; -pub type ISVGStyleElement = *mut ::core::ffi::c_void; -pub type ISVGSwitchElement = *mut ::core::ffi::c_void; -pub type ISVGSymbolElement = *mut ::core::ffi::c_void; -pub type ISVGTSpanElement = *mut ::core::ffi::c_void; -pub type ISVGTests = *mut ::core::ffi::c_void; -pub type ISVGTextContentElement = *mut ::core::ffi::c_void; -pub type ISVGTextElement = *mut ::core::ffi::c_void; -pub type ISVGTextPathElement = *mut ::core::ffi::c_void; -pub type ISVGTextPositioningElement = *mut ::core::ffi::c_void; -pub type ISVGTitleElement = *mut ::core::ffi::c_void; -pub type ISVGTransform = *mut ::core::ffi::c_void; -pub type ISVGTransformList = *mut ::core::ffi::c_void; -pub type ISVGTransformable = *mut ::core::ffi::c_void; -pub type ISVGURIReference = *mut ::core::ffi::c_void; -pub type ISVGUseElement = *mut ::core::ffi::c_void; -pub type ISVGViewElement = *mut ::core::ffi::c_void; -pub type ISVGViewSpec = *mut ::core::ffi::c_void; -pub type ISVGZoomAndPan = *mut ::core::ffi::c_void; -pub type ISVGZoomEvent = *mut ::core::ffi::c_void; -pub type IScriptEventHandler = *mut ::core::ffi::c_void; -pub type IScriptEventHandlerSourceInfo = *mut ::core::ffi::c_void; -pub type IScrollableContextMenu = *mut ::core::ffi::c_void; -pub type IScrollableContextMenu2 = *mut ::core::ffi::c_void; -pub type ISecureUrlHost = *mut ::core::ffi::c_void; -pub type ISegment = *mut ::core::ffi::c_void; -pub type ISegmentList = *mut ::core::ffi::c_void; -pub type ISegmentListIterator = *mut ::core::ffi::c_void; -pub type ISelectionServices = *mut ::core::ffi::c_void; -pub type ISelectionServicesListener = *mut ::core::ffi::c_void; -pub type ISequenceNumber = *mut ::core::ffi::c_void; -pub type ISniffStream = *mut ::core::ffi::c_void; -pub type ISurfacePresenter = *mut ::core::ffi::c_void; -pub type ISurfacePresenterFlip = *mut ::core::ffi::c_void; -pub type ISurfacePresenterFlip2 = *mut ::core::ffi::c_void; -pub type ISurfacePresenterFlipBuffer = *mut ::core::ffi::c_void; -pub type ITargetContainer = *mut ::core::ffi::c_void; -pub type ITargetEmbedding = *mut ::core::ffi::c_void; -pub type ITargetFrame = *mut ::core::ffi::c_void; -pub type ITargetFrame2 = *mut ::core::ffi::c_void; -pub type ITargetFramePriv = *mut ::core::ffi::c_void; -pub type ITargetFramePriv2 = *mut ::core::ffi::c_void; -pub type ITargetNotify = *mut ::core::ffi::c_void; -pub type ITargetNotify2 = *mut ::core::ffi::c_void; -pub type ITemplatePrinter = *mut ::core::ffi::c_void; -pub type ITemplatePrinter2 = *mut ::core::ffi::c_void; -pub type ITemplatePrinter3 = *mut ::core::ffi::c_void; -pub type ITimer = *mut ::core::ffi::c_void; -pub type ITimerEx = *mut ::core::ffi::c_void; -pub type ITimerService = *mut ::core::ffi::c_void; -pub type ITimerSink = *mut ::core::ffi::c_void; -pub type ITrackingProtection = *mut ::core::ffi::c_void; -pub type ITridentTouchInput = *mut ::core::ffi::c_void; -pub type ITridentTouchInputSite = *mut ::core::ffi::c_void; -pub type IUrlHistoryNotify = *mut ::core::ffi::c_void; -pub type IUrlHistoryStg = *mut ::core::ffi::c_void; -pub type IUrlHistoryStg2 = *mut ::core::ffi::c_void; -pub type IViewObjectPresentFlip = *mut ::core::ffi::c_void; -pub type IViewObjectPresentFlip2 = *mut ::core::ffi::c_void; -pub type IViewObjectPresentFlipSite = *mut ::core::ffi::c_void; -pub type IViewObjectPresentFlipSite2 = *mut ::core::ffi::c_void; -pub type IViewObjectPresentNotify = *mut ::core::ffi::c_void; -pub type IViewObjectPresentNotifySite = *mut ::core::ffi::c_void; -pub type IViewObjectPresentSite = *mut ::core::ffi::c_void; -pub type IViewObjectPrint = *mut ::core::ffi::c_void; -pub type IWBScriptControl = *mut ::core::ffi::c_void; -pub type IWPCBlockedUrls = *mut ::core::ffi::c_void; -pub type IWebBridge = *mut ::core::ffi::c_void; -pub type IWebBrowserEventsService = *mut ::core::ffi::c_void; -pub type IWebBrowserEventsUrlService = *mut ::core::ffi::c_void; -pub type IWebGeocoordinates = *mut ::core::ffi::c_void; -pub type IWebGeolocation = *mut ::core::ffi::c_void; -pub type IWebGeoposition = *mut ::core::ffi::c_void; -pub type IWebGeopositionError = *mut ::core::ffi::c_void; -pub type IXMLGenericParse = *mut ::core::ffi::c_void; -pub type IXMLHttpRequestEventTarget = *mut ::core::ffi::c_void; -pub const IntelliForms: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1631238446, data2: 5823, data3: 4562, data4: [188, 165, 0, 192, 79, 217, 41, 219] }; -pub const InternetExplorerManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3746548788, data2: 1658, data3: 19978, data4: [131, 82, 74, 26, 80, 149, 52, 110] }; -pub type Iwfolders = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type LINE_DIRECTION = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const LINE_DIRECTION_RightToLeft: LINE_DIRECTION = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const LINE_DIRECTION_LeftToRight: LINE_DIRECTION = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const LINE_DIRECTION_Max: LINE_DIRECTION = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const LINKSBAND: u32 = 4u32; -#[repr(C)] -pub struct LayoutRectEvents(pub u8); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MAPMIME_CLSID: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MAPMIME_DEFAULT: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MAPMIME_DEFAULT_ALWAYS: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MAPMIME_DISABLE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type MARKUP_CONTEXT_TYPE = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_TYPE_None: MARKUP_CONTEXT_TYPE = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_TYPE_Text: MARKUP_CONTEXT_TYPE = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_TYPE_EnterScope: MARKUP_CONTEXT_TYPE = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_TYPE_ExitScope: MARKUP_CONTEXT_TYPE = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_TYPE_NoScope: MARKUP_CONTEXT_TYPE = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MARKUP_CONTEXT_TYPE_Max: MARKUP_CONTEXT_TYPE = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MAX_SEARCH_FORMAT_STRING: u32 = 255u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MENUEXT_SHOWDIALOG: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type MOVEUNIT_ACTION = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVCHAR: MOVEUNIT_ACTION = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTCHAR: MOVEUNIT_ACTION = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVCLUSTERBEGIN: MOVEUNIT_ACTION = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTCLUSTERBEGIN: MOVEUNIT_ACTION = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVCLUSTEREND: MOVEUNIT_ACTION = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTCLUSTEREND: MOVEUNIT_ACTION = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVWORDBEGIN: MOVEUNIT_ACTION = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTWORDBEGIN: MOVEUNIT_ACTION = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVWORDEND: MOVEUNIT_ACTION = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTWORDEND: MOVEUNIT_ACTION = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVPROOFWORD: MOVEUNIT_ACTION = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTPROOFWORD: MOVEUNIT_ACTION = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTURLBEGIN: MOVEUNIT_ACTION = 12i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVURLBEGIN: MOVEUNIT_ACTION = 13i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTURLEND: MOVEUNIT_ACTION = 14i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVURLEND: MOVEUNIT_ACTION = 15i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVSENTENCE: MOVEUNIT_ACTION = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTSENTENCE: MOVEUNIT_ACTION = 17i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVBLOCK: MOVEUNIT_ACTION = 18i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTBLOCK: MOVEUNIT_ACTION = 19i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_ACTION_Max: MOVEUNIT_ACTION = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type MediaActivityNotifyType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MediaPlayback: MediaActivityNotifyType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MediaRecording: MediaActivityNotifyType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MediaCasting: MediaActivityNotifyType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type NAVIGATEFRAME_FLAGS = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const NAVIGATEFRAME_FL_RECORD: NAVIGATEFRAME_FLAGS = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const NAVIGATEFRAME_FL_POST: NAVIGATEFRAME_FLAGS = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const NAVIGATEFRAME_FL_NO_DOC_CACHE: NAVIGATEFRAME_FLAGS = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const NAVIGATEFRAME_FL_NO_IMAGE_CACHE: NAVIGATEFRAME_FLAGS = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const NAVIGATEFRAME_FL_AUTH_FAIL_CACHE_OK: NAVIGATEFRAME_FLAGS = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const NAVIGATEFRAME_FL_SENDING_FROM_FORM: NAVIGATEFRAME_FLAGS = 32i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const NAVIGATEFRAME_FL_REALLY_SENDING_FROM_FORM: NAVIGATEFRAME_FLAGS = 64i32; -pub const NodeIterator: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616645, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const OldHTMLDocument: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3565842121, data2: 27210, data3: 4559, data4: [148, 167, 68, 69, 83, 84, 0, 0] }; -pub const OldHTMLFormElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 218419845, data2: 27628, data3: 4559, data4: [139, 151, 0, 170, 0, 71, 109, 166] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type OpenServiceActivityContentType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ActivityContentNone: OpenServiceActivityContentType = -1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ActivityContentDocument: OpenServiceActivityContentType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ActivityContentSelection: OpenServiceActivityContentType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ActivityContentLink: OpenServiceActivityContentType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ActivityContentCount: OpenServiceActivityContentType = 3i32; -pub const OpenServiceActivityManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3320829955, data2: 20728, data3: 17357, data4: [154, 184, 170, 252, 19, 148, 201, 224] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type OpenServiceErrors = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const OS_E_NOTFOUND: OpenServiceErrors = -2147287038i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const OS_E_NOTSUPPORTED: OpenServiceErrors = -2147467231i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const OS_E_CANCELLED: OpenServiceErrors = -2147471631i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const OS_E_GPDISABLED: OpenServiceErrors = -1072886820i32; -pub const OpenServiceManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 159936694, data2: 14826, data3: 18443, data4: [184, 181, 221, 1, 103, 196, 219, 89] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type PARSE_FLAGS = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PARSE_ABSOLUTIFYIE40URLS: PARSE_FLAGS = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PARSE_DISABLEVML: PARSE_FLAGS = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PARSE_FLAGS_Max: PARSE_FLAGS = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type POINTER_GRAVITY = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const POINTER_GRAVITY_Left: POINTER_GRAVITY = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const POINTER_GRAVITY_Right: POINTER_GRAVITY = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const POINTER_GRAVITY_Max: POINTER_GRAVITY = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PRINT_DONTBOTHERUSER: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PRINT_WAITFORCOMPLETION: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PRIVACY_URLHASCOMPACTPOLICY: u32 = 131072u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PRIVACY_URLHASP3PHEADER: u32 = 4194304u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PRIVACY_URLHASPOLICYREFHEADER: u32 = 2097152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PRIVACY_URLHASPOLICYREFLINK: u32 = 1048576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PRIVACY_URLHASPOSTDATA: u32 = 524288u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PRIVACY_URLISTOPLEVEL: u32 = 65536u32; -pub const PeerFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611919, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTRA_VAL_STARTPAGE: &str = "Start Page"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_PATH_CURRENT: &str = "current"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_PATH_DEFAULT: &str = "default"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_PATH_INETCPL_RESTRICTIONS: &str = "Software\\Policies\\Microsoft\\Internet Explorer\\Control Panel"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_PATH_MIME_DATABASE: &str = "MIME\\Database"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_PATH_REMOTEACCESS: &str = "RemoteAccess"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_PATH_REMOTEACESS: &str = "RemoteAccess"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_SHIFTQUICKSUFFIX: &str = "ShiftQuickCompleteSuffix"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ACCEPT_LANGUAGE: &str = "AcceptLanguage"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ACCESSMEDIUM: &str = "AccessMedium"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ACCESSTYPE: &str = "AccessType"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ALIASTO: &str = "AliasForCharset"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ANCHORCOLOR: &str = "Anchor Color"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ANCHORCOLORHOVER: &str = "Anchor Color Hover"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ANCHORCOLORVISITED: &str = "Anchor Color Visited"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ANCHORUNDERLINE: &str = "Anchor Underline"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_AUTODETECT: &str = "AutoDetect"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_AUTODIALDLLNAME: &str = "AutodialDllName"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_AUTODIALFCNNAME: &str = "AutodialFcnName"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_AUTODIAL_MONITORCLASSNAME: &str = "MS_AutodialMonitor"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_AUTODIAL_TRYONLYONCE: &str = "TryAutodialOnce"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_AUTONAVIGATE: &str = "SearchForExtensions"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_AUTOSEARCH: &str = "Do404Search"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_BACKBITMAP: &str = "BackBitmap"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_BACKGROUNDCOLOR: &str = "Background Color"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_BODYCHARSET: &str = "BodyCharset"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_BYPASSAUTOCONFIG: &str = "BypassAutoconfig"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_CACHEPREFIX: &str = "CachePrefix"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_CHECKASSOC: &str = "Check_Associations"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_CODEDOWNLOAD: &str = "Code Download"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_CODEDOWNLOAD_DEF: &str = "yes"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_CODEPAGE: &str = "CodePage"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_COVEREXCLUDE: &str = "CoverExclude"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_DAYSTOKEEP: &str = "DaysToKeep"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_DEFAULT_CODEPAGE: &str = "Default_CodePage"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_DEFAULT_SCRIPT: &str = "Default_Script"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_DEF_ENCODING: &str = "Default_Encoding"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_DEF_INETENCODING: &str = "Default_InternetEncoding"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_DESCRIPTION: &str = "Description"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_DIRECTORY: &str = "Directory"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_DISCONNECTIDLETIME: &str = "DisconnectIdleTime"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ENABLEAUTODIAL: &str = "EnableAutodial"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ENABLEAUTODIALDISCONNECT: &str = "EnableAutodisconnect"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ENABLEAUTODISCONNECT: &str = "EnableAutodisconnect"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ENABLEEXITDISCONNECT: &str = "EnableExitDisconnect"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ENABLESECURITYCHECK: &str = "EnableSecurityCheck"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ENABLEUNATTENDED: &str = "EnableUnattended"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ENCODENAME: &str = "EncodingName"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_FAMILY: &str = "Family"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_FIXEDWIDTHFONT: &str = "FixedWidthFont"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_FIXED_FONT: &str = "IEFixedFontName"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_FONT_SCRIPT: &str = "Script"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_FONT_SCRIPTS: &str = "Scripts"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_FONT_SCRIPT_NAME: &str = "Script"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_FONT_SIZE: &str = "IEFontSize"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_FONT_SIZE_DEF: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_HEADERCHARSET: &str = "HeaderCharset"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_HTTP_ERRORS: &str = "Friendly http errors"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_IE_CUSTOMCOLORS: &str = "Custom Colors"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETCPL_ADVANCEDTAB: &str = "AdvancedTab"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETCPL_CONNECTIONSTAB: &str = "ConnectionsTab"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETCPL_CONTENTTAB: &str = "ContentTab"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETCPL_GENERALTAB: &str = "GeneralTab"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETCPL_IEAK: &str = "IEAKContext"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETCPL_PRIVACYTAB: &str = "PrivacyTab"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETCPL_PROGRAMSTAB: &str = "ProgramsTab"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETCPL_SECURITYTAB: &str = "SecurityTab"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETENCODING: &str = "InternetEncoding"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INTERNETENTRY: &str = "InternetProfile"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INTERNETENTRYBKUP: &str = "BackupInternetProfile"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INTERNETPROFILE: &str = "InternetProfile"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_JAVAJIT: &str = "EnableJIT"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_JAVAJIT_DEF: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_JAVALOGGING: &str = "EnableLogging"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_JAVALOGGING_DEF: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_LEVEL: &str = "Level"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_LOADIMAGES: &str = "Display Inline Images"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_LOCALPAGE: &str = "Local Page"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_MOSDISCONNECT: &str = "DisconnectTimeout"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_NEWDIRECTORY: &str = "NewDirectory"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_NONETAUTODIAL: &str = "NoNetAutodial"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_PLAYSOUNDS: &str = "Play_Background_Sounds"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_PLAYVIDEOS: &str = "Display Inline Videos"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_PRIVCONVERTER: &str = "PrivConverter"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_PROPORTIONALFONT: &str = "ProportionalFont"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_PROP_FONT: &str = "IEPropFontName"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_PROXYENABLE: &str = "ProxyEnable"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_PROXYOVERRIDE: &str = "ProxyOverride"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_PROXYSERVER: &str = "ProxyServer"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_REDIALATTEMPTS: &str = "RedialAttempts"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_REDIALINTERVAL: &str = "RedialWait"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_RNAINSTALLED: &str = "Installed"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SAFETYWARNINGLEVEL: &str = "Safety Warning Level"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SCHANNELENABLEPROTOCOL: &str = "Enabled"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SCHANNELENABLEPROTOCOL_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SCRIPT_FIXED_FONT: &str = "IEFixedFontName"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SCRIPT_PROP_FONT: &str = "IEPropFontName"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SEARCHPAGE: &str = "Search Page"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYACTICEXSCRIPTS: &str = "Security_RunScripts"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYACTICEXSCRIPTS_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYACTIVEX: &str = "Security_RunActiveXControls"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYACTIVEX_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYALLOWCOOKIES: &str = "AllowCookies"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYALLOWCOOKIES_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYDISABLECACHINGOFSSLPAGES: &str = "DisableCachingOfSSLPages"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYDISABLECACHINGOFSSLPAGES_DEF: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYJAVA: &str = "Security_RunJavaApplets"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYJAVA_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONBADCERTSENDING: &str = "WarnOnBadCertSending"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONBADCERTSENDING_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONBADCERTVIEWING: &str = "WarnOnBadCertRecving"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONBADCERTVIEWING_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONSEND: &str = "WarnOnPost"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONSENDALWAYS: &str = "WarnAlwaysOnPost"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONSENDALWAYS_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONSEND_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONVIEW: &str = "WarnOnView"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONVIEW_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONZONECROSSING: &str = "WarnOnZoneCrossing"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONZONECROSSING_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SHOWADDRESSBAR: &str = "Show_URLToolBar"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SHOWFOCUS: &str = "Tabstop - MouseDown"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SHOWFOCUS_DEF: &str = "no"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SHOWFULLURLS: &str = "Show_FullURL"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SHOWTOOLBAR: &str = "Show_ToolBar"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SMOOTHSCROLL: &str = "SmoothScroll"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SMOOTHSCROLL_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_STARTPAGE: &str = "Start Page"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_TEXTCOLOR: &str = "Text Color"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_TRUSTWARNINGLEVEL_HIGH: &str = "High"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_TRUSTWARNINGLEVEL_LOW: &str = "No Security"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_TRUSTWARNINGLEVEL_MED: &str = "Medium"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USEAUTOAPPEND: &str = "Append Completion"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USEAUTOCOMPLETE: &str = "Use AutoComplete"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USEAUTOSUGGEST: &str = "AutoSuggest"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USEDLGCOLORS: &str = "Use_DlgBox_Colors"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USEHOVERCOLOR: &str = "Use Anchor Hover Color"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USEIBAR: &str = "UseBar"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USEICM: &str = "UseICM"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USEICM_DEF: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USERAGENT: &str = "User Agent"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USESTYLESHEETS: &str = "Use Stylesheets"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USESTYLESHEETS_DEF: &str = "yes"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_VISIBLEBANDS: &str = "VisibleBands"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_VISIBLEBANDS_DEF: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_WEBCHARSET: &str = "WebCharset"; -pub const RangeException: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616622, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const RulesApplied: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2088778016, data2: 31315, data3: 19750, data4: [152, 172, 253, 210, 62, 107, 158, 1] }; -pub const RulesAppliedCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1729701614, data2: 50127, data3: 16559, data4: [190, 143, 28, 186, 238, 100, 134, 232] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type SAVE_SEGMENTS_FLAGS = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SAVE_SEGMENTS_NoIE4SelectionCompat: SAVE_SEGMENTS_FLAGS = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SAVE_SEGMENTS_FLAGS_Max: SAVE_SEGMENTS_FLAGS = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type SCRIPT_TIMER_TYPE = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STT_TIMEOUT: SCRIPT_TIMER_TYPE = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STT_INTERVAL: SCRIPT_TIMER_TYPE = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STT_IMMEDIATE: SCRIPT_TIMER_TYPE = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STT_ANIMATION_FRAME: SCRIPT_TIMER_TYPE = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SCRIPT_TIMER_TYPE_Max: SCRIPT_TIMER_TYPE = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type SCROLLABLECONTEXTMENU_PLACEMENT = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SCMP_TOP: SCROLLABLECONTEXTMENU_PLACEMENT = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SCMP_BOTTOM: SCROLLABLECONTEXTMENU_PLACEMENT = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SCMP_LEFT: SCROLLABLECONTEXTMENU_PLACEMENT = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SCMP_RIGHT: SCROLLABLECONTEXTMENU_PLACEMENT = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SCMP_FULL: SCROLLABLECONTEXTMENU_PLACEMENT = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type SECUREURLHOSTVALIDATE_FLAGS = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SUHV_PROMPTBEFORENO: SECUREURLHOSTVALIDATE_FLAGS = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SUHV_SILENTYES: SECUREURLHOSTVALIDATE_FLAGS = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SUHV_UNSECURESOURCE: SECUREURLHOSTVALIDATE_FLAGS = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SECUREURLHOSTVALIDATE_FLAGS_Max: SECUREURLHOSTVALIDATE_FLAGS = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type SELECTION_TYPE = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SELECTION_TYPE_None: SELECTION_TYPE = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SELECTION_TYPE_Caret: SELECTION_TYPE = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SELECTION_TYPE_Text: SELECTION_TYPE = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SELECTION_TYPE_Control: SELECTION_TYPE = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SELECTION_TYPE_Max: SELECTION_TYPE = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub type SHOWHTMLDIALOGEXFN = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub type SHOWHTMLDIALOGFN = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub type SHOWMODELESSHTMLDIALOGFN = ::core::option::Option ::windows_sys::core::HRESULT>; -pub const SID_SEditCommandTarget: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810611893, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SID_SHTMLEditHost: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612384, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SID_SHTMLEditServices: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612729, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[repr(C)] -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub struct STATURL { - pub cbSize: u32, - pub pwcsUrl: ::windows_sys::core::PWSTR, - pub pwcsTitle: ::windows_sys::core::PWSTR, - pub ftLastVisited: super::super::Foundation::FILETIME, - pub ftLastUpdated: super::super::Foundation::FILETIME, - pub ftExpires: super::super::Foundation::FILETIME, - pub dwFlags: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for STATURL {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for STATURL { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STATURLFLAG_ISCACHED: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STATURLFLAG_ISTOPLEVEL: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STATURL_QUERYFLAG_ISCACHED: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STATURL_QUERYFLAG_NOTITLE: u32 = 262144u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STATURL_QUERYFLAG_NOURL: u32 = 131072u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STATURL_QUERYFLAG_TOPLEVEL: u32 = 524288u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_AFTERUPDATE: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_BEFOREUPDATE: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ERRORUPDATE: u32 = 65549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONBEFORECOPY: u32 = 65566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONBEFORECUT: u32 = 65565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONBEFOREPASTE: u32 = 65567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONCELLCHANGE: u32 = 65570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONCOPY: u32 = 65563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONCUT: u32 = 65562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDATAAVAILABLE: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDATASETCHANGED: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDATASETCOMPLETE: u32 = 65552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDRAG: u32 = 65556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDRAGEND: u32 = 65557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDRAGENTER: u32 = 65558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDRAGLEAVE: u32 = 65560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDRAGOVER: u32 = 65559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDRAGSTART: u32 = 65547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDROP: u32 = 65561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONFILTER: u32 = 65553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONFOCUS: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONHELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONLOSECAPTURE: u32 = 65554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONMOUSEOUT: u32 = 65545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONMOUSEOVER: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONPASTE: u32 = 65564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONPROPERTYCHANGE: u32 = 65555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONROWENTER: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONROWEXIT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONROWSDELETE: u32 = 65568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONROWSINSERTED: u32 = 65569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONSELECTSTART: u32 = 65548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_IE3XOBJ_OBJECTALIGN: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_ALIGNPERSIST: u32 = 65596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_APPLICATION: u32 = 65607u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_BASEHREF: u32 = 65538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_BLOCKALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_BOTTOM: u32 = 65614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_CANCEL: u32 = 65592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_CONTROLALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_CONTROLTIPTEXT: u32 = 65605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_COUNT: u32 = 65611u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_DATACHANGED: u32 = 65601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_DATAFIELD: u32 = 65602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_DATASOURCE: u32 = 65603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_DEFAULT: u32 = 65591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_DRAGICON: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_DRAGMODE: u32 = 65545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_GETSVGDOCUMENT: u32 = 65615u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_HELPCONTEXTID: u32 = 65586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_INDEX: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_LEFT: u32 = 65539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_LEFTNORUN: u32 = 65593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_LINKITEM: u32 = 65599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_LINKMODE: u32 = 65600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_LINKTIMEOUT: u32 = 65597u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_LINKTOPIC: u32 = 65598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_PARENT: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_RIGHT: u32 = 65613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_STATUSBARTEXT: u32 = 65606u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_STYLE: u32 = 65610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_TABINDEX: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_TABSTOP: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_TAG: u32 = 65547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_TOP: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_TOPNORUN: u32 = 65594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_VISIBLE: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_WHATSTHISHELPID: u32 = 65604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SURFACE_LOCK_ALLOW_DISCARD: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SURFACE_LOCK_EXCLUSIVE: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SURFACE_LOCK_WAIT: u32 = 4u32; -pub const SVGAElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616283, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGAngle: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616196, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGAnimatedAngle: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616292, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGAnimatedBoolean: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616203, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGAnimatedEnumeration: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616206, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGAnimatedInteger: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616207, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGAnimatedLength: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616193, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGAnimatedLengthList: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616194, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGAnimatedNumber: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616200, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGAnimatedNumberList: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616202, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGAnimatedPreserveAspectRatio: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616270, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGAnimatedRect: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616198, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGAnimatedString: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616204, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGAnimatedTransformList: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616241, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGCircleElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616184, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGClipPathElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616294, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGDefsElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616176, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGDescElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616178, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616164, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGElementInstance: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616181, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGElementInstanceList: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616182, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGEllipseElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616185, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGException: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616624, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGGElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616175, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGGradientElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616278, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGImageElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616271, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGLength: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616190, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGLengthList: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616192, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGLineElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616186, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGLinearGradientElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616274, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGMarkerElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616286, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGMaskElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616295, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGMatrix: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616238, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGMetadataElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616279, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGNumber: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616199, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGNumberList: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616201, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616242, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSeg: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616243, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegArcAbs: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616251, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegArcRel: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616252, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegClosePath: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616253, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegCurvetoCubicAbs: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616254, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegCurvetoCubicRel: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616255, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegCurvetoCubicSmoothAbs: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616256, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegCurvetoCubicSmoothRel: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616257, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegCurvetoQuadraticAbs: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616258, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegCurvetoQuadraticRel: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616259, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegCurvetoQuadraticSmoothAbs: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616260, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegCurvetoQuadraticSmoothRel: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616261, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegLinetoAbs: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616262, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegLinetoHorizontalAbs: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616263, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegLinetoHorizontalRel: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616264, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegLinetoRel: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616265, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegLinetoVerticalAbs: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616266, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegLinetoVerticalRel: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616267, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegList: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616244, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegMovetoAbs: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616268, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPathSegMovetoRel: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616269, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPatternElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616276, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPoint: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616250, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPointList: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616249, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPolygonElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616187, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPolylineElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616188, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGPreserveAspectRatio: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616272, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGRadialGradientElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616275, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGRect: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616195, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGRectElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616183, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGSVGElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616180, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGScriptElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616289, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGStopElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616277, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGStringList: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616205, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGStyleElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616273, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGSwitchElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616280, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGSymbolElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616177, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGTSpanElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616290, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGTextContentElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616285, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGTextElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616287, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGTextPathElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616299, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGTextPositioningElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616288, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGTitleElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616179, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGTransform: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616239, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGTransformList: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616240, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGUseElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616208, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGViewElement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616284, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const SVGZoomEvent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616281, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZBACKBITMAP: &str = "BackBitmap"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZJAVAVMPATH: &str = "\\Java VM"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZNOTEXT: &str = "NoText"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZTOOLBAR: &str = "\\Toolbar"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZTRUSTWARNLEVEL: &str = "Trust Warning Level"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZVISIBLE: &str = "VisibleBands"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_HTML_CLIENTSITE_OBJECTPARAM: &str = "{d4db6850-5385-11d0-89e9-00a0c90a90ac}"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_IE_DEFAULT_HTML_EDITOR: &str = "Default HTML Editor"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_IE_IBAR: &str = "Bar"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_IE_IBAR_BANDS: &str = "Bands"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_IE_MAIN: &str = "Main"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_IE_SEARCHSTRINGS: &str = "UrlTemplate"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_IE_SECURITY: &str = "Security"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_IE_SETTINGS: &str = "Settings"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_IE_THRESHOLDS: &str = "ErrorThresholds"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const S_SURFACE_DISCARDED: i32 = 49155i32; -pub const Scriptlet: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2921659822, data2: 966, data3: 4561, data4: [139, 118, 0, 128, 199, 68, 243, 137] }; -pub const StaticNodeList: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810615911, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TARGET_NOTIFY_OBJECT_NAME: &str = "863a99a0-21bc-11d0-82b4-00a0c90c29c5"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TF_NAVIGATE: u32 = 2142153644u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TIMERMODE_NORMAL: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TIMERMODE_VISIBILITYAWARE: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TOOLSBAND: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZCALENDARPROTOCOL: &str = "unk"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZCALLTOPROTOCOL: &str = "callto"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZINTERNETCLIENTSPATH: &str = "Software\\Microsoft\\Internet Explorer\\Unix"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZLDAPPROTOCOL: &str = "ldap"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZMAILTOPROTOCOL: &str = "mailto"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZMICROSOFTPATH: &str = "Software\\Microsoft"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZNEWSPROTOCOL: &str = "news"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZPROTOCOLSPATH: &str = "Protocols\\"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZSCHANNELPATH: &str = "SYSTEM\\CurrentControlSet\\Control\\SecurityProviders\\SCHANNEL"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZVSOURCEPROTOCOL: &str = "view source"; -pub const ThreadDialogProcParam: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810612203, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const TreeWalker: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616647, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type VIEW_OBJECT_ALPHA_MODE = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const VIEW_OBJECT_ALPHA_MODE_IGNORE: VIEW_OBJECT_ALPHA_MODE = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const VIEW_OBJECT_ALPHA_MODE_PREMULTIPLIED: VIEW_OBJECT_ALPHA_MODE = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const VIEW_OBJECT_ALPHA_MODE_Max: VIEW_OBJECT_ALPHA_MODE = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type VIEW_OBJECT_COMPOSITION_MODE = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const VIEW_OBJECT_COMPOSITION_MODE_LEGACY: VIEW_OBJECT_COMPOSITION_MODE = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const VIEW_OBJECT_COMPOSITION_MODE_SURFACEPRESENTER: VIEW_OBJECT_COMPOSITION_MODE = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const VIEW_OBJECT_COMPOSITION_MODE_Max: VIEW_OBJECT_COMPOSITION_MODE = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const WEBOC_DISPIDBASE: u32 = 70536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const WEBOC_DISPIDMAX: u32 = 70636u32; -pub const WebGeocoordinates: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616776, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const WebGeolocation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616774, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const WebGeoposition: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616782, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const WebGeopositionError: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616778, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const XDomainRequest: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810615893, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const XDomainRequestFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810615895, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const XMLHttpRequestEventTarget: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616881, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -pub const XMLSerializer: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 810616702, data2: 39093, data3: 4559, data4: [187, 130, 0, 170, 0, 189, 206, 11] }; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type bodyScroll = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const bodyScrollyes: bodyScroll = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const bodyScrollno: bodyScroll = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const bodyScrollauto: bodyScroll = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const bodyScrolldefault: bodyScroll = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const bodyScroll_Max: bodyScroll = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type frameScrolling = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const frameScrollingyes: frameScrolling = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const frameScrollingno: frameScrolling = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const frameScrollingauto: frameScrolling = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const frameScrolling_Max: frameScrolling = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlAdjacency = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlAdjacencyBeforeBegin: htmlAdjacency = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlAdjacencyAfterBegin: htmlAdjacency = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlAdjacencyBeforeEnd: htmlAdjacency = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlAdjacencyAfterEnd: htmlAdjacency = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlAdjacency_Max: htmlAdjacency = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlApplyLocation = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlApplyLocationInside: htmlApplyLocation = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlApplyLocationOutside: htmlApplyLocation = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlApplyLocation_Max: htmlApplyLocation = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlBlockAlign = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlBlockAlignNotSet: htmlBlockAlign = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlBlockAlignLeft: htmlBlockAlign = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlBlockAlignCenter: htmlBlockAlign = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlBlockAlignRight: htmlBlockAlign = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlBlockAlignJustify: htmlBlockAlign = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlBlockAlign_Max: htmlBlockAlign = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlCaptionAlign = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionAlignNotSet: htmlCaptionAlign = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionAlignLeft: htmlCaptionAlign = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionAlignCenter: htmlCaptionAlign = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionAlignRight: htmlCaptionAlign = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionAlignJustify: htmlCaptionAlign = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionAlignTop: htmlCaptionAlign = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionAlignBottom: htmlCaptionAlign = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionAlign_Max: htmlCaptionAlign = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlCaptionVAlign = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionVAlignNotSet: htmlCaptionVAlign = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionVAlignTop: htmlCaptionVAlign = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionVAlignBottom: htmlCaptionVAlign = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionVAlign_Max: htmlCaptionVAlign = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlCellAlign = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellAlignNotSet: htmlCellAlign = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellAlignLeft: htmlCellAlign = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellAlignCenter: htmlCellAlign = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellAlignRight: htmlCellAlign = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellAlignMiddle: htmlCellAlign = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellAlign_Max: htmlCellAlign = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlCellVAlign = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellVAlignNotSet: htmlCellVAlign = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellVAlignTop: htmlCellVAlign = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellVAlignMiddle: htmlCellVAlign = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellVAlignBottom: htmlCellVAlign = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellVAlignBaseline: htmlCellVAlign = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellVAlignCenter: htmlCellVAlign = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellVAlign_Max: htmlCellVAlign = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlClear = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlClearNotSet: htmlClear = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlClearAll: htmlClear = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlClearLeft: htmlClear = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlClearRight: htmlClear = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlClearBoth: htmlClear = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlClearNone: htmlClear = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlClear_Max: htmlClear = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlCompatMode = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCompatModeBackCompat: htmlCompatMode = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCompatModeCSS1Compat: htmlCompatMode = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCompatMode_Max: htmlCompatMode = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlComponent = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentClient: htmlComponent = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbLeft: htmlComponent = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbPageLeft: htmlComponent = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbHThumb: htmlComponent = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbPageRight: htmlComponent = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbRight: htmlComponent = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbUp: htmlComponent = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbPageUp: htmlComponent = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbVThumb: htmlComponent = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbPageDown: htmlComponent = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbDown: htmlComponent = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbLeft2: htmlComponent = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbPageLeft2: htmlComponent = 12i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbRight2: htmlComponent = 13i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbPageRight2: htmlComponent = 14i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbUp2: htmlComponent = 15i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbPageUp2: htmlComponent = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbDown2: htmlComponent = 17i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbPageDown2: htmlComponent = 18i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbTop: htmlComponent = 19i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbBottom: htmlComponent = 20i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentOutside: htmlComponent = 21i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentGHTopLeft: htmlComponent = 22i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentGHLeft: htmlComponent = 23i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentGHTop: htmlComponent = 24i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentGHBottomLeft: htmlComponent = 25i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentGHTopRight: htmlComponent = 26i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentGHBottom: htmlComponent = 27i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentGHRight: htmlComponent = 28i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentGHBottomRight: htmlComponent = 29i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponent_Max: htmlComponent = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlControlAlign = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignNotSet: htmlControlAlign = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignLeft: htmlControlAlign = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignCenter: htmlControlAlign = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignRight: htmlControlAlign = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignTextTop: htmlControlAlign = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignAbsMiddle: htmlControlAlign = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignBaseline: htmlControlAlign = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignAbsBottom: htmlControlAlign = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignBottom: htmlControlAlign = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignMiddle: htmlControlAlign = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignTop: htmlControlAlign = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlign_Max: htmlControlAlign = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlDesignMode = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDesignModeInherit: htmlDesignMode = -2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDesignModeOn: htmlDesignMode = -1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDesignModeOff: htmlDesignMode = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDesignMode_Max: htmlDesignMode = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlDir = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDirNotSet: htmlDir = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDirLeftToRight: htmlDir = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDirRightToLeft: htmlDir = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDir_Max: htmlDir = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlDirection = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDirectionForward: htmlDirection = 99999i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDirectionBackward: htmlDirection = -99999i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDirection_Max: htmlDirection = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlDraggable = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDraggableAuto: htmlDraggable = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDraggableTrue: htmlDraggable = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDraggableFalse: htmlDraggable = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDraggable_Max: htmlDraggable = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlDropEffect = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDropEffectCopy: htmlDropEffect = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDropEffectLink: htmlDropEffect = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDropEffectMove: htmlDropEffect = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDropEffectNone: htmlDropEffect = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDropEffect_Max: htmlDropEffect = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlEditable = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEditableInherit: htmlEditable = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEditableTrue: htmlEditable = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEditableFalse: htmlEditable = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEditable_Max: htmlEditable = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlEffectAllowed = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedCopy: htmlEffectAllowed = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedLink: htmlEffectAllowed = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedMove: htmlEffectAllowed = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedCopyLink: htmlEffectAllowed = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedCopyMove: htmlEffectAllowed = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedLinkMove: htmlEffectAllowed = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedAll: htmlEffectAllowed = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedNone: htmlEffectAllowed = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedUninitialized: htmlEffectAllowed = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowed_Max: htmlEffectAllowed = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlEncoding = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEncodingURL: htmlEncoding = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEncodingMultipart: htmlEncoding = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEncodingText: htmlEncoding = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEncoding_Max: htmlEncoding = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlEndPoints = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEndPointsStartToStart: htmlEndPoints = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEndPointsStartToEnd: htmlEndPoints = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEndPointsEndToStart: htmlEndPoints = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEndPointsEndToEnd: htmlEndPoints = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEndPoints_Max: htmlEndPoints = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlFrame = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFrameNotSet: htmlFrame = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFramevoid: htmlFrame = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFrameabove: htmlFrame = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFramebelow: htmlFrame = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFramehsides: htmlFrame = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFramelhs: htmlFrame = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFramerhs: htmlFrame = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFramevsides: htmlFrame = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFramebox: htmlFrame = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFrameborder: htmlFrame = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFrame_Max: htmlFrame = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlGlyphMode = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlGlyphModeNone: htmlGlyphMode = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlGlyphModeBegin: htmlGlyphMode = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlGlyphModeEnd: htmlGlyphMode = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlGlyphModeBoth: htmlGlyphMode = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlGlyphMode_Max: htmlGlyphMode = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlInput = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputNotSet: htmlInput = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputButton: htmlInput = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputCheckbox: htmlInput = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputFile: htmlInput = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputHidden: htmlInput = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputImage: htmlInput = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputPassword: htmlInput = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputRadio: htmlInput = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputReset: htmlInput = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputSelectOne: htmlInput = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputSelectMultiple: htmlInput = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputSubmit: htmlInput = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputText: htmlInput = 12i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputTextarea: htmlInput = 13i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputRichtext: htmlInput = 14i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputRange: htmlInput = 15i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputUrl: htmlInput = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputEmail: htmlInput = 17i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputNumber: htmlInput = 18i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputTel: htmlInput = 19i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputSearch: htmlInput = 20i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInput_Max: htmlInput = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlListType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeNotSet: htmlListType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeLargeAlpha: htmlListType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeSmallAlpha: htmlListType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeLargeRoman: htmlListType = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeSmallRoman: htmlListType = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeNumbers: htmlListType = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeDisc: htmlListType = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeCircle: htmlListType = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeSquare: htmlListType = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListType_Max: htmlListType = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlLoop = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlLoopLoopInfinite: htmlLoop = -1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlLoop_Max: htmlLoop = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlMarqueeBehavior = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeBehaviorscroll: htmlMarqueeBehavior = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeBehaviorslide: htmlMarqueeBehavior = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeBehavioralternate: htmlMarqueeBehavior = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeBehavior_Max: htmlMarqueeBehavior = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlMarqueeDirection = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeDirectionleft: htmlMarqueeDirection = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeDirectionright: htmlMarqueeDirection = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeDirectionup: htmlMarqueeDirection = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeDirectiondown: htmlMarqueeDirection = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeDirection_Max: htmlMarqueeDirection = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlMediaErr = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaErrAborted: htmlMediaErr = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaErrNetwork: htmlMediaErr = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaErrDecode: htmlMediaErr = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaErrSrcNotSupported: htmlMediaErr = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaErr_Max: htmlMediaErr = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlMediaNetworkState = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaNetworkStateEmpty: htmlMediaNetworkState = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaNetworkStateIdle: htmlMediaNetworkState = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaNetworkStateLoading: htmlMediaNetworkState = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaNetworkStateNoSource: htmlMediaNetworkState = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaNetworkState_Max: htmlMediaNetworkState = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlMediaReadyState = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaReadyStateHaveNothing: htmlMediaReadyState = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaReadyStateHaveMetadata: htmlMediaReadyState = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaReadyStateHaveCurrentData: htmlMediaReadyState = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaReadyStateHaveFutureData: htmlMediaReadyState = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaReadyStateHaveEnoughData: htmlMediaReadyState = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaReadyState_Max: htmlMediaReadyState = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlMethod = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMethodNotSet: htmlMethod = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMethodGet: htmlMethod = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMethodPost: htmlMethod = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMethod_Max: htmlMethod = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlPersistState = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlPersistStateNormal: htmlPersistState = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlPersistStateFavorite: htmlPersistState = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlPersistStateHistory: htmlPersistState = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlPersistStateSnapshot: htmlPersistState = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlPersistStateUserData: htmlPersistState = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlPersistState_Max: htmlPersistState = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlReadyState = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlReadyStateuninitialized: htmlReadyState = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlReadyStateloading: htmlReadyState = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlReadyStateloaded: htmlReadyState = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlReadyStateinteractive: htmlReadyState = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlReadyStatecomplete: htmlReadyState = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlReadyState_Max: htmlReadyState = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlRules = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlRulesNotSet: htmlRules = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlRulesnone: htmlRules = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlRulesgroups: htmlRules = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlRulesrows: htmlRules = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlRulescols: htmlRules = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlRulesall: htmlRules = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlRules_Max: htmlRules = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlSelectExFlag = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectExFlagNone: htmlSelectExFlag = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectExFlagHideSelectionInDesign: htmlSelectExFlag = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectExFlag_Max: htmlSelectExFlag = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlSelectType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectTypeSelectOne: htmlSelectType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectTypeSelectMultiple: htmlSelectType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectType_Max: htmlSelectType = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlSelection = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectionNone: htmlSelection = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectionText: htmlSelection = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectionControl: htmlSelection = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectionTable: htmlSelection = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelection_Max: htmlSelection = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlSpellCheck = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSpellCheckNotSet: htmlSpellCheck = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSpellCheckTrue: htmlSpellCheck = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSpellCheckFalse: htmlSpellCheck = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSpellCheckDefault: htmlSpellCheck = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSpellCheck_Max: htmlSpellCheck = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlStart = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlStartfileopen: htmlStart = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlStartmouseover: htmlStart = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlStart_Max: htmlStart = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlTabIndex = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlTabIndexNotSet: htmlTabIndex = -32768i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlTabIndex_Max: htmlTabIndex = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlUnit = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlUnitCharacter: htmlUnit = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlUnitWord: htmlUnit = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlUnitSentence: htmlUnit = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlUnitTextEdit: htmlUnit = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlUnit_Max: htmlUnit = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlWrap = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlWrapOff: htmlWrap = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlWrapSoft: htmlWrap = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlWrapHard: htmlWrap = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlWrap_Max: htmlWrap = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type htmlZOrder = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlZOrderFront: htmlZOrder = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlZOrderBack: htmlZOrder = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlZOrder_Max: htmlZOrder = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type lengthAdjust = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const LENGTHADJUST_UNKNOWN: lengthAdjust = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const LENGTHADJUST_SPACING: lengthAdjust = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const LENGTHADJUST_SPACINGANDGLYPHS: lengthAdjust = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const lengthAdjust_Max: lengthAdjust = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type mediaType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeNotSet: mediaType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeAll: mediaType = 511i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeAural: mediaType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeBraille: mediaType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeEmbossed: mediaType = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeHandheld: mediaType = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypePrint: mediaType = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeProjection: mediaType = 32i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeScreen: mediaType = 64i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeTty: mediaType = 128i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeTv: mediaType = 256i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaType_Max: mediaType = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msodsvFailed: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msodsvLowSecurityLevel: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msodsvNoMacros: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msodsvPassedTrusted: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msodsvPassedTrustedCert: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msodsvUnsigned: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msoedmDisable: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msoedmDontOpen: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msoedmEnable: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msoslHigh: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msoslMedium: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msoslNone: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msoslUndefined: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type sandboxAllow = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const sandboxAllowScripts: sandboxAllow = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const sandboxAllowSameOrigin: sandboxAllow = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const sandboxAllowTopNavigation: sandboxAllow = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const sandboxAllowForms: sandboxAllow = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const sandboxAllowPopups: sandboxAllow = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const sandboxAllow_Max: sandboxAllow = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleAccelerator = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAcceleratorFalse: styleAccelerator = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAcceleratorTrue: styleAccelerator = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAccelerator_Max: styleAccelerator = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleAlignContent = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignContentFlexStart: styleAlignContent = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignContentFlexEnd: styleAlignContent = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignContentCenter: styleAlignContent = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignContentSpaceBetween: styleAlignContent = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignContentSpaceAround: styleAlignContent = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignContentStretch: styleAlignContent = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignContentNotSet: styleAlignContent = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignContent_Max: styleAlignContent = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleAlignItems = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignItemsFlexStart: styleAlignItems = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignItemsFlexEnd: styleAlignItems = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignItemsCenter: styleAlignItems = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignItemsBaseline: styleAlignItems = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignItemsStretch: styleAlignItems = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignItemsNotSet: styleAlignItems = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignItems_Max: styleAlignItems = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleAlignSelf = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignSelfFlexStart: styleAlignSelf = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignSelfFlexEnd: styleAlignSelf = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignSelfCenter: styleAlignSelf = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignSelfBaseline: styleAlignSelf = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignSelfStretch: styleAlignSelf = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignSelfAuto: styleAlignSelf = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignSelfNotSet: styleAlignSelf = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignSelf_Max: styleAlignSelf = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleAlignmentBaseline = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineNotSet: styleAlignmentBaseline = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineAfterEdge: styleAlignmentBaseline = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineAlphabetic: styleAlignmentBaseline = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineAuto: styleAlignmentBaseline = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineBaseline: styleAlignmentBaseline = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineBeforeEdge: styleAlignmentBaseline = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineCentral: styleAlignmentBaseline = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineHanging: styleAlignmentBaseline = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineMathematical: styleAlignmentBaseline = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineMiddle: styleAlignmentBaseline = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineTextAfterEdge: styleAlignmentBaseline = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineTextBeforeEdge: styleAlignmentBaseline = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineIdeographic: styleAlignmentBaseline = 12i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaseline_Max: styleAlignmentBaseline = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleAttrType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeString: styleAttrType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeColor: styleAttrType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeUrl: styleAttrType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeInteger: styleAttrType = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeNumber: styleAttrType = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeLength: styleAttrType = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypePx: styleAttrType = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeEm: styleAttrType = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeEx: styleAttrType = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeIn: styleAttrType = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeCm: styleAttrType = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeMm: styleAttrType = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypePt: styleAttrType = 12i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypePc: styleAttrType = 13i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeRem: styleAttrType = 14i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeCh: styleAttrType = 15i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeVh: styleAttrType = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeVw: styleAttrType = 17i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeVmin: styleAttrType = 18i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypePercentage: styleAttrType = 19i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeAngle: styleAttrType = 20i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeDeg: styleAttrType = 21i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeRad: styleAttrType = 22i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeGrad: styleAttrType = 23i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeTime: styleAttrType = 24i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeS: styleAttrType = 25i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeMs: styleAttrType = 26i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrType_Max: styleAttrType = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleAuto = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAutoAuto: styleAuto = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAuto_Max: styleAuto = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBackfaceVisibility = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackfaceVisibilityVisible: styleBackfaceVisibility = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackfaceVisibilityHidden: styleBackfaceVisibility = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackfaceVisibilityNotSet: styleBackfaceVisibility = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackfaceVisibility_Max: styleBackfaceVisibility = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBackgroundAttachment = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachmentFixed: styleBackgroundAttachment = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachmentScroll: styleBackgroundAttachment = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachmentNotSet: styleBackgroundAttachment = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachment_Max: styleBackgroundAttachment = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBackgroundAttachment3 = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachment3Fixed: styleBackgroundAttachment3 = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachment3Scroll: styleBackgroundAttachment3 = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachment3Local: styleBackgroundAttachment3 = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachment3NotSet: styleBackgroundAttachment3 = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachment3_Max: styleBackgroundAttachment3 = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBackgroundClip = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundClipBorderBox: styleBackgroundClip = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundClipPaddingBox: styleBackgroundClip = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundClipContentBox: styleBackgroundClip = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundClipNotSet: styleBackgroundClip = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundClip_Max: styleBackgroundClip = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBackgroundOrigin = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundOriginBorderBox: styleBackgroundOrigin = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundOriginPaddingBox: styleBackgroundOrigin = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundOriginContentBox: styleBackgroundOrigin = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundOriginNotSet: styleBackgroundOrigin = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundOrigin_Max: styleBackgroundOrigin = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBackgroundRepeat = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundRepeatRepeat: styleBackgroundRepeat = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundRepeatRepeatX: styleBackgroundRepeat = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundRepeatRepeatY: styleBackgroundRepeat = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundRepeatNoRepeat: styleBackgroundRepeat = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundRepeatNotSet: styleBackgroundRepeat = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundRepeat_Max: styleBackgroundRepeat = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBaselineShift = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBaselineShiftBaseline: styleBaselineShift = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBaselineShiftSub: styleBaselineShift = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBaselineShiftSuper: styleBaselineShift = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBaselineShift_Max: styleBaselineShift = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBidi = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBidiNotSet: styleBidi = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBidiNormal: styleBidi = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBidiEmbed: styleBidi = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBidiOverride: styleBidi = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBidiInherit: styleBidi = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBidi_Max: styleBidi = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBlockProgression = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBlockProgressionTb: styleBlockProgression = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBlockProgressionRl: styleBlockProgression = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBlockProgressionBt: styleBlockProgression = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBlockProgressionLr: styleBlockProgression = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBlockProgressionNotSet: styleBlockProgression = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBlockProgression_Max: styleBlockProgression = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBool = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBoolFalse: styleBool = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBoolTrue: styleBool = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBool_Max: styleBool = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBorderCollapse = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderCollapseNotSet: styleBorderCollapse = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderCollapseSeparate: styleBorderCollapse = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderCollapseCollapse: styleBorderCollapse = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderCollapse_Max: styleBorderCollapse = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBorderImageRepeat = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageRepeatStretch: styleBorderImageRepeat = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageRepeatRepeat: styleBorderImageRepeat = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageRepeatRound: styleBorderImageRepeat = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageRepeatSpace: styleBorderImageRepeat = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageRepeatNotSet: styleBorderImageRepeat = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageRepeat_Max: styleBorderImageRepeat = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBorderImageSliceFill = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageSliceFillNotSet: styleBorderImageSliceFill = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageSliceFillFill: styleBorderImageSliceFill = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageSliceFill_Max: styleBorderImageSliceFill = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBorderStyle = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleNotSet: styleBorderStyle = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleDotted: styleBorderStyle = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleDashed: styleBorderStyle = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleSolid: styleBorderStyle = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleDouble: styleBorderStyle = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleGroove: styleBorderStyle = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleRidge: styleBorderStyle = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleInset: styleBorderStyle = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleOutset: styleBorderStyle = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleWindowInset: styleBorderStyle = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleNone: styleBorderStyle = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleHidden: styleBorderStyle = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyle_Max: styleBorderStyle = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBorderWidth = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderWidthThin: styleBorderWidth = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderWidthMedium: styleBorderWidth = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderWidthThick: styleBorderWidth = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderWidth_Max: styleBorderWidth = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBoxSizing = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBoxSizingNotSet: styleBoxSizing = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBoxSizingContentBox: styleBoxSizing = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBoxSizingBorderBox: styleBoxSizing = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBoxSizing_Max: styleBoxSizing = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBreak = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakNotSet: styleBreak = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakAuto: styleBreak = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakAlways: styleBreak = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakAvoid: styleBreak = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakLeft: styleBreak = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakRight: styleBreak = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakPage: styleBreak = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakColumn: styleBreak = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakAvoidPage: styleBreak = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakAvoidColumn: styleBreak = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreak_Max: styleBreak = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleBreakInside = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakInsideNotSet: styleBreakInside = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakInsideAuto: styleBreakInside = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakInsideAvoid: styleBreakInside = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakInsideAvoidPage: styleBreakInside = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakInsideAvoidColumn: styleBreakInside = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakInside_Max: styleBreakInside = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleCaptionSide = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCaptionSideNotSet: styleCaptionSide = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCaptionSideTop: styleCaptionSide = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCaptionSideBottom: styleCaptionSide = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCaptionSideLeft: styleCaptionSide = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCaptionSideRight: styleCaptionSide = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCaptionSide_Max: styleCaptionSide = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleClipRule = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleClipRuleNotSet: styleClipRule = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleClipRuleNonZero: styleClipRule = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleClipRuleEvenOdd: styleClipRule = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleClipRule_Max: styleClipRule = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleColorInterpolationFilters = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColorInterpolationFiltersAuto: styleColorInterpolationFilters = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColorInterpolationFiltersSRgb: styleColorInterpolationFilters = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColorInterpolationFiltersLinearRgb: styleColorInterpolationFilters = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColorInterpolationFiltersNotSet: styleColorInterpolationFilters = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColorInterpolationFilters_Max: styleColorInterpolationFilters = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleColumnFill = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnFillAuto: styleColumnFill = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnFillBalance: styleColumnFill = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnFillNotSet: styleColumnFill = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnFill_Max: styleColumnFill = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleColumnSpan = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnSpanNone: styleColumnSpan = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnSpanAll: styleColumnSpan = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnSpanOne: styleColumnSpan = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnSpanNotSet: styleColumnSpan = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnSpan_Max: styleColumnSpan = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleCursor = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorAuto: styleCursor = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorCrosshair: styleCursor = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorDefault: styleCursor = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorHand: styleCursor = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorMove: styleCursor = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorE_resize: styleCursor = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNe_resize: styleCursor = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNw_resize: styleCursor = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorN_resize: styleCursor = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorSe_resize: styleCursor = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorSw_resize: styleCursor = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorS_resize: styleCursor = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorW_resize: styleCursor = 12i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorText: styleCursor = 13i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorWait: styleCursor = 14i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorHelp: styleCursor = 15i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorPointer: styleCursor = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorProgress: styleCursor = 17i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNot_allowed: styleCursor = 18i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNo_drop: styleCursor = 19i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorVertical_text: styleCursor = 20i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorall_scroll: styleCursor = 21i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorcol_resize: styleCursor = 22i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorrow_resize: styleCursor = 23i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNone: styleCursor = 24i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorContext_menu: styleCursor = 25i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorEw_resize: styleCursor = 26i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNs_resize: styleCursor = 27i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNesw_resize: styleCursor = 28i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNwse_resize: styleCursor = 29i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorCell: styleCursor = 30i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorCopy: styleCursor = 31i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorAlias: styleCursor = 32i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorcustom: styleCursor = 33i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNotSet: styleCursor = 34i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursor_Max: styleCursor = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleDataRepeat = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDataRepeatNone: styleDataRepeat = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDataRepeatInner: styleDataRepeat = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDataRepeat_Max: styleDataRepeat = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleDefaultTextSelection = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDefaultTextSelectionFalse: styleDefaultTextSelection = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDefaultTextSelectionTrue: styleDefaultTextSelection = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDefaultTextSelection_Max: styleDefaultTextSelection = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleDir = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDirNotSet: styleDir = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDirLeftToRight: styleDir = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDirRightToLeft: styleDir = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDirInherit: styleDir = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDir_Max: styleDir = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleDisplay = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayNotSet: styleDisplay = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayBlock: styleDisplay = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayInline: styleDisplay = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayListItem: styleDisplay = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayNone: styleDisplay = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTableHeaderGroup: styleDisplay = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTableFooterGroup: styleDisplay = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayInlineBlock: styleDisplay = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTable: styleDisplay = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayInlineTable: styleDisplay = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTableRow: styleDisplay = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTableRowGroup: styleDisplay = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTableColumn: styleDisplay = 12i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTableColumnGroup: styleDisplay = 13i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTableCell: styleDisplay = 14i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTableCaption: styleDisplay = 15i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayRunIn: styleDisplay = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayRuby: styleDisplay = 17i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayRubyBase: styleDisplay = 18i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayRubyText: styleDisplay = 19i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayRubyBaseContainer: styleDisplay = 20i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayRubyTextContainer: styleDisplay = 21i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayMsFlexbox: styleDisplay = 22i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayMsInlineFlexbox: styleDisplay = 23i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayMsGrid: styleDisplay = 24i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayMsInlineGrid: styleDisplay = 25i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayFlex: styleDisplay = 26i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayInlineFlex: styleDisplay = 27i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayWebkitBox: styleDisplay = 28i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayWebkitInlineBox: styleDisplay = 29i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplay_Max: styleDisplay = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleDominantBaseline = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineNotSet: styleDominantBaseline = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineAlphabetic: styleDominantBaseline = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineAuto: styleDominantBaseline = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineCentral: styleDominantBaseline = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineHanging: styleDominantBaseline = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineIdeographic: styleDominantBaseline = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineMathematical: styleDominantBaseline = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineMiddle: styleDominantBaseline = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineNoChange: styleDominantBaseline = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineResetSize: styleDominantBaseline = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineTextAfterEdge: styleDominantBaseline = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineTextBeforeEdge: styleDominantBaseline = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineUseScript: styleDominantBaseline = 12i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaseline_Max: styleDominantBaseline = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleEmptyCells = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEmptyCellsNotSet: styleEmptyCells = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEmptyCellsShow: styleEmptyCells = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEmptyCellsHide: styleEmptyCells = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEmptyCells_Max: styleEmptyCells = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleEnableBackground = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEnableBackgroundNotSet: styleEnableBackground = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEnableBackgroundAccumulate: styleEnableBackground = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEnableBackgroundNew: styleEnableBackground = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEnableBackgroundInherit: styleEnableBackground = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEnableBackground_Max: styleEnableBackground = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleFillRule = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFillRuleNotSet: styleFillRule = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFillRuleNonZero: styleFillRule = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFillRuleEvenOdd: styleFillRule = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFillRule_Max: styleFillRule = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleFlex = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexNone: styleFlex = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexNotSet: styleFlex = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlex_Max: styleFlex = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleFlexBasis = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexBasisAuto: styleFlexBasis = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexBasisNotSet: styleFlexBasis = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexBasis_Max: styleFlexBasis = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleFlexDirection = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexDirectionRow: styleFlexDirection = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexDirectionRowReverse: styleFlexDirection = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexDirectionColumn: styleFlexDirection = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexDirectionColumnReverse: styleFlexDirection = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexDirectionNotSet: styleFlexDirection = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexDirection_Max: styleFlexDirection = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleFlexWrap = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexWrapNowrap: styleFlexWrap = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexWrapWrap: styleFlexWrap = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexWrapWrapReverse: styleFlexWrap = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexWrapNotSet: styleFlexWrap = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexWrap_Max: styleFlexWrap = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleFontSize = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeXXSmall: styleFontSize = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeXSmall: styleFontSize = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeSmall: styleFontSize = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeMedium: styleFontSize = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeLarge: styleFontSize = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeXLarge: styleFontSize = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeXXLarge: styleFontSize = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeSmaller: styleFontSize = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeLarger: styleFontSize = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSize_Max: styleFontSize = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleFontStretch = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchNotSet: styleFontStretch = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchWider: styleFontStretch = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchNarrower: styleFontStretch = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchUltraCondensed: styleFontStretch = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchExtraCondensed: styleFontStretch = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchCondensed: styleFontStretch = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchSemiCondensed: styleFontStretch = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchNormal: styleFontStretch = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchSemiExpanded: styleFontStretch = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchExpanded: styleFontStretch = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchExtraExpanded: styleFontStretch = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchUltraExpanded: styleFontStretch = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretch_Max: styleFontStretch = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleFontStyle = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStyleNotSet: styleFontStyle = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStyleItalic: styleFontStyle = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStyleOblique: styleFontStyle = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStyleNormal: styleFontStyle = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStyle_Max: styleFontStyle = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleFontVariant = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontVariantNotSet: styleFontVariant = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontVariantSmallCaps: styleFontVariant = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontVariantNormal: styleFontVariant = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontVariant_Max: styleFontVariant = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleFontWeight = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeightNotSet: styleFontWeight = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight100: styleFontWeight = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight200: styleFontWeight = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight300: styleFontWeight = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight400: styleFontWeight = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight500: styleFontWeight = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight600: styleFontWeight = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight700: styleFontWeight = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight800: styleFontWeight = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight900: styleFontWeight = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeightNormal: styleFontWeight = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeightBold: styleFontWeight = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeightBolder: styleFontWeight = 12i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeightLighter: styleFontWeight = 13i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight_Max: styleFontWeight = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleGridColumn = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnNotSet: styleGridColumn = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumn_Max: styleGridColumn = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleGridColumnAlign = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnAlignCenter: styleGridColumnAlign = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnAlignEnd: styleGridColumnAlign = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnAlignStart: styleGridColumnAlign = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnAlignStretch: styleGridColumnAlign = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnAlignNotSet: styleGridColumnAlign = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnAlign_Max: styleGridColumnAlign = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleGridColumnSpan = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnSpanNotSet: styleGridColumnSpan = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnSpan_Max: styleGridColumnSpan = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleGridRow = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowNotSet: styleGridRow = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRow_Max: styleGridRow = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleGridRowAlign = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowAlignCenter: styleGridRowAlign = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowAlignEnd: styleGridRowAlign = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowAlignStart: styleGridRowAlign = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowAlignStretch: styleGridRowAlign = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowAlignNotSet: styleGridRowAlign = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowAlign_Max: styleGridRowAlign = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleGridRowSpan = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowSpanNotSet: styleGridRowSpan = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowSpan_Max: styleGridRowSpan = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleHyphenateLimitLines = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleHyphenateLimitLinesNoLimit: styleHyphenateLimitLines = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleHyphenateLimitLines_Max: styleHyphenateLimitLines = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleHyphens = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleHyphensNone: styleHyphens = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleHyphensManual: styleHyphens = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleHyphensAuto: styleHyphens = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleHyphensNotSet: styleHyphens = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleHyphens_Max: styleHyphens = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleImeMode = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleImeModeAuto: styleImeMode = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleImeModeActive: styleImeMode = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleImeModeInactive: styleImeMode = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleImeModeDisabled: styleImeMode = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleImeModeNotSet: styleImeMode = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleImeMode_Max: styleImeMode = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleInitialColor = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialColorNoInitial: styleInitialColor = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialColorColorProperty: styleInitialColor = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialColorTransparent: styleInitialColor = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialColorInvert: styleInitialColor = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialColor_Max: styleInitialColor = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleInitialString = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialStringNoInitial: styleInitialString = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialStringNone: styleInitialString = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialStringAuto: styleInitialString = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialStringNormal: styleInitialString = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialString_Max: styleInitialString = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleInterpolation = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInterpolationNotSet: styleInterpolation = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInterpolationNN: styleInterpolation = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInterpolationBCH: styleInterpolation = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInterpolation_Max: styleInterpolation = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleJustifyContent = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleJustifyContentFlexStart: styleJustifyContent = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleJustifyContentFlexEnd: styleJustifyContent = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleJustifyContentCenter: styleJustifyContent = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleJustifyContentSpaceBetween: styleJustifyContent = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleJustifyContentSpaceAround: styleJustifyContent = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleJustifyContentNotSet: styleJustifyContent = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleJustifyContent_Max: styleJustifyContent = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleLayoutFlow = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutFlowHorizontal: styleLayoutFlow = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutFlowVerticalIdeographic: styleLayoutFlow = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutFlowNotSet: styleLayoutFlow = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutFlow_Max: styleLayoutFlow = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleLayoutGridChar = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridCharNotSet: styleLayoutGridChar = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridCharAuto: styleLayoutGridChar = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridCharNone: styleLayoutGridChar = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridChar_Max: styleLayoutGridChar = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleLayoutGridLine = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridLineNotSet: styleLayoutGridLine = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridLineAuto: styleLayoutGridLine = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridLineNone: styleLayoutGridLine = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridLine_Max: styleLayoutGridLine = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleLayoutGridMode = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridModeNotSet: styleLayoutGridMode = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridModeChar: styleLayoutGridMode = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridModeLine: styleLayoutGridMode = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridModeBoth: styleLayoutGridMode = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridModeNone: styleLayoutGridMode = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridMode_Max: styleLayoutGridMode = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleLayoutGridType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridTypeNotSet: styleLayoutGridType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridTypeLoose: styleLayoutGridType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridTypeStrict: styleLayoutGridType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridTypeFixed: styleLayoutGridType = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridType_Max: styleLayoutGridType = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleLineBreak = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLineBreakNotSet: styleLineBreak = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLineBreakNormal: styleLineBreak = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLineBreakStrict: styleLineBreak = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLineBreak_Max: styleLineBreak = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleListStylePosition = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStylePositionNotSet: styleListStylePosition = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStylePositionInside: styleListStylePosition = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStylePositionOutSide: styleListStylePosition = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStylePosition_Max: styleListStylePosition = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleListStyleType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeNotSet: styleListStyleType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeDisc: styleListStyleType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeCircle: styleListStyleType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeSquare: styleListStyleType = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeDecimal: styleListStyleType = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeLowerRoman: styleListStyleType = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeUpperRoman: styleListStyleType = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeLowerAlpha: styleListStyleType = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeUpperAlpha: styleListStyleType = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeNone: styleListStyleType = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeDecimalLeadingZero: styleListStyleType = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeGeorgian: styleListStyleType = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeArmenian: styleListStyleType = 12i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeUpperLatin: styleListStyleType = 13i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeLowerLatin: styleListStyleType = 14i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeUpperGreek: styleListStyleType = 15i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeLowerGreek: styleListStyleType = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleType_Max: styleListStyleType = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsAnimationDirection = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationDirectionNormal: styleMsAnimationDirection = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationDirectionAlternate: styleMsAnimationDirection = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationDirectionReverse: styleMsAnimationDirection = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationDirectionAlternateReverse: styleMsAnimationDirection = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationDirectionNotSet: styleMsAnimationDirection = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationDirection_Max: styleMsAnimationDirection = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsAnimationFillMode = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationFillModeNone: styleMsAnimationFillMode = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationFillModeForwards: styleMsAnimationFillMode = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationFillModeBackwards: styleMsAnimationFillMode = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationFillModeBoth: styleMsAnimationFillMode = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationFillModeNotSet: styleMsAnimationFillMode = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationFillMode_Max: styleMsAnimationFillMode = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsAnimationPlayState = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationPlayStateRunning: styleMsAnimationPlayState = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationPlayStatePaused: styleMsAnimationPlayState = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationPlayStateNotSet: styleMsAnimationPlayState = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationPlayState_Max: styleMsAnimationPlayState = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsContentZoomChaining = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomChainingNotSet: styleMsContentZoomChaining = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomChainingNone: styleMsContentZoomChaining = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomChainingChained: styleMsContentZoomChaining = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomChaining_Max: styleMsContentZoomChaining = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsContentZoomSnapType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomSnapTypeNotSet: styleMsContentZoomSnapType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomSnapTypeNone: styleMsContentZoomSnapType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomSnapTypeMandatory: styleMsContentZoomSnapType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomSnapTypeProximity: styleMsContentZoomSnapType = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomSnapType_Max: styleMsContentZoomSnapType = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsContentZooming = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomingNotSet: styleMsContentZooming = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomingNone: styleMsContentZooming = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomingZoom: styleMsContentZooming = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZooming_Max: styleMsContentZooming = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsFlexAlign = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexAlignStart: styleMsFlexAlign = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexAlignEnd: styleMsFlexAlign = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexAlignCenter: styleMsFlexAlign = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexAlignBaseline: styleMsFlexAlign = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexAlignStretch: styleMsFlexAlign = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexAlignNotSet: styleMsFlexAlign = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexAlign_Max: styleMsFlexAlign = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsFlexItemAlign = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexItemAlignStart: styleMsFlexItemAlign = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexItemAlignEnd: styleMsFlexItemAlign = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexItemAlignCenter: styleMsFlexItemAlign = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexItemAlignBaseline: styleMsFlexItemAlign = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexItemAlignStretch: styleMsFlexItemAlign = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexItemAlignAuto: styleMsFlexItemAlign = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexItemAlignNotSet: styleMsFlexItemAlign = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexItemAlign_Max: styleMsFlexItemAlign = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsFlexLinePack = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexLinePackStart: styleMsFlexLinePack = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexLinePackEnd: styleMsFlexLinePack = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexLinePackCenter: styleMsFlexLinePack = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexLinePackJustify: styleMsFlexLinePack = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexLinePackDistribute: styleMsFlexLinePack = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexLinePackStretch: styleMsFlexLinePack = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexLinePackNotSet: styleMsFlexLinePack = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexLinePack_Max: styleMsFlexLinePack = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsFlexPack = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexPackStart: styleMsFlexPack = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexPackEnd: styleMsFlexPack = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexPackCenter: styleMsFlexPack = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexPackJustify: styleMsFlexPack = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexPackDistribute: styleMsFlexPack = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexPackNotSet: styleMsFlexPack = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexPack_Max: styleMsFlexPack = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsHighContrastAdjust = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsHighContrastAdjustNotSet: styleMsHighContrastAdjust = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsHighContrastAdjustAuto: styleMsHighContrastAdjust = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsHighContrastAdjustNone: styleMsHighContrastAdjust = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsHighContrastAdjust_Max: styleMsHighContrastAdjust = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsImeAlign = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsImeAlignAuto: styleMsImeAlign = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsImeAlignAfter: styleMsImeAlign = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsImeAlignNotSet: styleMsImeAlign = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsImeAlign_Max: styleMsImeAlign = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsOverflowStyle = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsOverflowStyleNotSet: styleMsOverflowStyle = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsOverflowStyleAuto: styleMsOverflowStyle = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsOverflowStyleNone: styleMsOverflowStyle = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsOverflowStyleScrollbar: styleMsOverflowStyle = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsOverflowStyleMsAutoHidingScrollbar: styleMsOverflowStyle = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsOverflowStyle_Max: styleMsOverflowStyle = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsScrollChaining = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollChainingNotSet: styleMsScrollChaining = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollChainingNone: styleMsScrollChaining = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollChainingChained: styleMsScrollChaining = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollChaining_Max: styleMsScrollChaining = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsScrollRails = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollRailsNotSet: styleMsScrollRails = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollRailsNone: styleMsScrollRails = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollRailsRailed: styleMsScrollRails = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollRails_Max: styleMsScrollRails = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsScrollSnapType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollSnapTypeNotSet: styleMsScrollSnapType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollSnapTypeNone: styleMsScrollSnapType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollSnapTypeMandatory: styleMsScrollSnapType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollSnapTypeProximity: styleMsScrollSnapType = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollSnapType_Max: styleMsScrollSnapType = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsScrollTranslation = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollTranslationNotSet: styleMsScrollTranslation = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollTranslationNone: styleMsScrollTranslation = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollTranslationVtoH: styleMsScrollTranslation = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollTranslation_Max: styleMsScrollTranslation = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsTextCombineHorizontal = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTextCombineHorizontalNone: styleMsTextCombineHorizontal = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTextCombineHorizontalAll: styleMsTextCombineHorizontal = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTextCombineHorizontalDigits: styleMsTextCombineHorizontal = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTextCombineHorizontalNotSet: styleMsTextCombineHorizontal = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTextCombineHorizontal_Max: styleMsTextCombineHorizontal = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsTouchAction = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionNotSet: styleMsTouchAction = -1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionNone: styleMsTouchAction = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionAuto: styleMsTouchAction = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionManipulation: styleMsTouchAction = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionDoubleTapZoom: styleMsTouchAction = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionPanX: styleMsTouchAction = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionPanY: styleMsTouchAction = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionPinchZoom: styleMsTouchAction = 32i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionCrossSlideX: styleMsTouchAction = 64i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionCrossSlideY: styleMsTouchAction = 128i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchAction_Max: styleMsTouchAction = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsTouchSelect = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchSelectGrippers: styleMsTouchSelect = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchSelectNone: styleMsTouchSelect = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchSelectNotSet: styleMsTouchSelect = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchSelect_Max: styleMsTouchSelect = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleMsUserSelect = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsUserSelectAuto: styleMsUserSelect = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsUserSelectText: styleMsUserSelect = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsUserSelectElement: styleMsUserSelect = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsUserSelectNone: styleMsUserSelect = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsUserSelectNotSet: styleMsUserSelect = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsUserSelect_Max: styleMsUserSelect = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleNone = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleNoneNone: styleNone = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleNone_Max: styleNone = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleNormal = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleNormalNormal: styleNormal = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleNormal_Max: styleNormal = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleOutlineStyle = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleNotSet: styleOutlineStyle = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleDotted: styleOutlineStyle = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleDashed: styleOutlineStyle = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleSolid: styleOutlineStyle = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleDouble: styleOutlineStyle = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleGroove: styleOutlineStyle = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleRidge: styleOutlineStyle = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleInset: styleOutlineStyle = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleOutset: styleOutlineStyle = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleWindowInset: styleOutlineStyle = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleNone: styleOutlineStyle = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyle_Max: styleOutlineStyle = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleOverflow = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOverflowNotSet: styleOverflow = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOverflowAuto: styleOverflow = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOverflowHidden: styleOverflow = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOverflowVisible: styleOverflow = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOverflowScroll: styleOverflow = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOverflow_Max: styleOverflow = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type stylePageBreak = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakNotSet: stylePageBreak = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakAuto: stylePageBreak = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakAlways: stylePageBreak = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakLeft: stylePageBreak = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakRight: stylePageBreak = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakAvoid: stylePageBreak = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreak_Max: stylePageBreak = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type stylePageBreakInside = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakInsideNotSet: stylePageBreakInside = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakInsideAuto: stylePageBreakInside = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakInsideAvoid: stylePageBreakInside = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakInside_Max: stylePageBreakInside = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type stylePerspectiveOriginX = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginXNotSet: stylePerspectiveOriginX = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginXLeft: stylePerspectiveOriginX = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginXCenter: stylePerspectiveOriginX = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginXRight: stylePerspectiveOriginX = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginX_Max: stylePerspectiveOriginX = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type stylePerspectiveOriginY = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginYNotSet: stylePerspectiveOriginY = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginYTop: stylePerspectiveOriginY = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginYCenter: stylePerspectiveOriginY = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginYBottom: stylePerspectiveOriginY = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginY_Max: stylePerspectiveOriginY = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type stylePointerEvents = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsNotSet: stylePointerEvents = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsVisiblePainted: stylePointerEvents = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsVisibleFill: stylePointerEvents = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsVisibleStroke: stylePointerEvents = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsVisible: stylePointerEvents = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsPainted: stylePointerEvents = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsFill: stylePointerEvents = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsStroke: stylePointerEvents = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsAll: stylePointerEvents = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsNone: stylePointerEvents = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsInitial: stylePointerEvents = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsAuto: stylePointerEvents = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEvents_Max: stylePointerEvents = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type stylePosition = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePositionNotSet: stylePosition = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePositionstatic: stylePosition = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePositionrelative: stylePosition = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePositionabsolute: stylePosition = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePositionfixed: stylePosition = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePositionMsPage: stylePosition = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePositionMsDeviceFixed: stylePosition = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePosition_Max: stylePosition = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleRubyAlign = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlignNotSet: styleRubyAlign = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlignAuto: styleRubyAlign = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlignLeft: styleRubyAlign = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlignCenter: styleRubyAlign = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlignRight: styleRubyAlign = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlignDistributeLetter: styleRubyAlign = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlignDistributeSpace: styleRubyAlign = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlignLineEdge: styleRubyAlign = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlign_Max: styleRubyAlign = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleRubyOverhang = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyOverhangNotSet: styleRubyOverhang = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyOverhangAuto: styleRubyOverhang = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyOverhangWhitespace: styleRubyOverhang = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyOverhangNone: styleRubyOverhang = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyOverhang_Max: styleRubyOverhang = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleRubyPosition = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyPositionNotSet: styleRubyPosition = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyPositionAbove: styleRubyPosition = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyPositionInline: styleRubyPosition = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyPosition_Max: styleRubyPosition = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleStrokeLinecap = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinecapNotSet: styleStrokeLinecap = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinecapButt: styleStrokeLinecap = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinecapRound: styleStrokeLinecap = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinecapSquare: styleStrokeLinecap = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinecap_Max: styleStrokeLinecap = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleStrokeLinejoin = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinejoinNotSet: styleStrokeLinejoin = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinejoinMiter: styleStrokeLinejoin = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinejoinRound: styleStrokeLinejoin = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinejoinBevel: styleStrokeLinejoin = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinejoin_Max: styleStrokeLinejoin = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleStyleFloat = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStyleFloatNotSet: styleStyleFloat = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStyleFloatLeft: styleStyleFloat = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStyleFloatRight: styleStyleFloat = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStyleFloatNone: styleStyleFloat = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStyleFloat_Max: styleStyleFloat = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleTableLayout = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTableLayoutNotSet: styleTableLayout = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTableLayoutAuto: styleTableLayout = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTableLayoutFixed: styleTableLayout = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTableLayout_Max: styleTableLayout = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleTextAlignLast = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAlignLastNotSet: styleTextAlignLast = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAlignLastLeft: styleTextAlignLast = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAlignLastCenter: styleTextAlignLast = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAlignLastRight: styleTextAlignLast = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAlignLastJustify: styleTextAlignLast = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAlignLastAuto: styleTextAlignLast = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAlignLast_Max: styleTextAlignLast = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleTextAnchor = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAnchorNotSet: styleTextAnchor = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAnchorStart: styleTextAnchor = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAnchorMiddle: styleTextAnchor = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAnchorEnd: styleTextAnchor = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAnchor_Max: styleTextAnchor = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleTextDecoration = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextDecorationNone: styleTextDecoration = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextDecorationUnderline: styleTextDecoration = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextDecorationOverline: styleTextDecoration = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextDecorationLineThrough: styleTextDecoration = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextDecorationBlink: styleTextDecoration = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextDecoration_Max: styleTextDecoration = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleTextEffect = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextEffectNone: styleTextEffect = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextEffectEmboss: styleTextEffect = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextEffectEngrave: styleTextEffect = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextEffectOutline: styleTextEffect = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextEffect_Max: styleTextEffect = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleTextJustify = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyNotSet: styleTextJustify = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyInterWord: styleTextJustify = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyNewspaper: styleTextJustify = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyDistribute: styleTextJustify = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyDistributeAllLines: styleTextJustify = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyInterIdeograph: styleTextJustify = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyInterCluster: styleTextJustify = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyKashida: styleTextJustify = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyAuto: styleTextJustify = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustify_Max: styleTextJustify = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleTextJustifyTrim = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyTrimNotSet: styleTextJustifyTrim = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyTrimNone: styleTextJustifyTrim = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyTrimPunctuation: styleTextJustifyTrim = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyTrimPunctAndKana: styleTextJustifyTrim = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyTrim_Max: styleTextJustifyTrim = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleTextLineThroughStyle = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextLineThroughStyleUndefined: styleTextLineThroughStyle = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextLineThroughStyleSingle: styleTextLineThroughStyle = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextLineThroughStyleDouble: styleTextLineThroughStyle = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextLineThroughStyle_Max: styleTextLineThroughStyle = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleTextOverflow = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextOverflowClip: styleTextOverflow = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextOverflowEllipsis: styleTextOverflow = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextOverflowNotSet: styleTextOverflow = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextOverflow_Max: styleTextOverflow = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleTextSizeAdjust = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextSizeAdjustNone: styleTextSizeAdjust = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextSizeAdjustAuto: styleTextSizeAdjust = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextSizeAdjust_Max: styleTextSizeAdjust = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleTextTransform = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextTransformNotSet: styleTextTransform = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextTransformCapitalize: styleTextTransform = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextTransformLowercase: styleTextTransform = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextTransformUppercase: styleTextTransform = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextTransformNone: styleTextTransform = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextTransform_Max: styleTextTransform = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleTextUnderlinePosition = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlinePositionBelow: styleTextUnderlinePosition = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlinePositionAbove: styleTextUnderlinePosition = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlinePositionAuto: styleTextUnderlinePosition = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlinePositionNotSet: styleTextUnderlinePosition = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlinePosition_Max: styleTextUnderlinePosition = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleTextUnderlineStyle = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleUndefined: styleTextUnderlineStyle = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleSingle: styleTextUnderlineStyle = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleDouble: styleTextUnderlineStyle = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleWords: styleTextUnderlineStyle = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleDotted: styleTextUnderlineStyle = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleThick: styleTextUnderlineStyle = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleDash: styleTextUnderlineStyle = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleDotDash: styleTextUnderlineStyle = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleDotDotDash: styleTextUnderlineStyle = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleWave: styleTextUnderlineStyle = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleSingleAccounting: styleTextUnderlineStyle = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleDoubleAccounting: styleTextUnderlineStyle = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleThickDash: styleTextUnderlineStyle = 12i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyle_Max: styleTextUnderlineStyle = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleTransformOriginX = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginXNotSet: styleTransformOriginX = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginXLeft: styleTransformOriginX = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginXCenter: styleTransformOriginX = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginXRight: styleTransformOriginX = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginX_Max: styleTransformOriginX = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleTransformOriginY = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginYNotSet: styleTransformOriginY = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginYTop: styleTransformOriginY = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginYCenter: styleTransformOriginY = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginYBottom: styleTransformOriginY = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginY_Max: styleTransformOriginY = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleTransformStyle = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformStyleFlat: styleTransformStyle = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformStylePreserve3D: styleTransformStyle = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformStyleNotSet: styleTransformStyle = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformStyle_Max: styleTransformStyle = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleUserZoom = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleUserZoomNotSet: styleUserZoom = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleUserZoomZoom: styleUserZoom = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleUserZoomFixed: styleUserZoom = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleUserZoom_Max: styleUserZoom = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleVerticalAlign = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignAuto: styleVerticalAlign = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignBaseline: styleVerticalAlign = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignSub: styleVerticalAlign = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignSuper: styleVerticalAlign = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignTop: styleVerticalAlign = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignTextTop: styleVerticalAlign = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignMiddle: styleVerticalAlign = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignBottom: styleVerticalAlign = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignTextBottom: styleVerticalAlign = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignInherit: styleVerticalAlign = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignNotSet: styleVerticalAlign = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlign_Max: styleVerticalAlign = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleViewportSize = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleViewportSizeAuto: styleViewportSize = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleViewportSizeDeviceWidth: styleViewportSize = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleViewportSizeDeviceHeight: styleViewportSize = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleViewportSize_Max: styleViewportSize = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleVisibility = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVisibilityNotSet: styleVisibility = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVisibilityInherit: styleVisibility = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVisibilityVisible: styleVisibility = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVisibilityHidden: styleVisibility = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVisibilityCollapse: styleVisibility = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVisibility_Max: styleVisibility = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleWebkitAppearance = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceNone: styleWebkitAppearance = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceCapsLockIndicator: styleWebkitAppearance = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceButton: styleWebkitAppearance = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceButtonBevel: styleWebkitAppearance = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceCaret: styleWebkitAppearance = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceCheckbox: styleWebkitAppearance = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceDefaultButton: styleWebkitAppearance = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceListbox: styleWebkitAppearance = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceListitem: styleWebkitAppearance = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMediaFullscreenButton: styleWebkitAppearance = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMediaMuteButton: styleWebkitAppearance = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMediaPlayButton: styleWebkitAppearance = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMediaSeekBackButton: styleWebkitAppearance = 12i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMediaSeekForwardButton: styleWebkitAppearance = 13i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMediaSlider: styleWebkitAppearance = 14i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMediaSliderthumb: styleWebkitAppearance = 15i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMenulist: styleWebkitAppearance = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMenulistButton: styleWebkitAppearance = 17i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMenulistText: styleWebkitAppearance = 18i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMenulistTextfield: styleWebkitAppearance = 19i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearancePushButton: styleWebkitAppearance = 20i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceRadio: styleWebkitAppearance = 21i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSearchfield: styleWebkitAppearance = 22i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSearchfieldCancelButton: styleWebkitAppearance = 23i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSearchfieldDecoration: styleWebkitAppearance = 24i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSearchfieldResultsButton: styleWebkitAppearance = 25i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSearchfieldResultsDecoration: styleWebkitAppearance = 26i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSliderHorizontal: styleWebkitAppearance = 27i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSliderVertical: styleWebkitAppearance = 28i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSliderthumbHorizontal: styleWebkitAppearance = 29i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSliderthumbVertical: styleWebkitAppearance = 30i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSquareButton: styleWebkitAppearance = 31i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceTextarea: styleWebkitAppearance = 32i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceTextfield: styleWebkitAppearance = 33i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceNotSet: styleWebkitAppearance = 34i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearance_Max: styleWebkitAppearance = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleWebkitBoxDirection = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxDirectionNormal: styleWebkitBoxDirection = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxDirectionReverse: styleWebkitBoxDirection = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxDirectionNotSet: styleWebkitBoxDirection = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxDirection_Max: styleWebkitBoxDirection = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleWebkitBoxOrient = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxOrientHorizontal: styleWebkitBoxOrient = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxOrientInlineAxis: styleWebkitBoxOrient = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxOrientVertical: styleWebkitBoxOrient = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxOrientBlockAxis: styleWebkitBoxOrient = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxOrientNotSet: styleWebkitBoxOrient = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxOrient_Max: styleWebkitBoxOrient = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleWebkitBoxPack = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxPackStart: styleWebkitBoxPack = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxPackEnd: styleWebkitBoxPack = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxPackCenter: styleWebkitBoxPack = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxPackJustify: styleWebkitBoxPack = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxPackNotSet: styleWebkitBoxPack = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxPack_Max: styleWebkitBoxPack = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleWhiteSpace = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWhiteSpaceNotSet: styleWhiteSpace = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWhiteSpaceNormal: styleWhiteSpace = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWhiteSpacePre: styleWhiteSpace = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWhiteSpaceNowrap: styleWhiteSpace = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWhiteSpacePreline: styleWhiteSpace = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWhiteSpacePrewrap: styleWhiteSpace = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWhiteSpace_Max: styleWhiteSpace = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleWidowsOrphans = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWidowsOrphansNotSet: styleWidowsOrphans = -2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWidowsOrphans_Max: styleWidowsOrphans = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleWordBreak = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordBreakNotSet: styleWordBreak = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordBreakNormal: styleWordBreak = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordBreakBreakAll: styleWordBreak = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordBreakKeepAll: styleWordBreak = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordBreak_Max: styleWordBreak = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleWordWrap = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordWrapNotSet: styleWordWrap = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordWrapOff: styleWordWrap = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordWrapOn: styleWordWrap = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordWrap_Max: styleWordWrap = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleWrapFlow = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlowNotSet: styleWrapFlow = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlowAuto: styleWrapFlow = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlowBoth: styleWrapFlow = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlowStart: styleWrapFlow = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlowEnd: styleWrapFlow = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlowClear: styleWrapFlow = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlowMinimum: styleWrapFlow = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlowMaximum: styleWrapFlow = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlow_Max: styleWrapFlow = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleWrapThrough = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapThroughNotSet: styleWrapThrough = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapThroughWrap: styleWrapThrough = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapThroughNone: styleWrapThrough = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapThrough_Max: styleWrapThrough = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleWritingMode = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeLrtb: styleWritingMode = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeTbrl: styleWritingMode = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeRltb: styleWritingMode = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeBtrl: styleWritingMode = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeNotSet: styleWritingMode = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeTblr: styleWritingMode = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeBtlr: styleWritingMode = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeLrbt: styleWritingMode = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeRlbt: styleWritingMode = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeLr: styleWritingMode = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeRl: styleWritingMode = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeTb: styleWritingMode = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingMode_Max: styleWritingMode = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type styleZIndex = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleZIndexAuto: styleZIndex = -2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleZIndex_Max: styleZIndex = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgAngleType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_ANGLETYPE_UNKNOWN: svgAngleType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_ANGLETYPE_UNSPECIFIED: svgAngleType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_ANGLETYPE_DEG: svgAngleType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_ANGLETYPE_RAD: svgAngleType = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_ANGLETYPE_GRAD: svgAngleType = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgAngleType_Max: svgAngleType = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgChannel = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_CHANNEL_UNKNOWN: svgChannel = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_CHANNEL_R: svgChannel = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_CHANNEL_G: svgChannel = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_CHANNEL_B: svgChannel = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_CHANNEL_A: svgChannel = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgChannel_Max: svgChannel = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgEdgemode = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_EDGEMODE_UNKNOWN: svgEdgemode = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_EDGEMODE_DUPLICATE: svgEdgemode = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_EDGEMODE_WRAP: svgEdgemode = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_EDGEMODE_NONE: svgEdgemode = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgEdgemode_Max: svgEdgemode = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgExternalResourcesRequired = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgExternalResourcesRequiredFalse: svgExternalResourcesRequired = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgExternalResourcesRequiredTrue: svgExternalResourcesRequired = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgExternalResourcesRequired_Max: svgExternalResourcesRequired = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgFeblendMode = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FEBLEND_MODE_UNKNOWN: svgFeblendMode = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FEBLEND_MODE_NORMAL: svgFeblendMode = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FEBLEND_MODE_MULTIPLY: svgFeblendMode = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FEBLEND_MODE_SCREEN: svgFeblendMode = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FEBLEND_MODE_DARKEN: svgFeblendMode = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FEBLEND_MODE_LIGHTEN: svgFeblendMode = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFeblendMode_Max: svgFeblendMode = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgFecolormatrixType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOLORMATRIX_TYPE_UNKNOWN: svgFecolormatrixType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOLORMATRIX_TYPE_MATRIX: svgFecolormatrixType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOLORMATRIX_TYPE_SATURATE: svgFecolormatrixType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOLORMATRIX_TYPE_HUEROTATE: svgFecolormatrixType = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: svgFecolormatrixType = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFecolormatrixType_Max: svgFecolormatrixType = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgFecomponenttransferType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: svgFecomponenttransferType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: svgFecomponenttransferType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPONENTTRANSFER_TYPE_TABLE: svgFecomponenttransferType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: svgFecomponenttransferType = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: svgFecomponenttransferType = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: svgFecomponenttransferType = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFecomponenttransferType_Max: svgFecomponenttransferType = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgFecompositeOperator = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPOSITE_OPERATOR_UNKNOWN: svgFecompositeOperator = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPOSITE_OPERATOR_OVER: svgFecompositeOperator = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPOSITE_OPERATOR_IN: svgFecompositeOperator = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPOSITE_OPERATOR_OUT: svgFecompositeOperator = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPOSITE_OPERATOR_ATOP: svgFecompositeOperator = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPOSITE_OPERATOR_XOR: svgFecompositeOperator = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: svgFecompositeOperator = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFecompositeOperator_Max: svgFecompositeOperator = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgFocusable = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFocusableNotSet: svgFocusable = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFocusableAuto: svgFocusable = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFocusableTrue: svgFocusable = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFocusableFalse: svgFocusable = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFocusable_Max: svgFocusable = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgLengthType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_UNKNOWN: svgLengthType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_NUMBER: svgLengthType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_PERCENTAGE: svgLengthType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_EMS: svgLengthType = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_EXS: svgLengthType = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_PX: svgLengthType = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_CM: svgLengthType = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_MM: svgLengthType = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_IN: svgLengthType = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_PT: svgLengthType = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_PC: svgLengthType = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgLengthType_Max: svgLengthType = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgMarkerOrient = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MARKER_ORIENT_UNKNOWN: svgMarkerOrient = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MARKER_ORIENT_AUTO: svgMarkerOrient = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MARKER_ORIENT_ANGLE: svgMarkerOrient = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgMarkerOrient_Max: svgMarkerOrient = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgMarkerOrientAttribute = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgMarkerOrientAttributeAuto: svgMarkerOrientAttribute = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgMarkerOrientAttribute_Max: svgMarkerOrientAttribute = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgMarkerUnits = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MARKERUNITS_UNKNOWN: svgMarkerUnits = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MARKERUNITS_USERSPACEONUSE: svgMarkerUnits = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MARKERUNITS_STROKEWIDTH: svgMarkerUnits = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgMarkerUnits_Max: svgMarkerUnits = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgMorphologyOperator = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MORPHOLOGY_OPERATOR_UNKNOWN: svgMorphologyOperator = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MORPHOLOGY_OPERATOR_ERODE: svgMorphologyOperator = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MORPHOLOGY_OPERATOR_DILATE: svgMorphologyOperator = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgMorphologyOperator_Max: svgMorphologyOperator = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgPathSegType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_UNKNOWN: svgPathSegType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CLOSEPATH: svgPathSegType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_MOVETO_ABS: svgPathSegType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_MOVETO_REL: svgPathSegType = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_LINETO_ABS: svgPathSegType = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_LINETO_REL: svgPathSegType = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CURVETO_CUBIC_ABS: svgPathSegType = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CURVETO_CUBIC_REL: svgPathSegType = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CURVETO_QUADRATIC_ABS: svgPathSegType = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CURVETO_QUADRATIC_REL: svgPathSegType = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_ARC_ABS: svgPathSegType = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_ARC_REL: svgPathSegType = 11i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_LINETO_HORIZONTAL_ABS: svgPathSegType = 12i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_LINETO_HORIZONTAL_REL: svgPathSegType = 13i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_LINETO_VERTICAL_ABS: svgPathSegType = 14i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_LINETO_VERTICAL_REL: svgPathSegType = 15i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: svgPathSegType = 16i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CURVETO_CUBIC_SMOOTH_REL: svgPathSegType = 17i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: svgPathSegType = 18i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: svgPathSegType = 19i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgPathSegType_Max: svgPathSegType = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgPreserveAlpha = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEALPHA_FALSE: svgPreserveAlpha = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEALPHA_TRUE: svgPreserveAlpha = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgPreserveAlpha_Max: svgPreserveAlpha = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgPreserveAspectMeetOrSliceType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MEETORSLICE_UNKNOWN: svgPreserveAspectMeetOrSliceType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MEETORSLICE_MEET: svgPreserveAspectMeetOrSliceType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MEETORSLICE_SLICE: svgPreserveAspectMeetOrSliceType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgPreserveAspectMeetOrSliceType_Max: svgPreserveAspectMeetOrSliceType = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgPreserveAspectRatioAlignType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_UNKNOWN: svgPreserveAspectRatioAlignType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_NONE: svgPreserveAspectRatioAlignType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMINYMIN: svgPreserveAspectRatioAlignType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMIDYMIN: svgPreserveAspectRatioAlignType = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMAXYMIN: svgPreserveAspectRatioAlignType = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMINYMID: svgPreserveAspectRatioAlignType = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMIDYMID: svgPreserveAspectRatioAlignType = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMAXYMID: svgPreserveAspectRatioAlignType = 7i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMINYMAX: svgPreserveAspectRatioAlignType = 8i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMIDYMAX: svgPreserveAspectRatioAlignType = 9i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMAXYMAX: svgPreserveAspectRatioAlignType = 10i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgPreserveAspectRatioAlignType_Max: svgPreserveAspectRatioAlignType = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgSpreadMethod = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_SPREADMETHOD_UNKNOWN: svgSpreadMethod = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_SPREADMETHOD_PAD: svgSpreadMethod = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_SPREADMETHOD_REFLECT: svgSpreadMethod = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_SPREADMETHOD_REPEAT: svgSpreadMethod = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgSpreadMethod_Max: svgSpreadMethod = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgStitchtype = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_STITCHTYPE_UNKNOWN: svgStitchtype = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_STITCHTYPE_STITCH: svgStitchtype = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_STITCHTYPE_NOSTITCH: svgStitchtype = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgStitchtype_Max: svgStitchtype = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgTransformType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TRANSFORM_UNKNOWN: svgTransformType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TRANSFORM_MATRIX: svgTransformType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TRANSFORM_TRANSLATE: svgTransformType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TRANSFORM_SCALE: svgTransformType = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TRANSFORM_ROTATE: svgTransformType = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TRANSFORM_SKEWX: svgTransformType = 5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TRANSFORM_SKEWY: svgTransformType = 6i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgTransformType_Max: svgTransformType = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgTurbulenceType = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TURBULENCE_TYPE_UNKNOWN: svgTurbulenceType = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TURBULENCE_TYPE_FACTALNOISE: svgTurbulenceType = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TURBULENCE_TYPE_TURBULENCE: svgTurbulenceType = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgTurbulenceType_Max: svgTurbulenceType = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type svgUnitTypes = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_UNITTYPE_UNKNOWN: svgUnitTypes = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_UNITTYPE_USERSPACEONUSE: svgUnitTypes = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_UNITTYPE_OBJECTBOUNDINGBOX: svgUnitTypes = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgUnitTypes_Max: svgUnitTypes = 2147483647i32; -#[repr(C)] -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub struct tagNavigateData { - pub ulTarget: u32, - pub ulURL: u32, - pub ulRefURL: u32, - pub ulPostData: u32, - pub dwFlags: u32, -} -impl ::core::marker::Copy for tagNavigateData {} -impl ::core::clone::Clone for tagNavigateData { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type textDecoration = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const textDecorationNone: textDecoration = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const textDecorationUnderline: textDecoration = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const textDecorationOverline: textDecoration = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const textDecorationLineThrough: textDecoration = 3i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const textDecorationBlink: textDecoration = 4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const textDecoration_Max: textDecoration = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type textpathMethodtype = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TEXTPATH_METHODTYPE_UNKNOWN: textpathMethodtype = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TEXTPATH_METHODTYPE_ALIGN: textpathMethodtype = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TEXTPATH_METHODTYPE_STRETCH: textpathMethodtype = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const textpathMethodtype_Max: textpathMethodtype = 2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type textpathSpacingtype = i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TEXTPATH_SPACINGTYPE_UNKNOWN: textpathSpacingtype = 0i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TEXTPATH_SPACINGTYPE_AUTO: textpathSpacingtype = 1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TEXTPATH_SPACINGTYPE_EXACT: textpathSpacingtype = 2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const textpathSpacingtype_Max: textpathSpacingtype = 2147483647i32; -pub const wfolders: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3135446938, data2: 7041, data3: 4562, data4: [169, 122, 0, 192, 79, 142, 203, 2] }; diff --git a/crates/libs/sys/src/Windows/Win32/Web/mod.rs b/crates/libs/sys/src/Windows/Win32/Web/mod.rs deleted file mode 100644 index 0c77f40b34..0000000000 --- a/crates/libs/sys/src/Windows/Win32/Web/mod.rs +++ /dev/null @@ -1,2 +0,0 @@ -#[cfg(feature = "Win32_Web_MsHtml")] -pub mod MsHtml; diff --git a/crates/libs/sys/src/Windows/Win32/mod.rs b/crates/libs/sys/src/Windows/Win32/mod.rs index ba3633b506..64a019a760 100644 --- a/crates/libs/sys/src/Windows/Win32/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/mod.rs @@ -28,5 +28,3 @@ pub mod Storage; pub mod System; #[cfg(feature = "Win32_UI")] pub mod UI; -#[cfg(feature = "Win32_Web")] -pub mod Web; diff --git a/crates/libs/windows/Cargo.toml b/crates/libs/windows/Cargo.toml index 8f592fc10c..bc389f0402 100644 --- a/crates/libs/windows/Cargo.toml +++ b/crates/libs/windows/Cargo.toml @@ -600,7 +600,6 @@ Win32_System_DeveloperLicensing = ["Win32_System"] Win32_System_Diagnostics = ["Win32_System"] Win32_System_Diagnostics_Ceip = ["Win32_System_Diagnostics"] Win32_System_Diagnostics_Debug = ["Win32_System_Diagnostics"] -Win32_System_Diagnostics_Debug_WebApp = ["Win32_System_Diagnostics_Debug"] Win32_System_Diagnostics_Etw = ["Win32_System_Diagnostics"] Win32_System_Diagnostics_ProcessSnapshotting = ["Win32_System_Diagnostics"] Win32_System_Diagnostics_ToolHelp = ["Win32_System_Diagnostics"] @@ -720,5 +719,3 @@ Win32_UI_WindowsAndMessaging = ["Win32_UI"] Win32_UI_Wpf = ["Win32_UI"] Win32_UI_Xaml = ["Win32_UI"] Win32_UI_Xaml_Diagnostics = ["Win32_UI_Xaml"] -Win32_Web = ["Win32"] -Win32_Web_MsHtml = ["Win32_Web"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/WebApp/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/WebApp/impl.rs deleted file mode 100644 index 05d893642d..0000000000 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/WebApp/impl.rs +++ /dev/null @@ -1,235 +0,0 @@ -pub trait IWebApplicationActivation_Impl: Sized { - fn CancelPendingActivation(&self) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IWebApplicationActivation {} -impl IWebApplicationActivation_Vtbl { - pub const fn new, Impl: IWebApplicationActivation_Impl, const OFFSET: isize>() -> IWebApplicationActivation_Vtbl { - unsafe extern "system" fn CancelPendingActivation, Impl: IWebApplicationActivation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.CancelPendingActivation().into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), CancelPendingActivation: CancelPendingActivation:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IWebApplicationAuthoringMode_Impl: Sized + super::super::super::Com::IServiceProvider_Impl { - fn AuthoringClientBinary(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IWebApplicationAuthoringMode {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IWebApplicationAuthoringMode_Vtbl { - pub const fn new, Impl: IWebApplicationAuthoringMode_Impl, const OFFSET: isize>() -> IWebApplicationAuthoringMode_Vtbl { - unsafe extern "system" fn AuthoringClientBinary, Impl: IWebApplicationAuthoringMode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, designmodedllpath: *mut super::super::super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.AuthoringClientBinary() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(designmodedllpath, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::super::Com::IServiceProvider_Vtbl::new::(), - AuthoringClientBinary: AuthoringClientBinary::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] -pub trait IWebApplicationHost_Impl: Sized { - fn HWND(&self, hwnd: *mut super::super::super::super::Foundation::HWND) -> ::windows::core::Result<()>; - fn Document(&self) -> ::windows::core::Result; - fn Refresh(&self) -> ::windows::core::Result<()>; - fn Advise(&self, interfaceid: *const ::windows::core::GUID, callback: &::core::option::Option<::windows::core::IUnknown>, cookie: *mut u32) -> ::windows::core::Result<()>; - fn Unadvise(&self, cookie: u32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] -impl ::windows::core::RuntimeName for IWebApplicationHost {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] -impl IWebApplicationHost_Vtbl { - pub const fn new, Impl: IWebApplicationHost_Impl, const OFFSET: isize>() -> IWebApplicationHost_Vtbl { - unsafe extern "system" fn HWND, Impl: IWebApplicationHost_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, hwnd: *mut super::super::super::super::Foundation::HWND) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.HWND(::core::mem::transmute_copy(&hwnd)).into() - } - unsafe extern "system" fn Document, Impl: IWebApplicationHost_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, htmldocument: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Document() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(htmldocument, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Refresh, Impl: IWebApplicationHost_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Refresh().into() - } - unsafe extern "system" fn Advise, Impl: IWebApplicationHost_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, interfaceid: *const ::windows::core::GUID, callback: *mut ::core::ffi::c_void, cookie: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Advise(::core::mem::transmute_copy(&interfaceid), ::core::mem::transmute(&callback), ::core::mem::transmute_copy(&cookie)).into() - } - unsafe extern "system" fn Unadvise, Impl: IWebApplicationHost_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cookie: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Unadvise(::core::mem::transmute_copy(&cookie)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - HWND: HWND::, - Document: Document::, - Refresh: Refresh::, - Advise: Advise::, - Unadvise: Unadvise::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] -pub trait IWebApplicationNavigationEvents_Impl: Sized { - fn BeforeNavigate(&self, htmlwindow: &::core::option::Option, url: &::windows::core::PCWSTR, navigationflags: u32, targetframename: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; - fn NavigateComplete(&self, htmlwindow: &::core::option::Option, url: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; - fn NavigateError(&self, htmlwindow: &::core::option::Option, url: &::windows::core::PCWSTR, targetframename: &::windows::core::PCWSTR, statuscode: u32) -> ::windows::core::Result<()>; - fn DocumentComplete(&self, htmlwindow: &::core::option::Option, url: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; - fn DownloadBegin(&self) -> ::windows::core::Result<()>; - fn DownloadComplete(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] -impl ::windows::core::RuntimeName for IWebApplicationNavigationEvents {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] -impl IWebApplicationNavigationEvents_Vtbl { - pub const fn new, Impl: IWebApplicationNavigationEvents_Impl, const OFFSET: isize>() -> IWebApplicationNavigationEvents_Vtbl { - unsafe extern "system" fn BeforeNavigate, Impl: IWebApplicationNavigationEvents_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, htmlwindow: *mut ::core::ffi::c_void, url: ::windows::core::PCWSTR, navigationflags: u32, targetframename: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.BeforeNavigate(::core::mem::transmute(&htmlwindow), ::core::mem::transmute(&url), ::core::mem::transmute_copy(&navigationflags), ::core::mem::transmute(&targetframename)).into() - } - unsafe extern "system" fn NavigateComplete, Impl: IWebApplicationNavigationEvents_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, htmlwindow: *mut ::core::ffi::c_void, url: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.NavigateComplete(::core::mem::transmute(&htmlwindow), ::core::mem::transmute(&url)).into() - } - unsafe extern "system" fn NavigateError, Impl: IWebApplicationNavigationEvents_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, htmlwindow: *mut ::core::ffi::c_void, url: ::windows::core::PCWSTR, targetframename: ::windows::core::PCWSTR, statuscode: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.NavigateError(::core::mem::transmute(&htmlwindow), ::core::mem::transmute(&url), ::core::mem::transmute(&targetframename), ::core::mem::transmute_copy(&statuscode)).into() - } - unsafe extern "system" fn DocumentComplete, Impl: IWebApplicationNavigationEvents_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, htmlwindow: *mut ::core::ffi::c_void, url: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.DocumentComplete(::core::mem::transmute(&htmlwindow), ::core::mem::transmute(&url)).into() - } - unsafe extern "system" fn DownloadBegin, Impl: IWebApplicationNavigationEvents_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.DownloadBegin().into() - } - unsafe extern "system" fn DownloadComplete, Impl: IWebApplicationNavigationEvents_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.DownloadComplete().into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - BeforeNavigate: BeforeNavigate::, - NavigateComplete: NavigateComplete::, - NavigateError: NavigateError::, - DocumentComplete: DocumentComplete::, - DownloadBegin: DownloadBegin::, - DownloadComplete: DownloadComplete::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] -pub trait IWebApplicationScriptEvents_Impl: Sized { - fn BeforeScriptExecute(&self, htmlwindow: &::core::option::Option) -> ::windows::core::Result<()>; - fn ScriptError(&self, htmlwindow: &::core::option::Option, scripterror: &::core::option::Option, url: &::windows::core::PCWSTR, errorhandled: super::super::super::super::Foundation::BOOL) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] -impl ::windows::core::RuntimeName for IWebApplicationScriptEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] -impl IWebApplicationScriptEvents_Vtbl { - pub const fn new, Impl: IWebApplicationScriptEvents_Impl, const OFFSET: isize>() -> IWebApplicationScriptEvents_Vtbl { - unsafe extern "system" fn BeforeScriptExecute, Impl: IWebApplicationScriptEvents_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, htmlwindow: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.BeforeScriptExecute(::core::mem::transmute(&htmlwindow)).into() - } - unsafe extern "system" fn ScriptError, Impl: IWebApplicationScriptEvents_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, htmlwindow: *mut ::core::ffi::c_void, scripterror: *mut ::core::ffi::c_void, url: ::windows::core::PCWSTR, errorhandled: super::super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ScriptError(::core::mem::transmute(&htmlwindow), ::core::mem::transmute(&scripterror), ::core::mem::transmute(&url), ::core::mem::transmute_copy(&errorhandled)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - BeforeScriptExecute: BeforeScriptExecute::, - ScriptError: ScriptError::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IWebApplicationUIEvents_Impl: Sized { - fn SecurityProblem(&self, securityproblem: u32, result: *mut ::windows::core::HRESULT) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IWebApplicationUIEvents {} -impl IWebApplicationUIEvents_Vtbl { - pub const fn new, Impl: IWebApplicationUIEvents_Impl, const OFFSET: isize>() -> IWebApplicationUIEvents_Vtbl { - unsafe extern "system" fn SecurityProblem, Impl: IWebApplicationUIEvents_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, securityproblem: u32, result: *mut ::windows::core::HRESULT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SecurityProblem(::core::mem::transmute_copy(&securityproblem), ::core::mem::transmute_copy(&result)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), SecurityProblem: SecurityProblem:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IWebApplicationUpdateEvents_Impl: Sized { - fn OnPaint(&self) -> ::windows::core::Result<()>; - fn OnCssChanged(&self) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IWebApplicationUpdateEvents {} -impl IWebApplicationUpdateEvents_Vtbl { - pub const fn new, Impl: IWebApplicationUpdateEvents_Impl, const OFFSET: isize>() -> IWebApplicationUpdateEvents_Vtbl { - unsafe extern "system" fn OnPaint, Impl: IWebApplicationUpdateEvents_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnPaint().into() - } - unsafe extern "system" fn OnCssChanged, Impl: IWebApplicationUpdateEvents_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnCssChanged().into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - OnPaint: OnPaint::, - OnCssChanged: OnCssChanged::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/WebApp/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/WebApp/mod.rs deleted file mode 100644 index 11d3d1cbca..0000000000 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/WebApp/mod.rs +++ /dev/null @@ -1,505 +0,0 @@ -#[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_WebApp\"`*"] -#[repr(transparent)] -pub struct IWebApplicationActivation(::windows::core::IUnknown); -impl IWebApplicationActivation { - pub unsafe fn CancelPendingActivation(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).CancelPendingActivation)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IWebApplicationActivation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IWebApplicationActivation> for &'a ::windows::core::IUnknown { - fn from(value: &'a IWebApplicationActivation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IWebApplicationActivation> for ::windows::core::IUnknown { - fn from(value: &IWebApplicationActivation) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IWebApplicationActivation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IWebApplicationActivation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebApplicationActivation {} -impl ::core::fmt::Debug for IWebApplicationActivation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebApplicationActivation").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IWebApplicationActivation { - type Vtable = IWebApplicationActivation_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xbcdcd0de_330e_481b_b843_4898a6a8ebac); -} -#[repr(C)] -#[doc(hidden)] -pub struct IWebApplicationActivation_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub CancelPendingActivation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_WebApp\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IWebApplicationAuthoringMode(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IWebApplicationAuthoringMode { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn QueryService(&self, guidservice: *const ::windows::core::GUID, riid: *const ::windows::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.QueryService)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidservice), ::core::mem::transmute(riid), ::core::mem::transmute(ppvobject)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn AuthoringClientBinary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).AuthoringClientBinary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IWebApplicationAuthoringMode) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IWebApplicationAuthoringMode> for &'a ::windows::core::IUnknown { - fn from(value: &'a IWebApplicationAuthoringMode) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IWebApplicationAuthoringMode> for ::windows::core::IUnknown { - fn from(value: &IWebApplicationAuthoringMode) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::super::Com::IServiceProvider { - fn from(value: IWebApplicationAuthoringMode) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IWebApplicationAuthoringMode> for &'a super::super::super::Com::IServiceProvider { - fn from(value: &'a IWebApplicationAuthoringMode) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IWebApplicationAuthoringMode> for super::super::super::Com::IServiceProvider { - fn from(value: &IWebApplicationAuthoringMode) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWebApplicationAuthoringMode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWebApplicationAuthoringMode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWebApplicationAuthoringMode {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWebApplicationAuthoringMode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebApplicationAuthoringMode").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IWebApplicationAuthoringMode { - type Vtable = IWebApplicationAuthoringMode_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x720aea93_1964_4db0_b005_29eb9e2b18a9); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IWebApplicationAuthoringMode_Vtbl { - pub base__: super::super::super::Com::IServiceProvider_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub AuthoringClientBinary: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, designmodedllpath: *mut super::super::super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - AuthoringClientBinary: usize, -} -#[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_WebApp\"`*"] -#[repr(transparent)] -pub struct IWebApplicationHost(::windows::core::IUnknown); -impl IWebApplicationHost { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn HWND(&self, hwnd: *mut super::super::super::super::Foundation::HWND) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).HWND)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(hwnd)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Web_MsHtml\"`*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] - pub unsafe fn Document(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Refresh)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn Advise<'a, P0>(&self, interfaceid: *const ::windows::core::GUID, callback: P0, cookie: *mut u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(interfaceid), callback.into().abi(), ::core::mem::transmute(cookie)).ok() - } - pub unsafe fn Unadvise(&self, cookie: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Unadvise)(::windows::core::Interface::as_raw(self), cookie).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IWebApplicationHost) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IWebApplicationHost> for &'a ::windows::core::IUnknown { - fn from(value: &'a IWebApplicationHost) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IWebApplicationHost> for ::windows::core::IUnknown { - fn from(value: &IWebApplicationHost) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IWebApplicationHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IWebApplicationHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebApplicationHost {} -impl ::core::fmt::Debug for IWebApplicationHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebApplicationHost").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IWebApplicationHost { - type Vtable = IWebApplicationHost_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xcecbd2c3_a3a5_4749_9681_20e9161c6794); -} -#[repr(C)] -#[doc(hidden)] -pub struct IWebApplicationHost_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub HWND: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hwnd: *mut super::super::super::super::Foundation::HWND) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - HWND: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] - pub Document: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, htmldocument: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml")))] - Document: usize, - pub Refresh: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub Advise: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, interfaceid: *const ::windows::core::GUID, callback: *mut ::core::ffi::c_void, cookie: *mut u32) -> ::windows::core::HRESULT, - pub Unadvise: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cookie: u32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_WebApp\"`*"] -#[repr(transparent)] -pub struct IWebApplicationNavigationEvents(::windows::core::IUnknown); -impl IWebApplicationNavigationEvents { - #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Web_MsHtml\"`*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] - pub unsafe fn BeforeNavigate<'a, P0, P1, P2>(&self, htmlwindow: P0, url: P1, navigationflags: u32, targetframename: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::super::Web::MsHtml::IHTMLWindow2>>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).BeforeNavigate)(::windows::core::Interface::as_raw(self), htmlwindow.into().abi(), url.into(), navigationflags, targetframename.into()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Web_MsHtml\"`*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] - pub unsafe fn NavigateComplete<'a, P0, P1>(&self, htmlwindow: P0, url: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::super::Web::MsHtml::IHTMLWindow2>>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).NavigateComplete)(::windows::core::Interface::as_raw(self), htmlwindow.into().abi(), url.into()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Web_MsHtml\"`*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] - pub unsafe fn NavigateError<'a, P0, P1, P2>(&self, htmlwindow: P0, url: P1, targetframename: P2, statuscode: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::super::Web::MsHtml::IHTMLWindow2>>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).NavigateError)(::windows::core::Interface::as_raw(self), htmlwindow.into().abi(), url.into(), targetframename.into(), statuscode).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Web_MsHtml\"`*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] - pub unsafe fn DocumentComplete<'a, P0, P1>(&self, htmlwindow: P0, url: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::super::Web::MsHtml::IHTMLWindow2>>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).DocumentComplete)(::windows::core::Interface::as_raw(self), htmlwindow.into().abi(), url.into()).ok() - } - pub unsafe fn DownloadBegin(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).DownloadBegin)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn DownloadComplete(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).DownloadComplete)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IWebApplicationNavigationEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IWebApplicationNavigationEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a IWebApplicationNavigationEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IWebApplicationNavigationEvents> for ::windows::core::IUnknown { - fn from(value: &IWebApplicationNavigationEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IWebApplicationNavigationEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IWebApplicationNavigationEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebApplicationNavigationEvents {} -impl ::core::fmt::Debug for IWebApplicationNavigationEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebApplicationNavigationEvents").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IWebApplicationNavigationEvents { - type Vtable = IWebApplicationNavigationEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc22615d2_d318_4da2_8422_1fcaf77b10e4); -} -#[repr(C)] -#[doc(hidden)] -pub struct IWebApplicationNavigationEvents_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] - pub BeforeNavigate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, htmlwindow: *mut ::core::ffi::c_void, url: ::windows::core::PCWSTR, navigationflags: u32, targetframename: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml")))] - BeforeNavigate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] - pub NavigateComplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, htmlwindow: *mut ::core::ffi::c_void, url: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml")))] - NavigateComplete: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] - pub NavigateError: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, htmlwindow: *mut ::core::ffi::c_void, url: ::windows::core::PCWSTR, targetframename: ::windows::core::PCWSTR, statuscode: u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml")))] - NavigateError: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] - pub DocumentComplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, htmlwindow: *mut ::core::ffi::c_void, url: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml")))] - DocumentComplete: usize, - pub DownloadBegin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub DownloadComplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_WebApp\"`*"] -#[repr(transparent)] -pub struct IWebApplicationScriptEvents(::windows::core::IUnknown); -impl IWebApplicationScriptEvents { - #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Web_MsHtml\"`*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] - pub unsafe fn BeforeScriptExecute<'a, P0>(&self, htmlwindow: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::super::Web::MsHtml::IHTMLWindow2>>, - { - (::windows::core::Interface::vtable(self).BeforeScriptExecute)(::windows::core::Interface::as_raw(self), htmlwindow.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_Web_MsHtml\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] - pub unsafe fn ScriptError<'a, P0, P1, P2, P3>(&self, htmlwindow: P0, scripterror: P1, url: P2, errorhandled: P3) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::super::Web::MsHtml::IHTMLWindow2>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::IActiveScriptError>>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, - P3: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).ScriptError)(::windows::core::Interface::as_raw(self), htmlwindow.into().abi(), scripterror.into().abi(), url.into(), errorhandled.into()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IWebApplicationScriptEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IWebApplicationScriptEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a IWebApplicationScriptEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IWebApplicationScriptEvents> for ::windows::core::IUnknown { - fn from(value: &IWebApplicationScriptEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IWebApplicationScriptEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IWebApplicationScriptEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebApplicationScriptEvents {} -impl ::core::fmt::Debug for IWebApplicationScriptEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebApplicationScriptEvents").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IWebApplicationScriptEvents { - type Vtable = IWebApplicationScriptEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x7c3f6998_1567_4bba_b52b_48d32141d613); -} -#[repr(C)] -#[doc(hidden)] -pub struct IWebApplicationScriptEvents_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] - pub BeforeScriptExecute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, htmlwindow: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml")))] - BeforeScriptExecute: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] - pub ScriptError: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, htmlwindow: *mut ::core::ffi::c_void, scripterror: *mut ::core::ffi::c_void, url: ::windows::core::PCWSTR, errorhandled: super::super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_Web_MsHtml")))] - ScriptError: usize, -} -#[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_WebApp\"`*"] -#[repr(transparent)] -pub struct IWebApplicationUIEvents(::windows::core::IUnknown); -impl IWebApplicationUIEvents { - pub unsafe fn SecurityProblem(&self, securityproblem: u32, result: *mut ::windows::core::HRESULT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SecurityProblem)(::windows::core::Interface::as_raw(self), securityproblem, ::core::mem::transmute(result)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IWebApplicationUIEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IWebApplicationUIEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a IWebApplicationUIEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IWebApplicationUIEvents> for ::windows::core::IUnknown { - fn from(value: &IWebApplicationUIEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IWebApplicationUIEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IWebApplicationUIEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebApplicationUIEvents {} -impl ::core::fmt::Debug for IWebApplicationUIEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebApplicationUIEvents").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IWebApplicationUIEvents { - type Vtable = IWebApplicationUIEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x5b2b3f99_328c_41d5_a6f7_7483ed8e71dd); -} -#[repr(C)] -#[doc(hidden)] -pub struct IWebApplicationUIEvents_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub SecurityProblem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, securityproblem: u32, result: *mut ::windows::core::HRESULT) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_WebApp\"`*"] -#[repr(transparent)] -pub struct IWebApplicationUpdateEvents(::windows::core::IUnknown); -impl IWebApplicationUpdateEvents { - pub unsafe fn OnPaint(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).OnPaint)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn OnCssChanged(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).OnCssChanged)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IWebApplicationUpdateEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IWebApplicationUpdateEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a IWebApplicationUpdateEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IWebApplicationUpdateEvents> for ::windows::core::IUnknown { - fn from(value: &IWebApplicationUpdateEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IWebApplicationUpdateEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IWebApplicationUpdateEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebApplicationUpdateEvents {} -impl ::core::fmt::Debug for IWebApplicationUpdateEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebApplicationUpdateEvents").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IWebApplicationUpdateEvents { - type Vtable = IWebApplicationUpdateEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3e59e6b7_c652_4daf_ad5e_16feb350cde3); -} -#[repr(C)] -#[doc(hidden)] -pub struct IWebApplicationUpdateEvents_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub OnPaint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub OnCssChanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_WebApp\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -pub type RegisterAuthoringClientFunctionType = ::core::option::Option, host: ::core::option::Option) -> ::windows::core::HRESULT>; -#[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_WebApp\"`*"] -pub type UnregisterAuthoringClientFunctionType = ::core::option::Option) -> ::windows::core::HRESULT>; -#[cfg(feature = "implement")] -::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs index 16ad2ca478..73911eff7d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs @@ -1,5 +1,3 @@ -#[cfg(feature = "Win32_System_Diagnostics_Debug_WebApp")] -pub mod WebApp; #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] pub const ACTIVPROF_E_PROFILER_ABSENT: ::windows::core::HRESULT = ::windows::core::HRESULT(-2147220991i32); #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Web/MsHtml/impl.rs b/crates/libs/windows/src/Windows/Win32/Web/MsHtml/impl.rs deleted file mode 100644 index f445d16085..0000000000 --- a/crates/libs/windows/src/Windows/Win32/Web/MsHtml/impl.rs +++ /dev/null @@ -1,76931 +0,0 @@ -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait DWebBridgeEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for DWebBridgeEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl DWebBridgeEvents_Vtbl { - pub const fn new, Impl: DWebBridgeEvents_Impl, const OFFSET: isize>() -> DWebBridgeEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLAnchorEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLAnchorEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLAnchorEvents_Vtbl { - pub const fn new, Impl: HTMLAnchorEvents_Impl, const OFFSET: isize>() -> HTMLAnchorEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLAnchorEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLAnchorEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLAnchorEvents2_Vtbl { - pub const fn new, Impl: HTMLAnchorEvents2_Impl, const OFFSET: isize>() -> HTMLAnchorEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLAreaEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLAreaEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLAreaEvents_Vtbl { - pub const fn new, Impl: HTMLAreaEvents_Impl, const OFFSET: isize>() -> HTMLAreaEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLAreaEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLAreaEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLAreaEvents2_Vtbl { - pub const fn new, Impl: HTMLAreaEvents2_Impl, const OFFSET: isize>() -> HTMLAreaEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLButtonElementEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLButtonElementEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLButtonElementEvents_Vtbl { - pub const fn new, Impl: HTMLButtonElementEvents_Impl, const OFFSET: isize>() -> HTMLButtonElementEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLButtonElementEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLButtonElementEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLButtonElementEvents2_Vtbl { - pub const fn new, Impl: HTMLButtonElementEvents2_Impl, const OFFSET: isize>() -> HTMLButtonElementEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLControlElementEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLControlElementEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLControlElementEvents_Vtbl { - pub const fn new, Impl: HTMLControlElementEvents_Impl, const OFFSET: isize>() -> HTMLControlElementEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLControlElementEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLControlElementEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLControlElementEvents2_Vtbl { - pub const fn new, Impl: HTMLControlElementEvents2_Impl, const OFFSET: isize>() -> HTMLControlElementEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLDocumentEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLDocumentEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLDocumentEvents_Vtbl { - pub const fn new, Impl: HTMLDocumentEvents_Impl, const OFFSET: isize>() -> HTMLDocumentEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLDocumentEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLDocumentEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLDocumentEvents2_Vtbl { - pub const fn new, Impl: HTMLDocumentEvents2_Impl, const OFFSET: isize>() -> HTMLDocumentEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLDocumentEvents3_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLDocumentEvents3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLDocumentEvents3_Vtbl { - pub const fn new, Impl: HTMLDocumentEvents3_Impl, const OFFSET: isize>() -> HTMLDocumentEvents3_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLDocumentEvents4_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLDocumentEvents4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLDocumentEvents4_Vtbl { - pub const fn new, Impl: HTMLDocumentEvents4_Impl, const OFFSET: isize>() -> HTMLDocumentEvents4_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLElementEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLElementEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLElementEvents_Vtbl { - pub const fn new, Impl: HTMLElementEvents_Impl, const OFFSET: isize>() -> HTMLElementEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLElementEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLElementEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLElementEvents2_Vtbl { - pub const fn new, Impl: HTMLElementEvents2_Impl, const OFFSET: isize>() -> HTMLElementEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLElementEvents3_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLElementEvents3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLElementEvents3_Vtbl { - pub const fn new, Impl: HTMLElementEvents3_Impl, const OFFSET: isize>() -> HTMLElementEvents3_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLElementEvents4_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLElementEvents4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLElementEvents4_Vtbl { - pub const fn new, Impl: HTMLElementEvents4_Impl, const OFFSET: isize>() -> HTMLElementEvents4_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLFormElementEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLFormElementEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLFormElementEvents_Vtbl { - pub const fn new, Impl: HTMLFormElementEvents_Impl, const OFFSET: isize>() -> HTMLFormElementEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLFormElementEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLFormElementEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLFormElementEvents2_Vtbl { - pub const fn new, Impl: HTMLFormElementEvents2_Impl, const OFFSET: isize>() -> HTMLFormElementEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLFrameSiteEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLFrameSiteEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLFrameSiteEvents_Vtbl { - pub const fn new, Impl: HTMLFrameSiteEvents_Impl, const OFFSET: isize>() -> HTMLFrameSiteEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLFrameSiteEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLFrameSiteEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLFrameSiteEvents2_Vtbl { - pub const fn new, Impl: HTMLFrameSiteEvents2_Impl, const OFFSET: isize>() -> HTMLFrameSiteEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLImgEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLImgEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLImgEvents_Vtbl { - pub const fn new, Impl: HTMLImgEvents_Impl, const OFFSET: isize>() -> HTMLImgEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLImgEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLImgEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLImgEvents2_Vtbl { - pub const fn new, Impl: HTMLImgEvents2_Impl, const OFFSET: isize>() -> HTMLImgEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLInputFileElementEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLInputFileElementEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLInputFileElementEvents_Vtbl { - pub const fn new, Impl: HTMLInputFileElementEvents_Impl, const OFFSET: isize>() -> HTMLInputFileElementEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLInputFileElementEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLInputFileElementEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLInputFileElementEvents2_Vtbl { - pub const fn new, Impl: HTMLInputFileElementEvents2_Impl, const OFFSET: isize>() -> HTMLInputFileElementEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLInputImageEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLInputImageEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLInputImageEvents_Vtbl { - pub const fn new, Impl: HTMLInputImageEvents_Impl, const OFFSET: isize>() -> HTMLInputImageEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLInputImageEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLInputImageEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLInputImageEvents2_Vtbl { - pub const fn new, Impl: HTMLInputImageEvents2_Impl, const OFFSET: isize>() -> HTMLInputImageEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLInputTextElementEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLInputTextElementEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLInputTextElementEvents_Vtbl { - pub const fn new, Impl: HTMLInputTextElementEvents_Impl, const OFFSET: isize>() -> HTMLInputTextElementEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLInputTextElementEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLInputTextElementEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLInputTextElementEvents2_Vtbl { - pub const fn new, Impl: HTMLInputTextElementEvents2_Impl, const OFFSET: isize>() -> HTMLInputTextElementEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLLabelEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLLabelEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLLabelEvents_Vtbl { - pub const fn new, Impl: HTMLLabelEvents_Impl, const OFFSET: isize>() -> HTMLLabelEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLLabelEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLLabelEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLLabelEvents2_Vtbl { - pub const fn new, Impl: HTMLLabelEvents2_Impl, const OFFSET: isize>() -> HTMLLabelEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLLinkElementEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLLinkElementEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLLinkElementEvents_Vtbl { - pub const fn new, Impl: HTMLLinkElementEvents_Impl, const OFFSET: isize>() -> HTMLLinkElementEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLLinkElementEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLLinkElementEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLLinkElementEvents2_Vtbl { - pub const fn new, Impl: HTMLLinkElementEvents2_Impl, const OFFSET: isize>() -> HTMLLinkElementEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLMapEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLMapEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLMapEvents_Vtbl { - pub const fn new, Impl: HTMLMapEvents_Impl, const OFFSET: isize>() -> HTMLMapEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLMapEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLMapEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLMapEvents2_Vtbl { - pub const fn new, Impl: HTMLMapEvents2_Impl, const OFFSET: isize>() -> HTMLMapEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLMarqueeElementEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLMarqueeElementEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLMarqueeElementEvents_Vtbl { - pub const fn new, Impl: HTMLMarqueeElementEvents_Impl, const OFFSET: isize>() -> HTMLMarqueeElementEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLMarqueeElementEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLMarqueeElementEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLMarqueeElementEvents2_Vtbl { - pub const fn new, Impl: HTMLMarqueeElementEvents2_Impl, const OFFSET: isize>() -> HTMLMarqueeElementEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLNamespaceEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLNamespaceEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLNamespaceEvents_Vtbl { - pub const fn new, Impl: HTMLNamespaceEvents_Impl, const OFFSET: isize>() -> HTMLNamespaceEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLObjectElementEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLObjectElementEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLObjectElementEvents_Vtbl { - pub const fn new, Impl: HTMLObjectElementEvents_Impl, const OFFSET: isize>() -> HTMLObjectElementEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLObjectElementEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLObjectElementEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLObjectElementEvents2_Vtbl { - pub const fn new, Impl: HTMLObjectElementEvents2_Impl, const OFFSET: isize>() -> HTMLObjectElementEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLOptionButtonElementEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLOptionButtonElementEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLOptionButtonElementEvents_Vtbl { - pub const fn new, Impl: HTMLOptionButtonElementEvents_Impl, const OFFSET: isize>() -> HTMLOptionButtonElementEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLOptionButtonElementEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLOptionButtonElementEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLOptionButtonElementEvents2_Vtbl { - pub const fn new, Impl: HTMLOptionButtonElementEvents2_Impl, const OFFSET: isize>() -> HTMLOptionButtonElementEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLScriptEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLScriptEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLScriptEvents_Vtbl { - pub const fn new, Impl: HTMLScriptEvents_Impl, const OFFSET: isize>() -> HTMLScriptEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLScriptEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLScriptEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLScriptEvents2_Vtbl { - pub const fn new, Impl: HTMLScriptEvents2_Impl, const OFFSET: isize>() -> HTMLScriptEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLSelectElementEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLSelectElementEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLSelectElementEvents_Vtbl { - pub const fn new, Impl: HTMLSelectElementEvents_Impl, const OFFSET: isize>() -> HTMLSelectElementEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLSelectElementEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLSelectElementEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLSelectElementEvents2_Vtbl { - pub const fn new, Impl: HTMLSelectElementEvents2_Impl, const OFFSET: isize>() -> HTMLSelectElementEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLStyleElementEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLStyleElementEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLStyleElementEvents_Vtbl { - pub const fn new, Impl: HTMLStyleElementEvents_Impl, const OFFSET: isize>() -> HTMLStyleElementEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLStyleElementEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLStyleElementEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLStyleElementEvents2_Vtbl { - pub const fn new, Impl: HTMLStyleElementEvents2_Impl, const OFFSET: isize>() -> HTMLStyleElementEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLTableEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLTableEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLTableEvents_Vtbl { - pub const fn new, Impl: HTMLTableEvents_Impl, const OFFSET: isize>() -> HTMLTableEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLTableEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLTableEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLTableEvents2_Vtbl { - pub const fn new, Impl: HTMLTableEvents2_Impl, const OFFSET: isize>() -> HTMLTableEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLTextContainerEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLTextContainerEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLTextContainerEvents_Vtbl { - pub const fn new, Impl: HTMLTextContainerEvents_Impl, const OFFSET: isize>() -> HTMLTextContainerEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLTextContainerEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLTextContainerEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLTextContainerEvents2_Vtbl { - pub const fn new, Impl: HTMLTextContainerEvents2_Impl, const OFFSET: isize>() -> HTMLTextContainerEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLWindowEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLWindowEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLWindowEvents_Vtbl { - pub const fn new, Impl: HTMLWindowEvents_Impl, const OFFSET: isize>() -> HTMLWindowEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLWindowEvents2_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLWindowEvents2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLWindowEvents2_Vtbl { - pub const fn new, Impl: HTMLWindowEvents2_Impl, const OFFSET: isize>() -> HTMLWindowEvents2_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLWindowEvents3_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLWindowEvents3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLWindowEvents3_Vtbl { - pub const fn new, Impl: HTMLWindowEvents3_Impl, const OFFSET: isize>() -> HTMLWindowEvents3_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait HTMLXMLHttpRequestEvents_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for HTMLXMLHttpRequestEvents {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl HTMLXMLHttpRequestEvents_Vtbl { - pub const fn new, Impl: HTMLXMLHttpRequestEvents_Impl, const OFFSET: isize>() -> HTMLXMLHttpRequestEvents_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IActiveXUIHandlerSite_Impl: Sized { - fn CreateScrollableContextMenu(&self) -> ::windows::core::Result; - fn PickFileAndGetResult(&self, filepicker: &::core::option::Option<::windows::core::IUnknown>, allowmultipleselections: super::super::Foundation::BOOL) -> ::windows::core::Result<::windows::core::IUnknown>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IActiveXUIHandlerSite {} -#[cfg(feature = "Win32_Foundation")] -impl IActiveXUIHandlerSite_Vtbl { - pub const fn new, Impl: IActiveXUIHandlerSite_Impl, const OFFSET: isize>() -> IActiveXUIHandlerSite_Vtbl { - unsafe extern "system" fn CreateScrollableContextMenu, Impl: IActiveXUIHandlerSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, scrollablecontextmenu: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CreateScrollableContextMenu() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(scrollablecontextmenu, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn PickFileAndGetResult, Impl: IActiveXUIHandlerSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, filepicker: *mut ::core::ffi::c_void, allowmultipleselections: super::super::Foundation::BOOL, result: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.PickFileAndGetResult(::core::mem::transmute(&filepicker), ::core::mem::transmute_copy(&allowmultipleselections)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(result, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - CreateScrollableContextMenu: CreateScrollableContextMenu::, - PickFileAndGetResult: PickFileAndGetResult::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IActiveXUIHandlerSite2_Impl: Sized { - fn AddSuspensionExemption(&self) -> ::windows::core::Result; - fn RemoveSuspensionExemption(&self, ullcookie: u64) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IActiveXUIHandlerSite2 {} -impl IActiveXUIHandlerSite2_Vtbl { - pub const fn new, Impl: IActiveXUIHandlerSite2_Impl, const OFFSET: isize>() -> IActiveXUIHandlerSite2_Vtbl { - unsafe extern "system" fn AddSuspensionExemption, Impl: IActiveXUIHandlerSite2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pullcookie: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.AddSuspensionExemption() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pullcookie, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn RemoveSuspensionExemption, Impl: IActiveXUIHandlerSite2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ullcookie: u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.RemoveSuspensionExemption(::core::mem::transmute_copy(&ullcookie)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - AddSuspensionExemption: AddSuspensionExemption::, - RemoveSuspensionExemption: RemoveSuspensionExemption::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IActiveXUIHandlerSite3_Impl: Sized { - fn MessageBoxW(&self, hwnd: super::super::Foundation::HWND, text: &::windows::core::PCWSTR, caption: &::windows::core::PCWSTR, r#type: u32) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IActiveXUIHandlerSite3 {} -#[cfg(feature = "Win32_Foundation")] -impl IActiveXUIHandlerSite3_Vtbl { - pub const fn new, Impl: IActiveXUIHandlerSite3_Impl, const OFFSET: isize>() -> IActiveXUIHandlerSite3_Vtbl { - unsafe extern "system" fn MessageBoxW, Impl: IActiveXUIHandlerSite3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, hwnd: super::super::Foundation::HWND, text: ::windows::core::PCWSTR, caption: ::windows::core::PCWSTR, r#type: u32, result: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.MessageBoxW(::core::mem::transmute_copy(&hwnd), ::core::mem::transmute(&text), ::core::mem::transmute(&caption), ::core::mem::transmute_copy(&r#type)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(result, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), MessageBoxW: MessageBoxW:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IAnchorClick_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn ProcOnClick(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IAnchorClick {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IAnchorClick_Vtbl { - pub const fn new, Impl: IAnchorClick_Impl, const OFFSET: isize>() -> IAnchorClick_Vtbl { - unsafe extern "system" fn ProcOnClick, Impl: IAnchorClick_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ProcOnClick().into() - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), ProcOnClick: ProcOnClick:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -pub trait IAudioSessionSite_Impl: Sized { - fn GetAudioSessionGuid(&self) -> ::windows::core::Result<::windows::core::GUID>; - fn OnAudioStreamCreated(&self, endpointid: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; - fn OnAudioStreamDestroyed(&self, endpointid: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IAudioSessionSite {} -impl IAudioSessionSite_Vtbl { - pub const fn new, Impl: IAudioSessionSite_Impl, const OFFSET: isize>() -> IAudioSessionSite_Vtbl { - unsafe extern "system" fn GetAudioSessionGuid, Impl: IAudioSessionSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, audiosessionguid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetAudioSessionGuid() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(audiosessionguid, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn OnAudioStreamCreated, Impl: IAudioSessionSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, endpointid: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnAudioStreamCreated(::core::mem::transmute(&endpointid)).into() - } - unsafe extern "system" fn OnAudioStreamDestroyed, Impl: IAudioSessionSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, endpointid: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnAudioStreamDestroyed(::core::mem::transmute(&endpointid)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - GetAudioSessionGuid: GetAudioSessionGuid::, - OnAudioStreamCreated: OnAudioStreamCreated::, - OnAudioStreamDestroyed: OnAudioStreamDestroyed::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IBFCacheable_Impl: Sized { - fn EnterBFCache(&self) -> ::windows::core::Result<()>; - fn ExitBFCache(&self) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IBFCacheable {} -impl IBFCacheable_Vtbl { - pub const fn new, Impl: IBFCacheable_Impl, const OFFSET: isize>() -> IBFCacheable_Vtbl { - unsafe extern "system" fn EnterBFCache, Impl: IBFCacheable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.EnterBFCache().into() - } - unsafe extern "system" fn ExitBFCache, Impl: IBFCacheable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ExitBFCache().into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - EnterBFCache: EnterBFCache::, - ExitBFCache: ExitBFCache::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IBlockFormats_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn Count(&self) -> ::windows::core::Result; - fn Item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IBlockFormats {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IBlockFormats_Vtbl { - pub const fn new, Impl: IBlockFormats_Impl, const OFFSET: isize>() -> IBlockFormats_Vtbl { - unsafe extern "system" fn _NewEnum, Impl: IBlockFormats_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this._NewEnum() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Count, Impl: IBlockFormats_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Count() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Item, Impl: IBlockFormats_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarindex: *const super::super::System::Com::VARIANT, pbstrblockformat: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Item(::core::mem::transmute_copy(&pvarindex)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrblockformat, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - _NewEnum: _NewEnum::, - Count: Count::, - Item: Item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -pub trait ICSSFilter_Impl: Sized { - fn SetSite(&self, psink: &::core::option::Option) -> ::windows::core::Result<()>; - fn OnAmbientPropertyChange(&self, dispid: i32) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for ICSSFilter {} -impl ICSSFilter_Vtbl { - pub const fn new, Impl: ICSSFilter_Impl, const OFFSET: isize>() -> ICSSFilter_Vtbl { - unsafe extern "system" fn SetSite, Impl: ICSSFilter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, psink: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetSite(::core::mem::transmute(&psink)).into() - } - unsafe extern "system" fn OnAmbientPropertyChange, Impl: ICSSFilter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dispid: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnAmbientPropertyChange(::core::mem::transmute_copy(&dispid)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - SetSite: SetSite::, - OnAmbientPropertyChange: OnAmbientPropertyChange::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_System_Com")] -pub trait ICSSFilterSite_Impl: Sized { - fn GetElement(&self) -> ::windows::core::Result; - fn FireOnFilterChangeEvent(&self) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_System_Com")] -impl ::windows::core::RuntimeName for ICSSFilterSite {} -#[cfg(feature = "Win32_System_Com")] -impl ICSSFilterSite_Vtbl { - pub const fn new, Impl: ICSSFilterSite_Impl, const OFFSET: isize>() -> ICSSFilterSite_Vtbl { - unsafe extern "system" fn GetElement, Impl: ICSSFilterSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, element: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(element, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn FireOnFilterChangeEvent, Impl: ICSSFilterSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.FireOnFilterChangeEvent().into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - GetElement: GetElement::, - FireOnFilterChangeEvent: FireOnFilterChangeEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ICanvasGradient_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn addColorStop(&self, offset: f32, color: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ICanvasGradient {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ICanvasGradient_Vtbl { - pub const fn new, Impl: ICanvasGradient_Impl, const OFFSET: isize>() -> ICanvasGradient_Vtbl { - unsafe extern "system" fn addColorStop, Impl: ICanvasGradient_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: f32, color: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.addColorStop(::core::mem::transmute_copy(&offset), ::core::mem::transmute(&color)).into() - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), addColorStop: addColorStop:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ICanvasImageData_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn width(&self) -> ::windows::core::Result; - fn height(&self) -> ::windows::core::Result; - fn data(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ICanvasImageData {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ICanvasImageData_Vtbl { - pub const fn new, Impl: ICanvasImageData_Impl, const OFFSET: isize>() -> ICanvasImageData_Vtbl { - unsafe extern "system" fn width, Impl: ICanvasImageData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn height, Impl: ICanvasImageData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn data, Impl: ICanvasImageData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.data() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - width: width::, - height: height::, - data: data::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ICanvasPattern_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ICanvasPattern {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ICanvasPattern_Vtbl { - pub const fn new, Impl: ICanvasPattern_Impl, const OFFSET: isize>() -> ICanvasPattern_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ICanvasPixelArray_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ICanvasPixelArray {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ICanvasPixelArray_Vtbl { - pub const fn new, Impl: ICanvasPixelArray_Impl, const OFFSET: isize>() -> ICanvasPixelArray_Vtbl { - unsafe extern "system" fn length, Impl: ICanvasPixelArray_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), length: length:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -pub trait ICanvasPixelArrayData_Impl: Sized { - fn GetBufferPointer(&self, ppbuffer: *mut *mut u8, pbufferlength: *mut u32) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for ICanvasPixelArrayData {} -impl ICanvasPixelArrayData_Vtbl { - pub const fn new, Impl: ICanvasPixelArrayData_Impl, const OFFSET: isize>() -> ICanvasPixelArrayData_Vtbl { - unsafe extern "system" fn GetBufferPointer, Impl: ICanvasPixelArrayData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppbuffer: *mut *mut u8, pbufferlength: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetBufferPointer(::core::mem::transmute_copy(&ppbuffer), ::core::mem::transmute_copy(&pbufferlength)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), GetBufferPointer: GetBufferPointer:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ICanvasRenderingContext2D_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn canvas(&self) -> ::windows::core::Result; - fn restore(&self) -> ::windows::core::Result<()>; - fn save(&self) -> ::windows::core::Result<()>; - fn rotate(&self, angle: f32) -> ::windows::core::Result<()>; - fn scale(&self, x: f32, y: f32) -> ::windows::core::Result<()>; - fn setTransform(&self, m11: f32, m12: f32, m21: f32, m22: f32, dx: f32, dy: f32) -> ::windows::core::Result<()>; - fn transform(&self, m11: f32, m12: f32, m21: f32, m22: f32, dx: f32, dy: f32) -> ::windows::core::Result<()>; - fn translate(&self, x: f32, y: f32) -> ::windows::core::Result<()>; - fn SetglobalAlpha(&self, v: f32) -> ::windows::core::Result<()>; - fn globalAlpha(&self) -> ::windows::core::Result; - fn SetglobalCompositeOperation(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn globalCompositeOperation(&self) -> ::windows::core::Result; - fn SetfillStyle(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn fillStyle(&self) -> ::windows::core::Result; - fn SetstrokeStyle(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn strokeStyle(&self) -> ::windows::core::Result; - fn createLinearGradient(&self, x0: f32, y0: f32, x1: f32, y1: f32) -> ::windows::core::Result; - fn createRadialGradient(&self, x0: f32, y0: f32, r0: f32, x1: f32, y1: f32, r1: f32) -> ::windows::core::Result; - fn createPattern(&self, image: &::core::option::Option, repetition: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn SetlineCap(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn lineCap(&self) -> ::windows::core::Result; - fn SetlineJoin(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn lineJoin(&self) -> ::windows::core::Result; - fn SetlineWidth(&self, v: f32) -> ::windows::core::Result<()>; - fn lineWidth(&self) -> ::windows::core::Result; - fn SetmiterLimit(&self, v: f32) -> ::windows::core::Result<()>; - fn miterLimit(&self) -> ::windows::core::Result; - fn SetshadowBlur(&self, v: f32) -> ::windows::core::Result<()>; - fn shadowBlur(&self) -> ::windows::core::Result; - fn SetshadowColor(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn shadowColor(&self) -> ::windows::core::Result; - fn SetshadowOffsetX(&self, v: f32) -> ::windows::core::Result<()>; - fn shadowOffsetX(&self) -> ::windows::core::Result; - fn SetshadowOffsetY(&self, v: f32) -> ::windows::core::Result<()>; - fn shadowOffsetY(&self) -> ::windows::core::Result; - fn clearRect(&self, x: f32, y: f32, w: f32, h: f32) -> ::windows::core::Result<()>; - fn fillRect(&self, x: f32, y: f32, w: f32, h: f32) -> ::windows::core::Result<()>; - fn strokeRect(&self, x: f32, y: f32, w: f32, h: f32) -> ::windows::core::Result<()>; - fn arc(&self, x: f32, y: f32, radius: f32, startangle: f32, endangle: f32, anticlockwise: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; - fn arcTo(&self, x1: f32, y1: f32, x2: f32, y2: f32, radius: f32) -> ::windows::core::Result<()>; - fn beginPath(&self) -> ::windows::core::Result<()>; - fn bezierCurveTo(&self, cp1x: f32, cp1y: f32, cp2x: f32, cp2y: f32, x: f32, y: f32) -> ::windows::core::Result<()>; - fn clip(&self) -> ::windows::core::Result<()>; - fn closePath(&self) -> ::windows::core::Result<()>; - fn fill(&self) -> ::windows::core::Result<()>; - fn lineTo(&self, x: f32, y: f32) -> ::windows::core::Result<()>; - fn moveTo(&self, x: f32, y: f32) -> ::windows::core::Result<()>; - fn quadraticCurveTo(&self, cpx: f32, cpy: f32, x: f32, y: f32) -> ::windows::core::Result<()>; - fn rect(&self, x: f32, y: f32, w: f32, h: f32) -> ::windows::core::Result<()>; - fn stroke(&self) -> ::windows::core::Result<()>; - fn isPointInPath(&self, x: f32, y: f32) -> ::windows::core::Result; - fn Setfont(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn font(&self) -> ::windows::core::Result; - fn SettextAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textAlign(&self) -> ::windows::core::Result; - fn SettextBaseline(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textBaseline(&self) -> ::windows::core::Result; - fn fillText(&self, text: &super::super::Foundation::BSTR, x: f32, y: f32, maxwidth: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn measureText(&self, text: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn strokeText(&self, text: &super::super::Foundation::BSTR, x: f32, y: f32, maxwidth: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn drawImage(&self, psrc: &::core::option::Option, a1: &super::super::System::Com::VARIANT, a2: &super::super::System::Com::VARIANT, a3: &super::super::System::Com::VARIANT, a4: &super::super::System::Com::VARIANT, a5: &super::super::System::Com::VARIANT, a6: &super::super::System::Com::VARIANT, a7: &super::super::System::Com::VARIANT, a8: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn createImageData(&self, a1: &super::super::System::Com::VARIANT, a2: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn getImageData(&self, sx: f32, sy: f32, sw: f32, sh: f32) -> ::windows::core::Result; - fn putImageData(&self, imagedata: &::core::option::Option, dx: f32, dy: f32, dirtyx: &super::super::System::Com::VARIANT, dirtyy: &super::super::System::Com::VARIANT, dirtywidth: &super::super::System::Com::VARIANT, dirtyheight: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ICanvasRenderingContext2D {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ICanvasRenderingContext2D_Vtbl { - pub const fn new, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>() -> ICanvasRenderingContext2D_Vtbl { - unsafe extern "system" fn canvas, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.canvas() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn restore, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.restore().into() - } - unsafe extern "system" fn save, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.save().into() - } - unsafe extern "system" fn rotate, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, angle: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.rotate(::core::mem::transmute_copy(&angle)).into() - } - unsafe extern "system" fn scale, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.scale(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - unsafe extern "system" fn setTransform, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, m11: f32, m12: f32, m21: f32, m22: f32, dx: f32, dy: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setTransform(::core::mem::transmute_copy(&m11), ::core::mem::transmute_copy(&m12), ::core::mem::transmute_copy(&m21), ::core::mem::transmute_copy(&m22), ::core::mem::transmute_copy(&dx), ::core::mem::transmute_copy(&dy)).into() - } - unsafe extern "system" fn transform, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, m11: f32, m12: f32, m21: f32, m22: f32, dx: f32, dy: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.transform(::core::mem::transmute_copy(&m11), ::core::mem::transmute_copy(&m12), ::core::mem::transmute_copy(&m21), ::core::mem::transmute_copy(&m22), ::core::mem::transmute_copy(&dx), ::core::mem::transmute_copy(&dy)).into() - } - unsafe extern "system" fn translate, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.translate(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - unsafe extern "system" fn SetglobalAlpha, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetglobalAlpha(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn globalAlpha, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.globalAlpha() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetglobalCompositeOperation, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetglobalCompositeOperation(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn globalCompositeOperation, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.globalCompositeOperation() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfillStyle, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfillStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fillStyle, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fillStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetstrokeStyle, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetstrokeStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn strokeStyle, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.strokeStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createLinearGradient, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x0: f32, y0: f32, x1: f32, y1: f32, ppcanvasgradient: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createLinearGradient(::core::mem::transmute_copy(&x0), ::core::mem::transmute_copy(&y0), ::core::mem::transmute_copy(&x1), ::core::mem::transmute_copy(&y1)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppcanvasgradient, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createRadialGradient, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x0: f32, y0: f32, r0: f32, x1: f32, y1: f32, r1: f32, ppcanvasgradient: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createRadialGradient(::core::mem::transmute_copy(&x0), ::core::mem::transmute_copy(&y0), ::core::mem::transmute_copy(&r0), ::core::mem::transmute_copy(&x1), ::core::mem::transmute_copy(&y1), ::core::mem::transmute_copy(&r1)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppcanvasgradient, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createPattern, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, image: *mut ::core::ffi::c_void, repetition: ::core::mem::ManuallyDrop, ppcanvaspattern: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createPattern(::core::mem::transmute(&image), ::core::mem::transmute(&repetition)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppcanvaspattern, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlineCap, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlineCap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn lineCap, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lineCap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlineJoin, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlineJoin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn lineJoin, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lineJoin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlineWidth, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlineWidth(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn lineWidth, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lineWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmiterLimit, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmiterLimit(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn miterLimit, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.miterLimit() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetshadowBlur, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetshadowBlur(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn shadowBlur, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.shadowBlur() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetshadowColor, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetshadowColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn shadowColor, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.shadowColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetshadowOffsetX, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetshadowOffsetX(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn shadowOffsetX, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.shadowOffsetX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetshadowOffsetY, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetshadowOffsetY(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn shadowOffsetY, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.shadowOffsetY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clearRect, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, w: f32, h: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.clearRect(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y), ::core::mem::transmute_copy(&w), ::core::mem::transmute_copy(&h)).into() - } - unsafe extern "system" fn fillRect, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, w: f32, h: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.fillRect(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y), ::core::mem::transmute_copy(&w), ::core::mem::transmute_copy(&h)).into() - } - unsafe extern "system" fn strokeRect, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, w: f32, h: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.strokeRect(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y), ::core::mem::transmute_copy(&w), ::core::mem::transmute_copy(&h)).into() - } - unsafe extern "system" fn arc, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, radius: f32, startangle: f32, endangle: f32, anticlockwise: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.arc(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y), ::core::mem::transmute_copy(&radius), ::core::mem::transmute_copy(&startangle), ::core::mem::transmute_copy(&endangle), ::core::mem::transmute_copy(&anticlockwise)).into() - } - unsafe extern "system" fn arcTo, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x1: f32, y1: f32, x2: f32, y2: f32, radius: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.arcTo(::core::mem::transmute_copy(&x1), ::core::mem::transmute_copy(&y1), ::core::mem::transmute_copy(&x2), ::core::mem::transmute_copy(&y2), ::core::mem::transmute_copy(&radius)).into() - } - unsafe extern "system" fn beginPath, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.beginPath().into() - } - unsafe extern "system" fn bezierCurveTo, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cp1x: f32, cp1y: f32, cp2x: f32, cp2y: f32, x: f32, y: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.bezierCurveTo(::core::mem::transmute_copy(&cp1x), ::core::mem::transmute_copy(&cp1y), ::core::mem::transmute_copy(&cp2x), ::core::mem::transmute_copy(&cp2y), ::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - unsafe extern "system" fn clip, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.clip().into() - } - unsafe extern "system" fn closePath, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.closePath().into() - } - unsafe extern "system" fn fill, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.fill().into() - } - unsafe extern "system" fn lineTo, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.lineTo(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - unsafe extern "system" fn moveTo, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.moveTo(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - unsafe extern "system" fn quadraticCurveTo, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cpx: f32, cpy: f32, x: f32, y: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.quadraticCurveTo(::core::mem::transmute_copy(&cpx), ::core::mem::transmute_copy(&cpy), ::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - unsafe extern "system" fn rect, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, w: f32, h: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.rect(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y), ::core::mem::transmute_copy(&w), ::core::mem::transmute_copy(&h)).into() - } - unsafe extern "system" fn stroke, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.stroke().into() - } - unsafe extern "system" fn isPointInPath, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, presult: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isPointInPath(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setfont, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setfont(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn font, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.font() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextAlign, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textAlign, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextBaseline, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextBaseline(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textBaseline, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textBaseline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fillText, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, text: ::core::mem::ManuallyDrop, x: f32, y: f32, maxwidth: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.fillText(::core::mem::transmute(&text), ::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y), ::core::mem::transmute(&maxwidth)).into() - } - unsafe extern "system" fn measureText, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, text: ::core::mem::ManuallyDrop, ppcanvastextmetrics: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.measureText(::core::mem::transmute(&text)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppcanvastextmetrics, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn strokeText, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, text: ::core::mem::ManuallyDrop, x: f32, y: f32, maxwidth: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.strokeText(::core::mem::transmute(&text), ::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y), ::core::mem::transmute(&maxwidth)).into() - } - unsafe extern "system" fn drawImage, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, psrc: *mut ::core::ffi::c_void, a1: ::core::mem::ManuallyDrop, a2: ::core::mem::ManuallyDrop, a3: ::core::mem::ManuallyDrop, a4: ::core::mem::ManuallyDrop, a5: ::core::mem::ManuallyDrop, a6: ::core::mem::ManuallyDrop, a7: ::core::mem::ManuallyDrop, a8: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.drawImage(::core::mem::transmute(&psrc), ::core::mem::transmute(&a1), ::core::mem::transmute(&a2), ::core::mem::transmute(&a3), ::core::mem::transmute(&a4), ::core::mem::transmute(&a5), ::core::mem::transmute(&a6), ::core::mem::transmute(&a7), ::core::mem::transmute(&a8)).into() - } - unsafe extern "system" fn createImageData, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, a1: ::core::mem::ManuallyDrop, a2: ::core::mem::ManuallyDrop, ppcanvasimagedata: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createImageData(::core::mem::transmute(&a1), ::core::mem::transmute(&a2)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppcanvasimagedata, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getImageData, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, sx: f32, sy: f32, sw: f32, sh: f32, ppcanvasimagedata: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getImageData(::core::mem::transmute_copy(&sx), ::core::mem::transmute_copy(&sy), ::core::mem::transmute_copy(&sw), ::core::mem::transmute_copy(&sh)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppcanvasimagedata, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putImageData, Impl: ICanvasRenderingContext2D_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, imagedata: *mut ::core::ffi::c_void, dx: f32, dy: f32, dirtyx: ::core::mem::ManuallyDrop, dirtyy: ::core::mem::ManuallyDrop, dirtywidth: ::core::mem::ManuallyDrop, dirtyheight: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putImageData(::core::mem::transmute(&imagedata), ::core::mem::transmute_copy(&dx), ::core::mem::transmute_copy(&dy), ::core::mem::transmute(&dirtyx), ::core::mem::transmute(&dirtyy), ::core::mem::transmute(&dirtywidth), ::core::mem::transmute(&dirtyheight)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - canvas: canvas::, - restore: restore::, - save: save::, - rotate: rotate::, - scale: scale::, - setTransform: setTransform::, - transform: transform::, - translate: translate::, - SetglobalAlpha: SetglobalAlpha::, - globalAlpha: globalAlpha::, - SetglobalCompositeOperation: SetglobalCompositeOperation::, - globalCompositeOperation: globalCompositeOperation::, - SetfillStyle: SetfillStyle::, - fillStyle: fillStyle::, - SetstrokeStyle: SetstrokeStyle::, - strokeStyle: strokeStyle::, - createLinearGradient: createLinearGradient::, - createRadialGradient: createRadialGradient::, - createPattern: createPattern::, - SetlineCap: SetlineCap::, - lineCap: lineCap::, - SetlineJoin: SetlineJoin::, - lineJoin: lineJoin::, - SetlineWidth: SetlineWidth::, - lineWidth: lineWidth::, - SetmiterLimit: SetmiterLimit::, - miterLimit: miterLimit::, - SetshadowBlur: SetshadowBlur::, - shadowBlur: shadowBlur::, - SetshadowColor: SetshadowColor::, - shadowColor: shadowColor::, - SetshadowOffsetX: SetshadowOffsetX::, - shadowOffsetX: shadowOffsetX::, - SetshadowOffsetY: SetshadowOffsetY::, - shadowOffsetY: shadowOffsetY::, - clearRect: clearRect::, - fillRect: fillRect::, - strokeRect: strokeRect::, - arc: arc::, - arcTo: arcTo::, - beginPath: beginPath::, - bezierCurveTo: bezierCurveTo::, - clip: clip::, - closePath: closePath::, - fill: fill::, - lineTo: lineTo::, - moveTo: moveTo::, - quadraticCurveTo: quadraticCurveTo::, - rect: rect::, - stroke: stroke::, - isPointInPath: isPointInPath::, - Setfont: Setfont::, - font: font::, - SettextAlign: SettextAlign::, - textAlign: textAlign::, - SettextBaseline: SettextBaseline::, - textBaseline: textBaseline::, - fillText: fillText::, - measureText: measureText::, - strokeText: strokeText::, - drawImage: drawImage::, - createImageData: createImageData::, - getImageData: getImageData::, - putImageData: putImageData::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ICanvasTextMetrics_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn width(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ICanvasTextMetrics {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ICanvasTextMetrics_Vtbl { - pub const fn new, Impl: ICanvasTextMetrics_Impl, const OFFSET: isize>() -> ICanvasTextMetrics_Vtbl { - unsafe extern "system" fn width, Impl: ICanvasTextMetrics_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), width: width:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait ICaretPositionProvider_Impl: Sized { - fn GetCaretPosition(&self, pptcaret: *mut super::super::Foundation::POINT, pflheight: *mut f32) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for ICaretPositionProvider {} -#[cfg(feature = "Win32_Foundation")] -impl ICaretPositionProvider_Vtbl { - pub const fn new, Impl: ICaretPositionProvider_Impl, const OFFSET: isize>() -> ICaretPositionProvider_Vtbl { - unsafe extern "system" fn GetCaretPosition, Impl: ICaretPositionProvider_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pptcaret: *mut super::super::Foundation::POINT, pflheight: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetCaretPosition(::core::mem::transmute_copy(&pptcaret), ::core::mem::transmute_copy(&pflheight)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), GetCaretPosition: GetCaretPosition:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IClassFactoryEx_Impl: Sized + super::super::System::Com::IClassFactory_Impl { - fn CreateInstanceWithContext(&self, punkcontext: &::core::option::Option<::windows::core::IUnknown>, punkouter: &::core::option::Option<::windows::core::IUnknown>, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IClassFactoryEx {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IClassFactoryEx_Vtbl { - pub const fn new, Impl: IClassFactoryEx_Impl, const OFFSET: isize>() -> IClassFactoryEx_Vtbl { - unsafe extern "system" fn CreateInstanceWithContext, Impl: IClassFactoryEx_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, punkcontext: *mut ::core::ffi::c_void, punkouter: *mut ::core::ffi::c_void, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.CreateInstanceWithContext(::core::mem::transmute(&punkcontext), ::core::mem::transmute(&punkouter), ::core::mem::transmute_copy(&riid), ::core::mem::transmute_copy(&ppv)).into() - } - Self { - base__: super::super::System::Com::IClassFactory_Vtbl::new::(), - CreateInstanceWithContext: CreateInstanceWithContext::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IClientCaps_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn javaEnabled(&self) -> ::windows::core::Result; - fn cookieEnabled(&self) -> ::windows::core::Result; - fn cpuClass(&self) -> ::windows::core::Result; - fn systemLanguage(&self) -> ::windows::core::Result; - fn userLanguage(&self) -> ::windows::core::Result; - fn platform(&self) -> ::windows::core::Result; - fn connectionSpeed(&self) -> ::windows::core::Result; - fn onLine(&self) -> ::windows::core::Result; - fn colorDepth(&self) -> ::windows::core::Result; - fn bufferDepth(&self) -> ::windows::core::Result; - fn width(&self) -> ::windows::core::Result; - fn height(&self) -> ::windows::core::Result; - fn availHeight(&self) -> ::windows::core::Result; - fn availWidth(&self) -> ::windows::core::Result; - fn connectionType(&self) -> ::windows::core::Result; - fn isComponentInstalled(&self, bstrname: &super::super::Foundation::BSTR, bstrurl: &super::super::Foundation::BSTR, bstrver: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn getComponentVersion(&self, bstrname: &super::super::Foundation::BSTR, bstrurl: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn compareVersions(&self, bstrver1: &super::super::Foundation::BSTR, bstrver2: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn addComponentRequest(&self, bstrname: &super::super::Foundation::BSTR, bstrurl: &super::super::Foundation::BSTR, bstrver: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn doComponentRequest(&self) -> ::windows::core::Result; - fn clearComponentRequest(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IClientCaps {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IClientCaps_Vtbl { - pub const fn new, Impl: IClientCaps_Impl, const OFFSET: isize>() -> IClientCaps_Vtbl { - unsafe extern "system" fn javaEnabled, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.javaEnabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn cookieEnabled, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cookieEnabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn cpuClass, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cpuClass() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn systemLanguage, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.systemLanguage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn userLanguage, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.userLanguage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn platform, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.platform() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn connectionSpeed, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.connectionSpeed() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn onLine, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onLine() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn colorDepth, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.colorDepth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn bufferDepth, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bufferDepth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn width, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn height, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn availHeight, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.availHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn availWidth, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.availWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn connectionType, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.connectionType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn isComponentInstalled, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, bstrurl: ::core::mem::ManuallyDrop, bstrver: ::core::mem::ManuallyDrop, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isComponentInstalled(::core::mem::transmute(&bstrname), ::core::mem::transmute(&bstrurl), ::core::mem::transmute(&bstrver)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getComponentVersion, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, bstrurl: ::core::mem::ManuallyDrop, pbstrver: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getComponentVersion(::core::mem::transmute(&bstrname), ::core::mem::transmute(&bstrurl)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrver, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn compareVersions, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrver1: ::core::mem::ManuallyDrop, bstrver2: ::core::mem::ManuallyDrop, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.compareVersions(::core::mem::transmute(&bstrver1), ::core::mem::transmute(&bstrver2)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn addComponentRequest, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, bstrurl: ::core::mem::ManuallyDrop, bstrver: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.addComponentRequest(::core::mem::transmute(&bstrname), ::core::mem::transmute(&bstrurl), ::core::mem::transmute(&bstrver)).into() - } - unsafe extern "system" fn doComponentRequest, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.doComponentRequest() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clearComponentRequest, Impl: IClientCaps_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.clearComponentRequest().into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - javaEnabled: javaEnabled::, - cookieEnabled: cookieEnabled::, - cpuClass: cpuClass::, - systemLanguage: systemLanguage::, - userLanguage: userLanguage::, - platform: platform::, - connectionSpeed: connectionSpeed::, - onLine: onLine::, - colorDepth: colorDepth::, - bufferDepth: bufferDepth::, - width: width::, - height: height::, - availHeight: availHeight::, - availWidth: availWidth::, - connectionType: connectionType::, - isComponentInstalled: isComponentInstalled::, - getComponentVersion: getComponentVersion::, - compareVersions: compareVersions::, - addComponentRequest: addComponentRequest::, - doComponentRequest: doComponentRequest::, - clearComponentRequest: clearComponentRequest::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -pub trait ICustomDoc_Impl: Sized { - fn SetUIHandler(&self, puihandler: &::core::option::Option) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for ICustomDoc {} -impl ICustomDoc_Vtbl { - pub const fn new, Impl: ICustomDoc_Impl, const OFFSET: isize>() -> ICustomDoc_Vtbl { - unsafe extern "system" fn SetUIHandler, Impl: ICustomDoc_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, puihandler: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetUIHandler(::core::mem::transmute(&puihandler)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), SetUIHandler: SetUIHandler:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMBeforeUnloadEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetreturnValue(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn returnValue(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMBeforeUnloadEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMBeforeUnloadEvent_Vtbl { - pub const fn new, Impl: IDOMBeforeUnloadEvent_Impl, const OFFSET: isize>() -> IDOMBeforeUnloadEvent_Vtbl { - unsafe extern "system" fn SetreturnValue, Impl: IDOMBeforeUnloadEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetreturnValue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn returnValue, Impl: IDOMBeforeUnloadEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.returnValue() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetreturnValue: SetreturnValue::, - returnValue: returnValue::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMCloseEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn wasClean(&self) -> ::windows::core::Result; - fn initCloseEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, wasclean: i16, code: i32, reason: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMCloseEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMCloseEvent_Vtbl { - pub const fn new, Impl: IDOMCloseEvent_Impl, const OFFSET: isize>() -> IDOMCloseEvent_Vtbl { - unsafe extern "system" fn wasClean, Impl: IDOMCloseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.wasClean() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initCloseEvent, Impl: IDOMCloseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, wasclean: i16, code: i32, reason: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initCloseEvent(::core::mem::transmute(&eventtype), ::core::mem::transmute_copy(&canbubble), ::core::mem::transmute_copy(&cancelable), ::core::mem::transmute_copy(&wasclean), ::core::mem::transmute_copy(&code), ::core::mem::transmute(&reason)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - wasClean: wasClean::, - initCloseEvent: initCloseEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMCompositionEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn data(&self) -> ::windows::core::Result; - fn initCompositionEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, viewarg: &::core::option::Option, data: &super::super::Foundation::BSTR, locale: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn locale(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMCompositionEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMCompositionEvent_Vtbl { - pub const fn new, Impl: IDOMCompositionEvent_Impl, const OFFSET: isize>() -> IDOMCompositionEvent_Vtbl { - unsafe extern "system" fn data, Impl: IDOMCompositionEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.data() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initCompositionEvent, Impl: IDOMCompositionEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, viewarg: *mut ::core::ffi::c_void, data: ::core::mem::ManuallyDrop, locale: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initCompositionEvent(::core::mem::transmute(&eventtype), ::core::mem::transmute_copy(&canbubble), ::core::mem::transmute_copy(&cancelable), ::core::mem::transmute(&viewarg), ::core::mem::transmute(&data), ::core::mem::transmute(&locale)).into() - } - unsafe extern "system" fn locale, Impl: IDOMCompositionEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.locale() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - data: data::, - initCompositionEvent: initCompositionEvent::, - locale: locale::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMCustomEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn detail(&self) -> ::windows::core::Result; - fn initCustomEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, detail: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMCustomEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMCustomEvent_Vtbl { - pub const fn new, Impl: IDOMCustomEvent_Impl, const OFFSET: isize>() -> IDOMCustomEvent_Vtbl { - unsafe extern "system" fn detail, Impl: IDOMCustomEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.detail() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initCustomEvent, Impl: IDOMCustomEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, detail: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initCustomEvent(::core::mem::transmute(&eventtype), ::core::mem::transmute_copy(&canbubble), ::core::mem::transmute_copy(&cancelable), ::core::mem::transmute_copy(&detail)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - detail: detail::, - initCustomEvent: initCustomEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMDocumentType_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn name(&self) -> ::windows::core::Result; - fn entities(&self) -> ::windows::core::Result; - fn notations(&self) -> ::windows::core::Result; - fn publicId(&self) -> ::windows::core::Result; - fn systemId(&self) -> ::windows::core::Result; - fn internalSubset(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMDocumentType {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMDocumentType_Vtbl { - pub const fn new, Impl: IDOMDocumentType_Impl, const OFFSET: isize>() -> IDOMDocumentType_Vtbl { - unsafe extern "system" fn name, Impl: IDOMDocumentType_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn entities, Impl: IDOMDocumentType_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.entities() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn notations, Impl: IDOMDocumentType_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.notations() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn publicId, Impl: IDOMDocumentType_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.publicId() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn systemId, Impl: IDOMDocumentType_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.systemId() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn internalSubset, Impl: IDOMDocumentType_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.internalSubset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - name: name::, - entities: entities::, - notations: notations::, - publicId: publicId::, - systemId: systemId::, - internalSubset: internalSubset::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMDragEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn dataTransfer(&self) -> ::windows::core::Result; - fn initDragEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, viewarg: &::core::option::Option, detailarg: i32, screenxarg: i32, screenyarg: i32, clientxarg: i32, clientyarg: i32, ctrlkeyarg: i16, altkeyarg: i16, shiftkeyarg: i16, metakeyarg: i16, buttonarg: u16, relatedtargetarg: &::core::option::Option, datatransferarg: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMDragEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMDragEvent_Vtbl { - pub const fn new, Impl: IDOMDragEvent_Impl, const OFFSET: isize>() -> IDOMDragEvent_Vtbl { - unsafe extern "system" fn dataTransfer, Impl: IDOMDragEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dataTransfer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initDragEvent, Impl: IDOMDragEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, viewarg: *mut ::core::ffi::c_void, detailarg: i32, screenxarg: i32, screenyarg: i32, clientxarg: i32, clientyarg: i32, ctrlkeyarg: i16, altkeyarg: i16, shiftkeyarg: i16, metakeyarg: i16, buttonarg: u16, relatedtargetarg: *mut ::core::ffi::c_void, datatransferarg: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initDragEvent( - ::core::mem::transmute(&eventtype), - ::core::mem::transmute_copy(&canbubble), - ::core::mem::transmute_copy(&cancelable), - ::core::mem::transmute(&viewarg), - ::core::mem::transmute_copy(&detailarg), - ::core::mem::transmute_copy(&screenxarg), - ::core::mem::transmute_copy(&screenyarg), - ::core::mem::transmute_copy(&clientxarg), - ::core::mem::transmute_copy(&clientyarg), - ::core::mem::transmute_copy(&ctrlkeyarg), - ::core::mem::transmute_copy(&altkeyarg), - ::core::mem::transmute_copy(&shiftkeyarg), - ::core::mem::transmute_copy(&metakeyarg), - ::core::mem::transmute_copy(&buttonarg), - ::core::mem::transmute(&relatedtargetarg), - ::core::mem::transmute(&datatransferarg), - ) - .into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - dataTransfer: dataTransfer::, - initDragEvent: initDragEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn bubbles(&self) -> ::windows::core::Result; - fn cancelable(&self) -> ::windows::core::Result; - fn currentTarget(&self) -> ::windows::core::Result; - fn defaultPrevented(&self) -> ::windows::core::Result; - fn eventPhase(&self) -> ::windows::core::Result; - fn target(&self) -> ::windows::core::Result; - fn timeStamp(&self) -> ::windows::core::Result; - fn r#type(&self) -> ::windows::core::Result; - fn initEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16) -> ::windows::core::Result<()>; - fn preventDefault(&self) -> ::windows::core::Result<()>; - fn stopPropagation(&self) -> ::windows::core::Result<()>; - fn stopImmediatePropagation(&self) -> ::windows::core::Result<()>; - fn isTrusted(&self) -> ::windows::core::Result; - fn SetcancelBubble(&self, v: i16) -> ::windows::core::Result<()>; - fn cancelBubble(&self) -> ::windows::core::Result; - fn srcElement(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMEvent_Vtbl { - pub const fn new, Impl: IDOMEvent_Impl, const OFFSET: isize>() -> IDOMEvent_Vtbl { - unsafe extern "system" fn bubbles, Impl: IDOMEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bubbles() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn cancelable, Impl: IDOMEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cancelable() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn currentTarget, Impl: IDOMEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.currentTarget() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn defaultPrevented, Impl: IDOMEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.defaultPrevented() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn eventPhase, Impl: IDOMEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.eventPhase() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn target, Impl: IDOMEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.target() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn timeStamp, Impl: IDOMEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.timeStamp() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn r#type, Impl: IDOMEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initEvent, Impl: IDOMEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initEvent(::core::mem::transmute(&eventtype), ::core::mem::transmute_copy(&canbubble), ::core::mem::transmute_copy(&cancelable)).into() - } - unsafe extern "system" fn preventDefault, Impl: IDOMEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.preventDefault().into() - } - unsafe extern "system" fn stopPropagation, Impl: IDOMEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.stopPropagation().into() - } - unsafe extern "system" fn stopImmediatePropagation, Impl: IDOMEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.stopImmediatePropagation().into() - } - unsafe extern "system" fn isTrusted, Impl: IDOMEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isTrusted() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcancelBubble, Impl: IDOMEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcancelBubble(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn cancelBubble, Impl: IDOMEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cancelBubble() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn srcElement, Impl: IDOMEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.srcElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - bubbles: bubbles::, - cancelable: cancelable::, - currentTarget: currentTarget::, - defaultPrevented: defaultPrevented::, - eventPhase: eventPhase::, - target: target::, - timeStamp: timeStamp::, - r#type: r#type::, - initEvent: initEvent::, - preventDefault: preventDefault::, - stopPropagation: stopPropagation::, - stopImmediatePropagation: stopImmediatePropagation::, - isTrusted: isTrusted::, - SetcancelBubble: SetcancelBubble::, - cancelBubble: cancelBubble::, - srcElement: srcElement::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -pub trait IDOMEventRegistrationCallback_Impl: Sized { - fn OnDOMEventListenerAdded(&self, pszeventtype: &::windows::core::PCWSTR, phandler: &::core::option::Option) -> ::windows::core::Result<()>; - fn OnDOMEventListenerRemoved(&self, ullcookie: u64) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IDOMEventRegistrationCallback {} -impl IDOMEventRegistrationCallback_Vtbl { - pub const fn new, Impl: IDOMEventRegistrationCallback_Impl, const OFFSET: isize>() -> IDOMEventRegistrationCallback_Vtbl { - unsafe extern "system" fn OnDOMEventListenerAdded, Impl: IDOMEventRegistrationCallback_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pszeventtype: ::windows::core::PCWSTR, phandler: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnDOMEventListenerAdded(::core::mem::transmute(&pszeventtype), ::core::mem::transmute(&phandler)).into() - } - unsafe extern "system" fn OnDOMEventListenerRemoved, Impl: IDOMEventRegistrationCallback_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ullcookie: u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnDOMEventListenerRemoved(::core::mem::transmute_copy(&ullcookie)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - OnDOMEventListenerAdded: OnDOMEventListenerAdded::, - OnDOMEventListenerRemoved: OnDOMEventListenerRemoved::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMException_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcode(&self, v: i32) -> ::windows::core::Result<()>; - fn code(&self) -> ::windows::core::Result; - fn message(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMException {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMException_Vtbl { - pub const fn new, Impl: IDOMException_Impl, const OFFSET: isize>() -> IDOMException_Vtbl { - unsafe extern "system" fn Setcode, Impl: IDOMException_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcode(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn code, Impl: IDOMException_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.code() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn message, Impl: IDOMException_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.message() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcode: Setcode::, - code: code::, - message: message::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMFocusEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn relatedTarget(&self) -> ::windows::core::Result; - fn initFocusEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, view: &::core::option::Option, detail: i32, relatedtargetarg: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMFocusEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMFocusEvent_Vtbl { - pub const fn new, Impl: IDOMFocusEvent_Impl, const OFFSET: isize>() -> IDOMFocusEvent_Vtbl { - unsafe extern "system" fn relatedTarget, Impl: IDOMFocusEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.relatedTarget() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initFocusEvent, Impl: IDOMFocusEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, view: *mut ::core::ffi::c_void, detail: i32, relatedtargetarg: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initFocusEvent(::core::mem::transmute(&eventtype), ::core::mem::transmute_copy(&canbubble), ::core::mem::transmute_copy(&cancelable), ::core::mem::transmute(&view), ::core::mem::transmute_copy(&detail), ::core::mem::transmute(&relatedtargetarg)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - relatedTarget: relatedTarget::, - initFocusEvent: initFocusEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMKeyboardEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn key(&self) -> ::windows::core::Result; - fn location(&self) -> ::windows::core::Result; - fn ctrlKey(&self) -> ::windows::core::Result; - fn shiftKey(&self) -> ::windows::core::Result; - fn altKey(&self) -> ::windows::core::Result; - fn metaKey(&self) -> ::windows::core::Result; - fn repeat(&self) -> ::windows::core::Result; - fn getModifierState(&self, keyarg: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn initKeyboardEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, viewarg: &::core::option::Option, keyarg: &super::super::Foundation::BSTR, locationarg: u32, modifierslistarg: &super::super::Foundation::BSTR, repeat: i16, locale: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn keyCode(&self) -> ::windows::core::Result; - fn charCode(&self) -> ::windows::core::Result; - fn which(&self) -> ::windows::core::Result; - fn ie9_char(&self) -> ::windows::core::Result; - fn locale(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMKeyboardEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMKeyboardEvent_Vtbl { - pub const fn new, Impl: IDOMKeyboardEvent_Impl, const OFFSET: isize>() -> IDOMKeyboardEvent_Vtbl { - unsafe extern "system" fn key, Impl: IDOMKeyboardEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.key() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn location, Impl: IDOMKeyboardEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.location() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn ctrlKey, Impl: IDOMKeyboardEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ctrlKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn shiftKey, Impl: IDOMKeyboardEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.shiftKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn altKey, Impl: IDOMKeyboardEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.altKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn metaKey, Impl: IDOMKeyboardEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.metaKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn repeat, Impl: IDOMKeyboardEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.repeat() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getModifierState, Impl: IDOMKeyboardEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, keyarg: ::core::mem::ManuallyDrop, state: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getModifierState(::core::mem::transmute(&keyarg)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(state, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initKeyboardEvent, Impl: IDOMKeyboardEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, viewarg: *mut ::core::ffi::c_void, keyarg: ::core::mem::ManuallyDrop, locationarg: u32, modifierslistarg: ::core::mem::ManuallyDrop, repeat: i16, locale: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initKeyboardEvent(::core::mem::transmute(&eventtype), ::core::mem::transmute_copy(&canbubble), ::core::mem::transmute_copy(&cancelable), ::core::mem::transmute(&viewarg), ::core::mem::transmute(&keyarg), ::core::mem::transmute_copy(&locationarg), ::core::mem::transmute(&modifierslistarg), ::core::mem::transmute_copy(&repeat), ::core::mem::transmute(&locale)).into() - } - unsafe extern "system" fn keyCode, Impl: IDOMKeyboardEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.keyCode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn charCode, Impl: IDOMKeyboardEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.charCode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn which, Impl: IDOMKeyboardEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.which() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn ie9_char, Impl: IDOMKeyboardEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ie9_char() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn locale, Impl: IDOMKeyboardEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.locale() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - key: key::, - location: location::, - ctrlKey: ctrlKey::, - shiftKey: shiftKey::, - altKey: altKey::, - metaKey: metaKey::, - repeat: repeat::, - getModifierState: getModifierState::, - initKeyboardEvent: initKeyboardEvent::, - keyCode: keyCode::, - charCode: charCode::, - which: which::, - ie9_char: ie9_char::, - locale: locale::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMMSAnimationEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn animationName(&self) -> ::windows::core::Result; - fn elapsedTime(&self) -> ::windows::core::Result; - fn initMSAnimationEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, animationname: &super::super::Foundation::BSTR, elapsedtime: f32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMMSAnimationEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMMSAnimationEvent_Vtbl { - pub const fn new, Impl: IDOMMSAnimationEvent_Impl, const OFFSET: isize>() -> IDOMMSAnimationEvent_Vtbl { - unsafe extern "system" fn animationName, Impl: IDOMMSAnimationEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animationName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn elapsedTime, Impl: IDOMMSAnimationEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.elapsedTime() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initMSAnimationEvent, Impl: IDOMMSAnimationEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, animationname: ::core::mem::ManuallyDrop, elapsedtime: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initMSAnimationEvent(::core::mem::transmute(&eventtype), ::core::mem::transmute_copy(&canbubble), ::core::mem::transmute_copy(&cancelable), ::core::mem::transmute(&animationname), ::core::mem::transmute_copy(&elapsedtime)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - animationName: animationName::, - elapsedTime: elapsedTime::, - initMSAnimationEvent: initMSAnimationEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMMSManipulationEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn lastState(&self) -> ::windows::core::Result; - fn currentState(&self) -> ::windows::core::Result; - fn initMSManipulationEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, viewarg: &::core::option::Option, detailarg: i32, laststate: i32, currentstate: i32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMMSManipulationEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMMSManipulationEvent_Vtbl { - pub const fn new, Impl: IDOMMSManipulationEvent_Impl, const OFFSET: isize>() -> IDOMMSManipulationEvent_Vtbl { - unsafe extern "system" fn lastState, Impl: IDOMMSManipulationEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lastState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn currentState, Impl: IDOMMSManipulationEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.currentState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initMSManipulationEvent, Impl: IDOMMSManipulationEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, viewarg: *mut ::core::ffi::c_void, detailarg: i32, laststate: i32, currentstate: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initMSManipulationEvent(::core::mem::transmute(&eventtype), ::core::mem::transmute_copy(&canbubble), ::core::mem::transmute_copy(&cancelable), ::core::mem::transmute(&viewarg), ::core::mem::transmute_copy(&detailarg), ::core::mem::transmute_copy(&laststate), ::core::mem::transmute_copy(¤tstate)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - lastState: lastState::, - currentState: currentState::, - initMSManipulationEvent: initMSManipulationEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMMSTransitionEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn propertyName(&self) -> ::windows::core::Result; - fn elapsedTime(&self) -> ::windows::core::Result; - fn initMSTransitionEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, propertyname: &super::super::Foundation::BSTR, elapsedtime: f32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMMSTransitionEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMMSTransitionEvent_Vtbl { - pub const fn new, Impl: IDOMMSTransitionEvent_Impl, const OFFSET: isize>() -> IDOMMSTransitionEvent_Vtbl { - unsafe extern "system" fn propertyName, Impl: IDOMMSTransitionEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.propertyName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn elapsedTime, Impl: IDOMMSTransitionEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.elapsedTime() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initMSTransitionEvent, Impl: IDOMMSTransitionEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, propertyname: ::core::mem::ManuallyDrop, elapsedtime: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initMSTransitionEvent(::core::mem::transmute(&eventtype), ::core::mem::transmute_copy(&canbubble), ::core::mem::transmute_copy(&cancelable), ::core::mem::transmute(&propertyname), ::core::mem::transmute_copy(&elapsedtime)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - propertyName: propertyName::, - elapsedTime: elapsedTime::, - initMSTransitionEvent: initMSTransitionEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMMessageEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn data(&self) -> ::windows::core::Result; - fn origin(&self) -> ::windows::core::Result; - fn source(&self) -> ::windows::core::Result; - fn initMessageEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, data: &super::super::Foundation::BSTR, origin: &super::super::Foundation::BSTR, lasteventid: &super::super::Foundation::BSTR, source: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMMessageEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMMessageEvent_Vtbl { - pub const fn new, Impl: IDOMMessageEvent_Impl, const OFFSET: isize>() -> IDOMMessageEvent_Vtbl { - unsafe extern "system" fn data, Impl: IDOMMessageEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.data() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn origin, Impl: IDOMMessageEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.origin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn source, Impl: IDOMMessageEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.source() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initMessageEvent, Impl: IDOMMessageEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, data: ::core::mem::ManuallyDrop, origin: ::core::mem::ManuallyDrop, lasteventid: ::core::mem::ManuallyDrop, source: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initMessageEvent(::core::mem::transmute(&eventtype), ::core::mem::transmute_copy(&canbubble), ::core::mem::transmute_copy(&cancelable), ::core::mem::transmute(&data), ::core::mem::transmute(&origin), ::core::mem::transmute(&lasteventid), ::core::mem::transmute(&source)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - data: data::, - origin: origin::, - source: source::, - initMessageEvent: initMessageEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMMouseEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn screenX(&self) -> ::windows::core::Result; - fn screenY(&self) -> ::windows::core::Result; - fn clientX(&self) -> ::windows::core::Result; - fn clientY(&self) -> ::windows::core::Result; - fn ctrlKey(&self) -> ::windows::core::Result; - fn shiftKey(&self) -> ::windows::core::Result; - fn altKey(&self) -> ::windows::core::Result; - fn metaKey(&self) -> ::windows::core::Result; - fn button(&self) -> ::windows::core::Result; - fn relatedTarget(&self) -> ::windows::core::Result; - fn initMouseEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, viewarg: &::core::option::Option, detailarg: i32, screenxarg: i32, screenyarg: i32, clientxarg: i32, clientyarg: i32, ctrlkeyarg: i16, altkeyarg: i16, shiftkeyarg: i16, metakeyarg: i16, buttonarg: u16, relatedtargetarg: &::core::option::Option) -> ::windows::core::Result<()>; - fn getModifierState(&self, keyarg: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn buttons(&self) -> ::windows::core::Result; - fn fromElement(&self) -> ::windows::core::Result; - fn toElement(&self) -> ::windows::core::Result; - fn x(&self) -> ::windows::core::Result; - fn y(&self) -> ::windows::core::Result; - fn offsetX(&self) -> ::windows::core::Result; - fn offsetY(&self) -> ::windows::core::Result; - fn pageX(&self) -> ::windows::core::Result; - fn pageY(&self) -> ::windows::core::Result; - fn layerX(&self) -> ::windows::core::Result; - fn layerY(&self) -> ::windows::core::Result; - fn which(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMMouseEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMMouseEvent_Vtbl { - pub const fn new, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>() -> IDOMMouseEvent_Vtbl { - unsafe extern "system" fn screenX, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.screenX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn screenY, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.screenY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clientX, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clientY, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn ctrlKey, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ctrlKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn shiftKey, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.shiftKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn altKey, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.altKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn metaKey, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.metaKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn button, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.button() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn relatedTarget, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.relatedTarget() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initMouseEvent, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, viewarg: *mut ::core::ffi::c_void, detailarg: i32, screenxarg: i32, screenyarg: i32, clientxarg: i32, clientyarg: i32, ctrlkeyarg: i16, altkeyarg: i16, shiftkeyarg: i16, metakeyarg: i16, buttonarg: u16, relatedtargetarg: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initMouseEvent( - ::core::mem::transmute(&eventtype), - ::core::mem::transmute_copy(&canbubble), - ::core::mem::transmute_copy(&cancelable), - ::core::mem::transmute(&viewarg), - ::core::mem::transmute_copy(&detailarg), - ::core::mem::transmute_copy(&screenxarg), - ::core::mem::transmute_copy(&screenyarg), - ::core::mem::transmute_copy(&clientxarg), - ::core::mem::transmute_copy(&clientyarg), - ::core::mem::transmute_copy(&ctrlkeyarg), - ::core::mem::transmute_copy(&altkeyarg), - ::core::mem::transmute_copy(&shiftkeyarg), - ::core::mem::transmute_copy(&metakeyarg), - ::core::mem::transmute_copy(&buttonarg), - ::core::mem::transmute(&relatedtargetarg), - ) - .into() - } - unsafe extern "system" fn getModifierState, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, keyarg: ::core::mem::ManuallyDrop, activated: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getModifierState(::core::mem::transmute(&keyarg)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(activated, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn buttons, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.buttons() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fromElement, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fromElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn toElement, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn x, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn y, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn offsetX, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.offsetX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn offsetY, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.offsetY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn pageX, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn pageY, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn layerX, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layerX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn layerY, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layerY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn which, Impl: IDOMMouseEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.which() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - screenX: screenX::, - screenY: screenY::, - clientX: clientX::, - clientY: clientY::, - ctrlKey: ctrlKey::, - shiftKey: shiftKey::, - altKey: altKey::, - metaKey: metaKey::, - button: button::, - relatedTarget: relatedTarget::, - initMouseEvent: initMouseEvent::, - getModifierState: getModifierState::, - buttons: buttons::, - fromElement: fromElement::, - toElement: toElement::, - x: x::, - y: y::, - offsetX: offsetX::, - offsetY: offsetY::, - pageX: pageX::, - pageY: pageY::, - layerX: layerX::, - layerY: layerY::, - which: which::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMMouseWheelEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn wheelDelta(&self) -> ::windows::core::Result; - fn initMouseWheelEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, viewarg: &::core::option::Option, detailarg: i32, screenxarg: i32, screenyarg: i32, clientxarg: i32, clientyarg: i32, buttonarg: u16, relatedtargetarg: &::core::option::Option, modifierslistarg: &super::super::Foundation::BSTR, wheeldeltaarg: i32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMMouseWheelEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMMouseWheelEvent_Vtbl { - pub const fn new, Impl: IDOMMouseWheelEvent_Impl, const OFFSET: isize>() -> IDOMMouseWheelEvent_Vtbl { - unsafe extern "system" fn wheelDelta, Impl: IDOMMouseWheelEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.wheelDelta() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initMouseWheelEvent, Impl: IDOMMouseWheelEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, viewarg: *mut ::core::ffi::c_void, detailarg: i32, screenxarg: i32, screenyarg: i32, clientxarg: i32, clientyarg: i32, buttonarg: u16, relatedtargetarg: *mut ::core::ffi::c_void, modifierslistarg: ::core::mem::ManuallyDrop, wheeldeltaarg: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initMouseWheelEvent( - ::core::mem::transmute(&eventtype), - ::core::mem::transmute_copy(&canbubble), - ::core::mem::transmute_copy(&cancelable), - ::core::mem::transmute(&viewarg), - ::core::mem::transmute_copy(&detailarg), - ::core::mem::transmute_copy(&screenxarg), - ::core::mem::transmute_copy(&screenyarg), - ::core::mem::transmute_copy(&clientxarg), - ::core::mem::transmute_copy(&clientyarg), - ::core::mem::transmute_copy(&buttonarg), - ::core::mem::transmute(&relatedtargetarg), - ::core::mem::transmute(&modifierslistarg), - ::core::mem::transmute_copy(&wheeldeltaarg), - ) - .into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - wheelDelta: wheelDelta::, - initMouseWheelEvent: initMouseWheelEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMMutationEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn relatedNode(&self) -> ::windows::core::Result; - fn prevValue(&self) -> ::windows::core::Result; - fn newValue(&self) -> ::windows::core::Result; - fn attrName(&self) -> ::windows::core::Result; - fn attrChange(&self) -> ::windows::core::Result; - fn initMutationEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, relatednodearg: &::core::option::Option, prevvaluearg: &super::super::Foundation::BSTR, newvaluearg: &super::super::Foundation::BSTR, attrnamearg: &super::super::Foundation::BSTR, attrchangearg: u16) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMMutationEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMMutationEvent_Vtbl { - pub const fn new, Impl: IDOMMutationEvent_Impl, const OFFSET: isize>() -> IDOMMutationEvent_Vtbl { - unsafe extern "system" fn relatedNode, Impl: IDOMMutationEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.relatedNode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn prevValue, Impl: IDOMMutationEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.prevValue() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn newValue, Impl: IDOMMutationEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.newValue() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn attrName, Impl: IDOMMutationEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.attrName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn attrChange, Impl: IDOMMutationEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.attrChange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initMutationEvent, Impl: IDOMMutationEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, relatednodearg: *mut ::core::ffi::c_void, prevvaluearg: ::core::mem::ManuallyDrop, newvaluearg: ::core::mem::ManuallyDrop, attrnamearg: ::core::mem::ManuallyDrop, attrchangearg: u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initMutationEvent(::core::mem::transmute(&eventtype), ::core::mem::transmute_copy(&canbubble), ::core::mem::transmute_copy(&cancelable), ::core::mem::transmute(&relatednodearg), ::core::mem::transmute(&prevvaluearg), ::core::mem::transmute(&newvaluearg), ::core::mem::transmute(&attrnamearg), ::core::mem::transmute_copy(&attrchangearg)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - relatedNode: relatedNode::, - prevValue: prevValue::, - newValue: newValue::, - attrName: attrName::, - attrChange: attrChange::, - initMutationEvent: initMutationEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMNodeIterator_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn root(&self) -> ::windows::core::Result; - fn whatToShow(&self) -> ::windows::core::Result; - fn filter(&self) -> ::windows::core::Result; - fn expandEntityReferences(&self) -> ::windows::core::Result; - fn nextNode(&self) -> ::windows::core::Result; - fn previousNode(&self) -> ::windows::core::Result; - fn detach(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMNodeIterator {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMNodeIterator_Vtbl { - pub const fn new, Impl: IDOMNodeIterator_Impl, const OFFSET: isize>() -> IDOMNodeIterator_Vtbl { - unsafe extern "system" fn root, Impl: IDOMNodeIterator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.root() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn whatToShow, Impl: IDOMNodeIterator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.whatToShow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn filter, Impl: IDOMNodeIterator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.filter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn expandEntityReferences, Impl: IDOMNodeIterator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.expandEntityReferences() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn nextNode, Impl: IDOMNodeIterator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nextNode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn previousNode, Impl: IDOMNodeIterator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.previousNode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn detach, Impl: IDOMNodeIterator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.detach().into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - root: root::, - whatToShow: whatToShow::, - filter: filter::, - expandEntityReferences: expandEntityReferences::, - nextNode: nextNode::, - previousNode: previousNode::, - detach: detach::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMParser_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn parseFromString(&self, xmlsource: &super::super::Foundation::BSTR, mimetype: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMParser {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMParser_Vtbl { - pub const fn new, Impl: IDOMParser_Impl, const OFFSET: isize>() -> IDOMParser_Vtbl { - unsafe extern "system" fn parseFromString, Impl: IDOMParser_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, xmlsource: ::core::mem::ManuallyDrop, mimetype: ::core::mem::ManuallyDrop, ppnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.parseFromString(::core::mem::transmute(&xmlsource), ::core::mem::transmute(&mimetype)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), parseFromString: parseFromString:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMParserFactory_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn create(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMParserFactory {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMParserFactory_Vtbl { - pub const fn new, Impl: IDOMParserFactory_Impl, const OFFSET: isize>() -> IDOMParserFactory_Vtbl { - unsafe extern "system" fn create, Impl: IDOMParserFactory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, __midl__idomparserfactory0000: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.create() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(__midl__idomparserfactory0000, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), create: create:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMProcessingInstruction_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn target(&self) -> ::windows::core::Result; - fn Setdata(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn data(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMProcessingInstruction {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMProcessingInstruction_Vtbl { - pub const fn new, Impl: IDOMProcessingInstruction_Impl, const OFFSET: isize>() -> IDOMProcessingInstruction_Vtbl { - unsafe extern "system" fn target, Impl: IDOMProcessingInstruction_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.target() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdata, Impl: IDOMProcessingInstruction_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdata(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn data, Impl: IDOMProcessingInstruction_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.data() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - target: target::, - Setdata: Setdata::, - data: data::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMProgressEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn lengthComputable(&self) -> ::windows::core::Result; - fn loaded(&self) -> ::windows::core::Result; - fn total(&self) -> ::windows::core::Result; - fn initProgressEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, lengthcomputablearg: i16, loadedarg: u64, totalarg: u64) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMProgressEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMProgressEvent_Vtbl { - pub const fn new, Impl: IDOMProgressEvent_Impl, const OFFSET: isize>() -> IDOMProgressEvent_Vtbl { - unsafe extern "system" fn lengthComputable, Impl: IDOMProgressEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lengthComputable() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn loaded, Impl: IDOMProgressEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.loaded() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn total, Impl: IDOMProgressEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.total() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initProgressEvent, Impl: IDOMProgressEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, lengthcomputablearg: i16, loadedarg: u64, totalarg: u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initProgressEvent(::core::mem::transmute(&eventtype), ::core::mem::transmute_copy(&canbubble), ::core::mem::transmute_copy(&cancelable), ::core::mem::transmute_copy(&lengthcomputablearg), ::core::mem::transmute_copy(&loadedarg), ::core::mem::transmute_copy(&totalarg)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - lengthComputable: lengthComputable::, - loaded: loaded::, - total: total::, - initProgressEvent: initProgressEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMSiteModeEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn buttonID(&self) -> ::windows::core::Result; - fn actionURL(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMSiteModeEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMSiteModeEvent_Vtbl { - pub const fn new, Impl: IDOMSiteModeEvent_Impl, const OFFSET: isize>() -> IDOMSiteModeEvent_Vtbl { - unsafe extern "system" fn buttonID, Impl: IDOMSiteModeEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.buttonID() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn actionURL, Impl: IDOMSiteModeEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.actionURL() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - buttonID: buttonID::, - actionURL: actionURL::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMStorageEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn key(&self) -> ::windows::core::Result; - fn oldValue(&self) -> ::windows::core::Result; - fn newValue(&self) -> ::windows::core::Result; - fn url(&self) -> ::windows::core::Result; - fn storageArea(&self) -> ::windows::core::Result; - fn initStorageEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, keyarg: &super::super::Foundation::BSTR, oldvaluearg: &super::super::Foundation::BSTR, newvaluearg: &super::super::Foundation::BSTR, urlarg: &super::super::Foundation::BSTR, storageareaarg: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMStorageEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMStorageEvent_Vtbl { - pub const fn new, Impl: IDOMStorageEvent_Impl, const OFFSET: isize>() -> IDOMStorageEvent_Vtbl { - unsafe extern "system" fn key, Impl: IDOMStorageEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.key() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn oldValue, Impl: IDOMStorageEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oldValue() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn newValue, Impl: IDOMStorageEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.newValue() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn url, Impl: IDOMStorageEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.url() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn storageArea, Impl: IDOMStorageEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.storageArea() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initStorageEvent, Impl: IDOMStorageEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, keyarg: ::core::mem::ManuallyDrop, oldvaluearg: ::core::mem::ManuallyDrop, newvaluearg: ::core::mem::ManuallyDrop, urlarg: ::core::mem::ManuallyDrop, storageareaarg: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initStorageEvent(::core::mem::transmute(&eventtype), ::core::mem::transmute_copy(&canbubble), ::core::mem::transmute_copy(&cancelable), ::core::mem::transmute(&keyarg), ::core::mem::transmute(&oldvaluearg), ::core::mem::transmute(&newvaluearg), ::core::mem::transmute(&urlarg), ::core::mem::transmute(&storageareaarg)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - key: key::, - oldValue: oldValue::, - newValue: newValue::, - url: url::, - storageArea: storageArea::, - initStorageEvent: initStorageEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMTextEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn data(&self) -> ::windows::core::Result; - fn inputMethod(&self) -> ::windows::core::Result; - fn initTextEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, viewarg: &::core::option::Option, dataarg: &super::super::Foundation::BSTR, inputmethod: u32, locale: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn locale(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMTextEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMTextEvent_Vtbl { - pub const fn new, Impl: IDOMTextEvent_Impl, const OFFSET: isize>() -> IDOMTextEvent_Vtbl { - unsafe extern "system" fn data, Impl: IDOMTextEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.data() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn inputMethod, Impl: IDOMTextEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.inputMethod() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initTextEvent, Impl: IDOMTextEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, viewarg: *mut ::core::ffi::c_void, dataarg: ::core::mem::ManuallyDrop, inputmethod: u32, locale: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initTextEvent(::core::mem::transmute(&eventtype), ::core::mem::transmute_copy(&canbubble), ::core::mem::transmute_copy(&cancelable), ::core::mem::transmute(&viewarg), ::core::mem::transmute(&dataarg), ::core::mem::transmute_copy(&inputmethod), ::core::mem::transmute(&locale)).into() - } - unsafe extern "system" fn locale, Impl: IDOMTextEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.locale() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - data: data::, - inputMethod: inputMethod::, - initTextEvent: initTextEvent::, - locale: locale::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMTreeWalker_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn root(&self) -> ::windows::core::Result; - fn whatToShow(&self) -> ::windows::core::Result; - fn filter(&self) -> ::windows::core::Result; - fn expandEntityReferences(&self) -> ::windows::core::Result; - fn putref_currentNode(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn currentNode(&self) -> ::windows::core::Result; - fn parentNode(&self) -> ::windows::core::Result; - fn firstChild(&self) -> ::windows::core::Result; - fn lastChild(&self) -> ::windows::core::Result; - fn previousSibling(&self) -> ::windows::core::Result; - fn nextSibling(&self) -> ::windows::core::Result; - fn previousNode(&self) -> ::windows::core::Result; - fn nextNode(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMTreeWalker {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMTreeWalker_Vtbl { - pub const fn new, Impl: IDOMTreeWalker_Impl, const OFFSET: isize>() -> IDOMTreeWalker_Vtbl { - unsafe extern "system" fn root, Impl: IDOMTreeWalker_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.root() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn whatToShow, Impl: IDOMTreeWalker_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.whatToShow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn filter, Impl: IDOMTreeWalker_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.filter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn expandEntityReferences, Impl: IDOMTreeWalker_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.expandEntityReferences() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_currentNode, Impl: IDOMTreeWalker_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_currentNode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn currentNode, Impl: IDOMTreeWalker_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.currentNode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn parentNode, Impl: IDOMTreeWalker_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.parentNode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn firstChild, Impl: IDOMTreeWalker_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.firstChild() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn lastChild, Impl: IDOMTreeWalker_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lastChild() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn previousSibling, Impl: IDOMTreeWalker_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.previousSibling() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn nextSibling, Impl: IDOMTreeWalker_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nextSibling() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn previousNode, Impl: IDOMTreeWalker_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.previousNode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn nextNode, Impl: IDOMTreeWalker_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nextNode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - root: root::, - whatToShow: whatToShow::, - filter: filter::, - expandEntityReferences: expandEntityReferences::, - putref_currentNode: putref_currentNode::, - currentNode: currentNode::, - parentNode: parentNode::, - firstChild: firstChild::, - lastChild: lastChild::, - previousSibling: previousSibling::, - nextSibling: nextSibling::, - previousNode: previousNode::, - nextNode: nextNode::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMUIEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn view(&self) -> ::windows::core::Result; - fn detail(&self) -> ::windows::core::Result; - fn initUIEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, view: &::core::option::Option, detail: i32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMUIEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMUIEvent_Vtbl { - pub const fn new, Impl: IDOMUIEvent_Impl, const OFFSET: isize>() -> IDOMUIEvent_Vtbl { - unsafe extern "system" fn view, Impl: IDOMUIEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.view() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn detail, Impl: IDOMUIEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.detail() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initUIEvent, Impl: IDOMUIEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, view: *mut ::core::ffi::c_void, detail: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initUIEvent(::core::mem::transmute(&eventtype), ::core::mem::transmute_copy(&canbubble), ::core::mem::transmute_copy(&cancelable), ::core::mem::transmute(&view), ::core::mem::transmute_copy(&detail)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - view: view::, - detail: detail::, - initUIEvent: initUIEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMWheelEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn deltaX(&self) -> ::windows::core::Result; - fn deltaY(&self) -> ::windows::core::Result; - fn deltaZ(&self) -> ::windows::core::Result; - fn deltaMode(&self) -> ::windows::core::Result; - fn initWheelEvent(&self, eventtype: &super::super::Foundation::BSTR, canbubble: i16, cancelable: i16, viewarg: &::core::option::Option, detailarg: i32, screenxarg: i32, screenyarg: i32, clientxarg: i32, clientyarg: i32, buttonarg: u16, relatedtargetarg: &::core::option::Option, modifierslistarg: &super::super::Foundation::BSTR, deltax: i32, deltay: i32, deltaz: i32, deltamode: u32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMWheelEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMWheelEvent_Vtbl { - pub const fn new, Impl: IDOMWheelEvent_Impl, const OFFSET: isize>() -> IDOMWheelEvent_Vtbl { - unsafe extern "system" fn deltaX, Impl: IDOMWheelEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.deltaX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deltaY, Impl: IDOMWheelEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.deltaY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deltaZ, Impl: IDOMWheelEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.deltaZ() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deltaMode, Impl: IDOMWheelEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.deltaMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initWheelEvent, Impl: IDOMWheelEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, viewarg: *mut ::core::ffi::c_void, detailarg: i32, screenxarg: i32, screenyarg: i32, clientxarg: i32, clientyarg: i32, buttonarg: u16, relatedtargetarg: *mut ::core::ffi::c_void, modifierslistarg: ::core::mem::ManuallyDrop, deltax: i32, deltay: i32, deltaz: i32, deltamode: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.initWheelEvent( - ::core::mem::transmute(&eventtype), - ::core::mem::transmute_copy(&canbubble), - ::core::mem::transmute_copy(&cancelable), - ::core::mem::transmute(&viewarg), - ::core::mem::transmute_copy(&detailarg), - ::core::mem::transmute_copy(&screenxarg), - ::core::mem::transmute_copy(&screenyarg), - ::core::mem::transmute_copy(&clientxarg), - ::core::mem::transmute_copy(&clientyarg), - ::core::mem::transmute_copy(&buttonarg), - ::core::mem::transmute(&relatedtargetarg), - ::core::mem::transmute(&modifierslistarg), - ::core::mem::transmute_copy(&deltax), - ::core::mem::transmute_copy(&deltay), - ::core::mem::transmute_copy(&deltaz), - ::core::mem::transmute_copy(&deltamode), - ) - .into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - deltaX: deltaX::, - deltaY: deltaY::, - deltaZ: deltaZ::, - deltaMode: deltaMode::, - initWheelEvent: initWheelEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMXmlSerializer_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn serializeToString(&self, pnode: &::core::option::Option) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMXmlSerializer {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMXmlSerializer_Vtbl { - pub const fn new, Impl: IDOMXmlSerializer_Impl, const OFFSET: isize>() -> IDOMXmlSerializer_Vtbl { - unsafe extern "system" fn serializeToString, Impl: IDOMXmlSerializer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pnode: *mut ::core::ffi::c_void, pstring: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.serializeToString(::core::mem::transmute(&pnode)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pstring, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - serializeToString: serializeToString::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDOMXmlSerializerFactory_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn create(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDOMXmlSerializerFactory {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDOMXmlSerializerFactory_Vtbl { - pub const fn new, Impl: IDOMXmlSerializerFactory_Impl, const OFFSET: isize>() -> IDOMXmlSerializerFactory_Vtbl { - unsafe extern "system" fn create, Impl: IDOMXmlSerializerFactory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, __midl__idomxmlserializerfactory0000: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.create() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(__midl__idomxmlserializerfactory0000, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), create: create:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IDebugCallbackNotificationHandler_Impl: Sized { - fn RequestedCallbackTypes(&self) -> ::windows::core::Result; - fn BeforeDispatchEvent(&self, pevent: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; - fn DispatchEventComplete(&self, pevent: &::core::option::Option<::windows::core::IUnknown>, propagationstatus: u32) -> ::windows::core::Result<()>; - fn BeforeInvokeDomCallback(&self, pevent: &::core::option::Option<::windows::core::IUnknown>, pcallback: &::core::option::Option, estage: DOM_EVENT_PHASE, propagationstatus: u32) -> ::windows::core::Result<()>; - fn InvokeDomCallbackComplete(&self, pevent: &::core::option::Option<::windows::core::IUnknown>, pcallback: &::core::option::Option, estage: DOM_EVENT_PHASE, propagationstatus: u32) -> ::windows::core::Result<()>; - fn BeforeInvokeCallback(&self, ecallbacktype: SCRIPT_TIMER_TYPE, callbackcookie: u32, pdisphandler: &::core::option::Option, ullhandlercookie: u64, functionname: &super::super::Foundation::BSTR, line: u32, column: u32, cchlength: u32, pdebugdocumentcontext: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; - fn InvokeCallbackComplete(&self, ecallbacktype: SCRIPT_TIMER_TYPE, callbackcookie: u32, pdisphandler: &::core::option::Option, ullhandlercookie: u64, functionname: &super::super::Foundation::BSTR, line: u32, column: u32, cchlength: u32, pdebugdocumentcontext: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IDebugCallbackNotificationHandler {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IDebugCallbackNotificationHandler_Vtbl { - pub const fn new, Impl: IDebugCallbackNotificationHandler_Impl, const OFFSET: isize>() -> IDebugCallbackNotificationHandler_Vtbl { - unsafe extern "system" fn RequestedCallbackTypes, Impl: IDebugCallbackNotificationHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pcallbackmask: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.RequestedCallbackTypes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pcallbackmask, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn BeforeDispatchEvent, Impl: IDebugCallbackNotificationHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pevent: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.BeforeDispatchEvent(::core::mem::transmute(&pevent)).into() - } - unsafe extern "system" fn DispatchEventComplete, Impl: IDebugCallbackNotificationHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pevent: *mut ::core::ffi::c_void, propagationstatus: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.DispatchEventComplete(::core::mem::transmute(&pevent), ::core::mem::transmute_copy(&propagationstatus)).into() - } - unsafe extern "system" fn BeforeInvokeDomCallback, Impl: IDebugCallbackNotificationHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pevent: *mut ::core::ffi::c_void, pcallback: *mut ::core::ffi::c_void, estage: DOM_EVENT_PHASE, propagationstatus: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.BeforeInvokeDomCallback(::core::mem::transmute(&pevent), ::core::mem::transmute(&pcallback), ::core::mem::transmute_copy(&estage), ::core::mem::transmute_copy(&propagationstatus)).into() - } - unsafe extern "system" fn InvokeDomCallbackComplete, Impl: IDebugCallbackNotificationHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pevent: *mut ::core::ffi::c_void, pcallback: *mut ::core::ffi::c_void, estage: DOM_EVENT_PHASE, propagationstatus: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.InvokeDomCallbackComplete(::core::mem::transmute(&pevent), ::core::mem::transmute(&pcallback), ::core::mem::transmute_copy(&estage), ::core::mem::transmute_copy(&propagationstatus)).into() - } - unsafe extern "system" fn BeforeInvokeCallback, Impl: IDebugCallbackNotificationHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ecallbacktype: SCRIPT_TIMER_TYPE, callbackcookie: u32, pdisphandler: *mut ::core::ffi::c_void, ullhandlercookie: u64, functionname: ::core::mem::ManuallyDrop, line: u32, column: u32, cchlength: u32, pdebugdocumentcontext: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.BeforeInvokeCallback(::core::mem::transmute_copy(&ecallbacktype), ::core::mem::transmute_copy(&callbackcookie), ::core::mem::transmute(&pdisphandler), ::core::mem::transmute_copy(&ullhandlercookie), ::core::mem::transmute(&functionname), ::core::mem::transmute_copy(&line), ::core::mem::transmute_copy(&column), ::core::mem::transmute_copy(&cchlength), ::core::mem::transmute(&pdebugdocumentcontext)).into() - } - unsafe extern "system" fn InvokeCallbackComplete, Impl: IDebugCallbackNotificationHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ecallbacktype: SCRIPT_TIMER_TYPE, callbackcookie: u32, pdisphandler: *mut ::core::ffi::c_void, ullhandlercookie: u64, functionname: ::core::mem::ManuallyDrop, line: u32, column: u32, cchlength: u32, pdebugdocumentcontext: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.InvokeCallbackComplete(::core::mem::transmute_copy(&ecallbacktype), ::core::mem::transmute_copy(&callbackcookie), ::core::mem::transmute(&pdisphandler), ::core::mem::transmute_copy(&ullhandlercookie), ::core::mem::transmute(&functionname), ::core::mem::transmute_copy(&line), ::core::mem::transmute_copy(&column), ::core::mem::transmute_copy(&cchlength), ::core::mem::transmute(&pdebugdocumentcontext)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - RequestedCallbackTypes: RequestedCallbackTypes::, - BeforeDispatchEvent: BeforeDispatchEvent::, - DispatchEventComplete: DispatchEventComplete::, - BeforeInvokeDomCallback: BeforeInvokeDomCallback::, - InvokeDomCallbackComplete: InvokeDomCallbackComplete::, - BeforeInvokeCallback: BeforeInvokeCallback::, - InvokeCallbackComplete: InvokeCallbackComplete::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IDeveloperConsoleMessageReceiver_Impl: Sized { - fn Write(&self, source: &::windows::core::PCWSTR, level: DEV_CONSOLE_MESSAGE_LEVEL, messageid: i32, messagetext: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; - fn WriteWithUrl(&self, source: &::windows::core::PCWSTR, level: DEV_CONSOLE_MESSAGE_LEVEL, messageid: i32, messagetext: &::windows::core::PCWSTR, fileurl: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; - fn WriteWithUrlAndLine(&self, source: &::windows::core::PCWSTR, level: DEV_CONSOLE_MESSAGE_LEVEL, messageid: i32, messagetext: &::windows::core::PCWSTR, fileurl: &::windows::core::PCWSTR, line: u32) -> ::windows::core::Result<()>; - fn WriteWithUrlLineAndColumn(&self, source: &::windows::core::PCWSTR, level: DEV_CONSOLE_MESSAGE_LEVEL, messageid: i32, messagetext: &::windows::core::PCWSTR, fileurl: &::windows::core::PCWSTR, line: u32, column: u32) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IDeveloperConsoleMessageReceiver {} -impl IDeveloperConsoleMessageReceiver_Vtbl { - pub const fn new, Impl: IDeveloperConsoleMessageReceiver_Impl, const OFFSET: isize>() -> IDeveloperConsoleMessageReceiver_Vtbl { - unsafe extern "system" fn Write, Impl: IDeveloperConsoleMessageReceiver_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, source: ::windows::core::PCWSTR, level: DEV_CONSOLE_MESSAGE_LEVEL, messageid: i32, messagetext: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Write(::core::mem::transmute(&source), ::core::mem::transmute_copy(&level), ::core::mem::transmute_copy(&messageid), ::core::mem::transmute(&messagetext)).into() - } - unsafe extern "system" fn WriteWithUrl, Impl: IDeveloperConsoleMessageReceiver_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, source: ::windows::core::PCWSTR, level: DEV_CONSOLE_MESSAGE_LEVEL, messageid: i32, messagetext: ::windows::core::PCWSTR, fileurl: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.WriteWithUrl(::core::mem::transmute(&source), ::core::mem::transmute_copy(&level), ::core::mem::transmute_copy(&messageid), ::core::mem::transmute(&messagetext), ::core::mem::transmute(&fileurl)).into() - } - unsafe extern "system" fn WriteWithUrlAndLine, Impl: IDeveloperConsoleMessageReceiver_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, source: ::windows::core::PCWSTR, level: DEV_CONSOLE_MESSAGE_LEVEL, messageid: i32, messagetext: ::windows::core::PCWSTR, fileurl: ::windows::core::PCWSTR, line: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.WriteWithUrlAndLine(::core::mem::transmute(&source), ::core::mem::transmute_copy(&level), ::core::mem::transmute_copy(&messageid), ::core::mem::transmute(&messagetext), ::core::mem::transmute(&fileurl), ::core::mem::transmute_copy(&line)).into() - } - unsafe extern "system" fn WriteWithUrlLineAndColumn, Impl: IDeveloperConsoleMessageReceiver_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, source: ::windows::core::PCWSTR, level: DEV_CONSOLE_MESSAGE_LEVEL, messageid: i32, messagetext: ::windows::core::PCWSTR, fileurl: ::windows::core::PCWSTR, line: u32, column: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.WriteWithUrlLineAndColumn(::core::mem::transmute(&source), ::core::mem::transmute_copy(&level), ::core::mem::transmute_copy(&messageid), ::core::mem::transmute(&messagetext), ::core::mem::transmute(&fileurl), ::core::mem::transmute_copy(&line), ::core::mem::transmute_copy(&column)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - Write: Write::, - WriteWithUrl: WriteWithUrl::, - WriteWithUrlAndLine: WriteWithUrlAndLine::, - WriteWithUrlLineAndColumn: WriteWithUrlLineAndColumn::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDeviceRect_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDeviceRect {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDeviceRect_Vtbl { - pub const fn new, Impl: IDeviceRect_Impl, const OFFSET: isize>() -> IDeviceRect_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -pub trait IDiagnosticsScriptEngine_Impl: Sized { - fn EvaluateScript(&self, pszscript: &::windows::core::PCWSTR, pszscriptname: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; - fn FireScriptMessageEvent(&self, psznames: *const ::windows::core::PWSTR, pszvalues: *const ::windows::core::PWSTR, ulpropertycount: u32) -> ::windows::core::Result<()>; - fn Detach(&self) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IDiagnosticsScriptEngine {} -impl IDiagnosticsScriptEngine_Vtbl { - pub const fn new, Impl: IDiagnosticsScriptEngine_Impl, const OFFSET: isize>() -> IDiagnosticsScriptEngine_Vtbl { - unsafe extern "system" fn EvaluateScript, Impl: IDiagnosticsScriptEngine_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pszscript: ::windows::core::PCWSTR, pszscriptname: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.EvaluateScript(::core::mem::transmute(&pszscript), ::core::mem::transmute(&pszscriptname)).into() - } - unsafe extern "system" fn FireScriptMessageEvent, Impl: IDiagnosticsScriptEngine_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, psznames: *const ::windows::core::PWSTR, pszvalues: *const ::windows::core::PWSTR, ulpropertycount: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.FireScriptMessageEvent(::core::mem::transmute_copy(&psznames), ::core::mem::transmute_copy(&pszvalues), ::core::mem::transmute_copy(&ulpropertycount)).into() - } - unsafe extern "system" fn Detach, Impl: IDiagnosticsScriptEngine_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Detach().into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - EvaluateScript: EvaluateScript::, - FireScriptMessageEvent: FireScriptMessageEvent::, - Detach: Detach::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IDiagnosticsScriptEngineProvider_Impl: Sized { - fn CreateDiagnosticsScriptEngine(&self, pscriptsite: &::core::option::Option, fdebuggingenabled: super::super::Foundation::BOOL, ulprocessid: u32) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IDiagnosticsScriptEngineProvider {} -#[cfg(feature = "Win32_Foundation")] -impl IDiagnosticsScriptEngineProvider_Vtbl { - pub const fn new, Impl: IDiagnosticsScriptEngineProvider_Impl, const OFFSET: isize>() -> IDiagnosticsScriptEngineProvider_Vtbl { - unsafe extern "system" fn CreateDiagnosticsScriptEngine, Impl: IDiagnosticsScriptEngineProvider_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pscriptsite: *mut ::core::ffi::c_void, fdebuggingenabled: super::super::Foundation::BOOL, ulprocessid: u32, ppengine: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CreateDiagnosticsScriptEngine(::core::mem::transmute(&pscriptsite), ::core::mem::transmute_copy(&fdebuggingenabled), ::core::mem::transmute_copy(&ulprocessid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppengine, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - CreateDiagnosticsScriptEngine: CreateDiagnosticsScriptEngine::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_System_Diagnostics_Debug")] -pub trait IDiagnosticsScriptEngineSite_Impl: Sized { - fn OnMessage(&self, pszdata: *const ::windows::core::PWSTR, uldatacount: u32) -> ::windows::core::Result<()>; - fn OnScriptError(&self, pscripterror: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_System_Diagnostics_Debug")] -impl ::windows::core::RuntimeName for IDiagnosticsScriptEngineSite {} -#[cfg(feature = "Win32_System_Diagnostics_Debug")] -impl IDiagnosticsScriptEngineSite_Vtbl { - pub const fn new, Impl: IDiagnosticsScriptEngineSite_Impl, const OFFSET: isize>() -> IDiagnosticsScriptEngineSite_Vtbl { - unsafe extern "system" fn OnMessage, Impl: IDiagnosticsScriptEngineSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pszdata: *const ::windows::core::PWSTR, uldatacount: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnMessage(::core::mem::transmute_copy(&pszdata), ::core::mem::transmute_copy(&uldatacount)).into() - } - unsafe extern "system" fn OnScriptError, Impl: IDiagnosticsScriptEngineSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pscripterror: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnScriptError(::core::mem::transmute(&pscripterror)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - OnMessage: OnMessage::, - OnScriptError: OnScriptError::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IDisplayPointer_Impl: Sized { - fn MoveToPoint(&self, ptpoint: &super::super::Foundation::POINT, ecoordsystem: COORD_SYSTEM, pelementcontext: &::core::option::Option, dwhittestoptions: u32) -> ::windows::core::Result; - fn MoveUnit(&self, emoveunit: DISPLAY_MOVEUNIT, lxpos: i32) -> ::windows::core::Result<()>; - fn PositionMarkupPointer(&self, pmarkuppointer: &::core::option::Option) -> ::windows::core::Result<()>; - fn MoveToPointer(&self, pdisppointer: &::core::option::Option) -> ::windows::core::Result<()>; - fn SetPointerGravity(&self, egravity: POINTER_GRAVITY) -> ::windows::core::Result<()>; - fn GetPointerGravity(&self) -> ::windows::core::Result; - fn SetDisplayGravity(&self, egravity: DISPLAY_GRAVITY) -> ::windows::core::Result<()>; - fn GetDisplayGravity(&self) -> ::windows::core::Result; - fn IsPositioned(&self) -> ::windows::core::Result; - fn Unposition(&self) -> ::windows::core::Result<()>; - fn IsEqualTo(&self, pdisppointer: &::core::option::Option) -> ::windows::core::Result; - fn IsLeftOf(&self, pdisppointer: &::core::option::Option) -> ::windows::core::Result; - fn IsRightOf(&self, pdisppointer: &::core::option::Option) -> ::windows::core::Result; - fn IsAtBOL(&self) -> ::windows::core::Result; - fn MoveToMarkupPointer(&self, ppointer: &::core::option::Option, pdisplinecontext: &::core::option::Option) -> ::windows::core::Result<()>; - fn ScrollIntoView(&self) -> ::windows::core::Result<()>; - fn GetLineInfo(&self) -> ::windows::core::Result; - fn GetFlowElement(&self) -> ::windows::core::Result; - fn QueryBreaks(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IDisplayPointer {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IDisplayPointer_Vtbl { - pub const fn new, Impl: IDisplayPointer_Impl, const OFFSET: isize>() -> IDisplayPointer_Vtbl { - unsafe extern "system" fn MoveToPoint, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ptpoint: super::super::Foundation::POINT, ecoordsystem: COORD_SYSTEM, pelementcontext: *mut ::core::ffi::c_void, dwhittestoptions: u32, pdwhittestresults: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.MoveToPoint(::core::mem::transmute(&ptpoint), ::core::mem::transmute_copy(&ecoordsystem), ::core::mem::transmute(&pelementcontext), ::core::mem::transmute_copy(&dwhittestoptions)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdwhittestresults, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn MoveUnit, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, emoveunit: DISPLAY_MOVEUNIT, lxpos: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveUnit(::core::mem::transmute_copy(&emoveunit), ::core::mem::transmute_copy(&lxpos)).into() - } - unsafe extern "system" fn PositionMarkupPointer, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pmarkuppointer: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.PositionMarkupPointer(::core::mem::transmute(&pmarkuppointer)).into() - } - unsafe extern "system" fn MoveToPointer, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdisppointer: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveToPointer(::core::mem::transmute(&pdisppointer)).into() - } - unsafe extern "system" fn SetPointerGravity, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, egravity: POINTER_GRAVITY) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetPointerGravity(::core::mem::transmute_copy(&egravity)).into() - } - unsafe extern "system" fn GetPointerGravity, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pegravity: *mut POINTER_GRAVITY) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetPointerGravity() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pegravity, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetDisplayGravity, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, egravity: DISPLAY_GRAVITY) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetDisplayGravity(::core::mem::transmute_copy(&egravity)).into() - } - unsafe extern "system" fn GetDisplayGravity, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pegravity: *mut DISPLAY_GRAVITY) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetDisplayGravity() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pegravity, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn IsPositioned, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfpositioned: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsPositioned() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfpositioned, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Unposition, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Unposition().into() - } - unsafe extern "system" fn IsEqualTo, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdisppointer: *mut ::core::ffi::c_void, pfisequal: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsEqualTo(::core::mem::transmute(&pdisppointer)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfisequal, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn IsLeftOf, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdisppointer: *mut ::core::ffi::c_void, pfisleftof: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsLeftOf(::core::mem::transmute(&pdisppointer)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfisleftof, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn IsRightOf, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdisppointer: *mut ::core::ffi::c_void, pfisrightof: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsRightOf(::core::mem::transmute(&pdisppointer)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfisrightof, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn IsAtBOL, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfbol: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsAtBOL() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfbol, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn MoveToMarkupPointer, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppointer: *mut ::core::ffi::c_void, pdisplinecontext: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveToMarkupPointer(::core::mem::transmute(&ppointer), ::core::mem::transmute(&pdisplinecontext)).into() - } - unsafe extern "system" fn ScrollIntoView, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ScrollIntoView().into() - } - unsafe extern "system" fn GetLineInfo, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pplineinfo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetLineInfo() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pplineinfo, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetFlowElement, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pplayoutelement: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetFlowElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pplayoutelement, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn QueryBreaks, Impl: IDisplayPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdwbreaks: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.QueryBreaks() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdwbreaks, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - MoveToPoint: MoveToPoint::, - MoveUnit: MoveUnit::, - PositionMarkupPointer: PositionMarkupPointer::, - MoveToPointer: MoveToPointer::, - SetPointerGravity: SetPointerGravity::, - GetPointerGravity: GetPointerGravity::, - SetDisplayGravity: SetDisplayGravity::, - GetDisplayGravity: GetDisplayGravity::, - IsPositioned: IsPositioned::, - Unposition: Unposition::, - IsEqualTo: IsEqualTo::, - IsLeftOf: IsLeftOf::, - IsRightOf: IsRightOf::, - IsAtBOL: IsAtBOL::, - MoveToMarkupPointer: MoveToMarkupPointer::, - ScrollIntoView: ScrollIntoView::, - GetLineInfo: GetLineInfo::, - GetFlowElement: GetFlowElement::, - QueryBreaks: QueryBreaks::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IDisplayServices_Impl: Sized { - fn CreateDisplayPointer(&self) -> ::windows::core::Result; - fn TransformRect(&self, prect: *mut super::super::Foundation::RECT, esource: COORD_SYSTEM, edestination: COORD_SYSTEM, pielement: &::core::option::Option) -> ::windows::core::Result<()>; - fn TransformPoint(&self, ppoint: *mut super::super::Foundation::POINT, esource: COORD_SYSTEM, edestination: COORD_SYSTEM, pielement: &::core::option::Option) -> ::windows::core::Result<()>; - fn GetCaret(&self) -> ::windows::core::Result; - fn GetComputedStyle(&self, ppointer: &::core::option::Option) -> ::windows::core::Result; - fn ScrollRectIntoView(&self, pielement: &::core::option::Option, rect: &super::super::Foundation::RECT) -> ::windows::core::Result<()>; - fn HasFlowLayout(&self, pielement: &::core::option::Option) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IDisplayServices {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IDisplayServices_Vtbl { - pub const fn new, Impl: IDisplayServices_Impl, const OFFSET: isize>() -> IDisplayServices_Vtbl { - unsafe extern "system" fn CreateDisplayPointer, Impl: IDisplayServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppdisppointer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CreateDisplayPointer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppdisppointer, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn TransformRect, Impl: IDisplayServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, prect: *mut super::super::Foundation::RECT, esource: COORD_SYSTEM, edestination: COORD_SYSTEM, pielement: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.TransformRect(::core::mem::transmute_copy(&prect), ::core::mem::transmute_copy(&esource), ::core::mem::transmute_copy(&edestination), ::core::mem::transmute(&pielement)).into() - } - unsafe extern "system" fn TransformPoint, Impl: IDisplayServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppoint: *mut super::super::Foundation::POINT, esource: COORD_SYSTEM, edestination: COORD_SYSTEM, pielement: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.TransformPoint(::core::mem::transmute_copy(&ppoint), ::core::mem::transmute_copy(&esource), ::core::mem::transmute_copy(&edestination), ::core::mem::transmute(&pielement)).into() - } - unsafe extern "system" fn GetCaret, Impl: IDisplayServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppcaret: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetCaret() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppcaret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetComputedStyle, Impl: IDisplayServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppointer: *mut ::core::ffi::c_void, ppcomputedstyle: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetComputedStyle(::core::mem::transmute(&ppointer)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppcomputedstyle, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn ScrollRectIntoView, Impl: IDisplayServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pielement: *mut ::core::ffi::c_void, rect: super::super::Foundation::RECT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ScrollRectIntoView(::core::mem::transmute(&pielement), ::core::mem::transmute(&rect)).into() - } - unsafe extern "system" fn HasFlowLayout, Impl: IDisplayServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pielement: *mut ::core::ffi::c_void, pfhasflowlayout: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HasFlowLayout(::core::mem::transmute(&pielement)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfhasflowlayout, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - CreateDisplayPointer: CreateDisplayPointer::, - TransformRect: TransformRect::, - TransformPoint: TransformPoint::, - GetCaret: GetCaret::, - GetComputedStyle: GetComputedStyle::, - ScrollRectIntoView: ScrollRectIntoView::, - HasFlowLayout: HasFlowLayout::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Graphics_Gdi")] -pub trait IDithererImpl_Impl: Sized { - fn SetDestColorTable(&self, ncolors: u32, prgbcolors: *const super::super::Graphics::Gdi::RGBQUAD) -> ::windows::core::Result<()>; - fn SetEventSink(&self, peventsink: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Graphics_Gdi")] -impl ::windows::core::RuntimeName for IDithererImpl {} -#[cfg(feature = "Win32_Graphics_Gdi")] -impl IDithererImpl_Vtbl { - pub const fn new, Impl: IDithererImpl_Impl, const OFFSET: isize>() -> IDithererImpl_Vtbl { - unsafe extern "system" fn SetDestColorTable, Impl: IDithererImpl_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ncolors: u32, prgbcolors: *const super::super::Graphics::Gdi::RGBQUAD) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetDestColorTable(::core::mem::transmute_copy(&ncolors), ::core::mem::transmute_copy(&prgbcolors)).into() - } - unsafe extern "system" fn SetEventSink, Impl: IDithererImpl_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, peventsink: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetEventSink(::core::mem::transmute(&peventsink)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - SetDestColorTable: SetDestColorTable::, - SetEventSink: SetEventSink::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IDocHostShowUI_Impl: Sized { - fn ShowMessage(&self, hwnd: super::super::Foundation::HWND, lpstrtext: &::windows::core::PCWSTR, lpstrcaption: &::windows::core::PCWSTR, dwtype: u32, lpstrhelpfile: &::windows::core::PCWSTR, dwhelpcontext: u32) -> ::windows::core::Result; - fn ShowHelp(&self, hwnd: super::super::Foundation::HWND, pszhelpfile: &::windows::core::PCWSTR, ucommand: u32, dwdata: u32, ptmouse: &super::super::Foundation::POINT, pdispatchobjecthit: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IDocHostShowUI {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IDocHostShowUI_Vtbl { - pub const fn new, Impl: IDocHostShowUI_Impl, const OFFSET: isize>() -> IDocHostShowUI_Vtbl { - unsafe extern "system" fn ShowMessage, Impl: IDocHostShowUI_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, hwnd: super::super::Foundation::HWND, lpstrtext: ::windows::core::PCWSTR, lpstrcaption: ::windows::core::PCWSTR, dwtype: u32, lpstrhelpfile: ::windows::core::PCWSTR, dwhelpcontext: u32, plresult: *mut super::super::Foundation::LRESULT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ShowMessage(::core::mem::transmute_copy(&hwnd), ::core::mem::transmute(&lpstrtext), ::core::mem::transmute(&lpstrcaption), ::core::mem::transmute_copy(&dwtype), ::core::mem::transmute(&lpstrhelpfile), ::core::mem::transmute_copy(&dwhelpcontext)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(plresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn ShowHelp, Impl: IDocHostShowUI_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, hwnd: super::super::Foundation::HWND, pszhelpfile: ::windows::core::PCWSTR, ucommand: u32, dwdata: u32, ptmouse: super::super::Foundation::POINT, pdispatchobjecthit: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ShowHelp(::core::mem::transmute_copy(&hwnd), ::core::mem::transmute(&pszhelpfile), ::core::mem::transmute_copy(&ucommand), ::core::mem::transmute_copy(&dwdata), ::core::mem::transmute(&ptmouse), ::core::mem::transmute(&pdispatchobjecthit)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - ShowMessage: ShowMessage::, - ShowHelp: ShowHelp::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] -pub trait IDocHostUIHandler_Impl: Sized { - fn ShowContextMenu(&self, dwid: u32, ppt: *const super::super::Foundation::POINT, pcmdtreserved: &::core::option::Option<::windows::core::IUnknown>, pdispreserved: &::core::option::Option) -> ::windows::core::Result<()>; - fn GetHostInfo(&self, pinfo: *mut DOCHOSTUIINFO) -> ::windows::core::Result<()>; - fn ShowUI(&self, dwid: u32, pactiveobject: &::core::option::Option, pcommandtarget: &::core::option::Option, pframe: &::core::option::Option, pdoc: &::core::option::Option) -> ::windows::core::Result<()>; - fn HideUI(&self) -> ::windows::core::Result<()>; - fn UpdateUI(&self) -> ::windows::core::Result<()>; - fn EnableModeless(&self, fenable: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; - fn OnDocWindowActivate(&self, factivate: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; - fn OnFrameWindowActivate(&self, factivate: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; - fn ResizeBorder(&self, prcborder: *const super::super::Foundation::RECT, puiwindow: &::core::option::Option, framewindow: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; - fn TranslateAccelerator(&self, lpmsg: *const super::super::UI::WindowsAndMessaging::MSG, pguidcmdgroup: *const ::windows::core::GUID, ncmdid: u32) -> ::windows::core::Result<()>; - fn GetOptionKeyPath(&self, pchkey: *mut ::windows::core::PWSTR, dw: u32) -> ::windows::core::Result<()>; - fn GetDropTarget(&self, pdroptarget: &::core::option::Option) -> ::windows::core::Result; - fn GetExternal(&self) -> ::windows::core::Result; - fn TranslateUrl(&self, dwtranslate: u32, pchurlin: &::windows::core::PCWSTR) -> ::windows::core::Result<::windows::core::PWSTR>; - fn FilterDataObject(&self, pdo: &::core::option::Option) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] -impl ::windows::core::RuntimeName for IDocHostUIHandler {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] -impl IDocHostUIHandler_Vtbl { - pub const fn new, Impl: IDocHostUIHandler_Impl, const OFFSET: isize>() -> IDocHostUIHandler_Vtbl { - unsafe extern "system" fn ShowContextMenu, Impl: IDocHostUIHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwid: u32, ppt: *const super::super::Foundation::POINT, pcmdtreserved: *mut ::core::ffi::c_void, pdispreserved: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ShowContextMenu(::core::mem::transmute_copy(&dwid), ::core::mem::transmute_copy(&ppt), ::core::mem::transmute(&pcmdtreserved), ::core::mem::transmute(&pdispreserved)).into() - } - unsafe extern "system" fn GetHostInfo, Impl: IDocHostUIHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pinfo: *mut DOCHOSTUIINFO) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetHostInfo(::core::mem::transmute_copy(&pinfo)).into() - } - unsafe extern "system" fn ShowUI, Impl: IDocHostUIHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwid: u32, pactiveobject: *mut ::core::ffi::c_void, pcommandtarget: *mut ::core::ffi::c_void, pframe: *mut ::core::ffi::c_void, pdoc: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ShowUI(::core::mem::transmute_copy(&dwid), ::core::mem::transmute(&pactiveobject), ::core::mem::transmute(&pcommandtarget), ::core::mem::transmute(&pframe), ::core::mem::transmute(&pdoc)).into() - } - unsafe extern "system" fn HideUI, Impl: IDocHostUIHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.HideUI().into() - } - unsafe extern "system" fn UpdateUI, Impl: IDocHostUIHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.UpdateUI().into() - } - unsafe extern "system" fn EnableModeless, Impl: IDocHostUIHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fenable: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.EnableModeless(::core::mem::transmute_copy(&fenable)).into() - } - unsafe extern "system" fn OnDocWindowActivate, Impl: IDocHostUIHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, factivate: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnDocWindowActivate(::core::mem::transmute_copy(&factivate)).into() - } - unsafe extern "system" fn OnFrameWindowActivate, Impl: IDocHostUIHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, factivate: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnFrameWindowActivate(::core::mem::transmute_copy(&factivate)).into() - } - unsafe extern "system" fn ResizeBorder, Impl: IDocHostUIHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, prcborder: *const super::super::Foundation::RECT, puiwindow: *mut ::core::ffi::c_void, framewindow: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ResizeBorder(::core::mem::transmute_copy(&prcborder), ::core::mem::transmute(&puiwindow), ::core::mem::transmute_copy(&framewindow)).into() - } - unsafe extern "system" fn TranslateAccelerator, Impl: IDocHostUIHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lpmsg: *const super::super::UI::WindowsAndMessaging::MSG, pguidcmdgroup: *const ::windows::core::GUID, ncmdid: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.TranslateAccelerator(::core::mem::transmute_copy(&lpmsg), ::core::mem::transmute_copy(&pguidcmdgroup), ::core::mem::transmute_copy(&ncmdid)).into() - } - unsafe extern "system" fn GetOptionKeyPath, Impl: IDocHostUIHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pchkey: *mut ::windows::core::PWSTR, dw: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetOptionKeyPath(::core::mem::transmute_copy(&pchkey), ::core::mem::transmute_copy(&dw)).into() - } - unsafe extern "system" fn GetDropTarget, Impl: IDocHostUIHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdroptarget: *mut ::core::ffi::c_void, ppdroptarget: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetDropTarget(::core::mem::transmute(&pdroptarget)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppdroptarget, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetExternal, Impl: IDocHostUIHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppdispatch: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetExternal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppdispatch, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn TranslateUrl, Impl: IDocHostUIHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwtranslate: u32, pchurlin: ::windows::core::PCWSTR, ppchurlout: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.TranslateUrl(::core::mem::transmute_copy(&dwtranslate), ::core::mem::transmute(&pchurlin)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppchurlout, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn FilterDataObject, Impl: IDocHostUIHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdo: *mut ::core::ffi::c_void, ppdoret: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.FilterDataObject(::core::mem::transmute(&pdo)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppdoret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - ShowContextMenu: ShowContextMenu::, - GetHostInfo: GetHostInfo::, - ShowUI: ShowUI::, - HideUI: HideUI::, - UpdateUI: UpdateUI::, - EnableModeless: EnableModeless::, - OnDocWindowActivate: OnDocWindowActivate::, - OnFrameWindowActivate: OnFrameWindowActivate::, - ResizeBorder: ResizeBorder::, - TranslateAccelerator: TranslateAccelerator::, - GetOptionKeyPath: GetOptionKeyPath::, - GetDropTarget: GetDropTarget::, - GetExternal: GetExternal::, - TranslateUrl: TranslateUrl::, - FilterDataObject: FilterDataObject::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] -pub trait IDocHostUIHandler2_Impl: Sized + IDocHostUIHandler_Impl { - fn GetOverrideKeyPath(&self, pchkey: *mut ::windows::core::PWSTR, dw: u32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] -impl ::windows::core::RuntimeName for IDocHostUIHandler2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] -impl IDocHostUIHandler2_Vtbl { - pub const fn new, Impl: IDocHostUIHandler2_Impl, const OFFSET: isize>() -> IDocHostUIHandler2_Vtbl { - unsafe extern "system" fn GetOverrideKeyPath, Impl: IDocHostUIHandler2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pchkey: *mut ::windows::core::PWSTR, dw: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetOverrideKeyPath(::core::mem::transmute_copy(&pchkey), ::core::mem::transmute_copy(&dw)).into() - } - Self { base__: IDocHostUIHandler_Vtbl::new::(), GetOverrideKeyPath: GetOverrideKeyPath:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IDocObjectService_Impl: Sized { - fn FireBeforeNavigate2(&self, pdispatch: &::core::option::Option, lpszurl: &::windows::core::PCWSTR, dwflags: u32, lpszframename: &::windows::core::PCWSTR, ppostdata: *const u8, cbpostdata: u32, lpszheaders: &::windows::core::PCWSTR, fplaynavsound: super::super::Foundation::BOOL) -> ::windows::core::Result; - fn FireNavigateComplete2(&self, phtmlwindow2: &::core::option::Option, dwflags: u32) -> ::windows::core::Result<()>; - fn FireDownloadBegin(&self) -> ::windows::core::Result<()>; - fn FireDownloadComplete(&self) -> ::windows::core::Result<()>; - fn FireDocumentComplete(&self, phtmlwindow: &::core::option::Option, dwflags: u32) -> ::windows::core::Result<()>; - fn UpdateDesktopComponent(&self, phtmlwindow: &::core::option::Option) -> ::windows::core::Result<()>; - fn GetPendingUrl(&self) -> ::windows::core::Result; - fn ActiveElementChanged(&self, phtmlelement: &::core::option::Option) -> ::windows::core::Result<()>; - fn GetUrlSearchComponent(&self) -> ::windows::core::Result; - fn IsErrorUrl(&self, lpszurl: &::windows::core::PCWSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IDocObjectService {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IDocObjectService_Vtbl { - pub const fn new, Impl: IDocObjectService_Impl, const OFFSET: isize>() -> IDocObjectService_Vtbl { - unsafe extern "system" fn FireBeforeNavigate2, Impl: IDocObjectService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdispatch: *mut ::core::ffi::c_void, lpszurl: ::windows::core::PCWSTR, dwflags: u32, lpszframename: ::windows::core::PCWSTR, ppostdata: *const u8, cbpostdata: u32, lpszheaders: ::windows::core::PCWSTR, fplaynavsound: super::super::Foundation::BOOL, pfcancel: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.FireBeforeNavigate2(::core::mem::transmute(&pdispatch), ::core::mem::transmute(&lpszurl), ::core::mem::transmute_copy(&dwflags), ::core::mem::transmute(&lpszframename), ::core::mem::transmute_copy(&ppostdata), ::core::mem::transmute_copy(&cbpostdata), ::core::mem::transmute(&lpszheaders), ::core::mem::transmute_copy(&fplaynavsound)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfcancel, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn FireNavigateComplete2, Impl: IDocObjectService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, phtmlwindow2: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.FireNavigateComplete2(::core::mem::transmute(&phtmlwindow2), ::core::mem::transmute_copy(&dwflags)).into() - } - unsafe extern "system" fn FireDownloadBegin, Impl: IDocObjectService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.FireDownloadBegin().into() - } - unsafe extern "system" fn FireDownloadComplete, Impl: IDocObjectService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.FireDownloadComplete().into() - } - unsafe extern "system" fn FireDocumentComplete, Impl: IDocObjectService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, phtmlwindow: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.FireDocumentComplete(::core::mem::transmute(&phtmlwindow), ::core::mem::transmute_copy(&dwflags)).into() - } - unsafe extern "system" fn UpdateDesktopComponent, Impl: IDocObjectService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, phtmlwindow: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.UpdateDesktopComponent(::core::mem::transmute(&phtmlwindow)).into() - } - unsafe extern "system" fn GetPendingUrl, Impl: IDocObjectService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstrpendingurl: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetPendingUrl() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrpendingurl, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn ActiveElementChanged, Impl: IDocObjectService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, phtmlelement: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ActiveElementChanged(::core::mem::transmute(&phtmlelement)).into() - } - unsafe extern "system" fn GetUrlSearchComponent, Impl: IDocObjectService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstrsearch: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetUrlSearchComponent() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrsearch, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn IsErrorUrl, Impl: IDocObjectService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lpszurl: ::windows::core::PCWSTR, pfiserror: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsErrorUrl(::core::mem::transmute(&lpszurl)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfiserror, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - FireBeforeNavigate2: FireBeforeNavigate2::, - FireNavigateComplete2: FireNavigateComplete2::, - FireDownloadBegin: FireDownloadBegin::, - FireDownloadComplete: FireDownloadComplete::, - FireDocumentComplete: FireDocumentComplete::, - UpdateDesktopComponent: UpdateDesktopComponent::, - GetPendingUrl: GetPendingUrl::, - ActiveElementChanged: ActiveElementChanged::, - GetUrlSearchComponent: GetUrlSearchComponent::, - IsErrorUrl: IsErrorUrl::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDocumentEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn createEvent(&self, eventtype: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDocumentEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDocumentEvent_Vtbl { - pub const fn new, Impl: IDocumentEvent_Impl, const OFFSET: isize>() -> IDocumentEvent_Vtbl { - unsafe extern "system" fn createEvent, Impl: IDocumentEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, ppevent: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createEvent(::core::mem::transmute(&eventtype)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppevent, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), createEvent: createEvent:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDocumentRange_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn createRange(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDocumentRange {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDocumentRange_Vtbl { - pub const fn new, Impl: IDocumentRange_Impl, const OFFSET: isize>() -> IDocumentRange_Vtbl { - unsafe extern "system" fn createRange, Impl: IDocumentRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppihtmldomrange: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createRange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppihtmldomrange, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), createRange: createRange:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDocumentSelector_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn querySelector(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn querySelectorAll(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDocumentSelector {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDocumentSelector_Vtbl { - pub const fn new, Impl: IDocumentSelector_Impl, const OFFSET: isize>() -> IDocumentSelector_Vtbl { - unsafe extern "system" fn querySelector, Impl: IDocumentSelector_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pel: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.querySelector(::core::mem::transmute(&v)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pel, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn querySelectorAll, Impl: IDocumentSelector_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pel: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.querySelectorAll(::core::mem::transmute(&v)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pel, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - querySelector: querySelector::, - querySelectorAll: querySelectorAll::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDocumentTraversal_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn createNodeIterator(&self, prootnode: &::core::option::Option, ulwhattoshow: i32, pfilter: *const super::super::System::Com::VARIANT, fentityreferenceexpansion: i16) -> ::windows::core::Result; - fn createTreeWalker(&self, prootnode: &::core::option::Option, ulwhattoshow: i32, pfilter: *const super::super::System::Com::VARIANT, fentityreferenceexpansion: i16) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDocumentTraversal {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDocumentTraversal_Vtbl { - pub const fn new, Impl: IDocumentTraversal_Impl, const OFFSET: isize>() -> IDocumentTraversal_Vtbl { - unsafe extern "system" fn createNodeIterator, Impl: IDocumentTraversal_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, prootnode: *mut ::core::ffi::c_void, ulwhattoshow: i32, pfilter: *const super::super::System::Com::VARIANT, fentityreferenceexpansion: i16, ppnodeiterator: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createNodeIterator(::core::mem::transmute(&prootnode), ::core::mem::transmute_copy(&ulwhattoshow), ::core::mem::transmute_copy(&pfilter), ::core::mem::transmute_copy(&fentityreferenceexpansion)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnodeiterator, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createTreeWalker, Impl: IDocumentTraversal_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, prootnode: *mut ::core::ffi::c_void, ulwhattoshow: i32, pfilter: *const super::super::System::Com::VARIANT, fentityreferenceexpansion: i16, pptreewalker: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createTreeWalker(::core::mem::transmute(&prootnode), ::core::mem::transmute_copy(&ulwhattoshow), ::core::mem::transmute_copy(&pfilter), ::core::mem::transmute_copy(&fentityreferenceexpansion)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pptreewalker, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - createNodeIterator: createNodeIterator::, - createTreeWalker: createTreeWalker::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IDownloadBehavior_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn startDownload(&self, bstrurl: &super::super::Foundation::BSTR, pdispcallback: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IDownloadBehavior {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IDownloadBehavior_Vtbl { - pub const fn new, Impl: IDownloadBehavior_Impl, const OFFSET: isize>() -> IDownloadBehavior_Vtbl { - unsafe extern "system" fn startDownload, Impl: IDownloadBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, pdispcallback: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.startDownload(::core::mem::transmute(&bstrurl), ::core::mem::transmute(&pdispcallback)).into() - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), startDownload: startDownload:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] -pub trait IDownloadManager_Impl: Sized { - fn Download(&self, pmk: &::core::option::Option, pbc: &::core::option::Option, dwbindverb: u32, grfbindf: i32, pbindinfo: *const super::super::System::Com::BINDINFO, pszheaders: &::windows::core::PCWSTR, pszredir: &::windows::core::PCWSTR, uicp: u32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] -impl ::windows::core::RuntimeName for IDownloadManager {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] -impl IDownloadManager_Vtbl { - pub const fn new, Impl: IDownloadManager_Impl, const OFFSET: isize>() -> IDownloadManager_Vtbl { - unsafe extern "system" fn Download, Impl: IDownloadManager_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pmk: *mut ::core::ffi::c_void, pbc: *mut ::core::ffi::c_void, dwbindverb: u32, grfbindf: i32, pbindinfo: *const super::super::System::Com::BINDINFO, pszheaders: ::windows::core::PCWSTR, pszredir: ::windows::core::PCWSTR, uicp: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Download(::core::mem::transmute(&pmk), ::core::mem::transmute(&pbc), ::core::mem::transmute_copy(&dwbindverb), ::core::mem::transmute_copy(&grfbindf), ::core::mem::transmute_copy(&pbindinfo), ::core::mem::transmute(&pszheaders), ::core::mem::transmute(&pszredir), ::core::mem::transmute_copy(&uicp)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), Download: Download:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IElementBehavior_Impl: Sized { - fn Init(&self, pbehaviorsite: &::core::option::Option) -> ::windows::core::Result<()>; - fn Notify(&self, levent: i32, pvar: *mut super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn Detach(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IElementBehavior {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IElementBehavior_Vtbl { - pub const fn new, Impl: IElementBehavior_Impl, const OFFSET: isize>() -> IElementBehavior_Vtbl { - unsafe extern "system" fn Init, Impl: IElementBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbehaviorsite: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Init(::core::mem::transmute(&pbehaviorsite)).into() - } - unsafe extern "system" fn Notify, Impl: IElementBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, levent: i32, pvar: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Notify(::core::mem::transmute_copy(&levent), ::core::mem::transmute_copy(&pvar)).into() - } - unsafe extern "system" fn Detach, Impl: IElementBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Detach().into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - Init: Init::, - Notify: Notify::, - Detach: Detach::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IElementBehaviorCategory_Impl: Sized { - fn GetCategory(&self) -> ::windows::core::Result<::windows::core::PWSTR>; -} -impl ::windows::core::RuntimeName for IElementBehaviorCategory {} -impl IElementBehaviorCategory_Vtbl { - pub const fn new, Impl: IElementBehaviorCategory_Impl, const OFFSET: isize>() -> IElementBehaviorCategory_Vtbl { - unsafe extern "system" fn GetCategory, Impl: IElementBehaviorCategory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppchcategory: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetCategory() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppchcategory, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), GetCategory: GetCategory:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IElementBehaviorFactory_Impl: Sized { - fn FindBehavior(&self, bstrbehavior: &super::super::Foundation::BSTR, bstrbehaviorurl: &super::super::Foundation::BSTR, psite: &::core::option::Option) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IElementBehaviorFactory {} -#[cfg(feature = "Win32_Foundation")] -impl IElementBehaviorFactory_Vtbl { - pub const fn new, Impl: IElementBehaviorFactory_Impl, const OFFSET: isize>() -> IElementBehaviorFactory_Vtbl { - unsafe extern "system" fn FindBehavior, Impl: IElementBehaviorFactory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrbehavior: ::core::mem::ManuallyDrop, bstrbehaviorurl: ::core::mem::ManuallyDrop, psite: *mut ::core::ffi::c_void, ppbehavior: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.FindBehavior(::core::mem::transmute(&bstrbehavior), ::core::mem::transmute(&bstrbehaviorurl), ::core::mem::transmute(&psite)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppbehavior, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), FindBehavior: FindBehavior:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IElementBehaviorFocus_Impl: Sized { - fn GetFocusRect(&self, prect: *const super::super::Foundation::RECT) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IElementBehaviorFocus {} -#[cfg(feature = "Win32_Foundation")] -impl IElementBehaviorFocus_Vtbl { - pub const fn new, Impl: IElementBehaviorFocus_Impl, const OFFSET: isize>() -> IElementBehaviorFocus_Vtbl { - unsafe extern "system" fn GetFocusRect, Impl: IElementBehaviorFocus_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, prect: *const super::super::Foundation::RECT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetFocusRect(::core::mem::transmute_copy(&prect)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), GetFocusRect: GetFocusRect:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IElementBehaviorLayout_Impl: Sized { - fn GetSize(&self, dwflags: i32, sizecontent: &super::super::Foundation::SIZE, ppttranslateby: *mut super::super::Foundation::POINT, ppttopleft: *mut super::super::Foundation::POINT, psizeproposed: *mut super::super::Foundation::SIZE) -> ::windows::core::Result<()>; - fn GetLayoutInfo(&self) -> ::windows::core::Result; - fn GetPosition(&self, lflags: i32, ppttopleft: *mut super::super::Foundation::POINT) -> ::windows::core::Result<()>; - fn MapSize(&self, psizein: *const super::super::Foundation::SIZE) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IElementBehaviorLayout {} -#[cfg(feature = "Win32_Foundation")] -impl IElementBehaviorLayout_Vtbl { - pub const fn new, Impl: IElementBehaviorLayout_Impl, const OFFSET: isize>() -> IElementBehaviorLayout_Vtbl { - unsafe extern "system" fn GetSize, Impl: IElementBehaviorLayout_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwflags: i32, sizecontent: super::super::Foundation::SIZE, ppttranslateby: *mut super::super::Foundation::POINT, ppttopleft: *mut super::super::Foundation::POINT, psizeproposed: *mut super::super::Foundation::SIZE) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetSize(::core::mem::transmute_copy(&dwflags), ::core::mem::transmute(&sizecontent), ::core::mem::transmute_copy(&ppttranslateby), ::core::mem::transmute_copy(&ppttopleft), ::core::mem::transmute_copy(&psizeproposed)).into() - } - unsafe extern "system" fn GetLayoutInfo, Impl: IElementBehaviorLayout_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pllayoutinfo: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetLayoutInfo() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pllayoutinfo, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetPosition, Impl: IElementBehaviorLayout_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lflags: i32, ppttopleft: *mut super::super::Foundation::POINT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetPosition(::core::mem::transmute_copy(&lflags), ::core::mem::transmute_copy(&ppttopleft)).into() - } - unsafe extern "system" fn MapSize, Impl: IElementBehaviorLayout_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, psizein: *const super::super::Foundation::SIZE, prcout: *mut super::super::Foundation::RECT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.MapSize(::core::mem::transmute_copy(&psizein)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(prcout, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - GetSize: GetSize::, - GetLayoutInfo: GetLayoutInfo::, - GetPosition: GetPosition::, - MapSize: MapSize::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IElementBehaviorLayout2_Impl: Sized { - fn GetTextDescent(&self) -> ::windows::core::Result; -} -impl ::windows::core::RuntimeName for IElementBehaviorLayout2 {} -impl IElementBehaviorLayout2_Vtbl { - pub const fn new, Impl: IElementBehaviorLayout2_Impl, const OFFSET: isize>() -> IElementBehaviorLayout2_Vtbl { - unsafe extern "system" fn GetTextDescent, Impl: IElementBehaviorLayout2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pldescent: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetTextDescent() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pldescent, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), GetTextDescent: GetTextDescent:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -pub trait IElementBehaviorRender_Impl: Sized { - fn Draw(&self, hdc: super::super::Graphics::Gdi::HDC, llayer: i32, prect: *const super::super::Foundation::RECT, preserved: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; - fn GetRenderInfo(&self) -> ::windows::core::Result; - fn HitTestPoint(&self, ppoint: *const super::super::Foundation::POINT, preserved: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -impl ::windows::core::RuntimeName for IElementBehaviorRender {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -impl IElementBehaviorRender_Vtbl { - pub const fn new, Impl: IElementBehaviorRender_Impl, const OFFSET: isize>() -> IElementBehaviorRender_Vtbl { - unsafe extern "system" fn Draw, Impl: IElementBehaviorRender_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, hdc: super::super::Graphics::Gdi::HDC, llayer: i32, prect: *const super::super::Foundation::RECT, preserved: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Draw(::core::mem::transmute_copy(&hdc), ::core::mem::transmute_copy(&llayer), ::core::mem::transmute_copy(&prect), ::core::mem::transmute(&preserved)).into() - } - unsafe extern "system" fn GetRenderInfo, Impl: IElementBehaviorRender_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, plrenderinfo: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetRenderInfo() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(plrenderinfo, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HitTestPoint, Impl: IElementBehaviorRender_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppoint: *const super::super::Foundation::POINT, preserved: *mut ::core::ffi::c_void, pbhit: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HitTestPoint(::core::mem::transmute_copy(&ppoint), ::core::mem::transmute(&preserved)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbhit, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - Draw: Draw::, - GetRenderInfo: GetRenderInfo::, - HitTestPoint: HitTestPoint::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_System_Com")] -pub trait IElementBehaviorSite_Impl: Sized { - fn GetElement(&self) -> ::windows::core::Result; - fn RegisterNotification(&self, levent: i32) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_System_Com")] -impl ::windows::core::RuntimeName for IElementBehaviorSite {} -#[cfg(feature = "Win32_System_Com")] -impl IElementBehaviorSite_Vtbl { - pub const fn new, Impl: IElementBehaviorSite_Impl, const OFFSET: isize>() -> IElementBehaviorSite_Vtbl { - unsafe extern "system" fn GetElement, Impl: IElementBehaviorSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppelement: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppelement, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn RegisterNotification, Impl: IElementBehaviorSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, levent: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.RegisterNotification(::core::mem::transmute_copy(&levent)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - GetElement: GetElement::, - RegisterNotification: RegisterNotification::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_System_Com")] -pub trait IElementBehaviorSiteCategory_Impl: Sized { - fn GetRelatedBehaviors(&self, ldirection: i32, pchcategory: &::windows::core::PCWSTR) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_System_Com")] -impl ::windows::core::RuntimeName for IElementBehaviorSiteCategory {} -#[cfg(feature = "Win32_System_Com")] -impl IElementBehaviorSiteCategory_Vtbl { - pub const fn new, Impl: IElementBehaviorSiteCategory_Impl, const OFFSET: isize>() -> IElementBehaviorSiteCategory_Vtbl { - unsafe extern "system" fn GetRelatedBehaviors, Impl: IElementBehaviorSiteCategory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ldirection: i32, pchcategory: ::windows::core::PCWSTR, ppenumerator: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetRelatedBehaviors(::core::mem::transmute_copy(&ldirection), ::core::mem::transmute(&pchcategory)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppenumerator, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), GetRelatedBehaviors: GetRelatedBehaviors:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IElementBehaviorSiteLayout_Impl: Sized { - fn InvalidateLayoutInfo(&self) -> ::windows::core::Result<()>; - fn InvalidateSize(&self) -> ::windows::core::Result<()>; - fn GetMediaResolution(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IElementBehaviorSiteLayout {} -#[cfg(feature = "Win32_Foundation")] -impl IElementBehaviorSiteLayout_Vtbl { - pub const fn new, Impl: IElementBehaviorSiteLayout_Impl, const OFFSET: isize>() -> IElementBehaviorSiteLayout_Vtbl { - unsafe extern "system" fn InvalidateLayoutInfo, Impl: IElementBehaviorSiteLayout_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.InvalidateLayoutInfo().into() - } - unsafe extern "system" fn InvalidateSize, Impl: IElementBehaviorSiteLayout_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.InvalidateSize().into() - } - unsafe extern "system" fn GetMediaResolution, Impl: IElementBehaviorSiteLayout_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, psizeresolution: *mut super::super::Foundation::SIZE) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetMediaResolution() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(psizeresolution, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - InvalidateLayoutInfo: InvalidateLayoutInfo::, - InvalidateSize: InvalidateSize::, - GetMediaResolution: GetMediaResolution::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Graphics_Gdi")] -pub trait IElementBehaviorSiteLayout2_Impl: Sized { - fn GetFontInfo(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Graphics_Gdi")] -impl ::windows::core::RuntimeName for IElementBehaviorSiteLayout2 {} -#[cfg(feature = "Win32_Graphics_Gdi")] -impl IElementBehaviorSiteLayout2_Vtbl { - pub const fn new, Impl: IElementBehaviorSiteLayout2_Impl, const OFFSET: isize>() -> IElementBehaviorSiteLayout2_Vtbl { - unsafe extern "system" fn GetFontInfo, Impl: IElementBehaviorSiteLayout2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, plf: *mut super::super::Graphics::Gdi::LOGFONTW) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetFontInfo() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(plf, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), GetFontInfo: GetFontInfo:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_System_Com")] -pub trait IElementBehaviorSiteOM_Impl: Sized { - fn RegisterEvent(&self, pchevent: &::windows::core::PCWSTR, lflags: i32) -> ::windows::core::Result; - fn GetEventCookie(&self, pchevent: &::windows::core::PCWSTR) -> ::windows::core::Result; - fn FireEvent(&self, lcookie: i32, peventobject: &::core::option::Option) -> ::windows::core::Result<()>; - fn CreateEventObject(&self) -> ::windows::core::Result; - fn RegisterName(&self, pchname: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; - fn RegisterUrn(&self, pchurn: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_System_Com")] -impl ::windows::core::RuntimeName for IElementBehaviorSiteOM {} -#[cfg(feature = "Win32_System_Com")] -impl IElementBehaviorSiteOM_Vtbl { - pub const fn new, Impl: IElementBehaviorSiteOM_Impl, const OFFSET: isize>() -> IElementBehaviorSiteOM_Vtbl { - unsafe extern "system" fn RegisterEvent, Impl: IElementBehaviorSiteOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pchevent: ::windows::core::PCWSTR, lflags: i32, plcookie: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.RegisterEvent(::core::mem::transmute(&pchevent), ::core::mem::transmute_copy(&lflags)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(plcookie, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetEventCookie, Impl: IElementBehaviorSiteOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pchevent: ::windows::core::PCWSTR, plcookie: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetEventCookie(::core::mem::transmute(&pchevent)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(plcookie, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn FireEvent, Impl: IElementBehaviorSiteOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lcookie: i32, peventobject: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.FireEvent(::core::mem::transmute_copy(&lcookie), ::core::mem::transmute(&peventobject)).into() - } - unsafe extern "system" fn CreateEventObject, Impl: IElementBehaviorSiteOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppeventobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CreateEventObject() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppeventobject, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn RegisterName, Impl: IElementBehaviorSiteOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pchname: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.RegisterName(::core::mem::transmute(&pchname)).into() - } - unsafe extern "system" fn RegisterUrn, Impl: IElementBehaviorSiteOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pchurn: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.RegisterUrn(::core::mem::transmute(&pchurn)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - RegisterEvent: RegisterEvent::, - GetEventCookie: GetEventCookie::, - FireEvent: FireEvent::, - CreateEventObject: CreateEventObject::, - RegisterName: RegisterName::, - RegisterUrn: RegisterUrn::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_System_Com")] -pub trait IElementBehaviorSiteOM2_Impl: Sized + IElementBehaviorSiteOM_Impl { - fn GetDefaults(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_System_Com")] -impl ::windows::core::RuntimeName for IElementBehaviorSiteOM2 {} -#[cfg(feature = "Win32_System_Com")] -impl IElementBehaviorSiteOM2_Vtbl { - pub const fn new, Impl: IElementBehaviorSiteOM2_Impl, const OFFSET: isize>() -> IElementBehaviorSiteOM2_Vtbl { - unsafe extern "system" fn GetDefaults, Impl: IElementBehaviorSiteOM2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppdefaults: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetDefaults() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppdefaults, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: IElementBehaviorSiteOM_Vtbl::new::(), GetDefaults: GetDefaults:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IElementBehaviorSiteRender_Impl: Sized { - fn Invalidate(&self, prect: *const super::super::Foundation::RECT) -> ::windows::core::Result<()>; - fn InvalidateRenderInfo(&self) -> ::windows::core::Result<()>; - fn InvalidateStyle(&self) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IElementBehaviorSiteRender {} -#[cfg(feature = "Win32_Foundation")] -impl IElementBehaviorSiteRender_Vtbl { - pub const fn new, Impl: IElementBehaviorSiteRender_Impl, const OFFSET: isize>() -> IElementBehaviorSiteRender_Vtbl { - unsafe extern "system" fn Invalidate, Impl: IElementBehaviorSiteRender_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, prect: *const super::super::Foundation::RECT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Invalidate(::core::mem::transmute_copy(&prect)).into() - } - unsafe extern "system" fn InvalidateRenderInfo, Impl: IElementBehaviorSiteRender_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.InvalidateRenderInfo().into() - } - unsafe extern "system" fn InvalidateStyle, Impl: IElementBehaviorSiteRender_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.InvalidateStyle().into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - Invalidate: Invalidate::, - InvalidateRenderInfo: InvalidateRenderInfo::, - InvalidateStyle: InvalidateStyle::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_System_Com")] -pub trait IElementBehaviorSubmit_Impl: Sized { - fn GetSubmitInfo(&self, psubmitdata: &::core::option::Option) -> ::windows::core::Result<()>; - fn Reset(&self) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_System_Com")] -impl ::windows::core::RuntimeName for IElementBehaviorSubmit {} -#[cfg(feature = "Win32_System_Com")] -impl IElementBehaviorSubmit_Vtbl { - pub const fn new, Impl: IElementBehaviorSubmit_Impl, const OFFSET: isize>() -> IElementBehaviorSubmit_Vtbl { - unsafe extern "system" fn GetSubmitInfo, Impl: IElementBehaviorSubmit_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, psubmitdata: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetSubmitInfo(::core::mem::transmute(&psubmitdata)).into() - } - unsafe extern "system" fn Reset, Impl: IElementBehaviorSubmit_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Reset().into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - GetSubmitInfo: GetSubmitInfo::, - Reset: Reset::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IElementNamespace_Impl: Sized { - fn AddTag(&self, bstrtagname: &super::super::Foundation::BSTR, lflags: i32) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IElementNamespace {} -#[cfg(feature = "Win32_Foundation")] -impl IElementNamespace_Vtbl { - pub const fn new, Impl: IElementNamespace_Impl, const OFFSET: isize>() -> IElementNamespace_Vtbl { - unsafe extern "system" fn AddTag, Impl: IElementNamespace_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrtagname: ::core::mem::ManuallyDrop, lflags: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.AddTag(::core::mem::transmute(&bstrtagname), ::core::mem::transmute_copy(&lflags)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), AddTag: AddTag:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IElementNamespaceFactory_Impl: Sized { - fn Create(&self, pnamespace: &::core::option::Option) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IElementNamespaceFactory {} -impl IElementNamespaceFactory_Vtbl { - pub const fn new, Impl: IElementNamespaceFactory_Impl, const OFFSET: isize>() -> IElementNamespaceFactory_Vtbl { - unsafe extern "system" fn Create, Impl: IElementNamespaceFactory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pnamespace: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Create(::core::mem::transmute(&pnamespace)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), Create: Create:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IElementNamespaceFactory2_Impl: Sized + IElementNamespaceFactory_Impl { - fn CreateWithImplementation(&self, pnamespace: &::core::option::Option, bstrimplementation: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IElementNamespaceFactory2 {} -#[cfg(feature = "Win32_Foundation")] -impl IElementNamespaceFactory2_Vtbl { - pub const fn new, Impl: IElementNamespaceFactory2_Impl, const OFFSET: isize>() -> IElementNamespaceFactory2_Vtbl { - unsafe extern "system" fn CreateWithImplementation, Impl: IElementNamespaceFactory2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pnamespace: *mut ::core::ffi::c_void, bstrimplementation: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.CreateWithImplementation(::core::mem::transmute(&pnamespace), ::core::mem::transmute(&bstrimplementation)).into() - } - Self { - base__: IElementNamespaceFactory_Vtbl::new::(), - CreateWithImplementation: CreateWithImplementation::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IElementNamespaceFactoryCallback_Impl: Sized { - fn Resolve(&self, bstrnamespace: &super::super::Foundation::BSTR, bstrtagname: &super::super::Foundation::BSTR, bstrattrs: &super::super::Foundation::BSTR, pnamespace: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IElementNamespaceFactoryCallback {} -#[cfg(feature = "Win32_Foundation")] -impl IElementNamespaceFactoryCallback_Vtbl { - pub const fn new, Impl: IElementNamespaceFactoryCallback_Impl, const OFFSET: isize>() -> IElementNamespaceFactoryCallback_Vtbl { - unsafe extern "system" fn Resolve, Impl: IElementNamespaceFactoryCallback_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrnamespace: ::core::mem::ManuallyDrop, bstrtagname: ::core::mem::ManuallyDrop, bstrattrs: ::core::mem::ManuallyDrop, pnamespace: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Resolve(::core::mem::transmute(&bstrnamespace), ::core::mem::transmute(&bstrtagname), ::core::mem::transmute(&bstrattrs), ::core::mem::transmute(&pnamespace)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), Resolve: Resolve:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IElementNamespaceTable_Impl: Sized { - fn AddNamespace(&self, bstrnamespace: &super::super::Foundation::BSTR, bstrurn: &super::super::Foundation::BSTR, lflags: i32, pvarfactory: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IElementNamespaceTable {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IElementNamespaceTable_Vtbl { - pub const fn new, Impl: IElementNamespaceTable_Impl, const OFFSET: isize>() -> IElementNamespaceTable_Vtbl { - unsafe extern "system" fn AddNamespace, Impl: IElementNamespaceTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrnamespace: ::core::mem::ManuallyDrop, bstrurn: ::core::mem::ManuallyDrop, lflags: i32, pvarfactory: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.AddNamespace(::core::mem::transmute(&bstrnamespace), ::core::mem::transmute(&bstrurn), ::core::mem::transmute_copy(&lflags), ::core::mem::transmute_copy(&pvarfactory)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), AddNamespace: AddNamespace:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IElementSegment_Impl: Sized + ISegment_Impl { - fn GetElement(&self) -> ::windows::core::Result; - fn SetPrimary(&self, fprimary: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; - fn IsPrimary(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IElementSegment {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IElementSegment_Vtbl { - pub const fn new, Impl: IElementSegment_Impl, const OFFSET: isize>() -> IElementSegment_Vtbl { - unsafe extern "system" fn GetElement, Impl: IElementSegment_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppielement: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppielement, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetPrimary, Impl: IElementSegment_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fprimary: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetPrimary(::core::mem::transmute_copy(&fprimary)).into() - } - unsafe extern "system" fn IsPrimary, Impl: IElementSegment_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfprimary: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsPrimary() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfprimary, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ISegment_Vtbl::new::(), - GetElement: GetElement::, - SetPrimary: SetPrimary::, - IsPrimary: IsPrimary::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IElementSelector_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn querySelector(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn querySelectorAll(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IElementSelector {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IElementSelector_Vtbl { - pub const fn new, Impl: IElementSelector_Impl, const OFFSET: isize>() -> IElementSelector_Vtbl { - unsafe extern "system" fn querySelector, Impl: IElementSelector_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pel: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.querySelector(::core::mem::transmute(&v)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pel, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn querySelectorAll, Impl: IElementSelector_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pel: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.querySelectorAll(::core::mem::transmute(&v)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pel, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - querySelector: querySelector::, - querySelectorAll: querySelectorAll::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IElementTraversal_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn firstElementChild(&self) -> ::windows::core::Result; - fn lastElementChild(&self) -> ::windows::core::Result; - fn previousElementSibling(&self) -> ::windows::core::Result; - fn nextElementSibling(&self) -> ::windows::core::Result; - fn childElementCount(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IElementTraversal {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IElementTraversal_Vtbl { - pub const fn new, Impl: IElementTraversal_Impl, const OFFSET: isize>() -> IElementTraversal_Vtbl { - unsafe extern "system" fn firstElementChild, Impl: IElementTraversal_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.firstElementChild() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn lastElementChild, Impl: IElementTraversal_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lastElementChild() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn previousElementSibling, Impl: IElementTraversal_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.previousElementSibling() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn nextElementSibling, Impl: IElementTraversal_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nextElementSibling() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn childElementCount, Impl: IElementTraversal_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.childElementCount() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - firstElementChild: firstElementChild::, - lastElementChild: lastElementChild::, - previousElementSibling: previousElementSibling::, - nextElementSibling: nextElementSibling::, - childElementCount: childElementCount::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IEnumManagerFrames_Impl: Sized { - fn Next(&self, celt: u32, ppwindows: *mut *mut super::super::Foundation::HWND, pceltfetched: *mut u32) -> ::windows::core::Result<()>; - fn Count(&self) -> ::windows::core::Result; - fn Skip(&self, celt: u32) -> ::windows::core::Result<()>; - fn Reset(&self) -> ::windows::core::Result<()>; - fn Clone(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IEnumManagerFrames {} -#[cfg(feature = "Win32_Foundation")] -impl IEnumManagerFrames_Vtbl { - pub const fn new, Impl: IEnumManagerFrames_Impl, const OFFSET: isize>() -> IEnumManagerFrames_Vtbl { - unsafe extern "system" fn Next, Impl: IEnumManagerFrames_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, celt: u32, ppwindows: *mut *mut super::super::Foundation::HWND, pceltfetched: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Next(::core::mem::transmute_copy(&celt), ::core::mem::transmute_copy(&ppwindows), ::core::mem::transmute_copy(&pceltfetched)).into() - } - unsafe extern "system" fn Count, Impl: IEnumManagerFrames_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pcelt: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Count() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pcelt, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Skip, Impl: IEnumManagerFrames_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, celt: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Skip(::core::mem::transmute_copy(&celt)).into() - } - unsafe extern "system" fn Reset, Impl: IEnumManagerFrames_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Reset().into() - } - unsafe extern "system" fn Clone, Impl: IEnumManagerFrames_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Clone() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppenum, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - Next: Next::, - Count: Count::, - Skip: Skip::, - Reset: Reset::, - Clone: Clone::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IEnumOpenServiceActivity_Impl: Sized { - fn Next(&self, celt: u32, rgelt: *mut ::core::option::Option, pceltfetched: *mut u32) -> ::windows::core::Result<()>; - fn Skip(&self, celt: u32) -> ::windows::core::Result<()>; - fn Reset(&self) -> ::windows::core::Result<()>; - fn Clone(&self) -> ::windows::core::Result; -} -impl ::windows::core::RuntimeName for IEnumOpenServiceActivity {} -impl IEnumOpenServiceActivity_Vtbl { - pub const fn new, Impl: IEnumOpenServiceActivity_Impl, const OFFSET: isize>() -> IEnumOpenServiceActivity_Vtbl { - unsafe extern "system" fn Next, Impl: IEnumOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, celt: u32, rgelt: *mut *mut ::core::ffi::c_void, pceltfetched: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Next(::core::mem::transmute_copy(&celt), ::core::mem::transmute_copy(&rgelt), ::core::mem::transmute_copy(&pceltfetched)).into() - } - unsafe extern "system" fn Skip, Impl: IEnumOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, celt: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Skip(::core::mem::transmute_copy(&celt)).into() - } - unsafe extern "system" fn Reset, Impl: IEnumOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Reset().into() - } - unsafe extern "system" fn Clone, Impl: IEnumOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Clone() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppenum, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - Next: Next::, - Skip: Skip::, - Reset: Reset::, - Clone: Clone::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IEnumOpenServiceActivityCategory_Impl: Sized { - fn Next(&self, celt: u32, rgelt: *mut ::core::option::Option, pceltfetched: *mut u32) -> ::windows::core::Result<()>; - fn Skip(&self, celt: u32) -> ::windows::core::Result<()>; - fn Reset(&self) -> ::windows::core::Result<()>; - fn Clone(&self) -> ::windows::core::Result; -} -impl ::windows::core::RuntimeName for IEnumOpenServiceActivityCategory {} -impl IEnumOpenServiceActivityCategory_Vtbl { - pub const fn new, Impl: IEnumOpenServiceActivityCategory_Impl, const OFFSET: isize>() -> IEnumOpenServiceActivityCategory_Vtbl { - unsafe extern "system" fn Next, Impl: IEnumOpenServiceActivityCategory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, celt: u32, rgelt: *mut *mut ::core::ffi::c_void, pceltfetched: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Next(::core::mem::transmute_copy(&celt), ::core::mem::transmute_copy(&rgelt), ::core::mem::transmute_copy(&pceltfetched)).into() - } - unsafe extern "system" fn Skip, Impl: IEnumOpenServiceActivityCategory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, celt: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Skip(::core::mem::transmute_copy(&celt)).into() - } - unsafe extern "system" fn Reset, Impl: IEnumOpenServiceActivityCategory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Reset().into() - } - unsafe extern "system" fn Clone, Impl: IEnumOpenServiceActivityCategory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Clone() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppenum, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - Next: Next::, - Skip: Skip::, - Reset: Reset::, - Clone: Clone::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IEnumPrivacyRecords_Impl: Sized { - fn Reset(&self) -> ::windows::core::Result<()>; - fn GetSize(&self) -> ::windows::core::Result; - fn GetPrivacyImpacted(&self) -> ::windows::core::Result; - fn Next(&self, pbstrurl: *mut super::super::Foundation::BSTR, pbstrpolicyref: *mut super::super::Foundation::BSTR, pdwreserved: *mut i32, pdwprivacyflags: *mut u32) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IEnumPrivacyRecords {} -#[cfg(feature = "Win32_Foundation")] -impl IEnumPrivacyRecords_Vtbl { - pub const fn new, Impl: IEnumPrivacyRecords_Impl, const OFFSET: isize>() -> IEnumPrivacyRecords_Vtbl { - unsafe extern "system" fn Reset, Impl: IEnumPrivacyRecords_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Reset().into() - } - unsafe extern "system" fn GetSize, Impl: IEnumPrivacyRecords_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, psize: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetSize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(psize, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetPrivacyImpacted, Impl: IEnumPrivacyRecords_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pstate: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetPrivacyImpacted() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pstate, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Next, Impl: IEnumPrivacyRecords_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstrurl: *mut super::super::Foundation::BSTR, pbstrpolicyref: *mut super::super::Foundation::BSTR, pdwreserved: *mut i32, pdwprivacyflags: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Next(::core::mem::transmute_copy(&pbstrurl), ::core::mem::transmute_copy(&pbstrpolicyref), ::core::mem::transmute_copy(&pdwreserved), ::core::mem::transmute_copy(&pdwprivacyflags)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - Reset: Reset::, - GetSize: GetSize::, - GetPrivacyImpacted: GetPrivacyImpacted::, - Next: Next::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IEnumSTATURL_Impl: Sized { - fn Next(&self, celt: u32, rgelt: *mut STATURL, pceltfetched: *mut u32) -> ::windows::core::Result<()>; - fn Skip(&self, celt: u32) -> ::windows::core::Result<()>; - fn Reset(&self) -> ::windows::core::Result<()>; - fn Clone(&self) -> ::windows::core::Result; - fn SetFilter(&self, poszfilter: &::windows::core::PCWSTR, dwflags: u32) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IEnumSTATURL {} -#[cfg(feature = "Win32_Foundation")] -impl IEnumSTATURL_Vtbl { - pub const fn new, Impl: IEnumSTATURL_Impl, const OFFSET: isize>() -> IEnumSTATURL_Vtbl { - unsafe extern "system" fn Next, Impl: IEnumSTATURL_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, celt: u32, rgelt: *mut STATURL, pceltfetched: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Next(::core::mem::transmute_copy(&celt), ::core::mem::transmute_copy(&rgelt), ::core::mem::transmute_copy(&pceltfetched)).into() - } - unsafe extern "system" fn Skip, Impl: IEnumSTATURL_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, celt: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Skip(::core::mem::transmute_copy(&celt)).into() - } - unsafe extern "system" fn Reset, Impl: IEnumSTATURL_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Reset().into() - } - unsafe extern "system" fn Clone, Impl: IEnumSTATURL_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Clone() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppenum, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetFilter, Impl: IEnumSTATURL_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, poszfilter: ::windows::core::PCWSTR, dwflags: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetFilter(::core::mem::transmute(&poszfilter), ::core::mem::transmute_copy(&dwflags)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - Next: Next::, - Skip: Skip::, - Reset: Reset::, - Clone: Clone::, - SetFilter: SetFilter::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IEventException_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcode(&self, v: i32) -> ::windows::core::Result<()>; - fn code(&self) -> ::windows::core::Result; - fn message(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IEventException {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IEventException_Vtbl { - pub const fn new, Impl: IEventException_Impl, const OFFSET: isize>() -> IEventException_Vtbl { - unsafe extern "system" fn Setcode, Impl: IEventException_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcode(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn code, Impl: IEventException_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.code() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn message, Impl: IEventException_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.message() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcode: Setcode::, - code: code::, - message: message::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IEventTarget_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn addEventListener(&self, r#type: &super::super::Foundation::BSTR, listener: &::core::option::Option, usecapture: i16) -> ::windows::core::Result<()>; - fn removeEventListener(&self, r#type: &super::super::Foundation::BSTR, listener: &::core::option::Option, usecapture: i16) -> ::windows::core::Result<()>; - fn dispatchEvent(&self, evt: &::core::option::Option) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IEventTarget {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IEventTarget_Vtbl { - pub const fn new, Impl: IEventTarget_Impl, const OFFSET: isize>() -> IEventTarget_Vtbl { - unsafe extern "system" fn addEventListener, Impl: IEventTarget_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, r#type: ::core::mem::ManuallyDrop, listener: *mut ::core::ffi::c_void, usecapture: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.addEventListener(::core::mem::transmute(&r#type), ::core::mem::transmute(&listener), ::core::mem::transmute_copy(&usecapture)).into() - } - unsafe extern "system" fn removeEventListener, Impl: IEventTarget_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, r#type: ::core::mem::ManuallyDrop, listener: *mut ::core::ffi::c_void, usecapture: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.removeEventListener(::core::mem::transmute(&r#type), ::core::mem::transmute(&listener), ::core::mem::transmute_copy(&usecapture)).into() - } - unsafe extern "system" fn dispatchEvent, Impl: IEventTarget_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, evt: *mut ::core::ffi::c_void, pfresult: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dispatchEvent(::core::mem::transmute(&evt)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - addEventListener: addEventListener::, - removeEventListener: removeEventListener::, - dispatchEvent: dispatchEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_System_Com")] -pub trait IEventTarget2_Impl: Sized { - fn GetRegisteredEventTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY>; - fn GetListenersForType(&self, pszeventtype: &::windows::core::PCWSTR) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY>; - fn RegisterForDOMEventListeners(&self, pcallback: &::core::option::Option) -> ::windows::core::Result<()>; - fn UnregisterForDOMEventListeners(&self, pcallback: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_System_Com")] -impl ::windows::core::RuntimeName for IEventTarget2 {} -#[cfg(feature = "Win32_System_Com")] -impl IEventTarget2_Vtbl { - pub const fn new, Impl: IEventTarget2_Impl, const OFFSET: isize>() -> IEventTarget2_Vtbl { - unsafe extern "system" fn GetRegisteredEventTypes, Impl: IEventTarget2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppeventtypearray: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetRegisteredEventTypes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppeventtypearray, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetListenersForType, Impl: IEventTarget2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pszeventtype: ::windows::core::PCWSTR, ppeventhandlerarray: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetListenersForType(::core::mem::transmute(&pszeventtype)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppeventhandlerarray, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn RegisterForDOMEventListeners, Impl: IEventTarget2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pcallback: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.RegisterForDOMEventListeners(::core::mem::transmute(&pcallback)).into() - } - unsafe extern "system" fn UnregisterForDOMEventListeners, Impl: IEventTarget2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pcallback: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.UnregisterForDOMEventListeners(::core::mem::transmute(&pcallback)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - GetRegisteredEventTypes: GetRegisteredEventTypes::, - GetListenersForType: GetListenersForType::, - RegisterForDOMEventListeners: RegisterForDOMEventListeners::, - UnregisterForDOMEventListeners: UnregisterForDOMEventListeners::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_System_Com")] -pub trait IExtensionValidation_Impl: Sized { - fn Validate(&self, extensionguid: *const ::windows::core::GUID, extensionmodulepath: &::windows::core::PCWSTR, extensionfileversionms: u32, extensionfileversionls: u32, htmldocumenttop: &::core::option::Option, htmldocumentsubframe: &::core::option::Option, htmlelement: &::core::option::Option, contexts: ExtensionValidationContexts) -> ::windows::core::Result; - fn DisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR>; -} -#[cfg(feature = "Win32_System_Com")] -impl ::windows::core::RuntimeName for IExtensionValidation {} -#[cfg(feature = "Win32_System_Com")] -impl IExtensionValidation_Vtbl { - pub const fn new, Impl: IExtensionValidation_Impl, const OFFSET: isize>() -> IExtensionValidation_Vtbl { - unsafe extern "system" fn Validate, Impl: IExtensionValidation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, extensionguid: *const ::windows::core::GUID, extensionmodulepath: ::windows::core::PCWSTR, extensionfileversionms: u32, extensionfileversionls: u32, htmldocumenttop: *mut ::core::ffi::c_void, htmldocumentsubframe: *mut ::core::ffi::c_void, htmlelement: *mut ::core::ffi::c_void, contexts: ExtensionValidationContexts, results: *mut ExtensionValidationResults) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Validate(::core::mem::transmute_copy(&extensionguid), ::core::mem::transmute(&extensionmodulepath), ::core::mem::transmute_copy(&extensionfileversionms), ::core::mem::transmute_copy(&extensionfileversionls), ::core::mem::transmute(&htmldocumenttop), ::core::mem::transmute(&htmldocumentsubframe), ::core::mem::transmute(&htmlelement), ::core::mem::transmute_copy(&contexts)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(results, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn DisplayName, Impl: IExtensionValidation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, displayname: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.DisplayName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(displayname, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - Validate: Validate::, - DisplayName: DisplayName::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IFontNames_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn Count(&self) -> ::windows::core::Result; - fn Item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IFontNames {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IFontNames_Vtbl { - pub const fn new, Impl: IFontNames_Impl, const OFFSET: isize>() -> IFontNames_Vtbl { - unsafe extern "system" fn _NewEnum, Impl: IFontNames_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this._NewEnum() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Count, Impl: IFontNames_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Count() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Item, Impl: IFontNames_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarindex: *const super::super::System::Com::VARIANT, pbstrfontname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Item(::core::mem::transmute_copy(&pvarindex)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrfontname, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - _NewEnum: _NewEnum::, - Count: Count::, - Item: Item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IGetSVGDocument_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn getSVGDocument(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IGetSVGDocument {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IGetSVGDocument_Vtbl { - pub const fn new, Impl: IGetSVGDocument_Impl, const OFFSET: isize>() -> IGetSVGDocument_Vtbl { - unsafe extern "system" fn getSVGDocument, Impl: IGetSVGDocument_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppsvgdocument: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getSVGDocument() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppsvgdocument, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), getSVGDocument: getSVGDocument:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTCAttachBehavior_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn fireEvent(&self, evt: &::core::option::Option) -> ::windows::core::Result<()>; - fn detachEvent(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTCAttachBehavior {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTCAttachBehavior_Vtbl { - pub const fn new, Impl: IHTCAttachBehavior_Impl, const OFFSET: isize>() -> IHTCAttachBehavior_Vtbl { - unsafe extern "system" fn fireEvent, Impl: IHTCAttachBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, evt: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.fireEvent(::core::mem::transmute(&evt)).into() - } - unsafe extern "system" fn detachEvent, Impl: IHTCAttachBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.detachEvent().into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - fireEvent: fireEvent::, - detachEvent: detachEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTCAttachBehavior2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn fireEvent(&self, evt: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTCAttachBehavior2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTCAttachBehavior2_Vtbl { - pub const fn new, Impl: IHTCAttachBehavior2_Impl, const OFFSET: isize>() -> IHTCAttachBehavior2_Vtbl { - unsafe extern "system" fn fireEvent, Impl: IHTCAttachBehavior2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, evt: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.fireEvent(::core::mem::transmute(&evt)).into() - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), fireEvent: fireEvent:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTCDefaultDispatch_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn element(&self) -> ::windows::core::Result; - fn createEventObject(&self) -> ::windows::core::Result; - fn defaults(&self) -> ::windows::core::Result; - fn document(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTCDefaultDispatch {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTCDefaultDispatch_Vtbl { - pub const fn new, Impl: IHTCDefaultDispatch_Impl, const OFFSET: isize>() -> IHTCDefaultDispatch_Vtbl { - unsafe extern "system" fn element, Impl: IHTCDefaultDispatch_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.element() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createEventObject, Impl: IHTCDefaultDispatch_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, eventobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createEventObject() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(eventobj, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn defaults, Impl: IHTCDefaultDispatch_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.defaults() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn document, Impl: IHTCDefaultDispatch_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.document() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - element: element::, - createEventObject: createEventObject::, - defaults: defaults::, - document: document::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTCDescBehavior_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn urn(&self) -> ::windows::core::Result; - fn name(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTCDescBehavior {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTCDescBehavior_Vtbl { - pub const fn new, Impl: IHTCDescBehavior_Impl, const OFFSET: isize>() -> IHTCDescBehavior_Vtbl { - unsafe extern "system" fn urn, Impl: IHTCDescBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.urn() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn name, Impl: IHTCDescBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - urn: urn::, - name: name::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTCEventBehavior_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn fire(&self, pvar: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTCEventBehavior {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTCEventBehavior_Vtbl { - pub const fn new, Impl: IHTCEventBehavior_Impl, const OFFSET: isize>() -> IHTCEventBehavior_Vtbl { - unsafe extern "system" fn fire, Impl: IHTCEventBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvar: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.fire(::core::mem::transmute(&pvar)).into() - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), fire: fire:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTCMethodBehavior_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTCMethodBehavior {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTCMethodBehavior_Vtbl { - pub const fn new, Impl: IHTCMethodBehavior_Impl, const OFFSET: isize>() -> IHTCMethodBehavior_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTCPropertyBehavior_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn fireChange(&self) -> ::windows::core::Result<()>; - fn Setvalue(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTCPropertyBehavior {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTCPropertyBehavior_Vtbl { - pub const fn new, Impl: IHTCPropertyBehavior_Impl, const OFFSET: isize>() -> IHTCPropertyBehavior_Vtbl { - unsafe extern "system" fn fireChange, Impl: IHTCPropertyBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.fireChange().into() - } - unsafe extern "system" fn Setvalue, Impl: IHTCPropertyBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTCPropertyBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - fireChange: fireChange::, - Setvalue: Setvalue::, - value: value::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAnchorElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Sethref(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn href(&self) -> ::windows::core::Result; - fn Settarget(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn target(&self) -> ::windows::core::Result; - fn Setrel(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn rel(&self) -> ::windows::core::Result; - fn Setrev(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn rev(&self) -> ::windows::core::Result; - fn Seturn(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn urn(&self) -> ::windows::core::Result; - fn SetMethods(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn Methods(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Sethost(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn host(&self) -> ::windows::core::Result; - fn Sethostname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn hostname(&self) -> ::windows::core::Result; - fn Setpathname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn pathname(&self) -> ::windows::core::Result; - fn Setport(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn port(&self) -> ::windows::core::Result; - fn Setprotocol(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn protocol(&self) -> ::windows::core::Result; - fn Setsearch(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn search(&self) -> ::windows::core::Result; - fn Sethash(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn hash(&self) -> ::windows::core::Result; - fn Setonblur(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onblur(&self) -> ::windows::core::Result; - fn Setonfocus(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onfocus(&self) -> ::windows::core::Result; - fn SetaccessKey(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn accessKey(&self) -> ::windows::core::Result; - fn protocolLong(&self) -> ::windows::core::Result; - fn mimeType(&self) -> ::windows::core::Result; - fn nameProp(&self) -> ::windows::core::Result; - fn SettabIndex(&self, v: i16) -> ::windows::core::Result<()>; - fn tabIndex(&self) -> ::windows::core::Result; - fn focus(&self) -> ::windows::core::Result<()>; - fn blur(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAnchorElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAnchorElement_Vtbl { - pub const fn new, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>() -> IHTMLAnchorElement_Vtbl { - unsafe extern "system" fn Sethref, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethref(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn href, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.href() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settarget, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settarget(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn target, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.target() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setrel, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setrel(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rel, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rel() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setrev, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setrev(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rev, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rev() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Seturn, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Seturn(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn urn, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.urn() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetMethods, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetMethods(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn Methods, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Methods() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethost, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethost(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn host, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.host() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethostname, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethostname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn hostname, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hostname() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setpathname, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setpathname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn pathname, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pathname() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setport, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setport(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn port, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.port() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setprotocol, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setprotocol(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn protocol, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.protocol() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setsearch, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsearch(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn search, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.search() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethash, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethash(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn hash, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hash() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonblur, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonblur(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onblur, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onblur() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonfocus, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonfocus(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onfocus, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onfocus() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetaccessKey, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetaccessKey(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn accessKey, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.accessKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn protocolLong, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.protocolLong() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn mimeType, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.mimeType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn nameProp, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nameProp() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettabIndex, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettabIndex(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn tabIndex, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tabIndex() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn focus, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.focus().into() - } - unsafe extern "system" fn blur, Impl: IHTMLAnchorElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.blur().into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Sethref: Sethref::, - href: href::, - Settarget: Settarget::, - target: target::, - Setrel: Setrel::, - rel: rel::, - Setrev: Setrev::, - rev: rev::, - Seturn: Seturn::, - urn: urn::, - SetMethods: SetMethods::, - Methods: Methods::, - Setname: Setname::, - name: name::, - Sethost: Sethost::, - host: host::, - Sethostname: Sethostname::, - hostname: hostname::, - Setpathname: Setpathname::, - pathname: pathname::, - Setport: Setport::, - port: port::, - Setprotocol: Setprotocol::, - protocol: protocol::, - Setsearch: Setsearch::, - search: search::, - Sethash: Sethash::, - hash: hash::, - Setonblur: Setonblur::, - onblur: onblur::, - Setonfocus: Setonfocus::, - onfocus: onfocus::, - SetaccessKey: SetaccessKey::, - accessKey: accessKey::, - protocolLong: protocolLong::, - mimeType: mimeType::, - nameProp: nameProp::, - SettabIndex: SettabIndex::, - tabIndex: tabIndex::, - focus: focus::, - blur: blur::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAnchorElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcharset(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn charset(&self) -> ::windows::core::Result; - fn Setcoords(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn coords(&self) -> ::windows::core::Result; - fn Sethreflang(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn hreflang(&self) -> ::windows::core::Result; - fn Setshape(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn shape(&self) -> ::windows::core::Result; - fn Settype(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAnchorElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAnchorElement2_Vtbl { - pub const fn new, Impl: IHTMLAnchorElement2_Impl, const OFFSET: isize>() -> IHTMLAnchorElement2_Vtbl { - unsafe extern "system" fn Setcharset, Impl: IHTMLAnchorElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcharset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn charset, Impl: IHTMLAnchorElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.charset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcoords, Impl: IHTMLAnchorElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcoords(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn coords, Impl: IHTMLAnchorElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.coords() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethreflang, Impl: IHTMLAnchorElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethreflang(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn hreflang, Impl: IHTMLAnchorElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hreflang() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setshape, Impl: IHTMLAnchorElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setshape(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn shape, Impl: IHTMLAnchorElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.shape() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settype, Impl: IHTMLAnchorElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settype(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#type, Impl: IHTMLAnchorElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcharset: Setcharset::, - charset: charset::, - Setcoords: Setcoords::, - coords: coords::, - Sethreflang: Sethreflang::, - hreflang: hreflang::, - Setshape: Setshape::, - shape: shape::, - Settype: Settype::, - r#type: r#type::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAnchorElement3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setshape(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn shape(&self) -> ::windows::core::Result; - fn Setcoords(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn coords(&self) -> ::windows::core::Result; - fn Sethref(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn href(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAnchorElement3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAnchorElement3_Vtbl { - pub const fn new, Impl: IHTMLAnchorElement3_Impl, const OFFSET: isize>() -> IHTMLAnchorElement3_Vtbl { - unsafe extern "system" fn Setshape, Impl: IHTMLAnchorElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setshape(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn shape, Impl: IHTMLAnchorElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.shape() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcoords, Impl: IHTMLAnchorElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcoords(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn coords, Impl: IHTMLAnchorElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.coords() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethref, Impl: IHTMLAnchorElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethref(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn href, Impl: IHTMLAnchorElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.href() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setshape: Setshape::, - shape: shape::, - Setcoords: Setcoords::, - coords: coords::, - Sethref: Sethref::, - href: href::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAppBehavior_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetapplicationName(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn applicationName(&self) -> ::windows::core::Result; - fn Setversion(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn version(&self) -> ::windows::core::Result; - fn Seticon(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn icon(&self) -> ::windows::core::Result; - fn SetsingleInstance(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn singleInstance(&self) -> ::windows::core::Result; - fn SetminimizeButton(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn minimizeButton(&self) -> ::windows::core::Result; - fn SetmaximizeButton(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn maximizeButton(&self) -> ::windows::core::Result; - fn Setborder(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn border(&self) -> ::windows::core::Result; - fn SetborderStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderStyle(&self) -> ::windows::core::Result; - fn SetsysMenu(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn sysMenu(&self) -> ::windows::core::Result; - fn Setcaption(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn caption(&self) -> ::windows::core::Result; - fn SetwindowState(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn windowState(&self) -> ::windows::core::Result; - fn SetshowInTaskBar(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn showInTaskBar(&self) -> ::windows::core::Result; - fn commandLine(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAppBehavior {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAppBehavior_Vtbl { - pub const fn new, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>() -> IHTMLAppBehavior_Vtbl { - unsafe extern "system" fn SetapplicationName, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetapplicationName(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn applicationName, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.applicationName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setversion, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setversion(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn version, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.version() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Seticon, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Seticon(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn icon, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.icon() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetsingleInstance, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetsingleInstance(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn singleInstance, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.singleInstance() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetminimizeButton, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetminimizeButton(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn minimizeButton, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.minimizeButton() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmaximizeButton, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmaximizeButton(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn maximizeButton, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.maximizeButton() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setborder, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setborder(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn border, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.border() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderStyle, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderStyle, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetsysMenu, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetsysMenu(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn sysMenu, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.sysMenu() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcaption, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcaption(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn caption, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.caption() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwindowState, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwindowState(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn windowState, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.windowState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetshowInTaskBar, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetshowInTaskBar(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn showInTaskBar, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.showInTaskBar() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn commandLine, Impl: IHTMLAppBehavior_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.commandLine() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetapplicationName: SetapplicationName::, - applicationName: applicationName::, - Setversion: Setversion::, - version: version::, - Seticon: Seticon::, - icon: icon::, - SetsingleInstance: SetsingleInstance::, - singleInstance: singleInstance::, - SetminimizeButton: SetminimizeButton::, - minimizeButton: minimizeButton::, - SetmaximizeButton: SetmaximizeButton::, - maximizeButton: maximizeButton::, - Setborder: Setborder::, - border: border::, - SetborderStyle: SetborderStyle::, - borderStyle: borderStyle::, - SetsysMenu: SetsysMenu::, - sysMenu: sysMenu::, - Setcaption: Setcaption::, - caption: caption::, - SetwindowState: SetwindowState::, - windowState: windowState::, - SetshowInTaskBar: SetshowInTaskBar::, - showInTaskBar: showInTaskBar::, - commandLine: commandLine::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAppBehavior2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetcontextMenu(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn contextMenu(&self) -> ::windows::core::Result; - fn SetinnerBorder(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn innerBorder(&self) -> ::windows::core::Result; - fn Setscroll(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn scroll(&self) -> ::windows::core::Result; - fn SetscrollFlat(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn scrollFlat(&self) -> ::windows::core::Result; - fn Setselection(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn selection(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAppBehavior2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAppBehavior2_Vtbl { - pub const fn new, Impl: IHTMLAppBehavior2_Impl, const OFFSET: isize>() -> IHTMLAppBehavior2_Vtbl { - unsafe extern "system" fn SetcontextMenu, Impl: IHTMLAppBehavior2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcontextMenu(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn contextMenu, Impl: IHTMLAppBehavior2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.contextMenu() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetinnerBorder, Impl: IHTMLAppBehavior2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetinnerBorder(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn innerBorder, Impl: IHTMLAppBehavior2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.innerBorder() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setscroll, Impl: IHTMLAppBehavior2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setscroll(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scroll, Impl: IHTMLAppBehavior2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scroll() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollFlat, Impl: IHTMLAppBehavior2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollFlat(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollFlat, Impl: IHTMLAppBehavior2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollFlat() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setselection, Impl: IHTMLAppBehavior2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setselection(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn selection, Impl: IHTMLAppBehavior2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.selection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetcontextMenu: SetcontextMenu::, - contextMenu: contextMenu::, - SetinnerBorder: SetinnerBorder::, - innerBorder: innerBorder::, - Setscroll: Setscroll::, - scroll: scroll::, - SetscrollFlat: SetscrollFlat::, - scrollFlat: scrollFlat::, - Setselection: Setselection::, - selection: selection::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAppBehavior3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setnavigable(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn navigable(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAppBehavior3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAppBehavior3_Vtbl { - pub const fn new, Impl: IHTMLAppBehavior3_Impl, const OFFSET: isize>() -> IHTMLAppBehavior3_Vtbl { - unsafe extern "system" fn Setnavigable, Impl: IHTMLAppBehavior3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setnavigable(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn navigable, Impl: IHTMLAppBehavior3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.navigable() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setnavigable: Setnavigable::, - navigable: navigable::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLApplicationCache_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn status(&self) -> ::windows::core::Result; - fn Setonchecking(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onchecking(&self) -> ::windows::core::Result; - fn Setonerror(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onerror(&self) -> ::windows::core::Result; - fn Setonnoupdate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onnoupdate(&self) -> ::windows::core::Result; - fn Setondownloading(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondownloading(&self) -> ::windows::core::Result; - fn Setonprogress(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onprogress(&self) -> ::windows::core::Result; - fn Setonupdateready(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onupdateready(&self) -> ::windows::core::Result; - fn Setoncached(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oncached(&self) -> ::windows::core::Result; - fn Setonobsolete(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onobsolete(&self) -> ::windows::core::Result; - fn update(&self) -> ::windows::core::Result<()>; - fn swapCache(&self) -> ::windows::core::Result<()>; - fn abort(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLApplicationCache {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLApplicationCache_Vtbl { - pub const fn new, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>() -> IHTMLApplicationCache_Vtbl { - unsafe extern "system" fn status, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.status() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonchecking, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonchecking(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onchecking, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onchecking() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonerror, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonerror(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onerror, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onerror() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonnoupdate, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonnoupdate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onnoupdate, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onnoupdate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondownloading, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondownloading(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondownloading, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondownloading() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonprogress, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonprogress(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onprogress, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onprogress() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonupdateready, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonupdateready(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onupdateready, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onupdateready() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoncached, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoncached(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oncached, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oncached() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonobsolete, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonobsolete(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onobsolete, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onobsolete() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn update, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.update().into() - } - unsafe extern "system" fn swapCache, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.swapCache().into() - } - unsafe extern "system" fn abort, Impl: IHTMLApplicationCache_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.abort().into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - status: status::, - Setonchecking: Setonchecking::, - onchecking: onchecking::, - Setonerror: Setonerror::, - onerror: onerror::, - Setonnoupdate: Setonnoupdate::, - onnoupdate: onnoupdate::, - Setondownloading: Setondownloading::, - ondownloading: ondownloading::, - Setonprogress: Setonprogress::, - onprogress: onprogress::, - Setonupdateready: Setonupdateready::, - onupdateready: onupdateready::, - Setoncached: Setoncached::, - oncached: oncached::, - Setonobsolete: Setonobsolete::, - onobsolete: onobsolete::, - update: update::, - swapCache: swapCache::, - abort: abort::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAreaElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setshape(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn shape(&self) -> ::windows::core::Result; - fn Setcoords(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn coords(&self) -> ::windows::core::Result; - fn Sethref(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn href(&self) -> ::windows::core::Result; - fn Settarget(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn target(&self) -> ::windows::core::Result; - fn Setalt(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn alt(&self) -> ::windows::core::Result; - fn SetnoHref(&self, v: i16) -> ::windows::core::Result<()>; - fn noHref(&self) -> ::windows::core::Result; - fn Sethost(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn host(&self) -> ::windows::core::Result; - fn Sethostname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn hostname(&self) -> ::windows::core::Result; - fn Setpathname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn pathname(&self) -> ::windows::core::Result; - fn Setport(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn port(&self) -> ::windows::core::Result; - fn Setprotocol(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn protocol(&self) -> ::windows::core::Result; - fn Setsearch(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn search(&self) -> ::windows::core::Result; - fn Sethash(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn hash(&self) -> ::windows::core::Result; - fn Setonblur(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onblur(&self) -> ::windows::core::Result; - fn Setonfocus(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onfocus(&self) -> ::windows::core::Result; - fn SettabIndex(&self, v: i16) -> ::windows::core::Result<()>; - fn tabIndex(&self) -> ::windows::core::Result; - fn focus(&self) -> ::windows::core::Result<()>; - fn blur(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAreaElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAreaElement_Vtbl { - pub const fn new, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>() -> IHTMLAreaElement_Vtbl { - unsafe extern "system" fn Setshape, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setshape(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn shape, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.shape() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcoords, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcoords(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn coords, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.coords() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethref, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethref(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn href, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.href() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settarget, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settarget(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn target, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.target() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setalt, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalt(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn alt, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.alt() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetnoHref, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnoHref(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn noHref, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.noHref() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethost, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethost(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn host, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.host() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethostname, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethostname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn hostname, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hostname() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setpathname, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setpathname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn pathname, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pathname() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setport, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setport(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn port, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.port() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setprotocol, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setprotocol(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn protocol, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.protocol() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setsearch, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsearch(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn search, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.search() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethash, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethash(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn hash, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hash() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonblur, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonblur(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onblur, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onblur() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonfocus, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonfocus(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onfocus, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onfocus() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettabIndex, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettabIndex(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn tabIndex, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tabIndex() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn focus, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.focus().into() - } - unsafe extern "system" fn blur, Impl: IHTMLAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.blur().into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setshape: Setshape::, - shape: shape::, - Setcoords: Setcoords::, - coords: coords::, - Sethref: Sethref::, - href: href::, - Settarget: Settarget::, - target: target::, - Setalt: Setalt::, - alt: alt::, - SetnoHref: SetnoHref::, - noHref: noHref::, - Sethost: Sethost::, - host: host::, - Sethostname: Sethostname::, - hostname: hostname::, - Setpathname: Setpathname::, - pathname: pathname::, - Setport: Setport::, - port: port::, - Setprotocol: Setprotocol::, - protocol: protocol::, - Setsearch: Setsearch::, - search: search::, - Sethash: Sethash::, - hash: hash::, - Setonblur: Setonblur::, - onblur: onblur::, - Setonfocus: Setonfocus::, - onfocus: onfocus::, - SettabIndex: SettabIndex::, - tabIndex: tabIndex::, - focus: focus::, - blur: blur::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAreaElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setshape(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn shape(&self) -> ::windows::core::Result; - fn Setcoords(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn coords(&self) -> ::windows::core::Result; - fn Sethref(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn href(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAreaElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAreaElement2_Vtbl { - pub const fn new, Impl: IHTMLAreaElement2_Impl, const OFFSET: isize>() -> IHTMLAreaElement2_Vtbl { - unsafe extern "system" fn Setshape, Impl: IHTMLAreaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setshape(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn shape, Impl: IHTMLAreaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.shape() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcoords, Impl: IHTMLAreaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcoords(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn coords, Impl: IHTMLAreaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.coords() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethref, Impl: IHTMLAreaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethref(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn href, Impl: IHTMLAreaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.href() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setshape: Setshape::, - shape: shape::, - Setcoords: Setcoords::, - coords: coords::, - Sethref: Sethref::, - href: href::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAreasCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setlength(&self, v: i32) -> ::windows::core::Result<()>; - fn length(&self) -> ::windows::core::Result; - fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn item(&self, name: &super::super::System::Com::VARIANT, index: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn tags(&self, tagname: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn add(&self, element: &::core::option::Option, before: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn remove(&self, index: i32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAreasCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAreasCollection_Vtbl { - pub const fn new, Impl: IHTMLAreasCollection_Impl, const OFFSET: isize>() -> IHTMLAreasCollection_Vtbl { - unsafe extern "system" fn Setlength, Impl: IHTMLAreasCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setlength(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn length, Impl: IHTMLAreasCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn _newEnum, Impl: IHTMLAreasCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this._newEnum() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLAreasCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, index: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute(&name), ::core::mem::transmute(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn tags, Impl: IHTMLAreasCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, tagname: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tags(::core::mem::transmute(&tagname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn add, Impl: IHTMLAreasCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, element: *mut ::core::ffi::c_void, before: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.add(::core::mem::transmute(&element), ::core::mem::transmute(&before)).into() - } - unsafe extern "system" fn remove, Impl: IHTMLAreasCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.remove(::core::mem::transmute_copy(&index)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setlength: Setlength::, - length: length::, - _newEnum: _newEnum::, - item: item::, - tags: tags::, - add: add::, - remove: remove::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAreasCollection2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn urns(&self, urn: &super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAreasCollection2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAreasCollection2_Vtbl { - pub const fn new, Impl: IHTMLAreasCollection2_Impl, const OFFSET: isize>() -> IHTMLAreasCollection2_Vtbl { - unsafe extern "system" fn urns, Impl: IHTMLAreasCollection2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, urn: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.urns(::core::mem::transmute(&urn)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), urns: urns:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAreasCollection3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn namedItem(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAreasCollection3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAreasCollection3_Vtbl { - pub const fn new, Impl: IHTMLAreasCollection3_Impl, const OFFSET: isize>() -> IHTMLAreasCollection3_Vtbl { - unsafe extern "system" fn namedItem, Impl: IHTMLAreasCollection3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.namedItem(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), namedItem: namedItem:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAreasCollection4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn item(&self, index: i32) -> ::windows::core::Result; - fn namedItem(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAreasCollection4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAreasCollection4_Vtbl { - pub const fn new, Impl: IHTMLAreasCollection4_Impl, const OFFSET: isize>() -> IHTMLAreasCollection4_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLAreasCollection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLAreasCollection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, pnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn namedItem, Impl: IHTMLAreasCollection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.namedItem(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - item: item::, - namedItem: namedItem::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAttributeCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn item(&self, name: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAttributeCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAttributeCollection_Vtbl { - pub const fn new, Impl: IHTMLAttributeCollection_Impl, const OFFSET: isize>() -> IHTMLAttributeCollection_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLAttributeCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn _newEnum, Impl: IHTMLAttributeCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this._newEnum() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLAttributeCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: *const super::super::System::Com::VARIANT, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - _newEnum: _newEnum::, - item: item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAttributeCollection2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn getNamedItem(&self, bstrname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn setNamedItem(&self, ppnode: &::core::option::Option) -> ::windows::core::Result; - fn removeNamedItem(&self, bstrname: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAttributeCollection2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAttributeCollection2_Vtbl { - pub const fn new, Impl: IHTMLAttributeCollection2_Impl, const OFFSET: isize>() -> IHTMLAttributeCollection2_Vtbl { - unsafe extern "system" fn getNamedItem, Impl: IHTMLAttributeCollection2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, newretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getNamedItem(::core::mem::transmute(&bstrname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(newretnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setNamedItem, Impl: IHTMLAttributeCollection2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppnode: *mut ::core::ffi::c_void, newretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.setNamedItem(::core::mem::transmute(&ppnode)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(newretnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeNamedItem, Impl: IHTMLAttributeCollection2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, newretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeNamedItem(::core::mem::transmute(&bstrname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(newretnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - getNamedItem: getNamedItem::, - setNamedItem: setNamedItem::, - removeNamedItem: removeNamedItem::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAttributeCollection3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn getNamedItem(&self, bstrname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn setNamedItem(&self, pnodein: &::core::option::Option) -> ::windows::core::Result; - fn removeNamedItem(&self, bstrname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn item(&self, index: i32) -> ::windows::core::Result; - fn length(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAttributeCollection3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAttributeCollection3_Vtbl { - pub const fn new, Impl: IHTMLAttributeCollection3_Impl, const OFFSET: isize>() -> IHTMLAttributeCollection3_Vtbl { - unsafe extern "system" fn getNamedItem, Impl: IHTMLAttributeCollection3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getNamedItem(::core::mem::transmute(&bstrname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnodeout, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setNamedItem, Impl: IHTMLAttributeCollection3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pnodein: *mut ::core::ffi::c_void, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.setNamedItem(::core::mem::transmute(&pnodein)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnodeout, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeNamedItem, Impl: IHTMLAttributeCollection3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeNamedItem(::core::mem::transmute(&bstrname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnodeout, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLAttributeCollection3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnodeout, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn length, Impl: IHTMLAttributeCollection3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - getNamedItem: getNamedItem::, - setNamedItem: setNamedItem::, - removeNamedItem: removeNamedItem::, - item: item::, - length: length::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAttributeCollection4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn getNamedItemNS(&self, pvarns: *const super::super::System::Com::VARIANT, bstrname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn setNamedItemNS(&self, pnodein: &::core::option::Option) -> ::windows::core::Result; - fn removeNamedItemNS(&self, pvarns: *const super::super::System::Com::VARIANT, bstrname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn getNamedItem(&self, bstrname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn setNamedItem(&self, pnodein: &::core::option::Option) -> ::windows::core::Result; - fn removeNamedItem(&self, bstrname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn item(&self, index: i32) -> ::windows::core::Result; - fn length(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAttributeCollection4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAttributeCollection4_Vtbl { - pub const fn new, Impl: IHTMLAttributeCollection4_Impl, const OFFSET: isize>() -> IHTMLAttributeCollection4_Vtbl { - unsafe extern "system" fn getNamedItemNS, Impl: IHTMLAttributeCollection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, bstrname: ::core::mem::ManuallyDrop, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getNamedItemNS(::core::mem::transmute_copy(&pvarns), ::core::mem::transmute(&bstrname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnodeout, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setNamedItemNS, Impl: IHTMLAttributeCollection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pnodein: *mut ::core::ffi::c_void, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.setNamedItemNS(::core::mem::transmute(&pnodein)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnodeout, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeNamedItemNS, Impl: IHTMLAttributeCollection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, bstrname: ::core::mem::ManuallyDrop, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeNamedItemNS(::core::mem::transmute_copy(&pvarns), ::core::mem::transmute(&bstrname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnodeout, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getNamedItem, Impl: IHTMLAttributeCollection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getNamedItem(::core::mem::transmute(&bstrname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnodeout, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setNamedItem, Impl: IHTMLAttributeCollection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pnodein: *mut ::core::ffi::c_void, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.setNamedItem(::core::mem::transmute(&pnodein)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnodeout, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeNamedItem, Impl: IHTMLAttributeCollection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeNamedItem(::core::mem::transmute(&bstrname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnodeout, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLAttributeCollection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnodeout, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn length, Impl: IHTMLAttributeCollection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - getNamedItemNS: getNamedItemNS::, - setNamedItemNS: setNamedItemNS::, - removeNamedItemNS: removeNamedItemNS::, - getNamedItem: getNamedItem::, - setNamedItem: setNamedItem::, - removeNamedItem: removeNamedItem::, - item: item::, - length: length::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAudioElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAudioElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAudioElement_Vtbl { - pub const fn new, Impl: IHTMLAudioElement_Impl, const OFFSET: isize>() -> IHTMLAudioElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLAudioElementFactory_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn create(&self, src: &super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLAudioElementFactory {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLAudioElementFactory_Vtbl { - pub const fn new, Impl: IHTMLAudioElementFactory_Impl, const OFFSET: isize>() -> IHTMLAudioElementFactory_Vtbl { - unsafe extern "system" fn create, Impl: IHTMLAudioElementFactory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, src: ::core::mem::ManuallyDrop, __midl__ihtmlaudioelementfactory0000: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.create(::core::mem::transmute(&src)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(__midl__ihtmlaudioelementfactory0000, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), create: create:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLBGsound_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn src(&self) -> ::windows::core::Result; - fn Setloop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn r#loop(&self) -> ::windows::core::Result; - fn Setvolume(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn volume(&self) -> ::windows::core::Result; - fn Setbalance(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn balance(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLBGsound {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLBGsound_Vtbl { - pub const fn new, Impl: IHTMLBGsound_Impl, const OFFSET: isize>() -> IHTMLBGsound_Vtbl { - unsafe extern "system" fn Setsrc, Impl: IHTMLBGsound_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn src, Impl: IHTMLBGsound_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.src() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setloop, Impl: IHTMLBGsound_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setloop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#loop, Impl: IHTMLBGsound_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#loop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvolume, Impl: IHTMLBGsound_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvolume(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn volume, Impl: IHTMLBGsound_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.volume() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setbalance, Impl: IHTMLBGsound_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setbalance(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn balance, Impl: IHTMLBGsound_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.balance() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setsrc: Setsrc::, - src: src::, - Setloop: Setloop::, - r#loop: r#loop::, - Setvolume: Setvolume::, - volume: volume::, - Setbalance: Setbalance::, - balance: balance::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLBRElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setclear(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn clear(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLBRElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLBRElement_Vtbl { - pub const fn new, Impl: IHTMLBRElement_Impl, const OFFSET: isize>() -> IHTMLBRElement_Vtbl { - unsafe extern "system" fn Setclear, Impl: IHTMLBRElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setclear(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn clear, Impl: IHTMLBRElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clear() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setclear: Setclear::, - clear: clear::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLBaseElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Sethref(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn href(&self) -> ::windows::core::Result; - fn Settarget(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn target(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLBaseElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLBaseElement_Vtbl { - pub const fn new, Impl: IHTMLBaseElement_Impl, const OFFSET: isize>() -> IHTMLBaseElement_Vtbl { - unsafe extern "system" fn Sethref, Impl: IHTMLBaseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethref(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn href, Impl: IHTMLBaseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.href() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settarget, Impl: IHTMLBaseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settarget(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn target, Impl: IHTMLBaseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.target() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Sethref: Sethref::, - href: href::, - Settarget: Settarget::, - target: target::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLBaseElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Sethref(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn href(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLBaseElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLBaseElement2_Vtbl { - pub const fn new, Impl: IHTMLBaseElement2_Impl, const OFFSET: isize>() -> IHTMLBaseElement2_Vtbl { - unsafe extern "system" fn Sethref, Impl: IHTMLBaseElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethref(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn href, Impl: IHTMLBaseElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.href() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Sethref: Sethref::, - href: href::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLBaseFontElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcolor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn color(&self) -> ::windows::core::Result; - fn Setface(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn face(&self) -> ::windows::core::Result; - fn Setsize(&self, v: i32) -> ::windows::core::Result<()>; - fn size(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLBaseFontElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLBaseFontElement_Vtbl { - pub const fn new, Impl: IHTMLBaseFontElement_Impl, const OFFSET: isize>() -> IHTMLBaseFontElement_Vtbl { - unsafe extern "system" fn Setcolor, Impl: IHTMLBaseFontElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcolor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn color, Impl: IHTMLBaseFontElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.color() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setface, Impl: IHTMLBaseFontElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setface(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn face, Impl: IHTMLBaseFontElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.face() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setsize, Impl: IHTMLBaseFontElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsize(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn size, Impl: IHTMLBaseFontElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.size() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcolor: Setcolor::, - color: color::, - Setface: Setface::, - face: face::, - Setsize: Setsize::, - size: size::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLBlockElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setclear(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn clear(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLBlockElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLBlockElement_Vtbl { - pub const fn new, Impl: IHTMLBlockElement_Impl, const OFFSET: isize>() -> IHTMLBlockElement_Vtbl { - unsafe extern "system" fn Setclear, Impl: IHTMLBlockElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setclear(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn clear, Impl: IHTMLBlockElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clear() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setclear: Setclear::, - clear: clear::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLBlockElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcite(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn cite(&self) -> ::windows::core::Result; - fn Setwidth(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLBlockElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLBlockElement2_Vtbl { - pub const fn new, Impl: IHTMLBlockElement2_Impl, const OFFSET: isize>() -> IHTMLBlockElement2_Vtbl { - unsafe extern "system" fn Setcite, Impl: IHTMLBlockElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcite(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cite, Impl: IHTMLBlockElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cite() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidth, Impl: IHTMLBlockElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLBlockElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcite: Setcite::, - cite: cite::, - Setwidth: Setwidth::, - width: width::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLBlockElement3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcite(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn cite(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLBlockElement3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLBlockElement3_Vtbl { - pub const fn new, Impl: IHTMLBlockElement3_Impl, const OFFSET: isize>() -> IHTMLBlockElement3_Vtbl { - unsafe extern "system" fn Setcite, Impl: IHTMLBlockElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcite(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cite, Impl: IHTMLBlockElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cite() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcite: Setcite::, - cite: cite::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLBodyElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setbackground(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn background(&self) -> ::windows::core::Result; - fn SetbgProperties(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn bgProperties(&self) -> ::windows::core::Result; - fn SetleftMargin(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn leftMargin(&self) -> ::windows::core::Result; - fn SettopMargin(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn topMargin(&self) -> ::windows::core::Result; - fn SetrightMargin(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn rightMargin(&self) -> ::windows::core::Result; - fn SetbottomMargin(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn bottomMargin(&self) -> ::windows::core::Result; - fn SetnoWrap(&self, v: i16) -> ::windows::core::Result<()>; - fn noWrap(&self) -> ::windows::core::Result; - fn SetbgColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn bgColor(&self) -> ::windows::core::Result; - fn Settext(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn text(&self) -> ::windows::core::Result; - fn Setlink(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn link(&self) -> ::windows::core::Result; - fn SetvLink(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn vLink(&self) -> ::windows::core::Result; - fn SetaLink(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn aLink(&self) -> ::windows::core::Result; - fn Setonload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onload(&self) -> ::windows::core::Result; - fn Setonunload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onunload(&self) -> ::windows::core::Result; - fn Setscroll(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn scroll(&self) -> ::windows::core::Result; - fn Setonselect(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onselect(&self) -> ::windows::core::Result; - fn Setonbeforeunload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbeforeunload(&self) -> ::windows::core::Result; - fn createTextRange(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLBodyElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLBodyElement_Vtbl { - pub const fn new, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>() -> IHTMLBodyElement_Vtbl { - unsafe extern "system" fn Setbackground, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setbackground(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn background, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.background() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbgProperties, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbgProperties(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn bgProperties, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bgProperties() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetleftMargin, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetleftMargin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn leftMargin, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.leftMargin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettopMargin, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettopMargin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn topMargin, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.topMargin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetrightMargin, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetrightMargin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rightMargin, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rightMargin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbottomMargin, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbottomMargin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn bottomMargin, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bottomMargin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetnoWrap, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnoWrap(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn noWrap, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.noWrap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbgColor, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbgColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn bgColor, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bgColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settext, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settext(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn text, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.text() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setlink, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setlink(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn link, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.link() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetvLink, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetvLink(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn vLink, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vLink() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetaLink, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetaLink(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn aLink, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.aLink() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonload, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onload, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonunload, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonunload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onunload, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onunload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setscroll, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setscroll(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scroll, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scroll() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonselect, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonselect(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onselect, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onselect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonbeforeunload, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbeforeunload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbeforeunload, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbeforeunload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createTextRange, Impl: IHTMLBodyElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createTextRange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(range, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setbackground: Setbackground::, - background: background::, - SetbgProperties: SetbgProperties::, - bgProperties: bgProperties::, - SetleftMargin: SetleftMargin::, - leftMargin: leftMargin::, - SettopMargin: SettopMargin::, - topMargin: topMargin::, - SetrightMargin: SetrightMargin::, - rightMargin: rightMargin::, - SetbottomMargin: SetbottomMargin::, - bottomMargin: bottomMargin::, - SetnoWrap: SetnoWrap::, - noWrap: noWrap::, - SetbgColor: SetbgColor::, - bgColor: bgColor::, - Settext: Settext::, - text: text::, - Setlink: Setlink::, - link: link::, - SetvLink: SetvLink::, - vLink: vLink::, - SetaLink: SetaLink::, - aLink: aLink::, - Setonload: Setonload::, - onload: onload::, - Setonunload: Setonunload::, - onunload: onunload::, - Setscroll: Setscroll::, - scroll: scroll::, - Setonselect: Setonselect::, - onselect: onselect::, - Setonbeforeunload: Setonbeforeunload::, - onbeforeunload: onbeforeunload::, - createTextRange: createTextRange::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLBodyElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setonbeforeprint(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbeforeprint(&self) -> ::windows::core::Result; - fn Setonafterprint(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onafterprint(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLBodyElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLBodyElement2_Vtbl { - pub const fn new, Impl: IHTMLBodyElement2_Impl, const OFFSET: isize>() -> IHTMLBodyElement2_Vtbl { - unsafe extern "system" fn Setonbeforeprint, Impl: IHTMLBodyElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbeforeprint(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbeforeprint, Impl: IHTMLBodyElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbeforeprint() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonafterprint, Impl: IHTMLBodyElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonafterprint(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onafterprint, Impl: IHTMLBodyElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onafterprint() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setonbeforeprint: Setonbeforeprint::, - onbeforeprint: onbeforeprint::, - Setonafterprint: Setonafterprint::, - onafterprint: onafterprint::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLBodyElement3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setbackground(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn background(&self) -> ::windows::core::Result; - fn Setononline(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ononline(&self) -> ::windows::core::Result; - fn Setonoffline(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onoffline(&self) -> ::windows::core::Result; - fn Setonhashchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onhashchange(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLBodyElement3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLBodyElement3_Vtbl { - pub const fn new, Impl: IHTMLBodyElement3_Impl, const OFFSET: isize>() -> IHTMLBodyElement3_Vtbl { - unsafe extern "system" fn Setbackground, Impl: IHTMLBodyElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setbackground(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn background, Impl: IHTMLBodyElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.background() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setononline, Impl: IHTMLBodyElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setononline(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ononline, Impl: IHTMLBodyElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ononline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonoffline, Impl: IHTMLBodyElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonoffline(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onoffline, Impl: IHTMLBodyElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onoffline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonhashchange, Impl: IHTMLBodyElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonhashchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onhashchange, Impl: IHTMLBodyElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onhashchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setbackground: Setbackground::, - background: background::, - Setononline: Setononline::, - ononline: ononline::, - Setonoffline: Setonoffline::, - onoffline: onoffline::, - Setonhashchange: Setonhashchange::, - onhashchange: onhashchange::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLBodyElement4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setonmessage(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmessage(&self) -> ::windows::core::Result; - fn Setonstorage(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onstorage(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLBodyElement4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLBodyElement4_Vtbl { - pub const fn new, Impl: IHTMLBodyElement4_Impl, const OFFSET: isize>() -> IHTMLBodyElement4_Vtbl { - unsafe extern "system" fn Setonmessage, Impl: IHTMLBodyElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmessage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmessage, Impl: IHTMLBodyElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmessage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonstorage, Impl: IHTMLBodyElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonstorage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onstorage, Impl: IHTMLBodyElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onstorage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setonmessage: Setonmessage::, - onmessage: onmessage::, - Setonstorage: Setonstorage::, - onstorage: onstorage::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLBodyElement5_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setonpopstate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onpopstate(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLBodyElement5 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLBodyElement5_Vtbl { - pub const fn new, Impl: IHTMLBodyElement5_Impl, const OFFSET: isize>() -> IHTMLBodyElement5_Vtbl { - unsafe extern "system" fn Setonpopstate, Impl: IHTMLBodyElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonpopstate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onpopstate, Impl: IHTMLBodyElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onpopstate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setonpopstate: Setonpopstate::, - onpopstate: onpopstate::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLBookmarkCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn item(&self, index: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLBookmarkCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLBookmarkCollection_Vtbl { - pub const fn new, Impl: IHTMLBookmarkCollection_Impl, const OFFSET: isize>() -> IHTMLBookmarkCollection_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLBookmarkCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn _newEnum, Impl: IHTMLBookmarkCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this._newEnum() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLBookmarkCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, pvarbookmark: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvarbookmark, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - _newEnum: _newEnum::, - item: item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLButtonElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn r#type(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Setstatus(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn status(&self) -> ::windows::core::Result; - fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()>; - fn disabled(&self) -> ::windows::core::Result; - fn form(&self) -> ::windows::core::Result; - fn createTextRange(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLButtonElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLButtonElement_Vtbl { - pub const fn new, Impl: IHTMLButtonElement_Impl, const OFFSET: isize>() -> IHTMLButtonElement_Vtbl { - unsafe extern "system" fn r#type, Impl: IHTMLButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: IHTMLButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setstatus, Impl: IHTMLButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setstatus(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn status, Impl: IHTMLButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.status() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdisabled, Impl: IHTMLButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn disabled, Impl: IHTMLButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.disabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn form, Impl: IHTMLButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.form() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createTextRange, Impl: IHTMLButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createTextRange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(range, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - r#type: r#type::, - Setvalue: Setvalue::, - value: value::, - Setname: Setname::, - name: name::, - Setstatus: Setstatus::, - status: status::, - Setdisabled: Setdisabled::, - disabled: disabled::, - form: form::, - createTextRange: createTextRange::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLButtonElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Settype(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLButtonElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLButtonElement2_Vtbl { - pub const fn new, Impl: IHTMLButtonElement2_Impl, const OFFSET: isize>() -> IHTMLButtonElement2_Vtbl { - unsafe extern "system" fn Settype, Impl: IHTMLButtonElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settype(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#type, Impl: IHTMLButtonElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Settype: Settype::, - r#type: r#type::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCSSImportRule_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn href(&self) -> ::windows::core::Result; - fn Setmedia(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn media(&self) -> ::windows::core::Result; - fn styleSheet(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCSSImportRule {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCSSImportRule_Vtbl { - pub const fn new, Impl: IHTMLCSSImportRule_Impl, const OFFSET: isize>() -> IHTMLCSSImportRule_Vtbl { - unsafe extern "system" fn href, Impl: IHTMLCSSImportRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.href() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setmedia, Impl: IHTMLCSSImportRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmedia(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn media, Impl: IHTMLCSSImportRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.media() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn styleSheet, Impl: IHTMLCSSImportRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.styleSheet() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - href: href::, - Setmedia: Setmedia::, - media: media::, - styleSheet: styleSheet::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCSSMediaList_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetmediaText(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn mediaText(&self) -> ::windows::core::Result; - fn length(&self) -> ::windows::core::Result; - fn item(&self, index: i32) -> ::windows::core::Result; - fn appendMedium(&self, bstrmedium: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn deleteMedium(&self, bstrmedium: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCSSMediaList {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCSSMediaList_Vtbl { - pub const fn new, Impl: IHTMLCSSMediaList_Impl, const OFFSET: isize>() -> IHTMLCSSMediaList_Vtbl { - unsafe extern "system" fn SetmediaText, Impl: IHTMLCSSMediaList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmediaText(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn mediaText, Impl: IHTMLCSSMediaList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.mediaText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn length, Impl: IHTMLCSSMediaList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLCSSMediaList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, pbstrmedium: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrmedium, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn appendMedium, Impl: IHTMLCSSMediaList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrmedium: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.appendMedium(::core::mem::transmute(&bstrmedium)).into() - } - unsafe extern "system" fn deleteMedium, Impl: IHTMLCSSMediaList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrmedium: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteMedium(::core::mem::transmute(&bstrmedium)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetmediaText: SetmediaText::, - mediaText: mediaText::, - length: length::, - item: item::, - appendMedium: appendMedium::, - deleteMedium: deleteMedium::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCSSMediaRule_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setmedia(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn media(&self) -> ::windows::core::Result; - fn cssRules(&self) -> ::windows::core::Result; - fn insertRule(&self, bstrrule: &super::super::Foundation::BSTR, lindex: i32) -> ::windows::core::Result; - fn deleteRule(&self, lindex: i32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCSSMediaRule {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCSSMediaRule_Vtbl { - pub const fn new, Impl: IHTMLCSSMediaRule_Impl, const OFFSET: isize>() -> IHTMLCSSMediaRule_Vtbl { - unsafe extern "system" fn Setmedia, Impl: IHTMLCSSMediaRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmedia(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn media, Impl: IHTMLCSSMediaRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.media() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn cssRules, Impl: IHTMLCSSMediaRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cssRules() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertRule, Impl: IHTMLCSSMediaRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrrule: ::core::mem::ManuallyDrop, lindex: i32, plnewindex: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertRule(::core::mem::transmute(&bstrrule), ::core::mem::transmute_copy(&lindex)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(plnewindex, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deleteRule, Impl: IHTMLCSSMediaRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lindex: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteRule(::core::mem::transmute_copy(&lindex)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setmedia: Setmedia::, - media: media::, - cssRules: cssRules::, - insertRule: insertRule::, - deleteRule: deleteRule::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCSSNamespaceRule_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn namespaceURI(&self) -> ::windows::core::Result; - fn prefix(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCSSNamespaceRule {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCSSNamespaceRule_Vtbl { - pub const fn new, Impl: IHTMLCSSNamespaceRule_Impl, const OFFSET: isize>() -> IHTMLCSSNamespaceRule_Vtbl { - unsafe extern "system" fn namespaceURI, Impl: IHTMLCSSNamespaceRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.namespaceURI() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn prefix, Impl: IHTMLCSSNamespaceRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.prefix() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - namespaceURI: namespaceURI::, - prefix: prefix::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCSSRule_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn r#type(&self) -> ::windows::core::Result; - fn SetcssText(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn cssText(&self) -> ::windows::core::Result; - fn parentRule(&self) -> ::windows::core::Result; - fn parentStyleSheet(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCSSRule {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCSSRule_Vtbl { - pub const fn new, Impl: IHTMLCSSRule_Impl, const OFFSET: isize>() -> IHTMLCSSRule_Vtbl { - unsafe extern "system" fn r#type, Impl: IHTMLCSSRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcssText, Impl: IHTMLCSSRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcssText(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cssText, Impl: IHTMLCSSRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cssText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn parentRule, Impl: IHTMLCSSRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.parentRule() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn parentStyleSheet, Impl: IHTMLCSSRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.parentStyleSheet() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - r#type: r#type::, - SetcssText: SetcssText::, - cssText: cssText::, - parentRule: parentRule::, - parentStyleSheet: parentStyleSheet::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCSSStyleDeclaration_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn parentRule(&self) -> ::windows::core::Result; - fn getPropertyValue(&self, bstrpropertyname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn getPropertyPriority(&self, bstrpropertyname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn removeProperty(&self, bstrpropertyname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn setProperty(&self, bstrpropertyname: &super::super::Foundation::BSTR, pvarpropertyvalue: *const super::super::System::Com::VARIANT, pvarpropertypriority: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn item(&self, index: i32) -> ::windows::core::Result; - fn SetfontFamily(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn fontFamily(&self) -> ::windows::core::Result; - fn SetfontStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn fontStyle(&self) -> ::windows::core::Result; - fn SetfontVariant(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn fontVariant(&self) -> ::windows::core::Result; - fn SetfontWeight(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn fontWeight(&self) -> ::windows::core::Result; - fn SetfontSize(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn fontSize(&self) -> ::windows::core::Result; - fn Setfont(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn font(&self) -> ::windows::core::Result; - fn Setcolor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn color(&self) -> ::windows::core::Result; - fn Setbackground(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn background(&self) -> ::windows::core::Result; - fn SetbackgroundColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn backgroundColor(&self) -> ::windows::core::Result; - fn SetbackgroundImage(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn backgroundImage(&self) -> ::windows::core::Result; - fn SetbackgroundRepeat(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn backgroundRepeat(&self) -> ::windows::core::Result; - fn SetbackgroundAttachment(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn backgroundAttachment(&self) -> ::windows::core::Result; - fn SetbackgroundPosition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn backgroundPosition(&self) -> ::windows::core::Result; - fn SetbackgroundPositionX(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn backgroundPositionX(&self) -> ::windows::core::Result; - fn SetbackgroundPositionY(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn backgroundPositionY(&self) -> ::windows::core::Result; - fn SetwordSpacing(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn wordSpacing(&self) -> ::windows::core::Result; - fn SetletterSpacing(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn letterSpacing(&self) -> ::windows::core::Result; - fn SettextDecoration(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textDecoration(&self) -> ::windows::core::Result; - fn SetverticalAlign(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn verticalAlign(&self) -> ::windows::core::Result; - fn SettextTransform(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textTransform(&self) -> ::windows::core::Result; - fn SettextAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textAlign(&self) -> ::windows::core::Result; - fn SettextIndent(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn textIndent(&self) -> ::windows::core::Result; - fn SetlineHeight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn lineHeight(&self) -> ::windows::core::Result; - fn SetmarginTop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn marginTop(&self) -> ::windows::core::Result; - fn SetmarginRight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn marginRight(&self) -> ::windows::core::Result; - fn SetmarginBottom(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn marginBottom(&self) -> ::windows::core::Result; - fn SetmarginLeft(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn marginLeft(&self) -> ::windows::core::Result; - fn Setmargin(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn margin(&self) -> ::windows::core::Result; - fn SetpaddingTop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn paddingTop(&self) -> ::windows::core::Result; - fn SetpaddingRight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn paddingRight(&self) -> ::windows::core::Result; - fn SetpaddingBottom(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn paddingBottom(&self) -> ::windows::core::Result; - fn SetpaddingLeft(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn paddingLeft(&self) -> ::windows::core::Result; - fn Setpadding(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn padding(&self) -> ::windows::core::Result; - fn Setborder(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn border(&self) -> ::windows::core::Result; - fn SetborderTop(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderTop(&self) -> ::windows::core::Result; - fn SetborderRight(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderRight(&self) -> ::windows::core::Result; - fn SetborderBottom(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderBottom(&self) -> ::windows::core::Result; - fn SetborderLeft(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderLeft(&self) -> ::windows::core::Result; - fn SetborderColor(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderColor(&self) -> ::windows::core::Result; - fn SetborderTopColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderTopColor(&self) -> ::windows::core::Result; - fn SetborderRightColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderRightColor(&self) -> ::windows::core::Result; - fn SetborderBottomColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderBottomColor(&self) -> ::windows::core::Result; - fn SetborderLeftColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderLeftColor(&self) -> ::windows::core::Result; - fn SetborderWidth(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderWidth(&self) -> ::windows::core::Result; - fn SetborderTopWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderTopWidth(&self) -> ::windows::core::Result; - fn SetborderRightWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderRightWidth(&self) -> ::windows::core::Result; - fn SetborderBottomWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderBottomWidth(&self) -> ::windows::core::Result; - fn SetborderLeftWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderLeftWidth(&self) -> ::windows::core::Result; - fn SetborderStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderStyle(&self) -> ::windows::core::Result; - fn SetborderTopStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderTopStyle(&self) -> ::windows::core::Result; - fn SetborderRightStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderRightStyle(&self) -> ::windows::core::Result; - fn SetborderBottomStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderBottomStyle(&self) -> ::windows::core::Result; - fn SetborderLeftStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderLeftStyle(&self) -> ::windows::core::Result; - fn Setwidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn Setheight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; - fn SetstyleFloat(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn styleFloat(&self) -> ::windows::core::Result; - fn Setclear(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn clear(&self) -> ::windows::core::Result; - fn Setdisplay(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn display(&self) -> ::windows::core::Result; - fn Setvisibility(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn visibility(&self) -> ::windows::core::Result; - fn SetlistStyleType(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn listStyleType(&self) -> ::windows::core::Result; - fn SetlistStylePosition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn listStylePosition(&self) -> ::windows::core::Result; - fn SetlistStyleImage(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn listStyleImage(&self) -> ::windows::core::Result; - fn SetlistStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn listStyle(&self) -> ::windows::core::Result; - fn SetwhiteSpace(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn whiteSpace(&self) -> ::windows::core::Result; - fn Settop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn top(&self) -> ::windows::core::Result; - fn Setleft(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn left(&self) -> ::windows::core::Result; - fn SetzIndex(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn zIndex(&self) -> ::windows::core::Result; - fn Setoverflow(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn overflow(&self) -> ::windows::core::Result; - fn SetpageBreakBefore(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn pageBreakBefore(&self) -> ::windows::core::Result; - fn SetpageBreakAfter(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn pageBreakAfter(&self) -> ::windows::core::Result; - fn SetcssText(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn cssText(&self) -> ::windows::core::Result; - fn Setcursor(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn cursor(&self) -> ::windows::core::Result; - fn Setclip(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn clip(&self) -> ::windows::core::Result; - fn Setfilter(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn filter(&self) -> ::windows::core::Result; - fn SettableLayout(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn tableLayout(&self) -> ::windows::core::Result; - fn SetborderCollapse(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderCollapse(&self) -> ::windows::core::Result; - fn Setdirection(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn direction(&self) -> ::windows::core::Result; - fn Setbehavior(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn behavior(&self) -> ::windows::core::Result; - fn Setposition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn position(&self) -> ::windows::core::Result; - fn SetunicodeBidi(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn unicodeBidi(&self) -> ::windows::core::Result; - fn Setbottom(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn bottom(&self) -> ::windows::core::Result; - fn Setright(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn right(&self) -> ::windows::core::Result; - fn SetimeMode(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn imeMode(&self) -> ::windows::core::Result; - fn SetrubyAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn rubyAlign(&self) -> ::windows::core::Result; - fn SetrubyPosition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn rubyPosition(&self) -> ::windows::core::Result; - fn SetrubyOverhang(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn rubyOverhang(&self) -> ::windows::core::Result; - fn SetlayoutGridChar(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn layoutGridChar(&self) -> ::windows::core::Result; - fn SetlayoutGridLine(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn layoutGridLine(&self) -> ::windows::core::Result; - fn SetlayoutGridMode(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn layoutGridMode(&self) -> ::windows::core::Result; - fn SetlayoutGridType(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn layoutGridType(&self) -> ::windows::core::Result; - fn SetlayoutGrid(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn layoutGrid(&self) -> ::windows::core::Result; - fn SettextAutospace(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textAutospace(&self) -> ::windows::core::Result; - fn SetwordBreak(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn wordBreak(&self) -> ::windows::core::Result; - fn SetlineBreak(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn lineBreak(&self) -> ::windows::core::Result; - fn SettextJustify(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textJustify(&self) -> ::windows::core::Result; - fn SettextJustifyTrim(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textJustifyTrim(&self) -> ::windows::core::Result; - fn SettextKashida(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn textKashida(&self) -> ::windows::core::Result; - fn SetoverflowX(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn overflowX(&self) -> ::windows::core::Result; - fn SetoverflowY(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn overflowY(&self) -> ::windows::core::Result; - fn Setaccelerator(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn accelerator(&self) -> ::windows::core::Result; - fn SetlayoutFlow(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn layoutFlow(&self) -> ::windows::core::Result; - fn Setzoom(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn zoom(&self) -> ::windows::core::Result; - fn SetwordWrap(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn wordWrap(&self) -> ::windows::core::Result; - fn SettextUnderlinePosition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textUnderlinePosition(&self) -> ::windows::core::Result; - fn SetscrollbarBaseColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarBaseColor(&self) -> ::windows::core::Result; - fn SetscrollbarFaceColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarFaceColor(&self) -> ::windows::core::Result; - fn Setscrollbar3dLightColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbar3dLightColor(&self) -> ::windows::core::Result; - fn SetscrollbarShadowColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarShadowColor(&self) -> ::windows::core::Result; - fn SetscrollbarHighlightColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarHighlightColor(&self) -> ::windows::core::Result; - fn SetscrollbarDarkShadowColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarDarkShadowColor(&self) -> ::windows::core::Result; - fn SetscrollbarArrowColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarArrowColor(&self) -> ::windows::core::Result; - fn SetscrollbarTrackColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarTrackColor(&self) -> ::windows::core::Result; - fn SetwritingMode(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn writingMode(&self) -> ::windows::core::Result; - fn SettextAlignLast(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textAlignLast(&self) -> ::windows::core::Result; - fn SettextKashidaSpace(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn textKashidaSpace(&self) -> ::windows::core::Result; - fn SettextOverflow(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textOverflow(&self) -> ::windows::core::Result; - fn SetminHeight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn minHeight(&self) -> ::windows::core::Result; - fn SetmsInterpolationMode(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msInterpolationMode(&self) -> ::windows::core::Result; - fn SetmaxHeight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn maxHeight(&self) -> ::windows::core::Result; - fn SetminWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn minWidth(&self) -> ::windows::core::Result; - fn SetmaxWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn maxWidth(&self) -> ::windows::core::Result; - fn Setcontent(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn content(&self) -> ::windows::core::Result; - fn SetcaptionSide(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn captionSide(&self) -> ::windows::core::Result; - fn SetcounterIncrement(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn counterIncrement(&self) -> ::windows::core::Result; - fn SetcounterReset(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn counterReset(&self) -> ::windows::core::Result; - fn Setoutline(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn outline(&self) -> ::windows::core::Result; - fn SetoutlineWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn outlineWidth(&self) -> ::windows::core::Result; - fn SetoutlineStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn outlineStyle(&self) -> ::windows::core::Result; - fn SetoutlineColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn outlineColor(&self) -> ::windows::core::Result; - fn SetboxSizing(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn boxSizing(&self) -> ::windows::core::Result; - fn SetborderSpacing(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderSpacing(&self) -> ::windows::core::Result; - fn Setorphans(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn orphans(&self) -> ::windows::core::Result; - fn Setwidows(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn widows(&self) -> ::windows::core::Result; - fn SetpageBreakInside(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn pageBreakInside(&self) -> ::windows::core::Result; - fn SetemptyCells(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn emptyCells(&self) -> ::windows::core::Result; - fn SetmsBlockProgression(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msBlockProgression(&self) -> ::windows::core::Result; - fn Setquotes(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn quotes(&self) -> ::windows::core::Result; - fn SetalignmentBaseline(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn alignmentBaseline(&self) -> ::windows::core::Result; - fn SetbaselineShift(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn baselineShift(&self) -> ::windows::core::Result; - fn SetdominantBaseline(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dominantBaseline(&self) -> ::windows::core::Result; - fn SetfontSizeAdjust(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn fontSizeAdjust(&self) -> ::windows::core::Result; - fn SetfontStretch(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn fontStretch(&self) -> ::windows::core::Result; - fn Setopacity(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn opacity(&self) -> ::windows::core::Result; - fn SetclipPath(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn clipPath(&self) -> ::windows::core::Result; - fn SetclipRule(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn clipRule(&self) -> ::windows::core::Result; - fn Setfill(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn fill(&self) -> ::windows::core::Result; - fn SetfillOpacity(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn fillOpacity(&self) -> ::windows::core::Result; - fn SetfillRule(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn fillRule(&self) -> ::windows::core::Result; - fn Setkerning(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn kerning(&self) -> ::windows::core::Result; - fn Setmarker(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn marker(&self) -> ::windows::core::Result; - fn SetmarkerEnd(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn markerEnd(&self) -> ::windows::core::Result; - fn SetmarkerMid(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn markerMid(&self) -> ::windows::core::Result; - fn SetmarkerStart(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn markerStart(&self) -> ::windows::core::Result; - fn Setmask(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn mask(&self) -> ::windows::core::Result; - fn SetpointerEvents(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn pointerEvents(&self) -> ::windows::core::Result; - fn SetstopColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn stopColor(&self) -> ::windows::core::Result; - fn SetstopOpacity(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn stopOpacity(&self) -> ::windows::core::Result; - fn Setstroke(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn stroke(&self) -> ::windows::core::Result; - fn SetstrokeDasharray(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn strokeDasharray(&self) -> ::windows::core::Result; - fn SetstrokeDashoffset(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn strokeDashoffset(&self) -> ::windows::core::Result; - fn SetstrokeLinecap(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn strokeLinecap(&self) -> ::windows::core::Result; - fn SetstrokeLinejoin(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn strokeLinejoin(&self) -> ::windows::core::Result; - fn SetstrokeMiterlimit(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn strokeMiterlimit(&self) -> ::windows::core::Result; - fn SetstrokeOpacity(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn strokeOpacity(&self) -> ::windows::core::Result; - fn SetstrokeWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn strokeWidth(&self) -> ::windows::core::Result; - fn SettextAnchor(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textAnchor(&self) -> ::windows::core::Result; - fn SetglyphOrientationHorizontal(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn glyphOrientationHorizontal(&self) -> ::windows::core::Result; - fn SetglyphOrientationVertical(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn glyphOrientationVertical(&self) -> ::windows::core::Result; - fn SetborderRadius(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderRadius(&self) -> ::windows::core::Result; - fn SetborderTopLeftRadius(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderTopLeftRadius(&self) -> ::windows::core::Result; - fn SetborderTopRightRadius(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderTopRightRadius(&self) -> ::windows::core::Result; - fn SetborderBottomRightRadius(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderBottomRightRadius(&self) -> ::windows::core::Result; - fn SetborderBottomLeftRadius(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderBottomLeftRadius(&self) -> ::windows::core::Result; - fn SetclipTop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn clipTop(&self) -> ::windows::core::Result; - fn SetclipRight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn clipRight(&self) -> ::windows::core::Result; - fn clipBottom(&self) -> ::windows::core::Result; - fn SetclipLeft(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn clipLeft(&self) -> ::windows::core::Result; - fn SetcssFloat(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn cssFloat(&self) -> ::windows::core::Result; - fn SetbackgroundClip(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn backgroundClip(&self) -> ::windows::core::Result; - fn SetbackgroundOrigin(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn backgroundOrigin(&self) -> ::windows::core::Result; - fn SetbackgroundSize(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn backgroundSize(&self) -> ::windows::core::Result; - fn SetboxShadow(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn boxShadow(&self) -> ::windows::core::Result; - fn SetmsTransform(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msTransform(&self) -> ::windows::core::Result; - fn SetmsTransformOrigin(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msTransformOrigin(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCSSStyleDeclaration {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCSSStyleDeclaration_Vtbl { - pub const fn new, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>() -> IHTMLCSSStyleDeclaration_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn parentRule, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.parentRule() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getPropertyValue, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrpropertyname: ::core::mem::ManuallyDrop, pbstrpropertyvalue: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getPropertyValue(::core::mem::transmute(&bstrpropertyname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrpropertyvalue, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getPropertyPriority, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrpropertyname: ::core::mem::ManuallyDrop, pbstrpropertypriority: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getPropertyPriority(::core::mem::transmute(&bstrpropertyname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrpropertypriority, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeProperty, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrpropertyname: ::core::mem::ManuallyDrop, pbstrpropertyvalue: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeProperty(::core::mem::transmute(&bstrpropertyname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrpropertyvalue, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setProperty, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrpropertyname: ::core::mem::ManuallyDrop, pvarpropertyvalue: *const super::super::System::Com::VARIANT, pvarpropertypriority: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setProperty(::core::mem::transmute(&bstrpropertyname), ::core::mem::transmute_copy(&pvarpropertyvalue), ::core::mem::transmute_copy(&pvarpropertypriority)).into() - } - unsafe extern "system" fn item, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, pbstrpropertyname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrpropertyname, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfontFamily, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontFamily(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontFamily, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontFamily() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfontStyle, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontStyle, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfontVariant, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontVariant(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontVariant, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontVariant() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfontWeight, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontWeight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontWeight, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontWeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfontSize, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontSize(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontSize, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontSize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setfont, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setfont(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn font, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.font() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcolor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcolor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn color, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.color() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setbackground, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setbackground(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn background, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.background() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundImage, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundImage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundImage, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundImage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundRepeat, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundRepeat(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundRepeat, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundRepeat() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundAttachment, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundAttachment(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundAttachment, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundAttachment() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundPosition, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundPosition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundPosition, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundPosition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundPositionX, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundPositionX(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundPositionX, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundPositionX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundPositionY, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundPositionY(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundPositionY, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundPositionY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwordSpacing, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwordSpacing(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn wordSpacing, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.wordSpacing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetletterSpacing, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetletterSpacing(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn letterSpacing, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.letterSpacing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextDecoration, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextDecoration(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textDecoration, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textDecoration() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetverticalAlign, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetverticalAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn verticalAlign, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.verticalAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextTransform, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextTransform(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textTransform, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textTransform() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextAlign, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textAlign, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextIndent, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextIndent(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textIndent, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textIndent() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlineHeight, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlineHeight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn lineHeight, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lineHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginTop, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginTop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn marginTop, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginRight, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginRight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn marginRight, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginBottom, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginBottom(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn marginBottom, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginLeft, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginLeft(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn marginLeft, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setmargin, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmargin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn margin, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.margin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpaddingTop, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpaddingTop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn paddingTop, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.paddingTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpaddingRight, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpaddingRight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn paddingRight, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.paddingRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpaddingBottom, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpaddingBottom(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn paddingBottom, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.paddingBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpaddingLeft, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpaddingLeft(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn paddingLeft, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.paddingLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setpadding, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setpadding(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn padding, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.padding() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setborder, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setborder(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn border, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.border() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderTop, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderTop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderTop, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderRight, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderRight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderRight, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderBottom, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderBottom(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderBottom, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderLeft, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderLeft(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderLeft, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderTopColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderTopColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderTopColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderTopColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderRightColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderRightColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderRightColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderRightColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderBottomColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderBottomColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderBottomColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderBottomColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderLeftColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderLeftColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderLeftColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderLeftColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderTopWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderTopWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderTopWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderTopWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderRightWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderRightWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderRightWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderRightWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderBottomWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderBottomWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderBottomWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderBottomWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderLeftWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderLeftWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderLeftWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderLeftWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderStyle, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderStyle, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderTopStyle, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderTopStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderTopStyle, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderTopStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderRightStyle, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderRightStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderRightStyle, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderRightStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderBottomStyle, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderBottomStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderBottomStyle, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderBottomStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderLeftStyle, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderLeftStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderLeftStyle, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderLeftStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setheight, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn height, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetstyleFloat, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetstyleFloat(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn styleFloat, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.styleFloat() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setclear, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setclear(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn clear, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clear() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdisplay, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisplay(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn display, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.display() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvisibility, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvisibility(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn visibility, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.visibility() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlistStyleType, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlistStyleType(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn listStyleType, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.listStyleType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlistStylePosition, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlistStylePosition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn listStylePosition, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.listStylePosition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlistStyleImage, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlistStyleImage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn listStyleImage, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.listStyleImage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlistStyle, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlistStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn listStyle, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.listStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwhiteSpace, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwhiteSpace(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn whiteSpace, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.whiteSpace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settop, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn top, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.top() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setleft, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setleft(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn left, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.left() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetzIndex, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetzIndex(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn zIndex, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.zIndex() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoverflow, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoverflow(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn overflow, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.overflow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpageBreakBefore, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpageBreakBefore(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn pageBreakBefore, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageBreakBefore() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpageBreakAfter, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpageBreakAfter(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn pageBreakAfter, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageBreakAfter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcssText, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcssText(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cssText, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cssText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcursor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcursor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cursor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cursor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setclip, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setclip(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn clip, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clip() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setfilter, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setfilter(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn filter, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.filter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettableLayout, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettableLayout(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn tableLayout, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tableLayout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderCollapse, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderCollapse(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderCollapse, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderCollapse() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdirection, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdirection(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn direction, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.direction() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setbehavior, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setbehavior(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn behavior, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.behavior() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setposition, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setposition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn position, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.position() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetunicodeBidi, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetunicodeBidi(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn unicodeBidi, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.unicodeBidi() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setbottom, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setbottom(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn bottom, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setright, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setright(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn right, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.right() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetimeMode, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetimeMode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn imeMode, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.imeMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetrubyAlign, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetrubyAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rubyAlign, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rubyAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetrubyPosition, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetrubyPosition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rubyPosition, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rubyPosition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetrubyOverhang, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetrubyOverhang(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rubyOverhang, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rubyOverhang() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlayoutGridChar, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutGridChar(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutGridChar, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGridChar() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlayoutGridLine, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutGridLine(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutGridLine, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGridLine() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlayoutGridMode, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutGridMode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutGridMode, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGridMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlayoutGridType, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutGridType(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutGridType, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGridType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlayoutGrid, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutGrid(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutGrid, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGrid() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextAutospace, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextAutospace(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textAutospace, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textAutospace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwordBreak, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwordBreak(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn wordBreak, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.wordBreak() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlineBreak, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlineBreak(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn lineBreak, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lineBreak() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextJustify, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextJustify(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textJustify, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textJustify() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextJustifyTrim, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextJustifyTrim(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textJustifyTrim, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textJustifyTrim() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextKashida, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextKashida(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textKashida, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textKashida() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetoverflowX, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoverflowX(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn overflowX, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.overflowX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetoverflowY, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoverflowY(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn overflowY, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.overflowY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setaccelerator, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setaccelerator(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn accelerator, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.accelerator() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlayoutFlow, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutFlow(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutFlow, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutFlow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setzoom, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setzoom(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn zoom, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.zoom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwordWrap, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwordWrap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn wordWrap, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.wordWrap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextUnderlinePosition, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextUnderlinePosition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textUnderlinePosition, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textUnderlinePosition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarBaseColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarBaseColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarBaseColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarBaseColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarFaceColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarFaceColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarFaceColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarFaceColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setscrollbar3dLightColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setscrollbar3dLightColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbar3dLightColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbar3dLightColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarShadowColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarShadowColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarShadowColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarShadowColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarHighlightColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarHighlightColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarHighlightColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarHighlightColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarDarkShadowColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarDarkShadowColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarDarkShadowColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarDarkShadowColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarArrowColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarArrowColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarArrowColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarArrowColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarTrackColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarTrackColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarTrackColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarTrackColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwritingMode, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwritingMode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn writingMode, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.writingMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextAlignLast, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextAlignLast(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textAlignLast, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textAlignLast() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextKashidaSpace, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextKashidaSpace(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textKashidaSpace, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textKashidaSpace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextOverflow, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextOverflow(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textOverflow, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textOverflow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetminHeight, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetminHeight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn minHeight, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.minHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsInterpolationMode, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsInterpolationMode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msInterpolationMode, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msInterpolationMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmaxHeight, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmaxHeight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn maxHeight, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.maxHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetminWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetminWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn minWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.minWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmaxWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmaxWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn maxWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.maxWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcontent, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcontent(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn content, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.content() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcaptionSide, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcaptionSide(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn captionSide, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.captionSide() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcounterIncrement, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcounterIncrement(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn counterIncrement, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.counterIncrement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcounterReset, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcounterReset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn counterReset, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.counterReset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoutline, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoutline(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn outline, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetoutlineWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoutlineWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn outlineWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outlineWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetoutlineStyle, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoutlineStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn outlineStyle, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outlineStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetoutlineColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoutlineColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn outlineColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outlineColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetboxSizing, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetboxSizing(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn boxSizing, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.boxSizing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderSpacing, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderSpacing(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderSpacing, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderSpacing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setorphans, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setorphans(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn orphans, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.orphans() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidows, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidows(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn widows, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.widows() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpageBreakInside, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpageBreakInside(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn pageBreakInside, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageBreakInside() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetemptyCells, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetemptyCells(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn emptyCells, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.emptyCells() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsBlockProgression, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsBlockProgression(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msBlockProgression, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msBlockProgression() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setquotes, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setquotes(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn quotes, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.quotes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetalignmentBaseline, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetalignmentBaseline(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn alignmentBaseline, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.alignmentBaseline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbaselineShift, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbaselineShift(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn baselineShift, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.baselineShift() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdominantBaseline, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdominantBaseline(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dominantBaseline, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dominantBaseline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfontSizeAdjust, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontSizeAdjust(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontSizeAdjust, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontSizeAdjust() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfontStretch, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontStretch(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontStretch, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontStretch() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setopacity, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setopacity(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn opacity, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.opacity() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetclipPath, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetclipPath(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn clipPath, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clipPath() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetclipRule, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetclipRule(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn clipRule, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clipRule() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setfill, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setfill(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fill, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fill() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfillOpacity, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfillOpacity(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fillOpacity, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fillOpacity() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfillRule, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfillRule(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fillRule, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fillRule() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setkerning, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setkerning(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn kerning, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.kerning() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setmarker, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmarker(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn marker, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marker() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarkerEnd, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarkerEnd(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn markerEnd, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.markerEnd() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarkerMid, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarkerMid(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn markerMid, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.markerMid() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarkerStart, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarkerStart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn markerStart, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.markerStart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setmask, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmask(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn mask, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.mask() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpointerEvents, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpointerEvents(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn pointerEvents, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pointerEvents() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetstopColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetstopColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn stopColor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.stopColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetstopOpacity, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetstopOpacity(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn stopOpacity, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.stopOpacity() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setstroke, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setstroke(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn stroke, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.stroke() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetstrokeDasharray, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetstrokeDasharray(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn strokeDasharray, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.strokeDasharray() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetstrokeDashoffset, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetstrokeDashoffset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn strokeDashoffset, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.strokeDashoffset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetstrokeLinecap, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetstrokeLinecap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn strokeLinecap, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.strokeLinecap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetstrokeLinejoin, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetstrokeLinejoin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn strokeLinejoin, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.strokeLinejoin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetstrokeMiterlimit, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetstrokeMiterlimit(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn strokeMiterlimit, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.strokeMiterlimit() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetstrokeOpacity, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetstrokeOpacity(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn strokeOpacity, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.strokeOpacity() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetstrokeWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetstrokeWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn strokeWidth, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.strokeWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextAnchor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextAnchor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textAnchor, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textAnchor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetglyphOrientationHorizontal, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetglyphOrientationHorizontal(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn glyphOrientationHorizontal, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.glyphOrientationHorizontal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetglyphOrientationVertical, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetglyphOrientationVertical(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn glyphOrientationVertical, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.glyphOrientationVertical() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderRadius, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderRadius(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderRadius, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderRadius() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderTopLeftRadius, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderTopLeftRadius(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderTopLeftRadius, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderTopLeftRadius() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderTopRightRadius, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderTopRightRadius(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderTopRightRadius, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderTopRightRadius() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderBottomRightRadius, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderBottomRightRadius(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderBottomRightRadius, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderBottomRightRadius() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderBottomLeftRadius, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderBottomLeftRadius(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderBottomLeftRadius, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderBottomLeftRadius() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetclipTop, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetclipTop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn clipTop, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clipTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetclipRight, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetclipRight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn clipRight, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clipRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clipBottom, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clipBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetclipLeft, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetclipLeft(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn clipLeft, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clipLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcssFloat, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcssFloat(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cssFloat, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cssFloat() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundClip, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundClip(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundClip, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundClip() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundOrigin, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundOrigin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundOrigin, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundOrigin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundSize, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundSize(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundSize, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundSize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetboxShadow, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetboxShadow(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn boxShadow, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.boxShadow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsTransform, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsTransform(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msTransform, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msTransform() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsTransformOrigin, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsTransformOrigin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msTransformOrigin, Impl: IHTMLCSSStyleDeclaration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msTransformOrigin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - parentRule: parentRule::, - getPropertyValue: getPropertyValue::, - getPropertyPriority: getPropertyPriority::, - removeProperty: removeProperty::, - setProperty: setProperty::, - item: item::, - SetfontFamily: SetfontFamily::, - fontFamily: fontFamily::, - SetfontStyle: SetfontStyle::, - fontStyle: fontStyle::, - SetfontVariant: SetfontVariant::, - fontVariant: fontVariant::, - SetfontWeight: SetfontWeight::, - fontWeight: fontWeight::, - SetfontSize: SetfontSize::, - fontSize: fontSize::, - Setfont: Setfont::, - font: font::, - Setcolor: Setcolor::, - color: color::, - Setbackground: Setbackground::, - background: background::, - SetbackgroundColor: SetbackgroundColor::, - backgroundColor: backgroundColor::, - SetbackgroundImage: SetbackgroundImage::, - backgroundImage: backgroundImage::, - SetbackgroundRepeat: SetbackgroundRepeat::, - backgroundRepeat: backgroundRepeat::, - SetbackgroundAttachment: SetbackgroundAttachment::, - backgroundAttachment: backgroundAttachment::, - SetbackgroundPosition: SetbackgroundPosition::, - backgroundPosition: backgroundPosition::, - SetbackgroundPositionX: SetbackgroundPositionX::, - backgroundPositionX: backgroundPositionX::, - SetbackgroundPositionY: SetbackgroundPositionY::, - backgroundPositionY: backgroundPositionY::, - SetwordSpacing: SetwordSpacing::, - wordSpacing: wordSpacing::, - SetletterSpacing: SetletterSpacing::, - letterSpacing: letterSpacing::, - SettextDecoration: SettextDecoration::, - textDecoration: textDecoration::, - SetverticalAlign: SetverticalAlign::, - verticalAlign: verticalAlign::, - SettextTransform: SettextTransform::, - textTransform: textTransform::, - SettextAlign: SettextAlign::, - textAlign: textAlign::, - SettextIndent: SettextIndent::, - textIndent: textIndent::, - SetlineHeight: SetlineHeight::, - lineHeight: lineHeight::, - SetmarginTop: SetmarginTop::, - marginTop: marginTop::, - SetmarginRight: SetmarginRight::, - marginRight: marginRight::, - SetmarginBottom: SetmarginBottom::, - marginBottom: marginBottom::, - SetmarginLeft: SetmarginLeft::, - marginLeft: marginLeft::, - Setmargin: Setmargin::, - margin: margin::, - SetpaddingTop: SetpaddingTop::, - paddingTop: paddingTop::, - SetpaddingRight: SetpaddingRight::, - paddingRight: paddingRight::, - SetpaddingBottom: SetpaddingBottom::, - paddingBottom: paddingBottom::, - SetpaddingLeft: SetpaddingLeft::, - paddingLeft: paddingLeft::, - Setpadding: Setpadding::, - padding: padding::, - Setborder: Setborder::, - border: border::, - SetborderTop: SetborderTop::, - borderTop: borderTop::, - SetborderRight: SetborderRight::, - borderRight: borderRight::, - SetborderBottom: SetborderBottom::, - borderBottom: borderBottom::, - SetborderLeft: SetborderLeft::, - borderLeft: borderLeft::, - SetborderColor: SetborderColor::, - borderColor: borderColor::, - SetborderTopColor: SetborderTopColor::, - borderTopColor: borderTopColor::, - SetborderRightColor: SetborderRightColor::, - borderRightColor: borderRightColor::, - SetborderBottomColor: SetborderBottomColor::, - borderBottomColor: borderBottomColor::, - SetborderLeftColor: SetborderLeftColor::, - borderLeftColor: borderLeftColor::, - SetborderWidth: SetborderWidth::, - borderWidth: borderWidth::, - SetborderTopWidth: SetborderTopWidth::, - borderTopWidth: borderTopWidth::, - SetborderRightWidth: SetborderRightWidth::, - borderRightWidth: borderRightWidth::, - SetborderBottomWidth: SetborderBottomWidth::, - borderBottomWidth: borderBottomWidth::, - SetborderLeftWidth: SetborderLeftWidth::, - borderLeftWidth: borderLeftWidth::, - SetborderStyle: SetborderStyle::, - borderStyle: borderStyle::, - SetborderTopStyle: SetborderTopStyle::, - borderTopStyle: borderTopStyle::, - SetborderRightStyle: SetborderRightStyle::, - borderRightStyle: borderRightStyle::, - SetborderBottomStyle: SetborderBottomStyle::, - borderBottomStyle: borderBottomStyle::, - SetborderLeftStyle: SetborderLeftStyle::, - borderLeftStyle: borderLeftStyle::, - Setwidth: Setwidth::, - width: width::, - Setheight: Setheight::, - height: height::, - SetstyleFloat: SetstyleFloat::, - styleFloat: styleFloat::, - Setclear: Setclear::, - clear: clear::, - Setdisplay: Setdisplay::, - display: display::, - Setvisibility: Setvisibility::, - visibility: visibility::, - SetlistStyleType: SetlistStyleType::, - listStyleType: listStyleType::, - SetlistStylePosition: SetlistStylePosition::, - listStylePosition: listStylePosition::, - SetlistStyleImage: SetlistStyleImage::, - listStyleImage: listStyleImage::, - SetlistStyle: SetlistStyle::, - listStyle: listStyle::, - SetwhiteSpace: SetwhiteSpace::, - whiteSpace: whiteSpace::, - Settop: Settop::, - top: top::, - Setleft: Setleft::, - left: left::, - SetzIndex: SetzIndex::, - zIndex: zIndex::, - Setoverflow: Setoverflow::, - overflow: overflow::, - SetpageBreakBefore: SetpageBreakBefore::, - pageBreakBefore: pageBreakBefore::, - SetpageBreakAfter: SetpageBreakAfter::, - pageBreakAfter: pageBreakAfter::, - SetcssText: SetcssText::, - cssText: cssText::, - Setcursor: Setcursor::, - cursor: cursor::, - Setclip: Setclip::, - clip: clip::, - Setfilter: Setfilter::, - filter: filter::, - SettableLayout: SettableLayout::, - tableLayout: tableLayout::, - SetborderCollapse: SetborderCollapse::, - borderCollapse: borderCollapse::, - Setdirection: Setdirection::, - direction: direction::, - Setbehavior: Setbehavior::, - behavior: behavior::, - Setposition: Setposition::, - position: position::, - SetunicodeBidi: SetunicodeBidi::, - unicodeBidi: unicodeBidi::, - Setbottom: Setbottom::, - bottom: bottom::, - Setright: Setright::, - right: right::, - SetimeMode: SetimeMode::, - imeMode: imeMode::, - SetrubyAlign: SetrubyAlign::, - rubyAlign: rubyAlign::, - SetrubyPosition: SetrubyPosition::, - rubyPosition: rubyPosition::, - SetrubyOverhang: SetrubyOverhang::, - rubyOverhang: rubyOverhang::, - SetlayoutGridChar: SetlayoutGridChar::, - layoutGridChar: layoutGridChar::, - SetlayoutGridLine: SetlayoutGridLine::, - layoutGridLine: layoutGridLine::, - SetlayoutGridMode: SetlayoutGridMode::, - layoutGridMode: layoutGridMode::, - SetlayoutGridType: SetlayoutGridType::, - layoutGridType: layoutGridType::, - SetlayoutGrid: SetlayoutGrid::, - layoutGrid: layoutGrid::, - SettextAutospace: SettextAutospace::, - textAutospace: textAutospace::, - SetwordBreak: SetwordBreak::, - wordBreak: wordBreak::, - SetlineBreak: SetlineBreak::, - lineBreak: lineBreak::, - SettextJustify: SettextJustify::, - textJustify: textJustify::, - SettextJustifyTrim: SettextJustifyTrim::, - textJustifyTrim: textJustifyTrim::, - SettextKashida: SettextKashida::, - textKashida: textKashida::, - SetoverflowX: SetoverflowX::, - overflowX: overflowX::, - SetoverflowY: SetoverflowY::, - overflowY: overflowY::, - Setaccelerator: Setaccelerator::, - accelerator: accelerator::, - SetlayoutFlow: SetlayoutFlow::, - layoutFlow: layoutFlow::, - Setzoom: Setzoom::, - zoom: zoom::, - SetwordWrap: SetwordWrap::, - wordWrap: wordWrap::, - SettextUnderlinePosition: SettextUnderlinePosition::, - textUnderlinePosition: textUnderlinePosition::, - SetscrollbarBaseColor: SetscrollbarBaseColor::, - scrollbarBaseColor: scrollbarBaseColor::, - SetscrollbarFaceColor: SetscrollbarFaceColor::, - scrollbarFaceColor: scrollbarFaceColor::, - Setscrollbar3dLightColor: Setscrollbar3dLightColor::, - scrollbar3dLightColor: scrollbar3dLightColor::, - SetscrollbarShadowColor: SetscrollbarShadowColor::, - scrollbarShadowColor: scrollbarShadowColor::, - SetscrollbarHighlightColor: SetscrollbarHighlightColor::, - scrollbarHighlightColor: scrollbarHighlightColor::, - SetscrollbarDarkShadowColor: SetscrollbarDarkShadowColor::, - scrollbarDarkShadowColor: scrollbarDarkShadowColor::, - SetscrollbarArrowColor: SetscrollbarArrowColor::, - scrollbarArrowColor: scrollbarArrowColor::, - SetscrollbarTrackColor: SetscrollbarTrackColor::, - scrollbarTrackColor: scrollbarTrackColor::, - SetwritingMode: SetwritingMode::, - writingMode: writingMode::, - SettextAlignLast: SettextAlignLast::, - textAlignLast: textAlignLast::, - SettextKashidaSpace: SettextKashidaSpace::, - textKashidaSpace: textKashidaSpace::, - SettextOverflow: SettextOverflow::, - textOverflow: textOverflow::, - SetminHeight: SetminHeight::, - minHeight: minHeight::, - SetmsInterpolationMode: SetmsInterpolationMode::, - msInterpolationMode: msInterpolationMode::, - SetmaxHeight: SetmaxHeight::, - maxHeight: maxHeight::, - SetminWidth: SetminWidth::, - minWidth: minWidth::, - SetmaxWidth: SetmaxWidth::, - maxWidth: maxWidth::, - Setcontent: Setcontent::, - content: content::, - SetcaptionSide: SetcaptionSide::, - captionSide: captionSide::, - SetcounterIncrement: SetcounterIncrement::, - counterIncrement: counterIncrement::, - SetcounterReset: SetcounterReset::, - counterReset: counterReset::, - Setoutline: Setoutline::, - outline: outline::, - SetoutlineWidth: SetoutlineWidth::, - outlineWidth: outlineWidth::, - SetoutlineStyle: SetoutlineStyle::, - outlineStyle: outlineStyle::, - SetoutlineColor: SetoutlineColor::, - outlineColor: outlineColor::, - SetboxSizing: SetboxSizing::, - boxSizing: boxSizing::, - SetborderSpacing: SetborderSpacing::, - borderSpacing: borderSpacing::, - Setorphans: Setorphans::, - orphans: orphans::, - Setwidows: Setwidows::, - widows: widows::, - SetpageBreakInside: SetpageBreakInside::, - pageBreakInside: pageBreakInside::, - SetemptyCells: SetemptyCells::, - emptyCells: emptyCells::, - SetmsBlockProgression: SetmsBlockProgression::, - msBlockProgression: msBlockProgression::, - Setquotes: Setquotes::, - quotes: quotes::, - SetalignmentBaseline: SetalignmentBaseline::, - alignmentBaseline: alignmentBaseline::, - SetbaselineShift: SetbaselineShift::, - baselineShift: baselineShift::, - SetdominantBaseline: SetdominantBaseline::, - dominantBaseline: dominantBaseline::, - SetfontSizeAdjust: SetfontSizeAdjust::, - fontSizeAdjust: fontSizeAdjust::, - SetfontStretch: SetfontStretch::, - fontStretch: fontStretch::, - Setopacity: Setopacity::, - opacity: opacity::, - SetclipPath: SetclipPath::, - clipPath: clipPath::, - SetclipRule: SetclipRule::, - clipRule: clipRule::, - Setfill: Setfill::, - fill: fill::, - SetfillOpacity: SetfillOpacity::, - fillOpacity: fillOpacity::, - SetfillRule: SetfillRule::, - fillRule: fillRule::, - Setkerning: Setkerning::, - kerning: kerning::, - Setmarker: Setmarker::, - marker: marker::, - SetmarkerEnd: SetmarkerEnd::, - markerEnd: markerEnd::, - SetmarkerMid: SetmarkerMid::, - markerMid: markerMid::, - SetmarkerStart: SetmarkerStart::, - markerStart: markerStart::, - Setmask: Setmask::, - mask: mask::, - SetpointerEvents: SetpointerEvents::, - pointerEvents: pointerEvents::, - SetstopColor: SetstopColor::, - stopColor: stopColor::, - SetstopOpacity: SetstopOpacity::, - stopOpacity: stopOpacity::, - Setstroke: Setstroke::, - stroke: stroke::, - SetstrokeDasharray: SetstrokeDasharray::, - strokeDasharray: strokeDasharray::, - SetstrokeDashoffset: SetstrokeDashoffset::, - strokeDashoffset: strokeDashoffset::, - SetstrokeLinecap: SetstrokeLinecap::, - strokeLinecap: strokeLinecap::, - SetstrokeLinejoin: SetstrokeLinejoin::, - strokeLinejoin: strokeLinejoin::, - SetstrokeMiterlimit: SetstrokeMiterlimit::, - strokeMiterlimit: strokeMiterlimit::, - SetstrokeOpacity: SetstrokeOpacity::, - strokeOpacity: strokeOpacity::, - SetstrokeWidth: SetstrokeWidth::, - strokeWidth: strokeWidth::, - SettextAnchor: SettextAnchor::, - textAnchor: textAnchor::, - SetglyphOrientationHorizontal: SetglyphOrientationHorizontal::, - glyphOrientationHorizontal: glyphOrientationHorizontal::, - SetglyphOrientationVertical: SetglyphOrientationVertical::, - glyphOrientationVertical: glyphOrientationVertical::, - SetborderRadius: SetborderRadius::, - borderRadius: borderRadius::, - SetborderTopLeftRadius: SetborderTopLeftRadius::, - borderTopLeftRadius: borderTopLeftRadius::, - SetborderTopRightRadius: SetborderTopRightRadius::, - borderTopRightRadius: borderTopRightRadius::, - SetborderBottomRightRadius: SetborderBottomRightRadius::, - borderBottomRightRadius: borderBottomRightRadius::, - SetborderBottomLeftRadius: SetborderBottomLeftRadius::, - borderBottomLeftRadius: borderBottomLeftRadius::, - SetclipTop: SetclipTop::, - clipTop: clipTop::, - SetclipRight: SetclipRight::, - clipRight: clipRight::, - clipBottom: clipBottom::, - SetclipLeft: SetclipLeft::, - clipLeft: clipLeft::, - SetcssFloat: SetcssFloat::, - cssFloat: cssFloat::, - SetbackgroundClip: SetbackgroundClip::, - backgroundClip: backgroundClip::, - SetbackgroundOrigin: SetbackgroundOrigin::, - backgroundOrigin: backgroundOrigin::, - SetbackgroundSize: SetbackgroundSize::, - backgroundSize: backgroundSize::, - SetboxShadow: SetboxShadow::, - boxShadow: boxShadow::, - SetmsTransform: SetmsTransform::, - msTransform: msTransform::, - SetmsTransformOrigin: SetmsTransformOrigin::, - msTransformOrigin: msTransformOrigin::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCSSStyleDeclaration2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetmsScrollChaining(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msScrollChaining(&self) -> ::windows::core::Result; - fn SetmsContentZooming(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msContentZooming(&self) -> ::windows::core::Result; - fn SetmsContentZoomSnapType(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msContentZoomSnapType(&self) -> ::windows::core::Result; - fn SetmsScrollRails(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msScrollRails(&self) -> ::windows::core::Result; - fn SetmsContentZoomChaining(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msContentZoomChaining(&self) -> ::windows::core::Result; - fn SetmsScrollSnapType(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msScrollSnapType(&self) -> ::windows::core::Result; - fn SetmsContentZoomLimit(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msContentZoomLimit(&self) -> ::windows::core::Result; - fn SetmsContentZoomSnap(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msContentZoomSnap(&self) -> ::windows::core::Result; - fn SetmsContentZoomSnapPoints(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msContentZoomSnapPoints(&self) -> ::windows::core::Result; - fn SetmsContentZoomLimitMin(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msContentZoomLimitMin(&self) -> ::windows::core::Result; - fn SetmsContentZoomLimitMax(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msContentZoomLimitMax(&self) -> ::windows::core::Result; - fn SetmsScrollSnapX(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msScrollSnapX(&self) -> ::windows::core::Result; - fn SetmsScrollSnapY(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msScrollSnapY(&self) -> ::windows::core::Result; - fn SetmsScrollSnapPointsX(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msScrollSnapPointsX(&self) -> ::windows::core::Result; - fn SetmsScrollSnapPointsY(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msScrollSnapPointsY(&self) -> ::windows::core::Result; - fn SetmsGridColumn(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msGridColumn(&self) -> ::windows::core::Result; - fn SetmsGridColumnAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msGridColumnAlign(&self) -> ::windows::core::Result; - fn SetmsGridColumns(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msGridColumns(&self) -> ::windows::core::Result; - fn SetmsGridColumnSpan(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msGridColumnSpan(&self) -> ::windows::core::Result; - fn SetmsGridRow(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msGridRow(&self) -> ::windows::core::Result; - fn SetmsGridRowAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msGridRowAlign(&self) -> ::windows::core::Result; - fn SetmsGridRows(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msGridRows(&self) -> ::windows::core::Result; - fn SetmsGridRowSpan(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msGridRowSpan(&self) -> ::windows::core::Result; - fn SetmsWrapThrough(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msWrapThrough(&self) -> ::windows::core::Result; - fn SetmsWrapMargin(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msWrapMargin(&self) -> ::windows::core::Result; - fn SetmsWrapFlow(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msWrapFlow(&self) -> ::windows::core::Result; - fn SetmsAnimationName(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msAnimationName(&self) -> ::windows::core::Result; - fn SetmsAnimationDuration(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msAnimationDuration(&self) -> ::windows::core::Result; - fn SetmsAnimationTimingFunction(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msAnimationTimingFunction(&self) -> ::windows::core::Result; - fn SetmsAnimationDelay(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msAnimationDelay(&self) -> ::windows::core::Result; - fn SetmsAnimationDirection(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msAnimationDirection(&self) -> ::windows::core::Result; - fn SetmsAnimationPlayState(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msAnimationPlayState(&self) -> ::windows::core::Result; - fn SetmsAnimationIterationCount(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msAnimationIterationCount(&self) -> ::windows::core::Result; - fn SetmsAnimation(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msAnimation(&self) -> ::windows::core::Result; - fn SetmsAnimationFillMode(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msAnimationFillMode(&self) -> ::windows::core::Result; - fn SetcolorInterpolationFilters(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn colorInterpolationFilters(&self) -> ::windows::core::Result; - fn SetcolumnCount(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn columnCount(&self) -> ::windows::core::Result; - fn SetcolumnWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn columnWidth(&self) -> ::windows::core::Result; - fn SetcolumnGap(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn columnGap(&self) -> ::windows::core::Result; - fn SetcolumnFill(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn columnFill(&self) -> ::windows::core::Result; - fn SetcolumnSpan(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn columnSpan(&self) -> ::windows::core::Result; - fn Setcolumns(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn columns(&self) -> ::windows::core::Result; - fn SetcolumnRule(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn columnRule(&self) -> ::windows::core::Result; - fn SetcolumnRuleColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn columnRuleColor(&self) -> ::windows::core::Result; - fn SetcolumnRuleStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn columnRuleStyle(&self) -> ::windows::core::Result; - fn SetcolumnRuleWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn columnRuleWidth(&self) -> ::windows::core::Result; - fn SetbreakBefore(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn breakBefore(&self) -> ::windows::core::Result; - fn SetbreakAfter(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn breakAfter(&self) -> ::windows::core::Result; - fn SetbreakInside(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn breakInside(&self) -> ::windows::core::Result; - fn SetfloodColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn floodColor(&self) -> ::windows::core::Result; - fn SetfloodOpacity(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn floodOpacity(&self) -> ::windows::core::Result; - fn SetlightingColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn lightingColor(&self) -> ::windows::core::Result; - fn SetmsScrollLimitXMin(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msScrollLimitXMin(&self) -> ::windows::core::Result; - fn SetmsScrollLimitYMin(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msScrollLimitYMin(&self) -> ::windows::core::Result; - fn SetmsScrollLimitXMax(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msScrollLimitXMax(&self) -> ::windows::core::Result; - fn SetmsScrollLimitYMax(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msScrollLimitYMax(&self) -> ::windows::core::Result; - fn SetmsScrollLimit(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msScrollLimit(&self) -> ::windows::core::Result; - fn SettextShadow(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textShadow(&self) -> ::windows::core::Result; - fn SetmsFlowFrom(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msFlowFrom(&self) -> ::windows::core::Result; - fn SetmsFlowInto(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msFlowInto(&self) -> ::windows::core::Result; - fn SetmsHyphens(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msHyphens(&self) -> ::windows::core::Result; - fn SetmsHyphenateLimitZone(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msHyphenateLimitZone(&self) -> ::windows::core::Result; - fn SetmsHyphenateLimitChars(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msHyphenateLimitChars(&self) -> ::windows::core::Result; - fn SetmsHyphenateLimitLines(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msHyphenateLimitLines(&self) -> ::windows::core::Result; - fn SetmsHighContrastAdjust(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msHighContrastAdjust(&self) -> ::windows::core::Result; - fn SetenableBackground(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn enableBackground(&self) -> ::windows::core::Result; - fn SetmsFontFeatureSettings(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msFontFeatureSettings(&self) -> ::windows::core::Result; - fn SetmsUserSelect(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msUserSelect(&self) -> ::windows::core::Result; - fn SetmsOverflowStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msOverflowStyle(&self) -> ::windows::core::Result; - fn SetmsTransformStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msTransformStyle(&self) -> ::windows::core::Result; - fn SetmsBackfaceVisibility(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msBackfaceVisibility(&self) -> ::windows::core::Result; - fn SetmsPerspective(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msPerspective(&self) -> ::windows::core::Result; - fn SetmsPerspectiveOrigin(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msPerspectiveOrigin(&self) -> ::windows::core::Result; - fn SetmsTransitionProperty(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msTransitionProperty(&self) -> ::windows::core::Result; - fn SetmsTransitionDuration(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msTransitionDuration(&self) -> ::windows::core::Result; - fn SetmsTransitionTimingFunction(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msTransitionTimingFunction(&self) -> ::windows::core::Result; - fn SetmsTransitionDelay(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msTransitionDelay(&self) -> ::windows::core::Result; - fn SetmsTransition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msTransition(&self) -> ::windows::core::Result; - fn SetmsTouchAction(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msTouchAction(&self) -> ::windows::core::Result; - fn SetmsScrollTranslation(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msScrollTranslation(&self) -> ::windows::core::Result; - fn SetmsFlex(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msFlex(&self) -> ::windows::core::Result; - fn SetmsFlexPositive(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msFlexPositive(&self) -> ::windows::core::Result; - fn SetmsFlexNegative(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msFlexNegative(&self) -> ::windows::core::Result; - fn SetmsFlexPreferredSize(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msFlexPreferredSize(&self) -> ::windows::core::Result; - fn SetmsFlexFlow(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msFlexFlow(&self) -> ::windows::core::Result; - fn SetmsFlexDirection(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msFlexDirection(&self) -> ::windows::core::Result; - fn SetmsFlexWrap(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msFlexWrap(&self) -> ::windows::core::Result; - fn SetmsFlexAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msFlexAlign(&self) -> ::windows::core::Result; - fn SetmsFlexItemAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msFlexItemAlign(&self) -> ::windows::core::Result; - fn SetmsFlexPack(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msFlexPack(&self) -> ::windows::core::Result; - fn SetmsFlexLinePack(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msFlexLinePack(&self) -> ::windows::core::Result; - fn SetmsFlexOrder(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msFlexOrder(&self) -> ::windows::core::Result; - fn SetmsTouchSelect(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msTouchSelect(&self) -> ::windows::core::Result; - fn Settransform(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn transform(&self) -> ::windows::core::Result; - fn SettransformOrigin(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn transformOrigin(&self) -> ::windows::core::Result; - fn SettransformStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn transformStyle(&self) -> ::windows::core::Result; - fn SetbackfaceVisibility(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn backfaceVisibility(&self) -> ::windows::core::Result; - fn Setperspective(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn perspective(&self) -> ::windows::core::Result; - fn SetperspectiveOrigin(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn perspectiveOrigin(&self) -> ::windows::core::Result; - fn SettransitionProperty(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn transitionProperty(&self) -> ::windows::core::Result; - fn SettransitionDuration(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn transitionDuration(&self) -> ::windows::core::Result; - fn SettransitionTimingFunction(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn transitionTimingFunction(&self) -> ::windows::core::Result; - fn SettransitionDelay(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn transitionDelay(&self) -> ::windows::core::Result; - fn Settransition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn transition(&self) -> ::windows::core::Result; - fn SetfontFeatureSettings(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn fontFeatureSettings(&self) -> ::windows::core::Result; - fn SetanimationName(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn animationName(&self) -> ::windows::core::Result; - fn SetanimationDuration(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn animationDuration(&self) -> ::windows::core::Result; - fn SetanimationTimingFunction(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn animationTimingFunction(&self) -> ::windows::core::Result; - fn SetanimationDelay(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn animationDelay(&self) -> ::windows::core::Result; - fn SetanimationDirection(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn animationDirection(&self) -> ::windows::core::Result; - fn SetanimationPlayState(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn animationPlayState(&self) -> ::windows::core::Result; - fn SetanimationIterationCount(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn animationIterationCount(&self) -> ::windows::core::Result; - fn Setanimation(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn animation(&self) -> ::windows::core::Result; - fn SetanimationFillMode(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn animationFillMode(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCSSStyleDeclaration2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCSSStyleDeclaration2_Vtbl { - pub const fn new, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>() -> IHTMLCSSStyleDeclaration2_Vtbl { - unsafe extern "system" fn SetmsScrollChaining, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsScrollChaining(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msScrollChaining, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msScrollChaining() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsContentZooming, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsContentZooming(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msContentZooming, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msContentZooming() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsContentZoomSnapType, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsContentZoomSnapType(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msContentZoomSnapType, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msContentZoomSnapType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsScrollRails, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsScrollRails(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msScrollRails, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msScrollRails() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsContentZoomChaining, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsContentZoomChaining(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msContentZoomChaining, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msContentZoomChaining() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsScrollSnapType, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsScrollSnapType(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msScrollSnapType, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msScrollSnapType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsContentZoomLimit, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsContentZoomLimit(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msContentZoomLimit, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msContentZoomLimit() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsContentZoomSnap, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsContentZoomSnap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msContentZoomSnap, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msContentZoomSnap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsContentZoomSnapPoints, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsContentZoomSnapPoints(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msContentZoomSnapPoints, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msContentZoomSnapPoints() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsContentZoomLimitMin, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsContentZoomLimitMin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msContentZoomLimitMin, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msContentZoomLimitMin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsContentZoomLimitMax, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsContentZoomLimitMax(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msContentZoomLimitMax, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msContentZoomLimitMax() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsScrollSnapX, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsScrollSnapX(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msScrollSnapX, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msScrollSnapX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsScrollSnapY, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsScrollSnapY(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msScrollSnapY, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msScrollSnapY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsScrollSnapPointsX, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsScrollSnapPointsX(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msScrollSnapPointsX, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msScrollSnapPointsX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsScrollSnapPointsY, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsScrollSnapPointsY(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msScrollSnapPointsY, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msScrollSnapPointsY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsGridColumn, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsGridColumn(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msGridColumn, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msGridColumn() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsGridColumnAlign, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsGridColumnAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msGridColumnAlign, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msGridColumnAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsGridColumns, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsGridColumns(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msGridColumns, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msGridColumns() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsGridColumnSpan, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsGridColumnSpan(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msGridColumnSpan, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msGridColumnSpan() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsGridRow, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsGridRow(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msGridRow, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msGridRow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsGridRowAlign, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsGridRowAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msGridRowAlign, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msGridRowAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsGridRows, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsGridRows(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msGridRows, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msGridRows() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsGridRowSpan, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsGridRowSpan(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msGridRowSpan, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msGridRowSpan() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsWrapThrough, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsWrapThrough(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msWrapThrough, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msWrapThrough() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsWrapMargin, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsWrapMargin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msWrapMargin, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msWrapMargin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsWrapFlow, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsWrapFlow(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msWrapFlow, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msWrapFlow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsAnimationName, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsAnimationName(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msAnimationName, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msAnimationName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsAnimationDuration, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsAnimationDuration(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msAnimationDuration, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msAnimationDuration() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsAnimationTimingFunction, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsAnimationTimingFunction(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msAnimationTimingFunction, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msAnimationTimingFunction() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsAnimationDelay, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsAnimationDelay(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msAnimationDelay, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msAnimationDelay() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsAnimationDirection, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsAnimationDirection(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msAnimationDirection, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msAnimationDirection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsAnimationPlayState, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsAnimationPlayState(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msAnimationPlayState, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msAnimationPlayState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsAnimationIterationCount, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsAnimationIterationCount(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msAnimationIterationCount, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msAnimationIterationCount() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsAnimation, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsAnimation(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msAnimation, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msAnimation() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsAnimationFillMode, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsAnimationFillMode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msAnimationFillMode, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msAnimationFillMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcolorInterpolationFilters, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcolorInterpolationFilters(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn colorInterpolationFilters, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.colorInterpolationFilters() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcolumnCount, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcolumnCount(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn columnCount, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.columnCount() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcolumnWidth, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcolumnWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn columnWidth, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.columnWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcolumnGap, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcolumnGap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn columnGap, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.columnGap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcolumnFill, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcolumnFill(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn columnFill, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.columnFill() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcolumnSpan, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcolumnSpan(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn columnSpan, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.columnSpan() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcolumns, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcolumns(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn columns, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.columns() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcolumnRule, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcolumnRule(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn columnRule, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.columnRule() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcolumnRuleColor, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcolumnRuleColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn columnRuleColor, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.columnRuleColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcolumnRuleStyle, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcolumnRuleStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn columnRuleStyle, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.columnRuleStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcolumnRuleWidth, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcolumnRuleWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn columnRuleWidth, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.columnRuleWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbreakBefore, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbreakBefore(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn breakBefore, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.breakBefore() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbreakAfter, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbreakAfter(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn breakAfter, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.breakAfter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbreakInside, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbreakInside(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn breakInside, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.breakInside() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfloodColor, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfloodColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn floodColor, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.floodColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfloodOpacity, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfloodOpacity(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn floodOpacity, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.floodOpacity() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlightingColor, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlightingColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn lightingColor, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lightingColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsScrollLimitXMin, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsScrollLimitXMin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msScrollLimitXMin, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msScrollLimitXMin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsScrollLimitYMin, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsScrollLimitYMin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msScrollLimitYMin, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msScrollLimitYMin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsScrollLimitXMax, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsScrollLimitXMax(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msScrollLimitXMax, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msScrollLimitXMax() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsScrollLimitYMax, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsScrollLimitYMax(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msScrollLimitYMax, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msScrollLimitYMax() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsScrollLimit, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsScrollLimit(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msScrollLimit, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msScrollLimit() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextShadow, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextShadow(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textShadow, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textShadow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsFlowFrom, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsFlowFrom(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msFlowFrom, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msFlowFrom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsFlowInto, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsFlowInto(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msFlowInto, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msFlowInto() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsHyphens, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsHyphens(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msHyphens, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msHyphens() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsHyphenateLimitZone, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsHyphenateLimitZone(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msHyphenateLimitZone, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msHyphenateLimitZone() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsHyphenateLimitChars, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsHyphenateLimitChars(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msHyphenateLimitChars, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msHyphenateLimitChars() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsHyphenateLimitLines, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsHyphenateLimitLines(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msHyphenateLimitLines, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msHyphenateLimitLines() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsHighContrastAdjust, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsHighContrastAdjust(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msHighContrastAdjust, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msHighContrastAdjust() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetenableBackground, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetenableBackground(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn enableBackground, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.enableBackground() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsFontFeatureSettings, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsFontFeatureSettings(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msFontFeatureSettings, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msFontFeatureSettings() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsUserSelect, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsUserSelect(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msUserSelect, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msUserSelect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsOverflowStyle, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsOverflowStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msOverflowStyle, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msOverflowStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsTransformStyle, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsTransformStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msTransformStyle, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msTransformStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsBackfaceVisibility, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsBackfaceVisibility(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msBackfaceVisibility, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msBackfaceVisibility() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsPerspective, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsPerspective(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msPerspective, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msPerspective() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsPerspectiveOrigin, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsPerspectiveOrigin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msPerspectiveOrigin, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msPerspectiveOrigin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsTransitionProperty, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsTransitionProperty(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msTransitionProperty, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msTransitionProperty() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsTransitionDuration, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsTransitionDuration(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msTransitionDuration, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msTransitionDuration() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsTransitionTimingFunction, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsTransitionTimingFunction(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msTransitionTimingFunction, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msTransitionTimingFunction() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsTransitionDelay, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsTransitionDelay(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msTransitionDelay, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msTransitionDelay() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsTransition, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsTransition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msTransition, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msTransition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsTouchAction, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsTouchAction(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msTouchAction, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msTouchAction() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsScrollTranslation, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsScrollTranslation(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msScrollTranslation, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msScrollTranslation() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsFlex, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsFlex(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msFlex, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msFlex() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsFlexPositive, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsFlexPositive(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msFlexPositive, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msFlexPositive() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsFlexNegative, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsFlexNegative(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msFlexNegative, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msFlexNegative() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsFlexPreferredSize, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsFlexPreferredSize(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msFlexPreferredSize, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msFlexPreferredSize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsFlexFlow, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsFlexFlow(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msFlexFlow, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msFlexFlow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsFlexDirection, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsFlexDirection(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msFlexDirection, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msFlexDirection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsFlexWrap, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsFlexWrap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msFlexWrap, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msFlexWrap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsFlexAlign, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsFlexAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msFlexAlign, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msFlexAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsFlexItemAlign, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsFlexItemAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msFlexItemAlign, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msFlexItemAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsFlexPack, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsFlexPack(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msFlexPack, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msFlexPack() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsFlexLinePack, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsFlexLinePack(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msFlexLinePack, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msFlexLinePack() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsFlexOrder, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsFlexOrder(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msFlexOrder, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msFlexOrder() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsTouchSelect, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsTouchSelect(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msTouchSelect, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msTouchSelect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settransform, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settransform(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn transform, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.transform() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettransformOrigin, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettransformOrigin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn transformOrigin, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.transformOrigin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettransformStyle, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettransformStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn transformStyle, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.transformStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackfaceVisibility, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackfaceVisibility(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backfaceVisibility, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backfaceVisibility() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setperspective, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setperspective(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn perspective, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.perspective() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetperspectiveOrigin, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetperspectiveOrigin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn perspectiveOrigin, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.perspectiveOrigin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettransitionProperty, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettransitionProperty(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn transitionProperty, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.transitionProperty() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettransitionDuration, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettransitionDuration(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn transitionDuration, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.transitionDuration() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettransitionTimingFunction, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettransitionTimingFunction(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn transitionTimingFunction, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.transitionTimingFunction() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettransitionDelay, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettransitionDelay(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn transitionDelay, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.transitionDelay() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settransition, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settransition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn transition, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.transition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfontFeatureSettings, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontFeatureSettings(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontFeatureSettings, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontFeatureSettings() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetanimationName, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetanimationName(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animationName, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animationName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetanimationDuration, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetanimationDuration(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animationDuration, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animationDuration() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetanimationTimingFunction, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetanimationTimingFunction(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animationTimingFunction, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animationTimingFunction() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetanimationDelay, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetanimationDelay(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animationDelay, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animationDelay() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetanimationDirection, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetanimationDirection(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animationDirection, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animationDirection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetanimationPlayState, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetanimationPlayState(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animationPlayState, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animationPlayState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetanimationIterationCount, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetanimationIterationCount(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animationIterationCount, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animationIterationCount() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setanimation, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setanimation(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animation, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animation() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetanimationFillMode, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetanimationFillMode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animationFillMode, Impl: IHTMLCSSStyleDeclaration2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animationFillMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetmsScrollChaining: SetmsScrollChaining::, - msScrollChaining: msScrollChaining::, - SetmsContentZooming: SetmsContentZooming::, - msContentZooming: msContentZooming::, - SetmsContentZoomSnapType: SetmsContentZoomSnapType::, - msContentZoomSnapType: msContentZoomSnapType::, - SetmsScrollRails: SetmsScrollRails::, - msScrollRails: msScrollRails::, - SetmsContentZoomChaining: SetmsContentZoomChaining::, - msContentZoomChaining: msContentZoomChaining::, - SetmsScrollSnapType: SetmsScrollSnapType::, - msScrollSnapType: msScrollSnapType::, - SetmsContentZoomLimit: SetmsContentZoomLimit::, - msContentZoomLimit: msContentZoomLimit::, - SetmsContentZoomSnap: SetmsContentZoomSnap::, - msContentZoomSnap: msContentZoomSnap::, - SetmsContentZoomSnapPoints: SetmsContentZoomSnapPoints::, - msContentZoomSnapPoints: msContentZoomSnapPoints::, - SetmsContentZoomLimitMin: SetmsContentZoomLimitMin::, - msContentZoomLimitMin: msContentZoomLimitMin::, - SetmsContentZoomLimitMax: SetmsContentZoomLimitMax::, - msContentZoomLimitMax: msContentZoomLimitMax::, - SetmsScrollSnapX: SetmsScrollSnapX::, - msScrollSnapX: msScrollSnapX::, - SetmsScrollSnapY: SetmsScrollSnapY::, - msScrollSnapY: msScrollSnapY::, - SetmsScrollSnapPointsX: SetmsScrollSnapPointsX::, - msScrollSnapPointsX: msScrollSnapPointsX::, - SetmsScrollSnapPointsY: SetmsScrollSnapPointsY::, - msScrollSnapPointsY: msScrollSnapPointsY::, - SetmsGridColumn: SetmsGridColumn::, - msGridColumn: msGridColumn::, - SetmsGridColumnAlign: SetmsGridColumnAlign::, - msGridColumnAlign: msGridColumnAlign::, - SetmsGridColumns: SetmsGridColumns::, - msGridColumns: msGridColumns::, - SetmsGridColumnSpan: SetmsGridColumnSpan::, - msGridColumnSpan: msGridColumnSpan::, - SetmsGridRow: SetmsGridRow::, - msGridRow: msGridRow::, - SetmsGridRowAlign: SetmsGridRowAlign::, - msGridRowAlign: msGridRowAlign::, - SetmsGridRows: SetmsGridRows::, - msGridRows: msGridRows::, - SetmsGridRowSpan: SetmsGridRowSpan::, - msGridRowSpan: msGridRowSpan::, - SetmsWrapThrough: SetmsWrapThrough::, - msWrapThrough: msWrapThrough::, - SetmsWrapMargin: SetmsWrapMargin::, - msWrapMargin: msWrapMargin::, - SetmsWrapFlow: SetmsWrapFlow::, - msWrapFlow: msWrapFlow::, - SetmsAnimationName: SetmsAnimationName::, - msAnimationName: msAnimationName::, - SetmsAnimationDuration: SetmsAnimationDuration::, - msAnimationDuration: msAnimationDuration::, - SetmsAnimationTimingFunction: SetmsAnimationTimingFunction::, - msAnimationTimingFunction: msAnimationTimingFunction::, - SetmsAnimationDelay: SetmsAnimationDelay::, - msAnimationDelay: msAnimationDelay::, - SetmsAnimationDirection: SetmsAnimationDirection::, - msAnimationDirection: msAnimationDirection::, - SetmsAnimationPlayState: SetmsAnimationPlayState::, - msAnimationPlayState: msAnimationPlayState::, - SetmsAnimationIterationCount: SetmsAnimationIterationCount::, - msAnimationIterationCount: msAnimationIterationCount::, - SetmsAnimation: SetmsAnimation::, - msAnimation: msAnimation::, - SetmsAnimationFillMode: SetmsAnimationFillMode::, - msAnimationFillMode: msAnimationFillMode::, - SetcolorInterpolationFilters: SetcolorInterpolationFilters::, - colorInterpolationFilters: colorInterpolationFilters::, - SetcolumnCount: SetcolumnCount::, - columnCount: columnCount::, - SetcolumnWidth: SetcolumnWidth::, - columnWidth: columnWidth::, - SetcolumnGap: SetcolumnGap::, - columnGap: columnGap::, - SetcolumnFill: SetcolumnFill::, - columnFill: columnFill::, - SetcolumnSpan: SetcolumnSpan::, - columnSpan: columnSpan::, - Setcolumns: Setcolumns::, - columns: columns::, - SetcolumnRule: SetcolumnRule::, - columnRule: columnRule::, - SetcolumnRuleColor: SetcolumnRuleColor::, - columnRuleColor: columnRuleColor::, - SetcolumnRuleStyle: SetcolumnRuleStyle::, - columnRuleStyle: columnRuleStyle::, - SetcolumnRuleWidth: SetcolumnRuleWidth::, - columnRuleWidth: columnRuleWidth::, - SetbreakBefore: SetbreakBefore::, - breakBefore: breakBefore::, - SetbreakAfter: SetbreakAfter::, - breakAfter: breakAfter::, - SetbreakInside: SetbreakInside::, - breakInside: breakInside::, - SetfloodColor: SetfloodColor::, - floodColor: floodColor::, - SetfloodOpacity: SetfloodOpacity::, - floodOpacity: floodOpacity::, - SetlightingColor: SetlightingColor::, - lightingColor: lightingColor::, - SetmsScrollLimitXMin: SetmsScrollLimitXMin::, - msScrollLimitXMin: msScrollLimitXMin::, - SetmsScrollLimitYMin: SetmsScrollLimitYMin::, - msScrollLimitYMin: msScrollLimitYMin::, - SetmsScrollLimitXMax: SetmsScrollLimitXMax::, - msScrollLimitXMax: msScrollLimitXMax::, - SetmsScrollLimitYMax: SetmsScrollLimitYMax::, - msScrollLimitYMax: msScrollLimitYMax::, - SetmsScrollLimit: SetmsScrollLimit::, - msScrollLimit: msScrollLimit::, - SettextShadow: SettextShadow::, - textShadow: textShadow::, - SetmsFlowFrom: SetmsFlowFrom::, - msFlowFrom: msFlowFrom::, - SetmsFlowInto: SetmsFlowInto::, - msFlowInto: msFlowInto::, - SetmsHyphens: SetmsHyphens::, - msHyphens: msHyphens::, - SetmsHyphenateLimitZone: SetmsHyphenateLimitZone::, - msHyphenateLimitZone: msHyphenateLimitZone::, - SetmsHyphenateLimitChars: SetmsHyphenateLimitChars::, - msHyphenateLimitChars: msHyphenateLimitChars::, - SetmsHyphenateLimitLines: SetmsHyphenateLimitLines::, - msHyphenateLimitLines: msHyphenateLimitLines::, - SetmsHighContrastAdjust: SetmsHighContrastAdjust::, - msHighContrastAdjust: msHighContrastAdjust::, - SetenableBackground: SetenableBackground::, - enableBackground: enableBackground::, - SetmsFontFeatureSettings: SetmsFontFeatureSettings::, - msFontFeatureSettings: msFontFeatureSettings::, - SetmsUserSelect: SetmsUserSelect::, - msUserSelect: msUserSelect::, - SetmsOverflowStyle: SetmsOverflowStyle::, - msOverflowStyle: msOverflowStyle::, - SetmsTransformStyle: SetmsTransformStyle::, - msTransformStyle: msTransformStyle::, - SetmsBackfaceVisibility: SetmsBackfaceVisibility::, - msBackfaceVisibility: msBackfaceVisibility::, - SetmsPerspective: SetmsPerspective::, - msPerspective: msPerspective::, - SetmsPerspectiveOrigin: SetmsPerspectiveOrigin::, - msPerspectiveOrigin: msPerspectiveOrigin::, - SetmsTransitionProperty: SetmsTransitionProperty::, - msTransitionProperty: msTransitionProperty::, - SetmsTransitionDuration: SetmsTransitionDuration::, - msTransitionDuration: msTransitionDuration::, - SetmsTransitionTimingFunction: SetmsTransitionTimingFunction::, - msTransitionTimingFunction: msTransitionTimingFunction::, - SetmsTransitionDelay: SetmsTransitionDelay::, - msTransitionDelay: msTransitionDelay::, - SetmsTransition: SetmsTransition::, - msTransition: msTransition::, - SetmsTouchAction: SetmsTouchAction::, - msTouchAction: msTouchAction::, - SetmsScrollTranslation: SetmsScrollTranslation::, - msScrollTranslation: msScrollTranslation::, - SetmsFlex: SetmsFlex::, - msFlex: msFlex::, - SetmsFlexPositive: SetmsFlexPositive::, - msFlexPositive: msFlexPositive::, - SetmsFlexNegative: SetmsFlexNegative::, - msFlexNegative: msFlexNegative::, - SetmsFlexPreferredSize: SetmsFlexPreferredSize::, - msFlexPreferredSize: msFlexPreferredSize::, - SetmsFlexFlow: SetmsFlexFlow::, - msFlexFlow: msFlexFlow::, - SetmsFlexDirection: SetmsFlexDirection::, - msFlexDirection: msFlexDirection::, - SetmsFlexWrap: SetmsFlexWrap::, - msFlexWrap: msFlexWrap::, - SetmsFlexAlign: SetmsFlexAlign::, - msFlexAlign: msFlexAlign::, - SetmsFlexItemAlign: SetmsFlexItemAlign::, - msFlexItemAlign: msFlexItemAlign::, - SetmsFlexPack: SetmsFlexPack::, - msFlexPack: msFlexPack::, - SetmsFlexLinePack: SetmsFlexLinePack::, - msFlexLinePack: msFlexLinePack::, - SetmsFlexOrder: SetmsFlexOrder::, - msFlexOrder: msFlexOrder::, - SetmsTouchSelect: SetmsTouchSelect::, - msTouchSelect: msTouchSelect::, - Settransform: Settransform::, - transform: transform::, - SettransformOrigin: SettransformOrigin::, - transformOrigin: transformOrigin::, - SettransformStyle: SettransformStyle::, - transformStyle: transformStyle::, - SetbackfaceVisibility: SetbackfaceVisibility::, - backfaceVisibility: backfaceVisibility::, - Setperspective: Setperspective::, - perspective: perspective::, - SetperspectiveOrigin: SetperspectiveOrigin::, - perspectiveOrigin: perspectiveOrigin::, - SettransitionProperty: SettransitionProperty::, - transitionProperty: transitionProperty::, - SettransitionDuration: SettransitionDuration::, - transitionDuration: transitionDuration::, - SettransitionTimingFunction: SettransitionTimingFunction::, - transitionTimingFunction: transitionTimingFunction::, - SettransitionDelay: SettransitionDelay::, - transitionDelay: transitionDelay::, - Settransition: Settransition::, - transition: transition::, - SetfontFeatureSettings: SetfontFeatureSettings::, - fontFeatureSettings: fontFeatureSettings::, - SetanimationName: SetanimationName::, - animationName: animationName::, - SetanimationDuration: SetanimationDuration::, - animationDuration: animationDuration::, - SetanimationTimingFunction: SetanimationTimingFunction::, - animationTimingFunction: animationTimingFunction::, - SetanimationDelay: SetanimationDelay::, - animationDelay: animationDelay::, - SetanimationDirection: SetanimationDirection::, - animationDirection: animationDirection::, - SetanimationPlayState: SetanimationPlayState::, - animationPlayState: animationPlayState::, - SetanimationIterationCount: SetanimationIterationCount::, - animationIterationCount: animationIterationCount::, - Setanimation: Setanimation::, - animation: animation::, - SetanimationFillMode: SetanimationFillMode::, - animationFillMode: animationFillMode::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCSSStyleDeclaration3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setflex(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn flex(&self) -> ::windows::core::Result; - fn SetflexDirection(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn flexDirection(&self) -> ::windows::core::Result; - fn SetflexWrap(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn flexWrap(&self) -> ::windows::core::Result; - fn SetflexFlow(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn flexFlow(&self) -> ::windows::core::Result; - fn SetflexGrow(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn flexGrow(&self) -> ::windows::core::Result; - fn SetflexShrink(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn flexShrink(&self) -> ::windows::core::Result; - fn SetflexBasis(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn flexBasis(&self) -> ::windows::core::Result; - fn SetjustifyContent(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn justifyContent(&self) -> ::windows::core::Result; - fn SetalignItems(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn alignItems(&self) -> ::windows::core::Result; - fn SetalignSelf(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn alignSelf(&self) -> ::windows::core::Result; - fn SetalignContent(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn alignContent(&self) -> ::windows::core::Result; - fn SetborderImage(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderImage(&self) -> ::windows::core::Result; - fn SetborderImageSource(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderImageSource(&self) -> ::windows::core::Result; - fn SetborderImageSlice(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderImageSlice(&self) -> ::windows::core::Result; - fn SetborderImageWidth(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderImageWidth(&self) -> ::windows::core::Result; - fn SetborderImageOutset(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderImageOutset(&self) -> ::windows::core::Result; - fn SetborderImageRepeat(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderImageRepeat(&self) -> ::windows::core::Result; - fn SetmsImeAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msImeAlign(&self) -> ::windows::core::Result; - fn SetmsTextCombineHorizontal(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msTextCombineHorizontal(&self) -> ::windows::core::Result; - fn SettouchAction(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn touchAction(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCSSStyleDeclaration3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCSSStyleDeclaration3_Vtbl { - pub const fn new, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>() -> IHTMLCSSStyleDeclaration3_Vtbl { - unsafe extern "system" fn Setflex, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setflex(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn flex, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.flex() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetflexDirection, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetflexDirection(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn flexDirection, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.flexDirection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetflexWrap, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetflexWrap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn flexWrap, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.flexWrap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetflexFlow, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetflexFlow(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn flexFlow, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.flexFlow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetflexGrow, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetflexGrow(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn flexGrow, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.flexGrow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetflexShrink, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetflexShrink(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn flexShrink, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.flexShrink() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetflexBasis, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetflexBasis(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn flexBasis, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.flexBasis() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetjustifyContent, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetjustifyContent(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn justifyContent, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.justifyContent() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetalignItems, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetalignItems(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn alignItems, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.alignItems() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetalignSelf, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetalignSelf(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn alignSelf, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.alignSelf() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetalignContent, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetalignContent(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn alignContent, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.alignContent() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderImage, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderImage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderImage, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderImage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderImageSource, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderImageSource(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderImageSource, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderImageSource() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderImageSlice, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderImageSlice(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderImageSlice, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderImageSlice() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderImageWidth, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderImageWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderImageWidth, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderImageWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderImageOutset, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderImageOutset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderImageOutset, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderImageOutset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderImageRepeat, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderImageRepeat(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderImageRepeat, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderImageRepeat() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsImeAlign, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsImeAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msImeAlign, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msImeAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsTextCombineHorizontal, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsTextCombineHorizontal(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msTextCombineHorizontal, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msTextCombineHorizontal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettouchAction, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettouchAction(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn touchAction, Impl: IHTMLCSSStyleDeclaration3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.touchAction() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setflex: Setflex::, - flex: flex::, - SetflexDirection: SetflexDirection::, - flexDirection: flexDirection::, - SetflexWrap: SetflexWrap::, - flexWrap: flexWrap::, - SetflexFlow: SetflexFlow::, - flexFlow: flexFlow::, - SetflexGrow: SetflexGrow::, - flexGrow: flexGrow::, - SetflexShrink: SetflexShrink::, - flexShrink: flexShrink::, - SetflexBasis: SetflexBasis::, - flexBasis: flexBasis::, - SetjustifyContent: SetjustifyContent::, - justifyContent: justifyContent::, - SetalignItems: SetalignItems::, - alignItems: alignItems::, - SetalignSelf: SetalignSelf::, - alignSelf: alignSelf::, - SetalignContent: SetalignContent::, - alignContent: alignContent::, - SetborderImage: SetborderImage::, - borderImage: borderImage::, - SetborderImageSource: SetborderImageSource::, - borderImageSource: borderImageSource::, - SetborderImageSlice: SetborderImageSlice::, - borderImageSlice: borderImageSlice::, - SetborderImageWidth: SetborderImageWidth::, - borderImageWidth: borderImageWidth::, - SetborderImageOutset: SetborderImageOutset::, - borderImageOutset: borderImageOutset::, - SetborderImageRepeat: SetborderImageRepeat::, - borderImageRepeat: borderImageRepeat::, - SetmsImeAlign: SetmsImeAlign::, - msImeAlign: msImeAlign::, - SetmsTextCombineHorizontal: SetmsTextCombineHorizontal::, - msTextCombineHorizontal: msTextCombineHorizontal::, - SettouchAction: SettouchAction::, - touchAction: touchAction::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCSSStyleDeclaration4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetwebkitAppearance(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitAppearance(&self) -> ::windows::core::Result; - fn SetwebkitUserSelect(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitUserSelect(&self) -> ::windows::core::Result; - fn SetwebkitBoxAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBoxAlign(&self) -> ::windows::core::Result; - fn SetwebkitBoxOrdinalGroup(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn webkitBoxOrdinalGroup(&self) -> ::windows::core::Result; - fn SetwebkitBoxPack(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBoxPack(&self) -> ::windows::core::Result; - fn SetwebkitBoxFlex(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn webkitBoxFlex(&self) -> ::windows::core::Result; - fn SetwebkitBoxOrient(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBoxOrient(&self) -> ::windows::core::Result; - fn SetwebkitBoxDirection(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBoxDirection(&self) -> ::windows::core::Result; - fn SetwebkitTransform(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitTransform(&self) -> ::windows::core::Result; - fn SetwebkitBackgroundSize(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBackgroundSize(&self) -> ::windows::core::Result; - fn SetwebkitBackfaceVisibility(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBackfaceVisibility(&self) -> ::windows::core::Result; - fn SetwebkitAnimation(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitAnimation(&self) -> ::windows::core::Result; - fn SetwebkitTransition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitTransition(&self) -> ::windows::core::Result; - fn SetwebkitAnimationName(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitAnimationName(&self) -> ::windows::core::Result; - fn SetwebkitAnimationDuration(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitAnimationDuration(&self) -> ::windows::core::Result; - fn SetwebkitAnimationTimingFunction(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitAnimationTimingFunction(&self) -> ::windows::core::Result; - fn SetwebkitAnimationDelay(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitAnimationDelay(&self) -> ::windows::core::Result; - fn SetwebkitAnimationIterationCount(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitAnimationIterationCount(&self) -> ::windows::core::Result; - fn SetwebkitAnimationDirection(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitAnimationDirection(&self) -> ::windows::core::Result; - fn SetwebkitAnimationPlayState(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitAnimationPlayState(&self) -> ::windows::core::Result; - fn SetwebkitTransitionProperty(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitTransitionProperty(&self) -> ::windows::core::Result; - fn SetwebkitTransitionDuration(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitTransitionDuration(&self) -> ::windows::core::Result; - fn SetwebkitTransitionTimingFunction(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitTransitionTimingFunction(&self) -> ::windows::core::Result; - fn SetwebkitTransitionDelay(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitTransitionDelay(&self) -> ::windows::core::Result; - fn SetwebkitBackgroundAttachment(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBackgroundAttachment(&self) -> ::windows::core::Result; - fn SetwebkitBackgroundColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn webkitBackgroundColor(&self) -> ::windows::core::Result; - fn SetwebkitBackgroundClip(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBackgroundClip(&self) -> ::windows::core::Result; - fn SetwebkitBackgroundImage(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBackgroundImage(&self) -> ::windows::core::Result; - fn SetwebkitBackgroundRepeat(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBackgroundRepeat(&self) -> ::windows::core::Result; - fn SetwebkitBackgroundOrigin(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBackgroundOrigin(&self) -> ::windows::core::Result; - fn SetwebkitBackgroundPosition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBackgroundPosition(&self) -> ::windows::core::Result; - fn SetwebkitBackgroundPositionX(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn webkitBackgroundPositionX(&self) -> ::windows::core::Result; - fn SetwebkitBackgroundPositionY(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn webkitBackgroundPositionY(&self) -> ::windows::core::Result; - fn SetwebkitBackground(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBackground(&self) -> ::windows::core::Result; - fn SetwebkitTransformOrigin(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitTransformOrigin(&self) -> ::windows::core::Result; - fn SetmsTextSizeAdjust(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn msTextSizeAdjust(&self) -> ::windows::core::Result; - fn SetwebkitTextSizeAdjust(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn webkitTextSizeAdjust(&self) -> ::windows::core::Result; - fn SetwebkitBorderImage(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBorderImage(&self) -> ::windows::core::Result; - fn SetwebkitBorderImageSource(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBorderImageSource(&self) -> ::windows::core::Result; - fn SetwebkitBorderImageSlice(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBorderImageSlice(&self) -> ::windows::core::Result; - fn SetwebkitBorderImageWidth(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBorderImageWidth(&self) -> ::windows::core::Result; - fn SetwebkitBorderImageOutset(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBorderImageOutset(&self) -> ::windows::core::Result; - fn SetwebkitBorderImageRepeat(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBorderImageRepeat(&self) -> ::windows::core::Result; - fn SetwebkitBoxSizing(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitBoxSizing(&self) -> ::windows::core::Result; - fn SetwebkitAnimationFillMode(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn webkitAnimationFillMode(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCSSStyleDeclaration4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCSSStyleDeclaration4_Vtbl { - pub const fn new, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>() -> IHTMLCSSStyleDeclaration4_Vtbl { - unsafe extern "system" fn SetwebkitAppearance, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitAppearance(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitAppearance, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitAppearance() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitUserSelect, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitUserSelect(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitUserSelect, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitUserSelect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBoxAlign, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBoxAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBoxAlign, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBoxAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBoxOrdinalGroup, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBoxOrdinalGroup(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBoxOrdinalGroup, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBoxOrdinalGroup() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBoxPack, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBoxPack(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBoxPack, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBoxPack() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBoxFlex, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBoxFlex(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBoxFlex, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBoxFlex() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBoxOrient, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBoxOrient(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBoxOrient, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBoxOrient() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBoxDirection, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBoxDirection(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBoxDirection, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBoxDirection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitTransform, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitTransform(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitTransform, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitTransform() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBackgroundSize, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBackgroundSize(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBackgroundSize, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBackgroundSize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBackfaceVisibility, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBackfaceVisibility(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBackfaceVisibility, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBackfaceVisibility() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitAnimation, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitAnimation(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitAnimation, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitAnimation() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitTransition, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitTransition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitTransition, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitTransition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitAnimationName, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitAnimationName(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitAnimationName, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitAnimationName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitAnimationDuration, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitAnimationDuration(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitAnimationDuration, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitAnimationDuration() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitAnimationTimingFunction, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitAnimationTimingFunction(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitAnimationTimingFunction, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitAnimationTimingFunction() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitAnimationDelay, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitAnimationDelay(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitAnimationDelay, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitAnimationDelay() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitAnimationIterationCount, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitAnimationIterationCount(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitAnimationIterationCount, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitAnimationIterationCount() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitAnimationDirection, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitAnimationDirection(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitAnimationDirection, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitAnimationDirection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitAnimationPlayState, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitAnimationPlayState(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitAnimationPlayState, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitAnimationPlayState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitTransitionProperty, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitTransitionProperty(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitTransitionProperty, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitTransitionProperty() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitTransitionDuration, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitTransitionDuration(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitTransitionDuration, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitTransitionDuration() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitTransitionTimingFunction, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitTransitionTimingFunction(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitTransitionTimingFunction, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitTransitionTimingFunction() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitTransitionDelay, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitTransitionDelay(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitTransitionDelay, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitTransitionDelay() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBackgroundAttachment, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBackgroundAttachment(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBackgroundAttachment, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBackgroundAttachment() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBackgroundColor, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBackgroundColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBackgroundColor, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBackgroundColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBackgroundClip, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBackgroundClip(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBackgroundClip, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBackgroundClip() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBackgroundImage, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBackgroundImage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBackgroundImage, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBackgroundImage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBackgroundRepeat, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBackgroundRepeat(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBackgroundRepeat, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBackgroundRepeat() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBackgroundOrigin, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBackgroundOrigin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBackgroundOrigin, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBackgroundOrigin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBackgroundPosition, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBackgroundPosition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBackgroundPosition, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBackgroundPosition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBackgroundPositionX, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBackgroundPositionX(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBackgroundPositionX, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBackgroundPositionX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBackgroundPositionY, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBackgroundPositionY(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBackgroundPositionY, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBackgroundPositionY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBackground, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBackground(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBackground, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBackground() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitTransformOrigin, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitTransformOrigin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitTransformOrigin, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitTransformOrigin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsTextSizeAdjust, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsTextSizeAdjust(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msTextSizeAdjust, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msTextSizeAdjust() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitTextSizeAdjust, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitTextSizeAdjust(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitTextSizeAdjust, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitTextSizeAdjust() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBorderImage, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBorderImage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBorderImage, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBorderImage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBorderImageSource, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBorderImageSource(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBorderImageSource, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBorderImageSource() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBorderImageSlice, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBorderImageSlice(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBorderImageSlice, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBorderImageSlice() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBorderImageWidth, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBorderImageWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBorderImageWidth, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBorderImageWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBorderImageOutset, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBorderImageOutset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBorderImageOutset, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBorderImageOutset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBorderImageRepeat, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBorderImageRepeat(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBorderImageRepeat, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBorderImageRepeat() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitBoxSizing, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitBoxSizing(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitBoxSizing, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitBoxSizing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwebkitAnimationFillMode, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwebkitAnimationFillMode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn webkitAnimationFillMode, Impl: IHTMLCSSStyleDeclaration4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.webkitAnimationFillMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetwebkitAppearance: SetwebkitAppearance::, - webkitAppearance: webkitAppearance::, - SetwebkitUserSelect: SetwebkitUserSelect::, - webkitUserSelect: webkitUserSelect::, - SetwebkitBoxAlign: SetwebkitBoxAlign::, - webkitBoxAlign: webkitBoxAlign::, - SetwebkitBoxOrdinalGroup: SetwebkitBoxOrdinalGroup::, - webkitBoxOrdinalGroup: webkitBoxOrdinalGroup::, - SetwebkitBoxPack: SetwebkitBoxPack::, - webkitBoxPack: webkitBoxPack::, - SetwebkitBoxFlex: SetwebkitBoxFlex::, - webkitBoxFlex: webkitBoxFlex::, - SetwebkitBoxOrient: SetwebkitBoxOrient::, - webkitBoxOrient: webkitBoxOrient::, - SetwebkitBoxDirection: SetwebkitBoxDirection::, - webkitBoxDirection: webkitBoxDirection::, - SetwebkitTransform: SetwebkitTransform::, - webkitTransform: webkitTransform::, - SetwebkitBackgroundSize: SetwebkitBackgroundSize::, - webkitBackgroundSize: webkitBackgroundSize::, - SetwebkitBackfaceVisibility: SetwebkitBackfaceVisibility::, - webkitBackfaceVisibility: webkitBackfaceVisibility::, - SetwebkitAnimation: SetwebkitAnimation::, - webkitAnimation: webkitAnimation::, - SetwebkitTransition: SetwebkitTransition::, - webkitTransition: webkitTransition::, - SetwebkitAnimationName: SetwebkitAnimationName::, - webkitAnimationName: webkitAnimationName::, - SetwebkitAnimationDuration: SetwebkitAnimationDuration::, - webkitAnimationDuration: webkitAnimationDuration::, - SetwebkitAnimationTimingFunction: SetwebkitAnimationTimingFunction::, - webkitAnimationTimingFunction: webkitAnimationTimingFunction::, - SetwebkitAnimationDelay: SetwebkitAnimationDelay::, - webkitAnimationDelay: webkitAnimationDelay::, - SetwebkitAnimationIterationCount: SetwebkitAnimationIterationCount::, - webkitAnimationIterationCount: webkitAnimationIterationCount::, - SetwebkitAnimationDirection: SetwebkitAnimationDirection::, - webkitAnimationDirection: webkitAnimationDirection::, - SetwebkitAnimationPlayState: SetwebkitAnimationPlayState::, - webkitAnimationPlayState: webkitAnimationPlayState::, - SetwebkitTransitionProperty: SetwebkitTransitionProperty::, - webkitTransitionProperty: webkitTransitionProperty::, - SetwebkitTransitionDuration: SetwebkitTransitionDuration::, - webkitTransitionDuration: webkitTransitionDuration::, - SetwebkitTransitionTimingFunction: SetwebkitTransitionTimingFunction::, - webkitTransitionTimingFunction: webkitTransitionTimingFunction::, - SetwebkitTransitionDelay: SetwebkitTransitionDelay::, - webkitTransitionDelay: webkitTransitionDelay::, - SetwebkitBackgroundAttachment: SetwebkitBackgroundAttachment::, - webkitBackgroundAttachment: webkitBackgroundAttachment::, - SetwebkitBackgroundColor: SetwebkitBackgroundColor::, - webkitBackgroundColor: webkitBackgroundColor::, - SetwebkitBackgroundClip: SetwebkitBackgroundClip::, - webkitBackgroundClip: webkitBackgroundClip::, - SetwebkitBackgroundImage: SetwebkitBackgroundImage::, - webkitBackgroundImage: webkitBackgroundImage::, - SetwebkitBackgroundRepeat: SetwebkitBackgroundRepeat::, - webkitBackgroundRepeat: webkitBackgroundRepeat::, - SetwebkitBackgroundOrigin: SetwebkitBackgroundOrigin::, - webkitBackgroundOrigin: webkitBackgroundOrigin::, - SetwebkitBackgroundPosition: SetwebkitBackgroundPosition::, - webkitBackgroundPosition: webkitBackgroundPosition::, - SetwebkitBackgroundPositionX: SetwebkitBackgroundPositionX::, - webkitBackgroundPositionX: webkitBackgroundPositionX::, - SetwebkitBackgroundPositionY: SetwebkitBackgroundPositionY::, - webkitBackgroundPositionY: webkitBackgroundPositionY::, - SetwebkitBackground: SetwebkitBackground::, - webkitBackground: webkitBackground::, - SetwebkitTransformOrigin: SetwebkitTransformOrigin::, - webkitTransformOrigin: webkitTransformOrigin::, - SetmsTextSizeAdjust: SetmsTextSizeAdjust::, - msTextSizeAdjust: msTextSizeAdjust::, - SetwebkitTextSizeAdjust: SetwebkitTextSizeAdjust::, - webkitTextSizeAdjust: webkitTextSizeAdjust::, - SetwebkitBorderImage: SetwebkitBorderImage::, - webkitBorderImage: webkitBorderImage::, - SetwebkitBorderImageSource: SetwebkitBorderImageSource::, - webkitBorderImageSource: webkitBorderImageSource::, - SetwebkitBorderImageSlice: SetwebkitBorderImageSlice::, - webkitBorderImageSlice: webkitBorderImageSlice::, - SetwebkitBorderImageWidth: SetwebkitBorderImageWidth::, - webkitBorderImageWidth: webkitBorderImageWidth::, - SetwebkitBorderImageOutset: SetwebkitBorderImageOutset::, - webkitBorderImageOutset: webkitBorderImageOutset::, - SetwebkitBorderImageRepeat: SetwebkitBorderImageRepeat::, - webkitBorderImageRepeat: webkitBorderImageRepeat::, - SetwebkitBoxSizing: SetwebkitBoxSizing::, - webkitBoxSizing: webkitBoxSizing::, - SetwebkitAnimationFillMode: SetwebkitAnimationFillMode::, - webkitAnimationFillMode: webkitAnimationFillMode::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCanvasElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setwidth(&self, v: i32) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn Setheight(&self, v: i32) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; - fn getContext(&self, contextid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn toDataURL(&self, r#type: &super::super::Foundation::BSTR, jpegquality: &super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCanvasElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCanvasElement_Vtbl { - pub const fn new, Impl: IHTMLCanvasElement_Impl, const OFFSET: isize>() -> IHTMLCanvasElement_Vtbl { - unsafe extern "system" fn Setwidth, Impl: IHTMLCanvasElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLCanvasElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setheight, Impl: IHTMLCanvasElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheight(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn height, Impl: IHTMLCanvasElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getContext, Impl: IHTMLCanvasElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, contextid: ::core::mem::ManuallyDrop, ppcontext: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getContext(::core::mem::transmute(&contextid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppcontext, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn toDataURL, Impl: IHTMLCanvasElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, r#type: ::core::mem::ManuallyDrop, jpegquality: ::core::mem::ManuallyDrop, purl: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toDataURL(::core::mem::transmute(&r#type), ::core::mem::transmute(&jpegquality)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(purl, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setwidth: Setwidth::, - width: width::, - Setheight: Setheight::, - height: height::, - getContext: getContext::, - toDataURL: toDataURL::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IHTMLCaret_Impl: Sized { - fn MoveCaretToPointer(&self, pdisppointer: &::core::option::Option, fscrollintoview: super::super::Foundation::BOOL, edir: CARET_DIRECTION) -> ::windows::core::Result<()>; - fn MoveCaretToPointerEx(&self, pdisppointer: &::core::option::Option, fvisible: super::super::Foundation::BOOL, fscrollintoview: super::super::Foundation::BOOL, edir: CARET_DIRECTION) -> ::windows::core::Result<()>; - fn MoveMarkupPointerToCaret(&self, pimarkuppointer: &::core::option::Option) -> ::windows::core::Result<()>; - fn MoveDisplayPointerToCaret(&self, pdisppointer: &::core::option::Option) -> ::windows::core::Result<()>; - fn IsVisible(&self) -> ::windows::core::Result; - fn Show(&self, fscrollintoview: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; - fn Hide(&self) -> ::windows::core::Result<()>; - fn InsertText(&self, ptext: &::windows::core::PCWSTR, llen: i32) -> ::windows::core::Result<()>; - fn ScrollIntoView(&self) -> ::windows::core::Result<()>; - fn GetLocation(&self, ppoint: *mut super::super::Foundation::POINT, ftranslate: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; - fn GetCaretDirection(&self) -> ::windows::core::Result; - fn SetCaretDirection(&self, edir: CARET_DIRECTION) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IHTMLCaret {} -#[cfg(feature = "Win32_Foundation")] -impl IHTMLCaret_Vtbl { - pub const fn new, Impl: IHTMLCaret_Impl, const OFFSET: isize>() -> IHTMLCaret_Vtbl { - unsafe extern "system" fn MoveCaretToPointer, Impl: IHTMLCaret_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdisppointer: *mut ::core::ffi::c_void, fscrollintoview: super::super::Foundation::BOOL, edir: CARET_DIRECTION) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveCaretToPointer(::core::mem::transmute(&pdisppointer), ::core::mem::transmute_copy(&fscrollintoview), ::core::mem::transmute_copy(&edir)).into() - } - unsafe extern "system" fn MoveCaretToPointerEx, Impl: IHTMLCaret_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdisppointer: *mut ::core::ffi::c_void, fvisible: super::super::Foundation::BOOL, fscrollintoview: super::super::Foundation::BOOL, edir: CARET_DIRECTION) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveCaretToPointerEx(::core::mem::transmute(&pdisppointer), ::core::mem::transmute_copy(&fvisible), ::core::mem::transmute_copy(&fscrollintoview), ::core::mem::transmute_copy(&edir)).into() - } - unsafe extern "system" fn MoveMarkupPointerToCaret, Impl: IHTMLCaret_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pimarkuppointer: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveMarkupPointerToCaret(::core::mem::transmute(&pimarkuppointer)).into() - } - unsafe extern "system" fn MoveDisplayPointerToCaret, Impl: IHTMLCaret_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdisppointer: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveDisplayPointerToCaret(::core::mem::transmute(&pdisppointer)).into() - } - unsafe extern "system" fn IsVisible, Impl: IHTMLCaret_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pisvisible: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsVisible() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pisvisible, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Show, Impl: IHTMLCaret_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fscrollintoview: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Show(::core::mem::transmute_copy(&fscrollintoview)).into() - } - unsafe extern "system" fn Hide, Impl: IHTMLCaret_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Hide().into() - } - unsafe extern "system" fn InsertText, Impl: IHTMLCaret_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ptext: ::windows::core::PCWSTR, llen: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.InsertText(::core::mem::transmute(&ptext), ::core::mem::transmute_copy(&llen)).into() - } - unsafe extern "system" fn ScrollIntoView, Impl: IHTMLCaret_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ScrollIntoView().into() - } - unsafe extern "system" fn GetLocation, Impl: IHTMLCaret_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppoint: *mut super::super::Foundation::POINT, ftranslate: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetLocation(::core::mem::transmute_copy(&ppoint), ::core::mem::transmute_copy(&ftranslate)).into() - } - unsafe extern "system" fn GetCaretDirection, Impl: IHTMLCaret_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pedir: *mut CARET_DIRECTION) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetCaretDirection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pedir, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetCaretDirection, Impl: IHTMLCaret_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, edir: CARET_DIRECTION) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetCaretDirection(::core::mem::transmute_copy(&edir)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - MoveCaretToPointer: MoveCaretToPointer::, - MoveCaretToPointerEx: MoveCaretToPointerEx::, - MoveMarkupPointerToCaret: MoveMarkupPointerToCaret::, - MoveDisplayPointerToCaret: MoveDisplayPointerToCaret::, - IsVisible: IsVisible::, - Show: Show::, - Hide: Hide::, - InsertText: InsertText::, - ScrollIntoView: ScrollIntoView::, - GetLocation: GetLocation::, - GetCaretDirection: GetCaretDirection::, - SetCaretDirection: SetCaretDirection::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IHTMLChangeLog_Impl: Sized { - fn GetNextChange(&self, pbbuffer: *const u8, nbuffersize: i32) -> ::windows::core::Result; -} -impl ::windows::core::RuntimeName for IHTMLChangeLog {} -impl IHTMLChangeLog_Vtbl { - pub const fn new, Impl: IHTMLChangeLog_Impl, const OFFSET: isize>() -> IHTMLChangeLog_Vtbl { - unsafe extern "system" fn GetNextChange, Impl: IHTMLChangeLog_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbbuffer: *const u8, nbuffersize: i32, pnrecordlength: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetNextChange(::core::mem::transmute_copy(&pbbuffer), ::core::mem::transmute_copy(&nbuffersize)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pnrecordlength, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), GetNextChange: GetNextChange:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IHTMLChangePlayback_Impl: Sized { - fn ExecChange(&self, pbrecord: *const u8, fforward: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IHTMLChangePlayback {} -#[cfg(feature = "Win32_Foundation")] -impl IHTMLChangePlayback_Vtbl { - pub const fn new, Impl: IHTMLChangePlayback_Impl, const OFFSET: isize>() -> IHTMLChangePlayback_Vtbl { - unsafe extern "system" fn ExecChange, Impl: IHTMLChangePlayback_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbrecord: *const u8, fforward: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ExecChange(::core::mem::transmute_copy(&pbrecord), ::core::mem::transmute_copy(&fforward)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), ExecChange: ExecChange:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IHTMLChangeSink_Impl: Sized { - fn Notify(&self) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IHTMLChangeSink {} -impl IHTMLChangeSink_Vtbl { - pub const fn new, Impl: IHTMLChangeSink_Impl, const OFFSET: isize>() -> IHTMLChangeSink_Vtbl { - unsafe extern "system" fn Notify, Impl: IHTMLChangeSink_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Notify().into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), Notify: Notify:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCommentElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Settext(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn text(&self) -> ::windows::core::Result; - fn Setatomic(&self, v: i32) -> ::windows::core::Result<()>; - fn atomic(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCommentElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCommentElement_Vtbl { - pub const fn new, Impl: IHTMLCommentElement_Impl, const OFFSET: isize>() -> IHTMLCommentElement_Vtbl { - unsafe extern "system" fn Settext, Impl: IHTMLCommentElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settext(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn text, Impl: IHTMLCommentElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.text() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setatomic, Impl: IHTMLCommentElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setatomic(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn atomic, Impl: IHTMLCommentElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.atomic() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Settext: Settext::, - text: text::, - Setatomic: Setatomic::, - atomic: atomic::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCommentElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setdata(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn data(&self) -> ::windows::core::Result; - fn length(&self) -> ::windows::core::Result; - fn substringData(&self, offset: i32, count: i32) -> ::windows::core::Result; - fn appendData(&self, bstrstring: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn insertData(&self, offset: i32, bstrstring: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn deleteData(&self, offset: i32, count: i32) -> ::windows::core::Result<()>; - fn replaceData(&self, offset: i32, count: i32, bstrstring: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCommentElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCommentElement2_Vtbl { - pub const fn new, Impl: IHTMLCommentElement2_Impl, const OFFSET: isize>() -> IHTMLCommentElement2_Vtbl { - unsafe extern "system" fn Setdata, Impl: IHTMLCommentElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdata(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn data, Impl: IHTMLCommentElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.data() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn length, Impl: IHTMLCommentElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn substringData, Impl: IHTMLCommentElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, count: i32, pbstrsubstring: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.substringData(::core::mem::transmute_copy(&offset), ::core::mem::transmute_copy(&count)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrsubstring, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn appendData, Impl: IHTMLCommentElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.appendData(::core::mem::transmute(&bstrstring)).into() - } - unsafe extern "system" fn insertData, Impl: IHTMLCommentElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.insertData(::core::mem::transmute_copy(&offset), ::core::mem::transmute(&bstrstring)).into() - } - unsafe extern "system" fn deleteData, Impl: IHTMLCommentElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, count: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteData(::core::mem::transmute_copy(&offset), ::core::mem::transmute_copy(&count)).into() - } - unsafe extern "system" fn replaceData, Impl: IHTMLCommentElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, count: i32, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.replaceData(::core::mem::transmute_copy(&offset), ::core::mem::transmute_copy(&count), ::core::mem::transmute(&bstrstring)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setdata: Setdata::, - data: data::, - length: length::, - substringData: substringData::, - appendData: appendData::, - insertData: insertData::, - deleteData: deleteData::, - replaceData: replaceData::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCommentElement3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn substringData(&self, offset: i32, count: i32) -> ::windows::core::Result; - fn insertData(&self, offset: i32, bstrstring: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn deleteData(&self, offset: i32, count: i32) -> ::windows::core::Result<()>; - fn replaceData(&self, offset: i32, count: i32, bstrstring: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCommentElement3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCommentElement3_Vtbl { - pub const fn new, Impl: IHTMLCommentElement3_Impl, const OFFSET: isize>() -> IHTMLCommentElement3_Vtbl { - unsafe extern "system" fn substringData, Impl: IHTMLCommentElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, count: i32, pbstrsubstring: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.substringData(::core::mem::transmute_copy(&offset), ::core::mem::transmute_copy(&count)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrsubstring, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertData, Impl: IHTMLCommentElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.insertData(::core::mem::transmute_copy(&offset), ::core::mem::transmute(&bstrstring)).into() - } - unsafe extern "system" fn deleteData, Impl: IHTMLCommentElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, count: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteData(::core::mem::transmute_copy(&offset), ::core::mem::transmute_copy(&count)).into() - } - unsafe extern "system" fn replaceData, Impl: IHTMLCommentElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, count: i32, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.replaceData(::core::mem::transmute_copy(&offset), ::core::mem::transmute_copy(&count), ::core::mem::transmute(&bstrstring)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - substringData: substringData::, - insertData: insertData::, - deleteData: deleteData::, - replaceData: replaceData::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -pub trait IHTMLComputedStyle_Impl: Sized { - fn bold(&self) -> ::windows::core::Result; - fn italic(&self) -> ::windows::core::Result; - fn underline(&self) -> ::windows::core::Result; - fn overline(&self) -> ::windows::core::Result; - fn strikeOut(&self) -> ::windows::core::Result; - fn subScript(&self) -> ::windows::core::Result; - fn superScript(&self) -> ::windows::core::Result; - fn explicitFace(&self) -> ::windows::core::Result; - fn fontWeight(&self) -> ::windows::core::Result; - fn fontSize(&self) -> ::windows::core::Result; - fn fontName(&self) -> ::windows::core::Result; - fn hasBgColor(&self) -> ::windows::core::Result; - fn textColor(&self) -> ::windows::core::Result; - fn backgroundColor(&self) -> ::windows::core::Result; - fn preFormatted(&self) -> ::windows::core::Result; - fn direction(&self) -> ::windows::core::Result; - fn blockDirection(&self) -> ::windows::core::Result; - fn OL(&self) -> ::windows::core::Result; - fn IsEqual(&self, pcomputedstyle: &::core::option::Option) -> ::windows::core::Result; -} -impl ::windows::core::RuntimeName for IHTMLComputedStyle {} -impl IHTMLComputedStyle_Vtbl { - pub const fn new, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>() -> IHTMLComputedStyle_Vtbl { - unsafe extern "system" fn bold, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bold() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn italic, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.italic() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn underline, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.underline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn overline, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.overline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn strikeOut, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.strikeOut() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn subScript, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.subScript() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn superScript, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.superScript() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn explicitFace, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.explicitFace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fontWeight, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontWeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fontSize, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontSize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fontName, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i8) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn hasBgColor, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasBgColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn textColor, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn backgroundColor, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn preFormatted, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.preFormatted() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn direction, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.direction() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn blockDirection, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.blockDirection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn OL, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.OL() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn IsEqual, Impl: IHTMLComputedStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pcomputedstyle: *mut ::core::ffi::c_void, pfequal: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsEqual(::core::mem::transmute(&pcomputedstyle)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfequal, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - bold: bold::, - italic: italic::, - underline: underline::, - overline: overline::, - strikeOut: strikeOut::, - subScript: subScript::, - superScript: superScript::, - explicitFace: explicitFace::, - fontWeight: fontWeight::, - fontSize: fontSize::, - fontName: fontName::, - hasBgColor: hasBgColor::, - textColor: textColor::, - backgroundColor: backgroundColor::, - preFormatted: preFormatted::, - direction: direction::, - blockDirection: blockDirection::, - OL: OL::, - IsEqual: IsEqual::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLControlElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SettabIndex(&self, v: i16) -> ::windows::core::Result<()>; - fn tabIndex(&self) -> ::windows::core::Result; - fn focus(&self) -> ::windows::core::Result<()>; - fn SetaccessKey(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn accessKey(&self) -> ::windows::core::Result; - fn Setonblur(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onblur(&self) -> ::windows::core::Result; - fn Setonfocus(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onfocus(&self) -> ::windows::core::Result; - fn Setonresize(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onresize(&self) -> ::windows::core::Result; - fn blur(&self) -> ::windows::core::Result<()>; - fn addFilter(&self, punk: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; - fn removeFilter(&self, punk: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; - fn clientHeight(&self) -> ::windows::core::Result; - fn clientWidth(&self) -> ::windows::core::Result; - fn clientTop(&self) -> ::windows::core::Result; - fn clientLeft(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLControlElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLControlElement_Vtbl { - pub const fn new, Impl: IHTMLControlElement_Impl, const OFFSET: isize>() -> IHTMLControlElement_Vtbl { - unsafe extern "system" fn SettabIndex, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettabIndex(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn tabIndex, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tabIndex() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn focus, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.focus().into() - } - unsafe extern "system" fn SetaccessKey, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetaccessKey(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn accessKey, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.accessKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonblur, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonblur(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onblur, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onblur() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonfocus, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonfocus(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onfocus, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onfocus() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonresize, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonresize(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onresize, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onresize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn blur, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.blur().into() - } - unsafe extern "system" fn addFilter, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, punk: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.addFilter(::core::mem::transmute(&punk)).into() - } - unsafe extern "system" fn removeFilter, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, punk: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.removeFilter(::core::mem::transmute(&punk)).into() - } - unsafe extern "system" fn clientHeight, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clientWidth, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clientTop, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clientLeft, Impl: IHTMLControlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SettabIndex: SettabIndex::, - tabIndex: tabIndex::, - focus: focus::, - SetaccessKey: SetaccessKey::, - accessKey: accessKey::, - Setonblur: Setonblur::, - onblur: onblur::, - Setonfocus: Setonfocus::, - onfocus: onfocus::, - Setonresize: Setonresize::, - onresize: onresize::, - blur: blur::, - addFilter: addFilter::, - removeFilter: removeFilter::, - clientHeight: clientHeight::, - clientWidth: clientWidth::, - clientTop: clientTop::, - clientLeft: clientLeft::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLControlRange_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn select(&self) -> ::windows::core::Result<()>; - fn add(&self, item: &::core::option::Option) -> ::windows::core::Result<()>; - fn remove(&self, index: i32) -> ::windows::core::Result<()>; - fn item(&self, index: i32) -> ::windows::core::Result; - fn scrollIntoView(&self, varargstart: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn queryCommandSupported(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn queryCommandEnabled(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn queryCommandState(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn queryCommandIndeterm(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn queryCommandText(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn queryCommandValue(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn execCommand(&self, cmdid: &super::super::Foundation::BSTR, showui: i16, value: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn execCommandShowHelp(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn commonParentElement(&self) -> ::windows::core::Result; - fn length(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLControlRange {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLControlRange_Vtbl { - pub const fn new, Impl: IHTMLControlRange_Impl, const OFFSET: isize>() -> IHTMLControlRange_Vtbl { - unsafe extern "system" fn select, Impl: IHTMLControlRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.select().into() - } - unsafe extern "system" fn add, Impl: IHTMLControlRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, item: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.add(::core::mem::transmute(&item)).into() - } - unsafe extern "system" fn remove, Impl: IHTMLControlRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.remove(::core::mem::transmute_copy(&index)).into() - } - unsafe extern "system" fn item, Impl: IHTMLControlRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scrollIntoView, Impl: IHTMLControlRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, varargstart: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.scrollIntoView(::core::mem::transmute(&varargstart)).into() - } - unsafe extern "system" fn queryCommandSupported, Impl: IHTMLControlRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandSupported(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn queryCommandEnabled, Impl: IHTMLControlRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandEnabled(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn queryCommandState, Impl: IHTMLControlRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandState(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn queryCommandIndeterm, Impl: IHTMLControlRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandIndeterm(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn queryCommandText, Impl: IHTMLControlRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pcmdtext: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandText(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pcmdtext, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn queryCommandValue, Impl: IHTMLControlRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pcmdvalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandValue(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pcmdvalue, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn execCommand, Impl: IHTMLControlRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, showui: i16, value: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.execCommand(::core::mem::transmute(&cmdid), ::core::mem::transmute_copy(&showui), ::core::mem::transmute(&value)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn execCommandShowHelp, Impl: IHTMLControlRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.execCommandShowHelp(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn commonParentElement, Impl: IHTMLControlRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, parent: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.commonParentElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(parent, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn length, Impl: IHTMLControlRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - select: select::, - add: add::, - remove: remove::, - item: item::, - scrollIntoView: scrollIntoView::, - queryCommandSupported: queryCommandSupported::, - queryCommandEnabled: queryCommandEnabled::, - queryCommandState: queryCommandState::, - queryCommandIndeterm: queryCommandIndeterm::, - queryCommandText: queryCommandText::, - queryCommandValue: queryCommandValue::, - execCommand: execCommand::, - execCommandShowHelp: execCommandShowHelp::, - commonParentElement: commonParentElement::, - length: length::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLControlRange2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn addElement(&self, item: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLControlRange2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLControlRange2_Vtbl { - pub const fn new, Impl: IHTMLControlRange2_Impl, const OFFSET: isize>() -> IHTMLControlRange2_Vtbl { - unsafe extern "system" fn addElement, Impl: IHTMLControlRange2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, item: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.addElement(::core::mem::transmute(&item)).into() - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), addElement: addElement:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCurrentStyle_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn position(&self) -> ::windows::core::Result; - fn styleFloat(&self) -> ::windows::core::Result; - fn color(&self) -> ::windows::core::Result; - fn backgroundColor(&self) -> ::windows::core::Result; - fn fontFamily(&self) -> ::windows::core::Result; - fn fontStyle(&self) -> ::windows::core::Result; - fn fontVariant(&self) -> ::windows::core::Result; - fn fontWeight(&self) -> ::windows::core::Result; - fn fontSize(&self) -> ::windows::core::Result; - fn backgroundImage(&self) -> ::windows::core::Result; - fn backgroundPositionX(&self) -> ::windows::core::Result; - fn backgroundPositionY(&self) -> ::windows::core::Result; - fn backgroundRepeat(&self) -> ::windows::core::Result; - fn borderLeftColor(&self) -> ::windows::core::Result; - fn borderTopColor(&self) -> ::windows::core::Result; - fn borderRightColor(&self) -> ::windows::core::Result; - fn borderBottomColor(&self) -> ::windows::core::Result; - fn borderTopStyle(&self) -> ::windows::core::Result; - fn borderRightStyle(&self) -> ::windows::core::Result; - fn borderBottomStyle(&self) -> ::windows::core::Result; - fn borderLeftStyle(&self) -> ::windows::core::Result; - fn borderTopWidth(&self) -> ::windows::core::Result; - fn borderRightWidth(&self) -> ::windows::core::Result; - fn borderBottomWidth(&self) -> ::windows::core::Result; - fn borderLeftWidth(&self) -> ::windows::core::Result; - fn left(&self) -> ::windows::core::Result; - fn top(&self) -> ::windows::core::Result; - fn width(&self) -> ::windows::core::Result; - fn height(&self) -> ::windows::core::Result; - fn paddingLeft(&self) -> ::windows::core::Result; - fn paddingTop(&self) -> ::windows::core::Result; - fn paddingRight(&self) -> ::windows::core::Result; - fn paddingBottom(&self) -> ::windows::core::Result; - fn textAlign(&self) -> ::windows::core::Result; - fn textDecoration(&self) -> ::windows::core::Result; - fn display(&self) -> ::windows::core::Result; - fn visibility(&self) -> ::windows::core::Result; - fn zIndex(&self) -> ::windows::core::Result; - fn letterSpacing(&self) -> ::windows::core::Result; - fn lineHeight(&self) -> ::windows::core::Result; - fn textIndent(&self) -> ::windows::core::Result; - fn verticalAlign(&self) -> ::windows::core::Result; - fn backgroundAttachment(&self) -> ::windows::core::Result; - fn marginTop(&self) -> ::windows::core::Result; - fn marginRight(&self) -> ::windows::core::Result; - fn marginBottom(&self) -> ::windows::core::Result; - fn marginLeft(&self) -> ::windows::core::Result; - fn clear(&self) -> ::windows::core::Result; - fn listStyleType(&self) -> ::windows::core::Result; - fn listStylePosition(&self) -> ::windows::core::Result; - fn listStyleImage(&self) -> ::windows::core::Result; - fn clipTop(&self) -> ::windows::core::Result; - fn clipRight(&self) -> ::windows::core::Result; - fn clipBottom(&self) -> ::windows::core::Result; - fn clipLeft(&self) -> ::windows::core::Result; - fn overflow(&self) -> ::windows::core::Result; - fn pageBreakBefore(&self) -> ::windows::core::Result; - fn pageBreakAfter(&self) -> ::windows::core::Result; - fn cursor(&self) -> ::windows::core::Result; - fn tableLayout(&self) -> ::windows::core::Result; - fn borderCollapse(&self) -> ::windows::core::Result; - fn direction(&self) -> ::windows::core::Result; - fn behavior(&self) -> ::windows::core::Result; - fn getAttribute(&self, strattributename: &super::super::Foundation::BSTR, lflags: i32) -> ::windows::core::Result; - fn unicodeBidi(&self) -> ::windows::core::Result; - fn right(&self) -> ::windows::core::Result; - fn bottom(&self) -> ::windows::core::Result; - fn imeMode(&self) -> ::windows::core::Result; - fn rubyAlign(&self) -> ::windows::core::Result; - fn rubyPosition(&self) -> ::windows::core::Result; - fn rubyOverhang(&self) -> ::windows::core::Result; - fn textAutospace(&self) -> ::windows::core::Result; - fn lineBreak(&self) -> ::windows::core::Result; - fn wordBreak(&self) -> ::windows::core::Result; - fn textJustify(&self) -> ::windows::core::Result; - fn textJustifyTrim(&self) -> ::windows::core::Result; - fn textKashida(&self) -> ::windows::core::Result; - fn blockDirection(&self) -> ::windows::core::Result; - fn layoutGridChar(&self) -> ::windows::core::Result; - fn layoutGridLine(&self) -> ::windows::core::Result; - fn layoutGridMode(&self) -> ::windows::core::Result; - fn layoutGridType(&self) -> ::windows::core::Result; - fn borderStyle(&self) -> ::windows::core::Result; - fn borderColor(&self) -> ::windows::core::Result; - fn borderWidth(&self) -> ::windows::core::Result; - fn padding(&self) -> ::windows::core::Result; - fn margin(&self) -> ::windows::core::Result; - fn accelerator(&self) -> ::windows::core::Result; - fn overflowX(&self) -> ::windows::core::Result; - fn overflowY(&self) -> ::windows::core::Result; - fn textTransform(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCurrentStyle {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCurrentStyle_Vtbl { - pub const fn new, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>() -> IHTMLCurrentStyle_Vtbl { - unsafe extern "system" fn position, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.position() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn styleFloat, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.styleFloat() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn color, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.color() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn backgroundColor, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fontFamily, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontFamily() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fontStyle, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fontVariant, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontVariant() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fontWeight, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontWeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fontSize, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontSize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn backgroundImage, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundImage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn backgroundPositionX, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundPositionX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn backgroundPositionY, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundPositionY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn backgroundRepeat, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundRepeat() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn borderLeftColor, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderLeftColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn borderTopColor, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderTopColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn borderRightColor, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderRightColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn borderBottomColor, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderBottomColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn borderTopStyle, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderTopStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn borderRightStyle, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderRightStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn borderBottomStyle, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderBottomStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn borderLeftStyle, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderLeftStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn borderTopWidth, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderTopWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn borderRightWidth, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderRightWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn borderBottomWidth, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderBottomWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn borderLeftWidth, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderLeftWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn left, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.left() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn top, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.top() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn width, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn height, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn paddingLeft, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.paddingLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn paddingTop, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.paddingTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn paddingRight, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.paddingRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn paddingBottom, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.paddingBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn textAlign, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn textDecoration, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textDecoration() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn display, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.display() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn visibility, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.visibility() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn zIndex, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.zIndex() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn letterSpacing, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.letterSpacing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn lineHeight, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lineHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn textIndent, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textIndent() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn verticalAlign, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.verticalAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn backgroundAttachment, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundAttachment() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn marginTop, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn marginRight, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn marginBottom, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn marginLeft, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clear, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clear() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn listStyleType, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.listStyleType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn listStylePosition, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.listStylePosition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn listStyleImage, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.listStyleImage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clipTop, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clipTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clipRight, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clipRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clipBottom, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clipBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clipLeft, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clipLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn overflow, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.overflow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn pageBreakBefore, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageBreakBefore() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn pageBreakAfter, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageBreakAfter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn cursor, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cursor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn tableLayout, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tableLayout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn borderCollapse, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderCollapse() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn direction, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.direction() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn behavior, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.behavior() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getAttribute, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, attributevalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getAttribute(::core::mem::transmute(&strattributename), ::core::mem::transmute_copy(&lflags)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(attributevalue, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn unicodeBidi, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.unicodeBidi() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn right, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.right() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn bottom, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn imeMode, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.imeMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn rubyAlign, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rubyAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn rubyPosition, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rubyPosition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn rubyOverhang, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rubyOverhang() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn textAutospace, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textAutospace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn lineBreak, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lineBreak() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn wordBreak, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.wordBreak() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn textJustify, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textJustify() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn textJustifyTrim, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textJustifyTrim() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn textKashida, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textKashida() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn blockDirection, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.blockDirection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn layoutGridChar, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGridChar() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn layoutGridLine, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGridLine() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn layoutGridMode, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGridMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn layoutGridType, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGridType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn borderStyle, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn borderColor, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn borderWidth, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn padding, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.padding() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn margin, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.margin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn accelerator, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.accelerator() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn overflowX, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.overflowX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn overflowY, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.overflowY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn textTransform, Impl: IHTMLCurrentStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textTransform() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - position: position::, - styleFloat: styleFloat::, - color: color::, - backgroundColor: backgroundColor::, - fontFamily: fontFamily::, - fontStyle: fontStyle::, - fontVariant: fontVariant::, - fontWeight: fontWeight::, - fontSize: fontSize::, - backgroundImage: backgroundImage::, - backgroundPositionX: backgroundPositionX::, - backgroundPositionY: backgroundPositionY::, - backgroundRepeat: backgroundRepeat::, - borderLeftColor: borderLeftColor::, - borderTopColor: borderTopColor::, - borderRightColor: borderRightColor::, - borderBottomColor: borderBottomColor::, - borderTopStyle: borderTopStyle::, - borderRightStyle: borderRightStyle::, - borderBottomStyle: borderBottomStyle::, - borderLeftStyle: borderLeftStyle::, - borderTopWidth: borderTopWidth::, - borderRightWidth: borderRightWidth::, - borderBottomWidth: borderBottomWidth::, - borderLeftWidth: borderLeftWidth::, - left: left::, - top: top::, - width: width::, - height: height::, - paddingLeft: paddingLeft::, - paddingTop: paddingTop::, - paddingRight: paddingRight::, - paddingBottom: paddingBottom::, - textAlign: textAlign::, - textDecoration: textDecoration::, - display: display::, - visibility: visibility::, - zIndex: zIndex::, - letterSpacing: letterSpacing::, - lineHeight: lineHeight::, - textIndent: textIndent::, - verticalAlign: verticalAlign::, - backgroundAttachment: backgroundAttachment::, - marginTop: marginTop::, - marginRight: marginRight::, - marginBottom: marginBottom::, - marginLeft: marginLeft::, - clear: clear::, - listStyleType: listStyleType::, - listStylePosition: listStylePosition::, - listStyleImage: listStyleImage::, - clipTop: clipTop::, - clipRight: clipRight::, - clipBottom: clipBottom::, - clipLeft: clipLeft::, - overflow: overflow::, - pageBreakBefore: pageBreakBefore::, - pageBreakAfter: pageBreakAfter::, - cursor: cursor::, - tableLayout: tableLayout::, - borderCollapse: borderCollapse::, - direction: direction::, - behavior: behavior::, - getAttribute: getAttribute::, - unicodeBidi: unicodeBidi::, - right: right::, - bottom: bottom::, - imeMode: imeMode::, - rubyAlign: rubyAlign::, - rubyPosition: rubyPosition::, - rubyOverhang: rubyOverhang::, - textAutospace: textAutospace::, - lineBreak: lineBreak::, - wordBreak: wordBreak::, - textJustify: textJustify::, - textJustifyTrim: textJustifyTrim::, - textKashida: textKashida::, - blockDirection: blockDirection::, - layoutGridChar: layoutGridChar::, - layoutGridLine: layoutGridLine::, - layoutGridMode: layoutGridMode::, - layoutGridType: layoutGridType::, - borderStyle: borderStyle::, - borderColor: borderColor::, - borderWidth: borderWidth::, - padding: padding::, - margin: margin::, - accelerator: accelerator::, - overflowX: overflowX::, - overflowY: overflowY::, - textTransform: textTransform::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCurrentStyle2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn layoutFlow(&self) -> ::windows::core::Result; - fn wordWrap(&self) -> ::windows::core::Result; - fn textUnderlinePosition(&self) -> ::windows::core::Result; - fn hasLayout(&self) -> ::windows::core::Result; - fn scrollbarBaseColor(&self) -> ::windows::core::Result; - fn scrollbarFaceColor(&self) -> ::windows::core::Result; - fn scrollbar3dLightColor(&self) -> ::windows::core::Result; - fn scrollbarShadowColor(&self) -> ::windows::core::Result; - fn scrollbarHighlightColor(&self) -> ::windows::core::Result; - fn scrollbarDarkShadowColor(&self) -> ::windows::core::Result; - fn scrollbarArrowColor(&self) -> ::windows::core::Result; - fn scrollbarTrackColor(&self) -> ::windows::core::Result; - fn writingMode(&self) -> ::windows::core::Result; - fn zoom(&self) -> ::windows::core::Result; - fn filter(&self) -> ::windows::core::Result; - fn textAlignLast(&self) -> ::windows::core::Result; - fn textKashidaSpace(&self) -> ::windows::core::Result; - fn isBlock(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCurrentStyle2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCurrentStyle2_Vtbl { - pub const fn new, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>() -> IHTMLCurrentStyle2_Vtbl { - unsafe extern "system" fn layoutFlow, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutFlow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn wordWrap, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.wordWrap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn textUnderlinePosition, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textUnderlinePosition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn hasLayout, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasLayout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scrollbarBaseColor, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarBaseColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scrollbarFaceColor, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarFaceColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scrollbar3dLightColor, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbar3dLightColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scrollbarShadowColor, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarShadowColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scrollbarHighlightColor, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarHighlightColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scrollbarDarkShadowColor, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarDarkShadowColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scrollbarArrowColor, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarArrowColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scrollbarTrackColor, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarTrackColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn writingMode, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.writingMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn zoom, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.zoom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn filter, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.filter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn textAlignLast, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textAlignLast() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn textKashidaSpace, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textKashidaSpace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn isBlock, Impl: IHTMLCurrentStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isBlock() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - layoutFlow: layoutFlow::, - wordWrap: wordWrap::, - textUnderlinePosition: textUnderlinePosition::, - hasLayout: hasLayout::, - scrollbarBaseColor: scrollbarBaseColor::, - scrollbarFaceColor: scrollbarFaceColor::, - scrollbar3dLightColor: scrollbar3dLightColor::, - scrollbarShadowColor: scrollbarShadowColor::, - scrollbarHighlightColor: scrollbarHighlightColor::, - scrollbarDarkShadowColor: scrollbarDarkShadowColor::, - scrollbarArrowColor: scrollbarArrowColor::, - scrollbarTrackColor: scrollbarTrackColor::, - writingMode: writingMode::, - zoom: zoom::, - filter: filter::, - textAlignLast: textAlignLast::, - textKashidaSpace: textKashidaSpace::, - isBlock: isBlock::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCurrentStyle3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn textOverflow(&self) -> ::windows::core::Result; - fn minHeight(&self) -> ::windows::core::Result; - fn wordSpacing(&self) -> ::windows::core::Result; - fn whiteSpace(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCurrentStyle3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCurrentStyle3_Vtbl { - pub const fn new, Impl: IHTMLCurrentStyle3_Impl, const OFFSET: isize>() -> IHTMLCurrentStyle3_Vtbl { - unsafe extern "system" fn textOverflow, Impl: IHTMLCurrentStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textOverflow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn minHeight, Impl: IHTMLCurrentStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.minHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn wordSpacing, Impl: IHTMLCurrentStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.wordSpacing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn whiteSpace, Impl: IHTMLCurrentStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.whiteSpace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - textOverflow: textOverflow::, - minHeight: minHeight::, - wordSpacing: wordSpacing::, - whiteSpace: whiteSpace::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCurrentStyle4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn msInterpolationMode(&self) -> ::windows::core::Result; - fn maxHeight(&self) -> ::windows::core::Result; - fn minWidth(&self) -> ::windows::core::Result; - fn maxWidth(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCurrentStyle4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCurrentStyle4_Vtbl { - pub const fn new, Impl: IHTMLCurrentStyle4_Impl, const OFFSET: isize>() -> IHTMLCurrentStyle4_Vtbl { - unsafe extern "system" fn msInterpolationMode, Impl: IHTMLCurrentStyle4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msInterpolationMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn maxHeight, Impl: IHTMLCurrentStyle4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.maxHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn minWidth, Impl: IHTMLCurrentStyle4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.minWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn maxWidth, Impl: IHTMLCurrentStyle4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.maxWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - msInterpolationMode: msInterpolationMode::, - maxHeight: maxHeight::, - minWidth: minWidth::, - maxWidth: maxWidth::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLCurrentStyle5_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn captionSide(&self) -> ::windows::core::Result; - fn outline(&self) -> ::windows::core::Result; - fn outlineWidth(&self) -> ::windows::core::Result; - fn outlineStyle(&self) -> ::windows::core::Result; - fn outlineColor(&self) -> ::windows::core::Result; - fn boxSizing(&self) -> ::windows::core::Result; - fn borderSpacing(&self) -> ::windows::core::Result; - fn orphans(&self) -> ::windows::core::Result; - fn widows(&self) -> ::windows::core::Result; - fn pageBreakInside(&self) -> ::windows::core::Result; - fn emptyCells(&self) -> ::windows::core::Result; - fn msBlockProgression(&self) -> ::windows::core::Result; - fn quotes(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLCurrentStyle5 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLCurrentStyle5_Vtbl { - pub const fn new, Impl: IHTMLCurrentStyle5_Impl, const OFFSET: isize>() -> IHTMLCurrentStyle5_Vtbl { - unsafe extern "system" fn captionSide, Impl: IHTMLCurrentStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.captionSide() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn outline, Impl: IHTMLCurrentStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn outlineWidth, Impl: IHTMLCurrentStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outlineWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn outlineStyle, Impl: IHTMLCurrentStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outlineStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn outlineColor, Impl: IHTMLCurrentStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outlineColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn boxSizing, Impl: IHTMLCurrentStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.boxSizing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn borderSpacing, Impl: IHTMLCurrentStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderSpacing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn orphans, Impl: IHTMLCurrentStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.orphans() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn widows, Impl: IHTMLCurrentStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.widows() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn pageBreakInside, Impl: IHTMLCurrentStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageBreakInside() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn emptyCells, Impl: IHTMLCurrentStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.emptyCells() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn msBlockProgression, Impl: IHTMLCurrentStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msBlockProgression() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn quotes, Impl: IHTMLCurrentStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.quotes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - captionSide: captionSide::, - outline: outline::, - outlineWidth: outlineWidth::, - outlineStyle: outlineStyle::, - outlineColor: outlineColor::, - boxSizing: boxSizing::, - borderSpacing: borderSpacing::, - orphans: orphans::, - widows: widows::, - pageBreakInside: pageBreakInside::, - emptyCells: emptyCells::, - msBlockProgression: msBlockProgression::, - quotes: quotes::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDDElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetnoWrap(&self, v: i16) -> ::windows::core::Result<()>; - fn noWrap(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDDElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDDElement_Vtbl { - pub const fn new, Impl: IHTMLDDElement_Impl, const OFFSET: isize>() -> IHTMLDDElement_Vtbl { - unsafe extern "system" fn SetnoWrap, Impl: IHTMLDDElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnoWrap(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn noWrap, Impl: IHTMLDDElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.noWrap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetnoWrap: SetnoWrap::, - noWrap: noWrap::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDListElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcompact(&self, v: i16) -> ::windows::core::Result<()>; - fn compact(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDListElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDListElement_Vtbl { - pub const fn new, Impl: IHTMLDListElement_Impl, const OFFSET: isize>() -> IHTMLDListElement_Vtbl { - unsafe extern "system" fn Setcompact, Impl: IHTMLDListElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcompact(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn compact, Impl: IHTMLDListElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.compact() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcompact: Setcompact::, - compact: compact::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDOMAttribute_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn nodeName(&self) -> ::windows::core::Result; - fn SetnodeValue(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn nodeValue(&self) -> ::windows::core::Result; - fn specified(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDOMAttribute {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDOMAttribute_Vtbl { - pub const fn new, Impl: IHTMLDOMAttribute_Impl, const OFFSET: isize>() -> IHTMLDOMAttribute_Vtbl { - unsafe extern "system" fn nodeName, Impl: IHTMLDOMAttribute_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nodeName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetnodeValue, Impl: IHTMLDOMAttribute_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnodeValue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn nodeValue, Impl: IHTMLDOMAttribute_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nodeValue() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn specified, Impl: IHTMLDOMAttribute_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.specified() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - nodeName: nodeName::, - SetnodeValue: SetnodeValue::, - nodeValue: nodeValue::, - specified: specified::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDOMAttribute2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn name(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn expando(&self) -> ::windows::core::Result; - fn nodeType(&self) -> ::windows::core::Result; - fn parentNode(&self) -> ::windows::core::Result; - fn childNodes(&self) -> ::windows::core::Result; - fn firstChild(&self) -> ::windows::core::Result; - fn lastChild(&self) -> ::windows::core::Result; - fn previousSibling(&self) -> ::windows::core::Result; - fn nextSibling(&self) -> ::windows::core::Result; - fn attributes(&self) -> ::windows::core::Result; - fn ownerDocument(&self) -> ::windows::core::Result; - fn insertBefore(&self, newchild: &::core::option::Option, refchild: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn replaceChild(&self, newchild: &::core::option::Option, oldchild: &::core::option::Option) -> ::windows::core::Result; - fn removeChild(&self, oldchild: &::core::option::Option) -> ::windows::core::Result; - fn appendChild(&self, newchild: &::core::option::Option) -> ::windows::core::Result; - fn hasChildNodes(&self) -> ::windows::core::Result; - fn cloneNode(&self, fdeep: i16) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDOMAttribute2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDOMAttribute2_Vtbl { - pub const fn new, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>() -> IHTMLDOMAttribute2_Vtbl { - unsafe extern "system" fn name, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn expando, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.expando() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn nodeType, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nodeType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn parentNode, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.parentNode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn childNodes, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.childNodes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn firstChild, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.firstChild() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn lastChild, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lastChild() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn previousSibling, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.previousSibling() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn nextSibling, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nextSibling() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn attributes, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.attributes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn ownerDocument, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ownerDocument() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertBefore, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, refchild: ::core::mem::ManuallyDrop, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertBefore(::core::mem::transmute(&newchild), ::core::mem::transmute(&refchild)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(node, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn replaceChild, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, oldchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.replaceChild(::core::mem::transmute(&newchild), ::core::mem::transmute(&oldchild)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(node, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeChild, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, oldchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeChild(::core::mem::transmute(&oldchild)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(node, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn appendChild, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.appendChild(::core::mem::transmute(&newchild)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(node, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn hasChildNodes, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fchildren: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasChildNodes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(fchildren, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn cloneNode, Impl: IHTMLDOMAttribute2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fdeep: i16, clonednode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cloneNode(::core::mem::transmute_copy(&fdeep)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(clonednode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - name: name::, - Setvalue: Setvalue::, - value: value::, - expando: expando::, - nodeType: nodeType::, - parentNode: parentNode::, - childNodes: childNodes::, - firstChild: firstChild::, - lastChild: lastChild::, - previousSibling: previousSibling::, - nextSibling: nextSibling::, - attributes: attributes::, - ownerDocument: ownerDocument::, - insertBefore: insertBefore::, - replaceChild: replaceChild::, - removeChild: removeChild::, - appendChild: appendChild::, - hasChildNodes: hasChildNodes::, - cloneNode: cloneNode::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDOMAttribute3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetnodeValue(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn nodeValue(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn specified(&self) -> ::windows::core::Result; - fn ownerElement(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDOMAttribute3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDOMAttribute3_Vtbl { - pub const fn new, Impl: IHTMLDOMAttribute3_Impl, const OFFSET: isize>() -> IHTMLDOMAttribute3_Vtbl { - unsafe extern "system" fn SetnodeValue, Impl: IHTMLDOMAttribute3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnodeValue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn nodeValue, Impl: IHTMLDOMAttribute3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nodeValue() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: IHTMLDOMAttribute3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLDOMAttribute3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn specified, Impl: IHTMLDOMAttribute3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.specified() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn ownerElement, Impl: IHTMLDOMAttribute3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ownerElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetnodeValue: SetnodeValue::, - nodeValue: nodeValue::, - Setvalue: Setvalue::, - value: value::, - specified: specified::, - ownerElement: ownerElement::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDOMAttribute4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetnodeValue(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn nodeValue(&self) -> ::windows::core::Result; - fn nodeName(&self) -> ::windows::core::Result; - fn name(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn firstChild(&self) -> ::windows::core::Result; - fn lastChild(&self) -> ::windows::core::Result; - fn childNodes(&self) -> ::windows::core::Result; - fn hasAttributes(&self) -> ::windows::core::Result; - fn hasChildNodes(&self) -> ::windows::core::Result; - fn normalize(&self) -> ::windows::core::Result<()>; - fn specified(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDOMAttribute4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDOMAttribute4_Vtbl { - pub const fn new, Impl: IHTMLDOMAttribute4_Impl, const OFFSET: isize>() -> IHTMLDOMAttribute4_Vtbl { - unsafe extern "system" fn SetnodeValue, Impl: IHTMLDOMAttribute4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnodeValue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn nodeValue, Impl: IHTMLDOMAttribute4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nodeValue() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn nodeName, Impl: IHTMLDOMAttribute4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nodeName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn name, Impl: IHTMLDOMAttribute4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: IHTMLDOMAttribute4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLDOMAttribute4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn firstChild, Impl: IHTMLDOMAttribute4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.firstChild() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn lastChild, Impl: IHTMLDOMAttribute4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lastChild() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn childNodes, Impl: IHTMLDOMAttribute4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.childNodes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn hasAttributes, Impl: IHTMLDOMAttribute4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfhasattributes: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasAttributes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfhasattributes, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn hasChildNodes, Impl: IHTMLDOMAttribute4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fchildren: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasChildNodes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(fchildren, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn normalize, Impl: IHTMLDOMAttribute4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.normalize().into() - } - unsafe extern "system" fn specified, Impl: IHTMLDOMAttribute4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.specified() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetnodeValue: SetnodeValue::, - nodeValue: nodeValue::, - nodeName: nodeName::, - name: name::, - Setvalue: Setvalue::, - value: value::, - firstChild: firstChild::, - lastChild: lastChild::, - childNodes: childNodes::, - hasAttributes: hasAttributes::, - hasChildNodes: hasChildNodes::, - normalize: normalize::, - specified: specified::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDOMChildrenCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn item(&self, index: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDOMChildrenCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDOMChildrenCollection_Vtbl { - pub const fn new, Impl: IHTMLDOMChildrenCollection_Impl, const OFFSET: isize>() -> IHTMLDOMChildrenCollection_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLDOMChildrenCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn _newEnum, Impl: IHTMLDOMChildrenCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this._newEnum() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLDOMChildrenCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppitem: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppitem, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - _newEnum: _newEnum::, - item: item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDOMChildrenCollection2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn item(&self, index: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDOMChildrenCollection2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDOMChildrenCollection2_Vtbl { - pub const fn new, Impl: IHTMLDOMChildrenCollection2_Impl, const OFFSET: isize>() -> IHTMLDOMChildrenCollection2_Vtbl { - unsafe extern "system" fn item, Impl: IHTMLDOMChildrenCollection2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppitem: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppitem, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), item: item:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDOMConstructor_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn constructor(&self) -> ::windows::core::Result; - fn LookupGetter(&self, propname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn LookupSetter(&self, propname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn DefineGetter(&self, propname: &super::super::Foundation::BSTR, pdisphandler: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn DefineSetter(&self, propname: &super::super::Foundation::BSTR, pdisphandler: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDOMConstructor {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDOMConstructor_Vtbl { - pub const fn new, Impl: IHTMLDOMConstructor_Impl, const OFFSET: isize>() -> IHTMLDOMConstructor_Vtbl { - unsafe extern "system" fn constructor, Impl: IHTMLDOMConstructor_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.constructor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn LookupGetter, Impl: IHTMLDOMConstructor_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, ppdisphandler: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.LookupGetter(::core::mem::transmute(&propname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppdisphandler, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn LookupSetter, Impl: IHTMLDOMConstructor_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, ppdisphandler: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.LookupSetter(::core::mem::transmute(&propname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppdisphandler, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn DefineGetter, Impl: IHTMLDOMConstructor_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, pdisphandler: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.DefineGetter(::core::mem::transmute(&propname), ::core::mem::transmute_copy(&pdisphandler)).into() - } - unsafe extern "system" fn DefineSetter, Impl: IHTMLDOMConstructor_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, pdisphandler: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.DefineSetter(::core::mem::transmute(&propname), ::core::mem::transmute_copy(&pdisphandler)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - constructor: constructor::, - LookupGetter: LookupGetter::, - LookupSetter: LookupSetter::, - DefineGetter: DefineGetter::, - DefineSetter: DefineSetter::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDOMConstructorCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Attr(&self) -> ::windows::core::Result; - fn BehaviorUrnsCollection(&self) -> ::windows::core::Result; - fn BookmarkCollection(&self) -> ::windows::core::Result; - fn CompatibleInfo(&self) -> ::windows::core::Result; - fn CompatibleInfoCollection(&self) -> ::windows::core::Result; - fn ControlRangeCollection(&self) -> ::windows::core::Result; - fn CSSCurrentStyleDeclaration(&self) -> ::windows::core::Result; - fn CSSRuleList(&self) -> ::windows::core::Result; - fn CSSRuleStyleDeclaration(&self) -> ::windows::core::Result; - fn CSSStyleDeclaration(&self) -> ::windows::core::Result; - fn CSSStyleRule(&self) -> ::windows::core::Result; - fn CSSStyleSheet(&self) -> ::windows::core::Result; - fn DataTransfer(&self) -> ::windows::core::Result; - fn DOMImplementation(&self) -> ::windows::core::Result; - fn Element(&self) -> ::windows::core::Result; - fn Event(&self) -> ::windows::core::Result; - fn History(&self) -> ::windows::core::Result; - fn HTCElementBehaviorDefaults(&self) -> ::windows::core::Result; - fn HTMLAnchorElement(&self) -> ::windows::core::Result; - fn HTMLAreaElement(&self) -> ::windows::core::Result; - fn HTMLAreasCollection(&self) -> ::windows::core::Result; - fn HTMLBaseElement(&self) -> ::windows::core::Result; - fn HTMLBaseFontElement(&self) -> ::windows::core::Result; - fn HTMLBGSoundElement(&self) -> ::windows::core::Result; - fn HTMLBlockElement(&self) -> ::windows::core::Result; - fn HTMLBodyElement(&self) -> ::windows::core::Result; - fn HTMLBRElement(&self) -> ::windows::core::Result; - fn HTMLButtonElement(&self) -> ::windows::core::Result; - fn HTMLCollection(&self) -> ::windows::core::Result; - fn HTMLCommentElement(&self) -> ::windows::core::Result; - fn HTMLDDElement(&self) -> ::windows::core::Result; - fn HTMLDivElement(&self) -> ::windows::core::Result; - fn HTMLDocument(&self) -> ::windows::core::Result; - fn HTMLDListElement(&self) -> ::windows::core::Result; - fn HTMLDTElement(&self) -> ::windows::core::Result; - fn HTMLEmbedElement(&self) -> ::windows::core::Result; - fn HTMLFieldSetElement(&self) -> ::windows::core::Result; - fn HTMLFontElement(&self) -> ::windows::core::Result; - fn HTMLFormElement(&self) -> ::windows::core::Result; - fn HTMLFrameElement(&self) -> ::windows::core::Result; - fn HTMLFrameSetElement(&self) -> ::windows::core::Result; - fn HTMLGenericElement(&self) -> ::windows::core::Result; - fn HTMLHeadElement(&self) -> ::windows::core::Result; - fn HTMLHeadingElement(&self) -> ::windows::core::Result; - fn HTMLHRElement(&self) -> ::windows::core::Result; - fn HTMLHtmlElement(&self) -> ::windows::core::Result; - fn HTMLIFrameElement(&self) -> ::windows::core::Result; - fn HTMLImageElement(&self) -> ::windows::core::Result; - fn HTMLInputElement(&self) -> ::windows::core::Result; - fn HTMLIsIndexElement(&self) -> ::windows::core::Result; - fn HTMLLabelElement(&self) -> ::windows::core::Result; - fn HTMLLegendElement(&self) -> ::windows::core::Result; - fn HTMLLIElement(&self) -> ::windows::core::Result; - fn HTMLLinkElement(&self) -> ::windows::core::Result; - fn HTMLMapElement(&self) -> ::windows::core::Result; - fn HTMLMarqueeElement(&self) -> ::windows::core::Result; - fn HTMLMetaElement(&self) -> ::windows::core::Result; - fn HTMLModelessDialog(&self) -> ::windows::core::Result; - fn HTMLNamespaceInfo(&self) -> ::windows::core::Result; - fn HTMLNamespaceInfoCollection(&self) -> ::windows::core::Result; - fn HTMLNextIdElement(&self) -> ::windows::core::Result; - fn HTMLNoShowElement(&self) -> ::windows::core::Result; - fn HTMLObjectElement(&self) -> ::windows::core::Result; - fn HTMLOListElement(&self) -> ::windows::core::Result; - fn HTMLOptionElement(&self) -> ::windows::core::Result; - fn HTMLParagraphElement(&self) -> ::windows::core::Result; - fn HTMLParamElement(&self) -> ::windows::core::Result; - fn HTMLPhraseElement(&self) -> ::windows::core::Result; - fn HTMLPluginsCollection(&self) -> ::windows::core::Result; - fn HTMLPopup(&self) -> ::windows::core::Result; - fn HTMLScriptElement(&self) -> ::windows::core::Result; - fn HTMLSelectElement(&self) -> ::windows::core::Result; - fn HTMLSpanElement(&self) -> ::windows::core::Result; - fn HTMLStyleElement(&self) -> ::windows::core::Result; - fn HTMLTableCaptionElement(&self) -> ::windows::core::Result; - fn HTMLTableCellElement(&self) -> ::windows::core::Result; - fn HTMLTableColElement(&self) -> ::windows::core::Result; - fn HTMLTableElement(&self) -> ::windows::core::Result; - fn HTMLTableRowElement(&self) -> ::windows::core::Result; - fn HTMLTableSectionElement(&self) -> ::windows::core::Result; - fn HTMLTextAreaElement(&self) -> ::windows::core::Result; - fn HTMLTextElement(&self) -> ::windows::core::Result; - fn HTMLTitleElement(&self) -> ::windows::core::Result; - fn HTMLUListElement(&self) -> ::windows::core::Result; - fn HTMLUnknownElement(&self) -> ::windows::core::Result; - fn Image(&self) -> ::windows::core::Result; - fn Location(&self) -> ::windows::core::Result; - fn NamedNodeMap(&self) -> ::windows::core::Result; - fn Navigator(&self) -> ::windows::core::Result; - fn NodeList(&self) -> ::windows::core::Result; - fn Option(&self) -> ::windows::core::Result; - fn Screen(&self) -> ::windows::core::Result; - fn Selection(&self) -> ::windows::core::Result; - fn StaticNodeList(&self) -> ::windows::core::Result; - fn Storage(&self) -> ::windows::core::Result; - fn StyleSheetList(&self) -> ::windows::core::Result; - fn StyleSheetPage(&self) -> ::windows::core::Result; - fn StyleSheetPageList(&self) -> ::windows::core::Result; - fn Text(&self) -> ::windows::core::Result; - fn TextRange(&self) -> ::windows::core::Result; - fn TextRangeCollection(&self) -> ::windows::core::Result; - fn TextRectangle(&self) -> ::windows::core::Result; - fn TextRectangleList(&self) -> ::windows::core::Result; - fn Window(&self) -> ::windows::core::Result; - fn XDomainRequest(&self) -> ::windows::core::Result; - fn XMLHttpRequest(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDOMConstructorCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDOMConstructorCollection_Vtbl { - pub const fn new, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>() -> IHTMLDOMConstructorCollection_Vtbl { - unsafe extern "system" fn Attr, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Attr() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn BehaviorUrnsCollection, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.BehaviorUrnsCollection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn BookmarkCollection, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.BookmarkCollection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn CompatibleInfo, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CompatibleInfo() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn CompatibleInfoCollection, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CompatibleInfoCollection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn ControlRangeCollection, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ControlRangeCollection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn CSSCurrentStyleDeclaration, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CSSCurrentStyleDeclaration() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn CSSRuleList, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CSSRuleList() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn CSSRuleStyleDeclaration, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CSSRuleStyleDeclaration() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn CSSStyleDeclaration, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CSSStyleDeclaration() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn CSSStyleRule, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CSSStyleRule() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn CSSStyleSheet, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CSSStyleSheet() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn DataTransfer, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.DataTransfer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn DOMImplementation, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.DOMImplementation() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Element, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Element() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Event, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Event() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn History, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.History() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTCElementBehaviorDefaults, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTCElementBehaviorDefaults() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLAnchorElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLAnchorElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLAreaElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLAreaElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLAreasCollection, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLAreasCollection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLBaseElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLBaseElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLBaseFontElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLBaseFontElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLBGSoundElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLBGSoundElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLBlockElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLBlockElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLBodyElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLBodyElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLBRElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLBRElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLButtonElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLButtonElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLCollection, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLCollection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLCommentElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLCommentElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLDDElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLDDElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLDivElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLDivElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLDocument, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLDocument() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLDListElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLDListElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLDTElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLDTElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLEmbedElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLEmbedElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLFieldSetElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLFieldSetElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLFontElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLFontElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLFormElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLFormElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLFrameElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLFrameElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLFrameSetElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLFrameSetElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLGenericElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLGenericElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLHeadElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLHeadElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLHeadingElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLHeadingElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLHRElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLHRElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLHtmlElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLHtmlElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLIFrameElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLIFrameElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLImageElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLImageElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLInputElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLInputElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLIsIndexElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLIsIndexElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLLabelElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLLabelElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLLegendElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLLegendElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLLIElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLLIElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLLinkElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLLinkElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLMapElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLMapElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLMarqueeElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLMarqueeElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLMetaElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLMetaElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLModelessDialog, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLModelessDialog() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLNamespaceInfo, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLNamespaceInfo() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLNamespaceInfoCollection, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLNamespaceInfoCollection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLNextIdElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLNextIdElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLNoShowElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLNoShowElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLObjectElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLObjectElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLOListElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLOListElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLOptionElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLOptionElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLParagraphElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLParagraphElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLParamElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLParamElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLPhraseElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLPhraseElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLPluginsCollection, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLPluginsCollection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLPopup, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLPopup() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLScriptElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLScriptElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLSelectElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLSelectElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLSpanElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLSpanElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLStyleElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLStyleElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLTableCaptionElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLTableCaptionElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLTableCellElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLTableCellElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLTableColElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLTableColElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLTableElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLTableElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLTableRowElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLTableRowElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLTableSectionElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLTableSectionElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLTextAreaElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLTextAreaElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLTextElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLTextElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLTitleElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLTitleElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLUListElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLUListElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HTMLUnknownElement, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HTMLUnknownElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Image, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Image() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Location, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Location() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn NamedNodeMap, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.NamedNodeMap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Navigator, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Navigator() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn NodeList, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.NodeList() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Option, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Option() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Screen, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Screen() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Selection, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Selection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn StaticNodeList, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.StaticNodeList() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Storage, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Storage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn StyleSheetList, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.StyleSheetList() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn StyleSheetPage, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.StyleSheetPage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn StyleSheetPageList, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.StyleSheetPageList() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Text, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Text() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn TextRange, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.TextRange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn TextRangeCollection, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.TextRangeCollection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn TextRectangle, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.TextRectangle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn TextRectangleList, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.TextRectangleList() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Window, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Window() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn XDomainRequest, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.XDomainRequest() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn XMLHttpRequest, Impl: IHTMLDOMConstructorCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.XMLHttpRequest() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Attr: Attr::, - BehaviorUrnsCollection: BehaviorUrnsCollection::, - BookmarkCollection: BookmarkCollection::, - CompatibleInfo: CompatibleInfo::, - CompatibleInfoCollection: CompatibleInfoCollection::, - ControlRangeCollection: ControlRangeCollection::, - CSSCurrentStyleDeclaration: CSSCurrentStyleDeclaration::, - CSSRuleList: CSSRuleList::, - CSSRuleStyleDeclaration: CSSRuleStyleDeclaration::, - CSSStyleDeclaration: CSSStyleDeclaration::, - CSSStyleRule: CSSStyleRule::, - CSSStyleSheet: CSSStyleSheet::, - DataTransfer: DataTransfer::, - DOMImplementation: DOMImplementation::, - Element: Element::, - Event: Event::, - History: History::, - HTCElementBehaviorDefaults: HTCElementBehaviorDefaults::, - HTMLAnchorElement: HTMLAnchorElement::, - HTMLAreaElement: HTMLAreaElement::, - HTMLAreasCollection: HTMLAreasCollection::, - HTMLBaseElement: HTMLBaseElement::, - HTMLBaseFontElement: HTMLBaseFontElement::, - HTMLBGSoundElement: HTMLBGSoundElement::, - HTMLBlockElement: HTMLBlockElement::, - HTMLBodyElement: HTMLBodyElement::, - HTMLBRElement: HTMLBRElement::, - HTMLButtonElement: HTMLButtonElement::, - HTMLCollection: HTMLCollection::, - HTMLCommentElement: HTMLCommentElement::, - HTMLDDElement: HTMLDDElement::, - HTMLDivElement: HTMLDivElement::, - HTMLDocument: HTMLDocument::, - HTMLDListElement: HTMLDListElement::, - HTMLDTElement: HTMLDTElement::, - HTMLEmbedElement: HTMLEmbedElement::, - HTMLFieldSetElement: HTMLFieldSetElement::, - HTMLFontElement: HTMLFontElement::, - HTMLFormElement: HTMLFormElement::, - HTMLFrameElement: HTMLFrameElement::, - HTMLFrameSetElement: HTMLFrameSetElement::, - HTMLGenericElement: HTMLGenericElement::, - HTMLHeadElement: HTMLHeadElement::, - HTMLHeadingElement: HTMLHeadingElement::, - HTMLHRElement: HTMLHRElement::, - HTMLHtmlElement: HTMLHtmlElement::, - HTMLIFrameElement: HTMLIFrameElement::, - HTMLImageElement: HTMLImageElement::, - HTMLInputElement: HTMLInputElement::, - HTMLIsIndexElement: HTMLIsIndexElement::, - HTMLLabelElement: HTMLLabelElement::, - HTMLLegendElement: HTMLLegendElement::, - HTMLLIElement: HTMLLIElement::, - HTMLLinkElement: HTMLLinkElement::, - HTMLMapElement: HTMLMapElement::, - HTMLMarqueeElement: HTMLMarqueeElement::, - HTMLMetaElement: HTMLMetaElement::, - HTMLModelessDialog: HTMLModelessDialog::, - HTMLNamespaceInfo: HTMLNamespaceInfo::, - HTMLNamespaceInfoCollection: HTMLNamespaceInfoCollection::, - HTMLNextIdElement: HTMLNextIdElement::, - HTMLNoShowElement: HTMLNoShowElement::, - HTMLObjectElement: HTMLObjectElement::, - HTMLOListElement: HTMLOListElement::, - HTMLOptionElement: HTMLOptionElement::, - HTMLParagraphElement: HTMLParagraphElement::, - HTMLParamElement: HTMLParamElement::, - HTMLPhraseElement: HTMLPhraseElement::, - HTMLPluginsCollection: HTMLPluginsCollection::, - HTMLPopup: HTMLPopup::, - HTMLScriptElement: HTMLScriptElement::, - HTMLSelectElement: HTMLSelectElement::, - HTMLSpanElement: HTMLSpanElement::, - HTMLStyleElement: HTMLStyleElement::, - HTMLTableCaptionElement: HTMLTableCaptionElement::, - HTMLTableCellElement: HTMLTableCellElement::, - HTMLTableColElement: HTMLTableColElement::, - HTMLTableElement: HTMLTableElement::, - HTMLTableRowElement: HTMLTableRowElement::, - HTMLTableSectionElement: HTMLTableSectionElement::, - HTMLTextAreaElement: HTMLTextAreaElement::, - HTMLTextElement: HTMLTextElement::, - HTMLTitleElement: HTMLTitleElement::, - HTMLUListElement: HTMLUListElement::, - HTMLUnknownElement: HTMLUnknownElement::, - Image: Image::, - Location: Location::, - NamedNodeMap: NamedNodeMap::, - Navigator: Navigator::, - NodeList: NodeList::, - Option: Option::, - Screen: Screen::, - Selection: Selection::, - StaticNodeList: StaticNodeList::, - Storage: Storage::, - StyleSheetList: StyleSheetList::, - StyleSheetPage: StyleSheetPage::, - StyleSheetPageList: StyleSheetPageList::, - Text: Text::, - TextRange: TextRange::, - TextRangeCollection: TextRangeCollection::, - TextRectangle: TextRectangle::, - TextRectangleList: TextRectangleList::, - Window: Window::, - XDomainRequest: XDomainRequest::, - XMLHttpRequest: XMLHttpRequest::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDOMImplementation_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn hasFeature(&self, bstrfeature: &super::super::Foundation::BSTR, version: &super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDOMImplementation {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDOMImplementation_Vtbl { - pub const fn new, Impl: IHTMLDOMImplementation_Impl, const OFFSET: isize>() -> IHTMLDOMImplementation_Vtbl { - unsafe extern "system" fn hasFeature, Impl: IHTMLDOMImplementation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrfeature: ::core::mem::ManuallyDrop, version: ::core::mem::ManuallyDrop, pfhasfeature: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasFeature(::core::mem::transmute(&bstrfeature), ::core::mem::transmute(&version)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfhasfeature, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), hasFeature: hasFeature:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDOMImplementation2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn createDocumentType(&self, bstrqualifiedname: &super::super::Foundation::BSTR, pvarpublicid: *const super::super::System::Com::VARIANT, pvarsystemid: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn createDocument(&self, pvarns: *const super::super::System::Com::VARIANT, pvartagname: *const super::super::System::Com::VARIANT, pdocumenttype: &::core::option::Option) -> ::windows::core::Result; - fn createHTMLDocument(&self, bstrtitle: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn hasFeature(&self, bstrfeature: &super::super::Foundation::BSTR, version: &super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDOMImplementation2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDOMImplementation2_Vtbl { - pub const fn new, Impl: IHTMLDOMImplementation2_Impl, const OFFSET: isize>() -> IHTMLDOMImplementation2_Vtbl { - unsafe extern "system" fn createDocumentType, Impl: IHTMLDOMImplementation2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrqualifiedname: ::core::mem::ManuallyDrop, pvarpublicid: *const super::super::System::Com::VARIANT, pvarsystemid: *const super::super::System::Com::VARIANT, newdocumenttype: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createDocumentType(::core::mem::transmute(&bstrqualifiedname), ::core::mem::transmute_copy(&pvarpublicid), ::core::mem::transmute_copy(&pvarsystemid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(newdocumenttype, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createDocument, Impl: IHTMLDOMImplementation2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, pvartagname: *const super::super::System::Com::VARIANT, pdocumenttype: *mut ::core::ffi::c_void, ppnewdocument: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createDocument(::core::mem::transmute_copy(&pvarns), ::core::mem::transmute_copy(&pvartagname), ::core::mem::transmute(&pdocumenttype)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnewdocument, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createHTMLDocument, Impl: IHTMLDOMImplementation2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrtitle: ::core::mem::ManuallyDrop, ppnewdocument: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createHTMLDocument(::core::mem::transmute(&bstrtitle)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnewdocument, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn hasFeature, Impl: IHTMLDOMImplementation2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrfeature: ::core::mem::ManuallyDrop, version: ::core::mem::ManuallyDrop, pfhasfeature: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasFeature(::core::mem::transmute(&bstrfeature), ::core::mem::transmute(&version)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfhasfeature, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - createDocumentType: createDocumentType::, - createDocument: createDocument::, - createHTMLDocument: createHTMLDocument::, - hasFeature: hasFeature::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDOMNode_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn nodeType(&self) -> ::windows::core::Result; - fn parentNode(&self) -> ::windows::core::Result; - fn hasChildNodes(&self) -> ::windows::core::Result; - fn childNodes(&self) -> ::windows::core::Result; - fn attributes(&self) -> ::windows::core::Result; - fn insertBefore(&self, newchild: &::core::option::Option, refchild: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn removeChild(&self, oldchild: &::core::option::Option) -> ::windows::core::Result; - fn replaceChild(&self, newchild: &::core::option::Option, oldchild: &::core::option::Option) -> ::windows::core::Result; - fn cloneNode(&self, fdeep: i16) -> ::windows::core::Result; - fn removeNode(&self, fdeep: i16) -> ::windows::core::Result; - fn swapNode(&self, othernode: &::core::option::Option) -> ::windows::core::Result; - fn replaceNode(&self, replacement: &::core::option::Option) -> ::windows::core::Result; - fn appendChild(&self, newchild: &::core::option::Option) -> ::windows::core::Result; - fn nodeName(&self) -> ::windows::core::Result; - fn SetnodeValue(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn nodeValue(&self) -> ::windows::core::Result; - fn firstChild(&self) -> ::windows::core::Result; - fn lastChild(&self) -> ::windows::core::Result; - fn previousSibling(&self) -> ::windows::core::Result; - fn nextSibling(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDOMNode {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDOMNode_Vtbl { - pub const fn new, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>() -> IHTMLDOMNode_Vtbl { - unsafe extern "system" fn nodeType, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nodeType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn parentNode, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.parentNode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn hasChildNodes, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fchildren: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasChildNodes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(fchildren, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn childNodes, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.childNodes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn attributes, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.attributes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertBefore, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, refchild: ::core::mem::ManuallyDrop, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertBefore(::core::mem::transmute(&newchild), ::core::mem::transmute(&refchild)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(node, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeChild, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, oldchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeChild(::core::mem::transmute(&oldchild)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(node, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn replaceChild, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, oldchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.replaceChild(::core::mem::transmute(&newchild), ::core::mem::transmute(&oldchild)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(node, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn cloneNode, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fdeep: i16, clonednode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cloneNode(::core::mem::transmute_copy(&fdeep)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(clonednode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeNode, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fdeep: i16, removed: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeNode(::core::mem::transmute_copy(&fdeep)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(removed, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn swapNode, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, othernode: *mut ::core::ffi::c_void, swappednode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.swapNode(::core::mem::transmute(&othernode)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(swappednode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn replaceNode, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, replacement: *mut ::core::ffi::c_void, replaced: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.replaceNode(::core::mem::transmute(&replacement)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(replaced, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn appendChild, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.appendChild(::core::mem::transmute(&newchild)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(node, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn nodeName, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nodeName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetnodeValue, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnodeValue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn nodeValue, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nodeValue() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn firstChild, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.firstChild() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn lastChild, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lastChild() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn previousSibling, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.previousSibling() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn nextSibling, Impl: IHTMLDOMNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nextSibling() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - nodeType: nodeType::, - parentNode: parentNode::, - hasChildNodes: hasChildNodes::, - childNodes: childNodes::, - attributes: attributes::, - insertBefore: insertBefore::, - removeChild: removeChild::, - replaceChild: replaceChild::, - cloneNode: cloneNode::, - removeNode: removeNode::, - swapNode: swapNode::, - replaceNode: replaceNode::, - appendChild: appendChild::, - nodeName: nodeName::, - SetnodeValue: SetnodeValue::, - nodeValue: nodeValue::, - firstChild: firstChild::, - lastChild: lastChild::, - previousSibling: previousSibling::, - nextSibling: nextSibling::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDOMNode2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn ownerDocument(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDOMNode2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDOMNode2_Vtbl { - pub const fn new, Impl: IHTMLDOMNode2_Impl, const OFFSET: isize>() -> IHTMLDOMNode2_Vtbl { - unsafe extern "system" fn ownerDocument, Impl: IHTMLDOMNode2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ownerDocument() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), ownerDocument: ownerDocument:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDOMNode3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setprefix(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn prefix(&self) -> ::windows::core::Result; - fn localName(&self) -> ::windows::core::Result; - fn namespaceURI(&self) -> ::windows::core::Result; - fn SettextContent(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn textContent(&self) -> ::windows::core::Result; - fn isEqualNode(&self, othernode: &::core::option::Option) -> ::windows::core::Result; - fn lookupNamespaceURI(&self, pvarprefix: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn lookupPrefix(&self, pvarnamespaceuri: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn isDefaultNamespace(&self, pvarnamespace: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn appendChild(&self, newchild: &::core::option::Option) -> ::windows::core::Result; - fn insertBefore(&self, newchild: &::core::option::Option, refchild: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn removeChild(&self, oldchild: &::core::option::Option) -> ::windows::core::Result; - fn replaceChild(&self, newchild: &::core::option::Option, oldchild: &::core::option::Option) -> ::windows::core::Result; - fn isSameNode(&self, othernode: &::core::option::Option) -> ::windows::core::Result; - fn compareDocumentPosition(&self, othernode: &::core::option::Option) -> ::windows::core::Result; - fn isSupported(&self, feature: &super::super::Foundation::BSTR, version: &super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDOMNode3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDOMNode3_Vtbl { - pub const fn new, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>() -> IHTMLDOMNode3_Vtbl { - unsafe extern "system" fn Setprefix, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setprefix(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn prefix, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.prefix() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn localName, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.localName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn namespaceURI, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.namespaceURI() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextContent, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextContent(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textContent, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textContent() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn isEqualNode, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, othernode: *mut ::core::ffi::c_void, isequal: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isEqualNode(::core::mem::transmute(&othernode)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(isequal, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn lookupNamespaceURI, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarprefix: *const super::super::System::Com::VARIANT, pvarnamespaceuri: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lookupNamespaceURI(::core::mem::transmute_copy(&pvarprefix)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvarnamespaceuri, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn lookupPrefix, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarnamespaceuri: *const super::super::System::Com::VARIANT, pvarprefix: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lookupPrefix(::core::mem::transmute_copy(&pvarnamespaceuri)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvarprefix, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn isDefaultNamespace, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarnamespace: *const super::super::System::Com::VARIANT, pfdefaultnamespace: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isDefaultNamespace(::core::mem::transmute_copy(&pvarnamespace)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfdefaultnamespace, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn appendChild, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.appendChild(::core::mem::transmute(&newchild)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(node, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertBefore, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, refchild: ::core::mem::ManuallyDrop, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertBefore(::core::mem::transmute(&newchild), ::core::mem::transmute(&refchild)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(node, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeChild, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, oldchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeChild(::core::mem::transmute(&oldchild)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(node, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn replaceChild, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, oldchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.replaceChild(::core::mem::transmute(&newchild), ::core::mem::transmute(&oldchild)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(node, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn isSameNode, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, othernode: *mut ::core::ffi::c_void, issame: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isSameNode(::core::mem::transmute(&othernode)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(issame, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn compareDocumentPosition, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, othernode: *mut ::core::ffi::c_void, flags: *mut u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.compareDocumentPosition(::core::mem::transmute(&othernode)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(flags, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn isSupported, Impl: IHTMLDOMNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, feature: ::core::mem::ManuallyDrop, version: ::core::mem::ManuallyDrop, pfissupported: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isSupported(::core::mem::transmute(&feature), ::core::mem::transmute(&version)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfissupported, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setprefix: Setprefix::, - prefix: prefix::, - localName: localName::, - namespaceURI: namespaceURI::, - SettextContent: SettextContent::, - textContent: textContent::, - isEqualNode: isEqualNode::, - lookupNamespaceURI: lookupNamespaceURI::, - lookupPrefix: lookupPrefix::, - isDefaultNamespace: isDefaultNamespace::, - appendChild: appendChild::, - insertBefore: insertBefore::, - removeChild: removeChild::, - replaceChild: replaceChild::, - isSameNode: isSameNode::, - compareDocumentPosition: compareDocumentPosition::, - isSupported: isSupported::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDOMRange_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn startContainer(&self) -> ::windows::core::Result; - fn startOffset(&self) -> ::windows::core::Result; - fn endContainer(&self) -> ::windows::core::Result; - fn endOffset(&self) -> ::windows::core::Result; - fn collapsed(&self) -> ::windows::core::Result; - fn commonAncestorContainer(&self) -> ::windows::core::Result; - fn setStart(&self, refnode: &::core::option::Option, offset: i32) -> ::windows::core::Result<()>; - fn setEnd(&self, refnode: &::core::option::Option, offset: i32) -> ::windows::core::Result<()>; - fn setStartBefore(&self, refnode: &::core::option::Option) -> ::windows::core::Result<()>; - fn setStartAfter(&self, refnode: &::core::option::Option) -> ::windows::core::Result<()>; - fn setEndBefore(&self, refnode: &::core::option::Option) -> ::windows::core::Result<()>; - fn setEndAfter(&self, refnode: &::core::option::Option) -> ::windows::core::Result<()>; - fn collapse(&self, tostart: i16) -> ::windows::core::Result<()>; - fn selectNode(&self, refnode: &::core::option::Option) -> ::windows::core::Result<()>; - fn selectNodeContents(&self, refnode: &::core::option::Option) -> ::windows::core::Result<()>; - fn compareBoundaryPoints(&self, how: i16, sourcerange: &::core::option::Option) -> ::windows::core::Result; - fn deleteContents(&self) -> ::windows::core::Result<()>; - fn extractContents(&self) -> ::windows::core::Result; - fn cloneContents(&self) -> ::windows::core::Result; - fn insertNode(&self, newnode: &::core::option::Option) -> ::windows::core::Result<()>; - fn surroundContents(&self, newparent: &::core::option::Option) -> ::windows::core::Result<()>; - fn cloneRange(&self) -> ::windows::core::Result; - fn toString(&self) -> ::windows::core::Result; - fn detach(&self) -> ::windows::core::Result<()>; - fn getClientRects(&self) -> ::windows::core::Result; - fn getBoundingClientRect(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDOMRange {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDOMRange_Vtbl { - pub const fn new, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>() -> IHTMLDOMRange_Vtbl { - unsafe extern "system" fn startContainer, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.startContainer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn startOffset, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.startOffset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn endContainer, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.endContainer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn endOffset, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.endOffset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn collapsed, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.collapsed() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn commonAncestorContainer, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.commonAncestorContainer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setStart, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, refnode: *mut ::core::ffi::c_void, offset: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setStart(::core::mem::transmute(&refnode), ::core::mem::transmute_copy(&offset)).into() - } - unsafe extern "system" fn setEnd, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, refnode: *mut ::core::ffi::c_void, offset: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setEnd(::core::mem::transmute(&refnode), ::core::mem::transmute_copy(&offset)).into() - } - unsafe extern "system" fn setStartBefore, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, refnode: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setStartBefore(::core::mem::transmute(&refnode)).into() - } - unsafe extern "system" fn setStartAfter, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, refnode: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setStartAfter(::core::mem::transmute(&refnode)).into() - } - unsafe extern "system" fn setEndBefore, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, refnode: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setEndBefore(::core::mem::transmute(&refnode)).into() - } - unsafe extern "system" fn setEndAfter, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, refnode: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setEndAfter(::core::mem::transmute(&refnode)).into() - } - unsafe extern "system" fn collapse, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, tostart: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.collapse(::core::mem::transmute_copy(&tostart)).into() - } - unsafe extern "system" fn selectNode, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, refnode: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.selectNode(::core::mem::transmute(&refnode)).into() - } - unsafe extern "system" fn selectNodeContents, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, refnode: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.selectNodeContents(::core::mem::transmute(&refnode)).into() - } - unsafe extern "system" fn compareBoundaryPoints, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, how: i16, sourcerange: *mut ::core::ffi::c_void, compareresult: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.compareBoundaryPoints(::core::mem::transmute_copy(&how), ::core::mem::transmute(&sourcerange)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(compareresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deleteContents, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteContents().into() - } - unsafe extern "system" fn extractContents, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppdocumentfragment: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.extractContents() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppdocumentfragment, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn cloneContents, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppdocumentfragment: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cloneContents() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppdocumentfragment, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertNode, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newnode: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.insertNode(::core::mem::transmute(&newnode)).into() - } - unsafe extern "system" fn surroundContents, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newparent: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.surroundContents(::core::mem::transmute(&newparent)).into() - } - unsafe extern "system" fn cloneRange, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppclonedrange: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cloneRange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppclonedrange, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn toString, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, prangestring: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toString() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(prangestring, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn detach, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.detach().into() - } - unsafe extern "system" fn getClientRects, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pprectcol: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getClientRects() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pprectcol, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getBoundingClientRect, Impl: IHTMLDOMRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pprect: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getBoundingClientRect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pprect, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - startContainer: startContainer::, - startOffset: startOffset::, - endContainer: endContainer::, - endOffset: endOffset::, - collapsed: collapsed::, - commonAncestorContainer: commonAncestorContainer::, - setStart: setStart::, - setEnd: setEnd::, - setStartBefore: setStartBefore::, - setStartAfter: setStartAfter::, - setEndBefore: setEndBefore::, - setEndAfter: setEndAfter::, - collapse: collapse::, - selectNode: selectNode::, - selectNodeContents: selectNodeContents::, - compareBoundaryPoints: compareBoundaryPoints::, - deleteContents: deleteContents::, - extractContents: extractContents::, - cloneContents: cloneContents::, - insertNode: insertNode::, - surroundContents: surroundContents::, - cloneRange: cloneRange::, - toString: toString::, - detach: detach::, - getClientRects: getClientRects::, - getBoundingClientRect: getBoundingClientRect::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDOMTextNode_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setdata(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn data(&self) -> ::windows::core::Result; - fn toString(&self) -> ::windows::core::Result; - fn length(&self) -> ::windows::core::Result; - fn splitText(&self, offset: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDOMTextNode {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDOMTextNode_Vtbl { - pub const fn new, Impl: IHTMLDOMTextNode_Impl, const OFFSET: isize>() -> IHTMLDOMTextNode_Vtbl { - unsafe extern "system" fn Setdata, Impl: IHTMLDOMTextNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdata(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn data, Impl: IHTMLDOMTextNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.data() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn toString, Impl: IHTMLDOMTextNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toString() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(string, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn length, Impl: IHTMLDOMTextNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn splitText, Impl: IHTMLDOMTextNode_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, pretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.splitText(::core::mem::transmute_copy(&offset)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pretnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setdata: Setdata::, - data: data::, - toString: toString::, - length: length::, - splitText: splitText::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDOMTextNode2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn substringData(&self, offset: i32, count: i32) -> ::windows::core::Result; - fn appendData(&self, bstrstring: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn insertData(&self, offset: i32, bstrstring: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn deleteData(&self, offset: i32, count: i32) -> ::windows::core::Result<()>; - fn replaceData(&self, offset: i32, count: i32, bstrstring: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDOMTextNode2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDOMTextNode2_Vtbl { - pub const fn new, Impl: IHTMLDOMTextNode2_Impl, const OFFSET: isize>() -> IHTMLDOMTextNode2_Vtbl { - unsafe extern "system" fn substringData, Impl: IHTMLDOMTextNode2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, count: i32, pbstrsubstring: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.substringData(::core::mem::transmute_copy(&offset), ::core::mem::transmute_copy(&count)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrsubstring, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn appendData, Impl: IHTMLDOMTextNode2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.appendData(::core::mem::transmute(&bstrstring)).into() - } - unsafe extern "system" fn insertData, Impl: IHTMLDOMTextNode2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.insertData(::core::mem::transmute_copy(&offset), ::core::mem::transmute(&bstrstring)).into() - } - unsafe extern "system" fn deleteData, Impl: IHTMLDOMTextNode2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, count: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteData(::core::mem::transmute_copy(&offset), ::core::mem::transmute_copy(&count)).into() - } - unsafe extern "system" fn replaceData, Impl: IHTMLDOMTextNode2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, count: i32, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.replaceData(::core::mem::transmute_copy(&offset), ::core::mem::transmute_copy(&count), ::core::mem::transmute(&bstrstring)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - substringData: substringData::, - appendData: appendData::, - insertData: insertData::, - deleteData: deleteData::, - replaceData: replaceData::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDOMTextNode3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn substringData(&self, offset: i32, count: i32) -> ::windows::core::Result; - fn insertData(&self, offset: i32, bstrstring: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn deleteData(&self, offset: i32, count: i32) -> ::windows::core::Result<()>; - fn replaceData(&self, offset: i32, count: i32, bstrstring: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn splitText(&self, offset: i32) -> ::windows::core::Result; - fn wholeText(&self) -> ::windows::core::Result; - fn replaceWholeText(&self, bstrtext: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn hasAttributes(&self) -> ::windows::core::Result; - fn normalize(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDOMTextNode3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDOMTextNode3_Vtbl { - pub const fn new, Impl: IHTMLDOMTextNode3_Impl, const OFFSET: isize>() -> IHTMLDOMTextNode3_Vtbl { - unsafe extern "system" fn substringData, Impl: IHTMLDOMTextNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, count: i32, pbstrsubstring: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.substringData(::core::mem::transmute_copy(&offset), ::core::mem::transmute_copy(&count)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrsubstring, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertData, Impl: IHTMLDOMTextNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.insertData(::core::mem::transmute_copy(&offset), ::core::mem::transmute(&bstrstring)).into() - } - unsafe extern "system" fn deleteData, Impl: IHTMLDOMTextNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, count: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteData(::core::mem::transmute_copy(&offset), ::core::mem::transmute_copy(&count)).into() - } - unsafe extern "system" fn replaceData, Impl: IHTMLDOMTextNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, count: i32, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.replaceData(::core::mem::transmute_copy(&offset), ::core::mem::transmute_copy(&count), ::core::mem::transmute(&bstrstring)).into() - } - unsafe extern "system" fn splitText, Impl: IHTMLDOMTextNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, offset: i32, pretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.splitText(::core::mem::transmute_copy(&offset)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pretnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn wholeText, Impl: IHTMLDOMTextNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.wholeText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn replaceWholeText, Impl: IHTMLDOMTextNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrtext: ::core::mem::ManuallyDrop, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.replaceWholeText(::core::mem::transmute(&bstrtext)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn hasAttributes, Impl: IHTMLDOMTextNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfhasattributes: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasAttributes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfhasattributes, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn normalize, Impl: IHTMLDOMTextNode3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.normalize().into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - substringData: substringData::, - insertData: insertData::, - deleteData: deleteData::, - replaceData: replaceData::, - splitText: splitText::, - wholeText: wholeText::, - replaceWholeText: replaceWholeText::, - hasAttributes: hasAttributes::, - normalize: normalize::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDTElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetnoWrap(&self, v: i16) -> ::windows::core::Result<()>; - fn noWrap(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDTElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDTElement_Vtbl { - pub const fn new, Impl: IHTMLDTElement_Impl, const OFFSET: isize>() -> IHTMLDTElement_Vtbl { - unsafe extern "system" fn SetnoWrap, Impl: IHTMLDTElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnoWrap(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn noWrap, Impl: IHTMLDTElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.noWrap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetnoWrap: SetnoWrap::, - noWrap: noWrap::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDataTransfer_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn setData(&self, format: &super::super::Foundation::BSTR, data: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn getData(&self, format: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn clearData(&self, format: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn SetdropEffect(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dropEffect(&self) -> ::windows::core::Result; - fn SeteffectAllowed(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn effectAllowed(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDataTransfer {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDataTransfer_Vtbl { - pub const fn new, Impl: IHTMLDataTransfer_Impl, const OFFSET: isize>() -> IHTMLDataTransfer_Vtbl { - unsafe extern "system" fn setData, Impl: IHTMLDataTransfer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, format: ::core::mem::ManuallyDrop, data: *const super::super::System::Com::VARIANT, pret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.setData(::core::mem::transmute(&format), ::core::mem::transmute_copy(&data)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getData, Impl: IHTMLDataTransfer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, format: ::core::mem::ManuallyDrop, pvarret: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getData(::core::mem::transmute(&format)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvarret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clearData, Impl: IHTMLDataTransfer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, format: ::core::mem::ManuallyDrop, pret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clearData(::core::mem::transmute(&format)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdropEffect, Impl: IHTMLDataTransfer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdropEffect(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dropEffect, Impl: IHTMLDataTransfer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dropEffect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SeteffectAllowed, Impl: IHTMLDataTransfer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SeteffectAllowed(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn effectAllowed, Impl: IHTMLDataTransfer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.effectAllowed() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - setData: setData::, - getData: getData::, - clearData: clearData::, - SetdropEffect: SetdropEffect::, - dropEffect: dropEffect::, - SeteffectAllowed: SeteffectAllowed::, - effectAllowed: effectAllowed::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDatabinding_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetdataFld(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dataFld(&self) -> ::windows::core::Result; - fn SetdataSrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dataSrc(&self) -> ::windows::core::Result; - fn SetdataFormatAs(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dataFormatAs(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDatabinding {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDatabinding_Vtbl { - pub const fn new, Impl: IHTMLDatabinding_Impl, const OFFSET: isize>() -> IHTMLDatabinding_Vtbl { - unsafe extern "system" fn SetdataFld, Impl: IHTMLDatabinding_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdataFld(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dataFld, Impl: IHTMLDatabinding_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dataFld() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdataSrc, Impl: IHTMLDatabinding_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdataSrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dataSrc, Impl: IHTMLDatabinding_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dataSrc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdataFormatAs, Impl: IHTMLDatabinding_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdataFormatAs(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dataFormatAs, Impl: IHTMLDatabinding_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dataFormatAs() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetdataFld: SetdataFld::, - dataFld: dataFld::, - SetdataSrc: SetdataSrc::, - dataSrc: dataSrc::, - SetdataFormatAs: SetdataFormatAs::, - dataFormatAs: dataFormatAs::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDialog_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetdialogTop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn dialogTop(&self) -> ::windows::core::Result; - fn SetdialogLeft(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn dialogLeft(&self) -> ::windows::core::Result; - fn SetdialogWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn dialogWidth(&self) -> ::windows::core::Result; - fn SetdialogHeight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn dialogHeight(&self) -> ::windows::core::Result; - fn dialogArguments(&self) -> ::windows::core::Result; - fn menuArguments(&self) -> ::windows::core::Result; - fn SetreturnValue(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn returnValue(&self) -> ::windows::core::Result; - fn close(&self) -> ::windows::core::Result<()>; - fn toString(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDialog {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDialog_Vtbl { - pub const fn new, Impl: IHTMLDialog_Impl, const OFFSET: isize>() -> IHTMLDialog_Vtbl { - unsafe extern "system" fn SetdialogTop, Impl: IHTMLDialog_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdialogTop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dialogTop, Impl: IHTMLDialog_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dialogTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdialogLeft, Impl: IHTMLDialog_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdialogLeft(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dialogLeft, Impl: IHTMLDialog_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dialogLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdialogWidth, Impl: IHTMLDialog_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdialogWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dialogWidth, Impl: IHTMLDialog_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dialogWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdialogHeight, Impl: IHTMLDialog_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdialogHeight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dialogHeight, Impl: IHTMLDialog_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dialogHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn dialogArguments, Impl: IHTMLDialog_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dialogArguments() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn menuArguments, Impl: IHTMLDialog_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.menuArguments() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetreturnValue, Impl: IHTMLDialog_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetreturnValue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn returnValue, Impl: IHTMLDialog_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.returnValue() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn close, Impl: IHTMLDialog_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.close().into() - } - unsafe extern "system" fn toString, Impl: IHTMLDialog_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toString() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(string, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetdialogTop: SetdialogTop::, - dialogTop: dialogTop::, - SetdialogLeft: SetdialogLeft::, - dialogLeft: dialogLeft::, - SetdialogWidth: SetdialogWidth::, - dialogWidth: dialogWidth::, - SetdialogHeight: SetdialogHeight::, - dialogHeight: dialogHeight::, - dialogArguments: dialogArguments::, - menuArguments: menuArguments::, - SetreturnValue: SetreturnValue::, - returnValue: returnValue::, - close: close::, - toString: toString::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDialog2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setstatus(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn status(&self) -> ::windows::core::Result; - fn Setresizable(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn resizable(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDialog2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDialog2_Vtbl { - pub const fn new, Impl: IHTMLDialog2_Impl, const OFFSET: isize>() -> IHTMLDialog2_Vtbl { - unsafe extern "system" fn Setstatus, Impl: IHTMLDialog2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setstatus(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn status, Impl: IHTMLDialog2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.status() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setresizable, Impl: IHTMLDialog2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setresizable(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn resizable, Impl: IHTMLDialog2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.resizable() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setstatus: Setstatus::, - status: status::, - Setresizable: Setresizable::, - resizable: resizable::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDialog3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setunadorned(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn unadorned(&self) -> ::windows::core::Result; - fn SetdialogHide(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dialogHide(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDialog3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDialog3_Vtbl { - pub const fn new, Impl: IHTMLDialog3_Impl, const OFFSET: isize>() -> IHTMLDialog3_Vtbl { - unsafe extern "system" fn Setunadorned, Impl: IHTMLDialog3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setunadorned(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn unadorned, Impl: IHTMLDialog3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.unadorned() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdialogHide, Impl: IHTMLDialog3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdialogHide(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dialogHide, Impl: IHTMLDialog3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dialogHide() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setunadorned: Setunadorned::, - unadorned: unadorned::, - SetdialogHide: SetdialogHide::, - dialogHide: dialogHide::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDivElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; - fn SetnoWrap(&self, v: i16) -> ::windows::core::Result<()>; - fn noWrap(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDivElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDivElement_Vtbl { - pub const fn new, Impl: IHTMLDivElement_Impl, const OFFSET: isize>() -> IHTMLDivElement_Vtbl { - unsafe extern "system" fn Setalign, Impl: IHTMLDivElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLDivElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetnoWrap, Impl: IHTMLDivElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnoWrap(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn noWrap, Impl: IHTMLDivElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.noWrap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setalign: Setalign::, - align: align::, - SetnoWrap: SetnoWrap::, - noWrap: noWrap::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDivPosition_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDivPosition {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDivPosition_Vtbl { - pub const fn new, Impl: IHTMLDivPosition_Impl, const OFFSET: isize>() -> IHTMLDivPosition_Vtbl { - unsafe extern "system" fn Setalign, Impl: IHTMLDivPosition_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLDivPosition_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setalign: Setalign::, - align: align::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDocument_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Script(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDocument {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDocument_Vtbl { - pub const fn new, Impl: IHTMLDocument_Impl, const OFFSET: isize>() -> IHTMLDocument_Vtbl { - unsafe extern "system" fn Script, Impl: IHTMLDocument_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Script() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Script: Script:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDocument2_Impl: Sized + super::super::System::Com::IDispatch_Impl + IHTMLDocument_Impl { - fn all(&self) -> ::windows::core::Result; - fn body(&self) -> ::windows::core::Result; - fn activeElement(&self) -> ::windows::core::Result; - fn images(&self) -> ::windows::core::Result; - fn applets(&self) -> ::windows::core::Result; - fn links(&self) -> ::windows::core::Result; - fn forms(&self) -> ::windows::core::Result; - fn anchors(&self) -> ::windows::core::Result; - fn Settitle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn title(&self) -> ::windows::core::Result; - fn scripts(&self) -> ::windows::core::Result; - fn SetdesignMode(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn designMode(&self) -> ::windows::core::Result; - fn selection(&self) -> ::windows::core::Result; - fn readyState(&self) -> ::windows::core::Result; - fn frames(&self) -> ::windows::core::Result; - fn embeds(&self) -> ::windows::core::Result; - fn plugins(&self) -> ::windows::core::Result; - fn SetalinkColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn alinkColor(&self) -> ::windows::core::Result; - fn SetbgColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn bgColor(&self) -> ::windows::core::Result; - fn SetfgColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn fgColor(&self) -> ::windows::core::Result; - fn SetlinkColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn linkColor(&self) -> ::windows::core::Result; - fn SetvlinkColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn vlinkColor(&self) -> ::windows::core::Result; - fn referrer(&self) -> ::windows::core::Result; - fn location(&self) -> ::windows::core::Result; - fn lastModified(&self) -> ::windows::core::Result; - fn SetURL(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn URL(&self) -> ::windows::core::Result; - fn Setdomain(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn domain(&self) -> ::windows::core::Result; - fn Setcookie(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn cookie(&self) -> ::windows::core::Result; - fn Setexpando(&self, v: i16) -> ::windows::core::Result<()>; - fn expando(&self) -> ::windows::core::Result; - fn Setcharset(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn charset(&self) -> ::windows::core::Result; - fn SetdefaultCharset(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn defaultCharset(&self) -> ::windows::core::Result; - fn mimeType(&self) -> ::windows::core::Result; - fn fileSize(&self) -> ::windows::core::Result; - fn fileCreatedDate(&self) -> ::windows::core::Result; - fn fileModifiedDate(&self) -> ::windows::core::Result; - fn fileUpdatedDate(&self) -> ::windows::core::Result; - fn security(&self) -> ::windows::core::Result; - fn protocol(&self) -> ::windows::core::Result; - fn nameProp(&self) -> ::windows::core::Result; - fn write(&self, psarray: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result<()>; - fn writeln(&self, psarray: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result<()>; - fn open(&self, url: &super::super::Foundation::BSTR, name: &super::super::System::Com::VARIANT, features: &super::super::System::Com::VARIANT, replace: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn close(&self) -> ::windows::core::Result<()>; - fn clear(&self) -> ::windows::core::Result<()>; - fn queryCommandSupported(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn queryCommandEnabled(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn queryCommandState(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn queryCommandIndeterm(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn queryCommandText(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn queryCommandValue(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn execCommand(&self, cmdid: &super::super::Foundation::BSTR, showui: i16, value: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn execCommandShowHelp(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn createElement(&self, etag: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn Setonhelp(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onhelp(&self) -> ::windows::core::Result; - fn Setonclick(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onclick(&self) -> ::windows::core::Result; - fn Setondblclick(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondblclick(&self) -> ::windows::core::Result; - fn Setonkeyup(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onkeyup(&self) -> ::windows::core::Result; - fn Setonkeydown(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onkeydown(&self) -> ::windows::core::Result; - fn Setonkeypress(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onkeypress(&self) -> ::windows::core::Result; - fn Setonmouseup(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmouseup(&self) -> ::windows::core::Result; - fn Setonmousedown(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmousedown(&self) -> ::windows::core::Result; - fn Setonmousemove(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmousemove(&self) -> ::windows::core::Result; - fn Setonmouseout(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmouseout(&self) -> ::windows::core::Result; - fn Setonmouseover(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmouseover(&self) -> ::windows::core::Result; - fn Setonreadystatechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onreadystatechange(&self) -> ::windows::core::Result; - fn Setonafterupdate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onafterupdate(&self) -> ::windows::core::Result; - fn Setonrowexit(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onrowexit(&self) -> ::windows::core::Result; - fn Setonrowenter(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onrowenter(&self) -> ::windows::core::Result; - fn Setondragstart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondragstart(&self) -> ::windows::core::Result; - fn Setonselectstart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onselectstart(&self) -> ::windows::core::Result; - fn elementFromPoint(&self, x: i32, y: i32) -> ::windows::core::Result; - fn parentWindow(&self) -> ::windows::core::Result; - fn styleSheets(&self) -> ::windows::core::Result; - fn Setonbeforeupdate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbeforeupdate(&self) -> ::windows::core::Result; - fn Setonerrorupdate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onerrorupdate(&self) -> ::windows::core::Result; - fn toString(&self) -> ::windows::core::Result; - fn createStyleSheet(&self, bstrhref: &super::super::Foundation::BSTR, lindex: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDocument2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDocument2_Vtbl { - pub const fn new, Impl: IHTMLDocument2_Impl, const OFFSET: isize>() -> IHTMLDocument2_Vtbl { - unsafe extern "system" fn all, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.all() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn body, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.body() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn activeElement, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.activeElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn images, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.images() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn applets, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.applets() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn links, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.links() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn forms, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.forms() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn anchors, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.anchors() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settitle, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settitle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn title, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.title() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scripts, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scripts() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdesignMode, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdesignMode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn designMode, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.designMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn selection, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.selection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn readyState, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readyState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn frames, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.frames() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn embeds, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.embeds() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn plugins, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.plugins() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetalinkColor, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetalinkColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn alinkColor, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.alinkColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbgColor, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbgColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn bgColor, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bgColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfgColor, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfgColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fgColor, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fgColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlinkColor, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlinkColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn linkColor, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.linkColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetvlinkColor, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetvlinkColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn vlinkColor, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vlinkColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn referrer, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.referrer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn location, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.location() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn lastModified, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lastModified() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetURL, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetURL(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn URL, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.URL() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdomain, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdomain(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn domain, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.domain() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcookie, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcookie(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cookie, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cookie() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setexpando, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setexpando(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn expando, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.expando() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcharset, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcharset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn charset, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.charset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdefaultCharset, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdefaultCharset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn defaultCharset, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.defaultCharset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn mimeType, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.mimeType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fileSize, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fileSize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fileCreatedDate, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fileCreatedDate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fileModifiedDate, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fileModifiedDate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fileUpdatedDate, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fileUpdatedDate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn security, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.security() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn protocol, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.protocol() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn nameProp, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nameProp() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn write, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, psarray: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.write(::core::mem::transmute_copy(&psarray)).into() - } - unsafe extern "system" fn writeln, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, psarray: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.writeln(::core::mem::transmute_copy(&psarray)).into() - } - unsafe extern "system" fn open, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, url: ::core::mem::ManuallyDrop, name: ::core::mem::ManuallyDrop, features: ::core::mem::ManuallyDrop, replace: ::core::mem::ManuallyDrop, pomwindowresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.open(::core::mem::transmute(&url), ::core::mem::transmute(&name), ::core::mem::transmute(&features), ::core::mem::transmute(&replace)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pomwindowresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn close, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.close().into() - } - unsafe extern "system" fn clear, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.clear().into() - } - unsafe extern "system" fn queryCommandSupported, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandSupported(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn queryCommandEnabled, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandEnabled(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn queryCommandState, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandState(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn queryCommandIndeterm, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandIndeterm(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn queryCommandText, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pcmdtext: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandText(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pcmdtext, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn queryCommandValue, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pcmdvalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandValue(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pcmdvalue, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn execCommand, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, showui: i16, value: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.execCommand(::core::mem::transmute(&cmdid), ::core::mem::transmute_copy(&showui), ::core::mem::transmute(&value)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn execCommandShowHelp, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.execCommandShowHelp(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createElement, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, etag: ::core::mem::ManuallyDrop, newelem: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createElement(::core::mem::transmute(&etag)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(newelem, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonhelp, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonhelp(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onhelp, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onhelp() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonclick, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonclick(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onclick, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onclick() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondblclick, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondblclick(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondblclick, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondblclick() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonkeyup, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonkeyup(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onkeyup, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onkeyup() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonkeydown, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonkeydown(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onkeydown, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onkeydown() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonkeypress, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonkeypress(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onkeypress, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onkeypress() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmouseup, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmouseup(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmouseup, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmouseup() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmousedown, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmousedown(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmousedown, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmousedown() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmousemove, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmousemove(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmousemove, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmousemove() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmouseout, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmouseout(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmouseout, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmouseout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmouseover, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmouseover(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmouseover, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmouseover() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonreadystatechange, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonreadystatechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onreadystatechange, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onreadystatechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonafterupdate, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonafterupdate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onafterupdate, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onafterupdate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonrowexit, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonrowexit(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onrowexit, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onrowexit() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonrowenter, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonrowenter(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onrowenter, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onrowenter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondragstart, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondragstart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondragstart, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondragstart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonselectstart, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonselectstart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onselectstart, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onselectstart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn elementFromPoint, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: i32, y: i32, elementhit: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.elementFromPoint(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(elementhit, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn parentWindow, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.parentWindow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn styleSheets, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.styleSheets() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonbeforeupdate, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbeforeupdate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbeforeupdate, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbeforeupdate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonerrorupdate, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonerrorupdate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onerrorupdate, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onerrorupdate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn toString, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toString() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(string, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createStyleSheet, Impl: IHTMLDocument2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrhref: ::core::mem::ManuallyDrop, lindex: i32, ppnewstylesheet: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createStyleSheet(::core::mem::transmute(&bstrhref), ::core::mem::transmute_copy(&lindex)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnewstylesheet, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: IHTMLDocument_Vtbl::new::(), - all: all::, - body: body::, - activeElement: activeElement::, - images: images::, - applets: applets::, - links: links::, - forms: forms::, - anchors: anchors::, - Settitle: Settitle::, - title: title::, - scripts: scripts::, - SetdesignMode: SetdesignMode::, - designMode: designMode::, - selection: selection::, - readyState: readyState::, - frames: frames::, - embeds: embeds::, - plugins: plugins::, - SetalinkColor: SetalinkColor::, - alinkColor: alinkColor::, - SetbgColor: SetbgColor::, - bgColor: bgColor::, - SetfgColor: SetfgColor::, - fgColor: fgColor::, - SetlinkColor: SetlinkColor::, - linkColor: linkColor::, - SetvlinkColor: SetvlinkColor::, - vlinkColor: vlinkColor::, - referrer: referrer::, - location: location::, - lastModified: lastModified::, - SetURL: SetURL::, - URL: URL::, - Setdomain: Setdomain::, - domain: domain::, - Setcookie: Setcookie::, - cookie: cookie::, - Setexpando: Setexpando::, - expando: expando::, - Setcharset: Setcharset::, - charset: charset::, - SetdefaultCharset: SetdefaultCharset::, - defaultCharset: defaultCharset::, - mimeType: mimeType::, - fileSize: fileSize::, - fileCreatedDate: fileCreatedDate::, - fileModifiedDate: fileModifiedDate::, - fileUpdatedDate: fileUpdatedDate::, - security: security::, - protocol: protocol::, - nameProp: nameProp::, - write: write::, - writeln: writeln::, - open: open::, - close: close::, - clear: clear::, - queryCommandSupported: queryCommandSupported::, - queryCommandEnabled: queryCommandEnabled::, - queryCommandState: queryCommandState::, - queryCommandIndeterm: queryCommandIndeterm::, - queryCommandText: queryCommandText::, - queryCommandValue: queryCommandValue::, - execCommand: execCommand::, - execCommandShowHelp: execCommandShowHelp::, - createElement: createElement::, - Setonhelp: Setonhelp::, - onhelp: onhelp::, - Setonclick: Setonclick::, - onclick: onclick::, - Setondblclick: Setondblclick::, - ondblclick: ondblclick::, - Setonkeyup: Setonkeyup::, - onkeyup: onkeyup::, - Setonkeydown: Setonkeydown::, - onkeydown: onkeydown::, - Setonkeypress: Setonkeypress::, - onkeypress: onkeypress::, - Setonmouseup: Setonmouseup::, - onmouseup: onmouseup::, - Setonmousedown: Setonmousedown::, - onmousedown: onmousedown::, - Setonmousemove: Setonmousemove::, - onmousemove: onmousemove::, - Setonmouseout: Setonmouseout::, - onmouseout: onmouseout::, - Setonmouseover: Setonmouseover::, - onmouseover: onmouseover::, - Setonreadystatechange: Setonreadystatechange::, - onreadystatechange: onreadystatechange::, - Setonafterupdate: Setonafterupdate::, - onafterupdate: onafterupdate::, - Setonrowexit: Setonrowexit::, - onrowexit: onrowexit::, - Setonrowenter: Setonrowenter::, - onrowenter: onrowenter::, - Setondragstart: Setondragstart::, - ondragstart: ondragstart::, - Setonselectstart: Setonselectstart::, - onselectstart: onselectstart::, - elementFromPoint: elementFromPoint::, - parentWindow: parentWindow::, - styleSheets: styleSheets::, - Setonbeforeupdate: Setonbeforeupdate::, - onbeforeupdate: onbeforeupdate::, - Setonerrorupdate: Setonerrorupdate::, - onerrorupdate: onerrorupdate::, - toString: toString::, - createStyleSheet: createStyleSheet::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDocument3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn releaseCapture(&self) -> ::windows::core::Result<()>; - fn recalc(&self, fforce: i16) -> ::windows::core::Result<()>; - fn createTextNode(&self, text: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn documentElement(&self) -> ::windows::core::Result; - fn uniqueID(&self) -> ::windows::core::Result; - fn attachEvent(&self, event: &super::super::Foundation::BSTR, pdisp: &::core::option::Option) -> ::windows::core::Result; - fn detachEvent(&self, event: &super::super::Foundation::BSTR, pdisp: &::core::option::Option) -> ::windows::core::Result<()>; - fn Setonrowsdelete(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onrowsdelete(&self) -> ::windows::core::Result; - fn Setonrowsinserted(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onrowsinserted(&self) -> ::windows::core::Result; - fn Setoncellchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oncellchange(&self) -> ::windows::core::Result; - fn Setondatasetchanged(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondatasetchanged(&self) -> ::windows::core::Result; - fn Setondataavailable(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondataavailable(&self) -> ::windows::core::Result; - fn Setondatasetcomplete(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondatasetcomplete(&self) -> ::windows::core::Result; - fn Setonpropertychange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onpropertychange(&self) -> ::windows::core::Result; - fn Setdir(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dir(&self) -> ::windows::core::Result; - fn Setoncontextmenu(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oncontextmenu(&self) -> ::windows::core::Result; - fn Setonstop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onstop(&self) -> ::windows::core::Result; - fn createDocumentFragment(&self) -> ::windows::core::Result; - fn parentDocument(&self) -> ::windows::core::Result; - fn SetenableDownload(&self, v: i16) -> ::windows::core::Result<()>; - fn enableDownload(&self) -> ::windows::core::Result; - fn SetbaseUrl(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn baseUrl(&self) -> ::windows::core::Result; - fn childNodes(&self) -> ::windows::core::Result; - fn SetinheritStyleSheets(&self, v: i16) -> ::windows::core::Result<()>; - fn inheritStyleSheets(&self) -> ::windows::core::Result; - fn Setonbeforeeditfocus(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbeforeeditfocus(&self) -> ::windows::core::Result; - fn getElementsByName(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn getElementById(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn getElementsByTagName(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDocument3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDocument3_Vtbl { - pub const fn new, Impl: IHTMLDocument3_Impl, const OFFSET: isize>() -> IHTMLDocument3_Vtbl { - unsafe extern "system" fn releaseCapture, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.releaseCapture().into() - } - unsafe extern "system" fn recalc, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fforce: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.recalc(::core::mem::transmute_copy(&fforce)).into() - } - unsafe extern "system" fn createTextNode, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, text: ::core::mem::ManuallyDrop, newtextnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createTextNode(::core::mem::transmute(&text)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(newtextnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn documentElement, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.documentElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn uniqueID, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.uniqueID() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn attachEvent, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, event: ::core::mem::ManuallyDrop, pdisp: *mut ::core::ffi::c_void, pfresult: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.attachEvent(::core::mem::transmute(&event), ::core::mem::transmute(&pdisp)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn detachEvent, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, event: ::core::mem::ManuallyDrop, pdisp: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.detachEvent(::core::mem::transmute(&event), ::core::mem::transmute(&pdisp)).into() - } - unsafe extern "system" fn Setonrowsdelete, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonrowsdelete(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onrowsdelete, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onrowsdelete() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonrowsinserted, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonrowsinserted(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onrowsinserted, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onrowsinserted() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoncellchange, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoncellchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oncellchange, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oncellchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondatasetchanged, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondatasetchanged(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondatasetchanged, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondatasetchanged() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondataavailable, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondataavailable(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondataavailable, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondataavailable() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondatasetcomplete, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondatasetcomplete(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondatasetcomplete, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondatasetcomplete() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonpropertychange, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonpropertychange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onpropertychange, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onpropertychange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdir, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdir(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dir, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dir() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoncontextmenu, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoncontextmenu(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oncontextmenu, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oncontextmenu() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonstop, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonstop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onstop, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onstop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createDocumentFragment, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pnewdoc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createDocumentFragment() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pnewdoc, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn parentDocument, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.parentDocument() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetenableDownload, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetenableDownload(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn enableDownload, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.enableDownload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbaseUrl, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbaseUrl(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn baseUrl, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.baseUrl() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn childNodes, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.childNodes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetinheritStyleSheets, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetinheritStyleSheets(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn inheritStyleSheets, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.inheritStyleSheets() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonbeforeeditfocus, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbeforeeditfocus(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbeforeeditfocus, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbeforeeditfocus() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getElementsByName, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pelcoll: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getElementsByName(::core::mem::transmute(&v)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pelcoll, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getElementById, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pel: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getElementById(::core::mem::transmute(&v)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pel, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getElementsByTagName, Impl: IHTMLDocument3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pelcoll: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getElementsByTagName(::core::mem::transmute(&v)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pelcoll, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - releaseCapture: releaseCapture::, - recalc: recalc::, - createTextNode: createTextNode::, - documentElement: documentElement::, - uniqueID: uniqueID::, - attachEvent: attachEvent::, - detachEvent: detachEvent::, - Setonrowsdelete: Setonrowsdelete::, - onrowsdelete: onrowsdelete::, - Setonrowsinserted: Setonrowsinserted::, - onrowsinserted: onrowsinserted::, - Setoncellchange: Setoncellchange::, - oncellchange: oncellchange::, - Setondatasetchanged: Setondatasetchanged::, - ondatasetchanged: ondatasetchanged::, - Setondataavailable: Setondataavailable::, - ondataavailable: ondataavailable::, - Setondatasetcomplete: Setondatasetcomplete::, - ondatasetcomplete: ondatasetcomplete::, - Setonpropertychange: Setonpropertychange::, - onpropertychange: onpropertychange::, - Setdir: Setdir::, - dir: dir::, - Setoncontextmenu: Setoncontextmenu::, - oncontextmenu: oncontextmenu::, - Setonstop: Setonstop::, - onstop: onstop::, - createDocumentFragment: createDocumentFragment::, - parentDocument: parentDocument::, - SetenableDownload: SetenableDownload::, - enableDownload: enableDownload::, - SetbaseUrl: SetbaseUrl::, - baseUrl: baseUrl::, - childNodes: childNodes::, - SetinheritStyleSheets: SetinheritStyleSheets::, - inheritStyleSheets: inheritStyleSheets::, - Setonbeforeeditfocus: Setonbeforeeditfocus::, - onbeforeeditfocus: onbeforeeditfocus::, - getElementsByName: getElementsByName::, - getElementById: getElementById::, - getElementsByTagName: getElementsByTagName::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDocument4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn focus(&self) -> ::windows::core::Result<()>; - fn hasFocus(&self) -> ::windows::core::Result; - fn Setonselectionchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onselectionchange(&self) -> ::windows::core::Result; - fn namespaces(&self) -> ::windows::core::Result; - fn createDocumentFromUrl(&self, bstrurl: &super::super::Foundation::BSTR, bstroptions: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn Setmedia(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn media(&self) -> ::windows::core::Result; - fn createEventObject(&self, pvareventobject: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn fireEvent(&self, bstreventname: &super::super::Foundation::BSTR, pvareventobject: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn createRenderStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn Setoncontrolselect(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oncontrolselect(&self) -> ::windows::core::Result; - fn URLUnencoded(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDocument4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDocument4_Vtbl { - pub const fn new, Impl: IHTMLDocument4_Impl, const OFFSET: isize>() -> IHTMLDocument4_Vtbl { - unsafe extern "system" fn focus, Impl: IHTMLDocument4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.focus().into() - } - unsafe extern "system" fn hasFocus, Impl: IHTMLDocument4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pffocus: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasFocus() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pffocus, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonselectionchange, Impl: IHTMLDocument4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonselectionchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onselectionchange, Impl: IHTMLDocument4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onselectionchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn namespaces, Impl: IHTMLDocument4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.namespaces() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createDocumentFromUrl, Impl: IHTMLDocument4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, bstroptions: ::core::mem::ManuallyDrop, newdoc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createDocumentFromUrl(::core::mem::transmute(&bstrurl), ::core::mem::transmute(&bstroptions)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(newdoc, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setmedia, Impl: IHTMLDocument4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmedia(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn media, Impl: IHTMLDocument4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.media() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createEventObject, Impl: IHTMLDocument4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvareventobject: *const super::super::System::Com::VARIANT, ppeventobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createEventObject(::core::mem::transmute_copy(&pvareventobject)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppeventobj, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fireEvent, Impl: IHTMLDocument4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstreventname: ::core::mem::ManuallyDrop, pvareventobject: *const super::super::System::Com::VARIANT, pfcancelled: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fireEvent(::core::mem::transmute(&bstreventname), ::core::mem::transmute_copy(&pvareventobject)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfcancelled, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createRenderStyle, Impl: IHTMLDocument4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, ppihtmlrenderstyle: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createRenderStyle(::core::mem::transmute(&v)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppihtmlrenderstyle, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoncontrolselect, Impl: IHTMLDocument4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoncontrolselect(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oncontrolselect, Impl: IHTMLDocument4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oncontrolselect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn URLUnencoded, Impl: IHTMLDocument4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.URLUnencoded() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - focus: focus::, - hasFocus: hasFocus::, - Setonselectionchange: Setonselectionchange::, - onselectionchange: onselectionchange::, - namespaces: namespaces::, - createDocumentFromUrl: createDocumentFromUrl::, - Setmedia: Setmedia::, - media: media::, - createEventObject: createEventObject::, - fireEvent: fireEvent::, - createRenderStyle: createRenderStyle::, - Setoncontrolselect: Setoncontrolselect::, - oncontrolselect: oncontrolselect::, - URLUnencoded: URLUnencoded::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDocument5_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setonmousewheel(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmousewheel(&self) -> ::windows::core::Result; - fn doctype(&self) -> ::windows::core::Result; - fn implementation(&self) -> ::windows::core::Result; - fn createAttribute(&self, bstrattrname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn createComment(&self, bstrdata: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn Setonfocusin(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onfocusin(&self) -> ::windows::core::Result; - fn Setonfocusout(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onfocusout(&self) -> ::windows::core::Result; - fn Setonactivate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onactivate(&self) -> ::windows::core::Result; - fn Setondeactivate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondeactivate(&self) -> ::windows::core::Result; - fn Setonbeforeactivate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbeforeactivate(&self) -> ::windows::core::Result; - fn Setonbeforedeactivate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbeforedeactivate(&self) -> ::windows::core::Result; - fn compatMode(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDocument5 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDocument5_Vtbl { - pub const fn new, Impl: IHTMLDocument5_Impl, const OFFSET: isize>() -> IHTMLDocument5_Vtbl { - unsafe extern "system" fn Setonmousewheel, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmousewheel(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmousewheel, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmousewheel() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn doctype, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.doctype() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn implementation, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.implementation() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createAttribute, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrattrname: ::core::mem::ManuallyDrop, ppattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createAttribute(::core::mem::transmute(&bstrattrname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppattribute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createComment, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrdata: ::core::mem::ManuallyDrop, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createComment(::core::mem::transmute(&bstrdata)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonfocusin, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonfocusin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onfocusin, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onfocusin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonfocusout, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonfocusout(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onfocusout, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onfocusout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonactivate, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonactivate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onactivate, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onactivate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondeactivate, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondeactivate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondeactivate, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondeactivate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonbeforeactivate, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbeforeactivate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbeforeactivate, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbeforeactivate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonbeforedeactivate, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbeforedeactivate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbeforedeactivate, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbeforedeactivate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn compatMode, Impl: IHTMLDocument5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.compatMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setonmousewheel: Setonmousewheel::, - onmousewheel: onmousewheel::, - doctype: doctype::, - implementation: implementation::, - createAttribute: createAttribute::, - createComment: createComment::, - Setonfocusin: Setonfocusin::, - onfocusin: onfocusin::, - Setonfocusout: Setonfocusout::, - onfocusout: onfocusout::, - Setonactivate: Setonactivate::, - onactivate: onactivate::, - Setondeactivate: Setondeactivate::, - ondeactivate: ondeactivate::, - Setonbeforeactivate: Setonbeforeactivate::, - onbeforeactivate: onbeforeactivate::, - Setonbeforedeactivate: Setonbeforedeactivate::, - onbeforedeactivate: onbeforedeactivate::, - compatMode: compatMode::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDocument6_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn compatible(&self) -> ::windows::core::Result; - fn documentMode(&self) -> ::windows::core::Result; - fn Setonstorage(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onstorage(&self) -> ::windows::core::Result; - fn Setonstoragecommit(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onstoragecommit(&self) -> ::windows::core::Result; - fn getElementById(&self, bstrid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn updateSettings(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDocument6 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDocument6_Vtbl { - pub const fn new, Impl: IHTMLDocument6_Impl, const OFFSET: isize>() -> IHTMLDocument6_Vtbl { - unsafe extern "system" fn compatible, Impl: IHTMLDocument6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.compatible() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn documentMode, Impl: IHTMLDocument6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.documentMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonstorage, Impl: IHTMLDocument6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonstorage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onstorage, Impl: IHTMLDocument6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onstorage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonstoragecommit, Impl: IHTMLDocument6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonstoragecommit(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onstoragecommit, Impl: IHTMLDocument6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onstoragecommit() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getElementById, Impl: IHTMLDocument6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrid: ::core::mem::ManuallyDrop, ppretelement: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getElementById(::core::mem::transmute(&bstrid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretelement, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn updateSettings, Impl: IHTMLDocument6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.updateSettings().into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - compatible: compatible::, - documentMode: documentMode::, - Setonstorage: Setonstorage::, - onstorage: onstorage::, - Setonstoragecommit: Setonstoragecommit::, - onstoragecommit: onstoragecommit::, - getElementById: getElementById::, - updateSettings: updateSettings::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDocument7_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn defaultView(&self) -> ::windows::core::Result; - fn createCDATASection(&self, text: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn getSelection(&self) -> ::windows::core::Result; - fn getElementsByTagNameNS(&self, pvarns: *const super::super::System::Com::VARIANT, bstrlocalname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn createElementNS(&self, pvarns: *const super::super::System::Com::VARIANT, bstrtag: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn createAttributeNS(&self, pvarns: *const super::super::System::Com::VARIANT, bstrattrname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn Setonmsthumbnailclick(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsthumbnailclick(&self) -> ::windows::core::Result; - fn characterSet(&self) -> ::windows::core::Result; - fn createElement(&self, bstrtag: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn createAttribute(&self, bstrattrname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn getElementsByClassName(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn createProcessingInstruction(&self, bstrtarget: &super::super::Foundation::BSTR, bstrdata: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn adoptNode(&self, pnodesource: &::core::option::Option) -> ::windows::core::Result; - fn Setonmssitemodejumplistitemremoved(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmssitemodejumplistitemremoved(&self) -> ::windows::core::Result; - fn all(&self) -> ::windows::core::Result; - fn inputEncoding(&self) -> ::windows::core::Result; - fn xmlEncoding(&self) -> ::windows::core::Result; - fn SetxmlStandalone(&self, v: i16) -> ::windows::core::Result<()>; - fn xmlStandalone(&self) -> ::windows::core::Result; - fn SetxmlVersion(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn xmlVersion(&self) -> ::windows::core::Result; - fn hasAttributes(&self) -> ::windows::core::Result; - fn Setonabort(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onabort(&self) -> ::windows::core::Result; - fn Setonblur(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onblur(&self) -> ::windows::core::Result; - fn Setoncanplay(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oncanplay(&self) -> ::windows::core::Result; - fn Setoncanplaythrough(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oncanplaythrough(&self) -> ::windows::core::Result; - fn Setonchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onchange(&self) -> ::windows::core::Result; - fn Setondrag(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondrag(&self) -> ::windows::core::Result; - fn Setondragend(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondragend(&self) -> ::windows::core::Result; - fn Setondragenter(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondragenter(&self) -> ::windows::core::Result; - fn Setondragleave(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondragleave(&self) -> ::windows::core::Result; - fn Setondragover(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondragover(&self) -> ::windows::core::Result; - fn Setondrop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondrop(&self) -> ::windows::core::Result; - fn Setondurationchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondurationchange(&self) -> ::windows::core::Result; - fn Setonemptied(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onemptied(&self) -> ::windows::core::Result; - fn Setonended(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onended(&self) -> ::windows::core::Result; - fn Setonerror(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onerror(&self) -> ::windows::core::Result; - fn Setonfocus(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onfocus(&self) -> ::windows::core::Result; - fn Setoninput(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oninput(&self) -> ::windows::core::Result; - fn Setonload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onload(&self) -> ::windows::core::Result; - fn Setonloadeddata(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onloadeddata(&self) -> ::windows::core::Result; - fn Setonloadedmetadata(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onloadedmetadata(&self) -> ::windows::core::Result; - fn Setonloadstart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onloadstart(&self) -> ::windows::core::Result; - fn Setonpause(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onpause(&self) -> ::windows::core::Result; - fn Setonplay(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onplay(&self) -> ::windows::core::Result; - fn Setonplaying(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onplaying(&self) -> ::windows::core::Result; - fn Setonprogress(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onprogress(&self) -> ::windows::core::Result; - fn Setonratechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onratechange(&self) -> ::windows::core::Result; - fn Setonreset(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onreset(&self) -> ::windows::core::Result; - fn Setonscroll(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onscroll(&self) -> ::windows::core::Result; - fn Setonseeked(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onseeked(&self) -> ::windows::core::Result; - fn Setonseeking(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onseeking(&self) -> ::windows::core::Result; - fn Setonselect(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onselect(&self) -> ::windows::core::Result; - fn Setonstalled(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onstalled(&self) -> ::windows::core::Result; - fn Setonsubmit(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onsubmit(&self) -> ::windows::core::Result; - fn Setonsuspend(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onsuspend(&self) -> ::windows::core::Result; - fn Setontimeupdate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ontimeupdate(&self) -> ::windows::core::Result; - fn Setonvolumechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onvolumechange(&self) -> ::windows::core::Result; - fn Setonwaiting(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onwaiting(&self) -> ::windows::core::Result; - fn normalize(&self) -> ::windows::core::Result<()>; - fn importNode(&self, pnodesource: &::core::option::Option, fdeep: i16) -> ::windows::core::Result; - fn parentWindow(&self) -> ::windows::core::Result; - fn putref_body(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn body(&self) -> ::windows::core::Result; - fn head(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDocument7 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDocument7_Vtbl { - pub const fn new, Impl: IHTMLDocument7_Impl, const OFFSET: isize>() -> IHTMLDocument7_Vtbl { - unsafe extern "system" fn defaultView, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.defaultView() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createCDATASection, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, text: ::core::mem::ManuallyDrop, newcdatasectionnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createCDATASection(::core::mem::transmute(&text)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(newcdatasectionnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getSelection, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppihtmlselection: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getSelection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppihtmlselection, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getElementsByTagNameNS, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, bstrlocalname: ::core::mem::ManuallyDrop, pelcoll: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getElementsByTagNameNS(::core::mem::transmute_copy(&pvarns), ::core::mem::transmute(&bstrlocalname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pelcoll, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createElementNS, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, bstrtag: ::core::mem::ManuallyDrop, newelem: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createElementNS(::core::mem::transmute_copy(&pvarns), ::core::mem::transmute(&bstrtag)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(newelem, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createAttributeNS, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, bstrattrname: ::core::mem::ManuallyDrop, ppattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createAttributeNS(::core::mem::transmute_copy(&pvarns), ::core::mem::transmute(&bstrattrname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppattribute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsthumbnailclick, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsthumbnailclick(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsthumbnailclick, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsthumbnailclick() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn characterSet, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.characterSet() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createElement, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrtag: ::core::mem::ManuallyDrop, newelem: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createElement(::core::mem::transmute(&bstrtag)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(newelem, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createAttribute, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrattrname: ::core::mem::ManuallyDrop, ppattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createAttribute(::core::mem::transmute(&bstrattrname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppattribute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getElementsByClassName, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pel: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getElementsByClassName(::core::mem::transmute(&v)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pel, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createProcessingInstruction, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrtarget: ::core::mem::ManuallyDrop, bstrdata: ::core::mem::ManuallyDrop, newprocessinginstruction: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createProcessingInstruction(::core::mem::transmute(&bstrtarget), ::core::mem::transmute(&bstrdata)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(newprocessinginstruction, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn adoptNode, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pnodesource: *mut ::core::ffi::c_void, ppnodedest: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.adoptNode(::core::mem::transmute(&pnodesource)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnodedest, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmssitemodejumplistitemremoved, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmssitemodejumplistitemremoved(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmssitemodejumplistitemremoved, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmssitemodejumplistitemremoved() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn all, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.all() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn inputEncoding, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.inputEncoding() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn xmlEncoding, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.xmlEncoding() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetxmlStandalone, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetxmlStandalone(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn xmlStandalone, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.xmlStandalone() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetxmlVersion, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetxmlVersion(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn xmlVersion, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.xmlVersion() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn hasAttributes, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfhasattributes: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasAttributes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfhasattributes, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonabort, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonabort(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onabort, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onabort() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonblur, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonblur(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onblur, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onblur() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoncanplay, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoncanplay(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oncanplay, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oncanplay() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoncanplaythrough, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoncanplaythrough(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oncanplaythrough, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oncanplaythrough() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonchange, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onchange, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondrag, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondrag(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondrag, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondrag() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondragend, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondragend(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondragend, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondragend() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondragenter, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondragenter(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondragenter, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondragenter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondragleave, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondragleave(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondragleave, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondragleave() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondragover, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondragover(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondragover, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondragover() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondrop, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondrop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondrop, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondrop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondurationchange, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondurationchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondurationchange, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondurationchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonemptied, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonemptied(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onemptied, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onemptied() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonended, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonended(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onended, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onended() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonerror, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonerror(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onerror, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onerror() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonfocus, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonfocus(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onfocus, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onfocus() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoninput, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoninput(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oninput, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oninput() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonload, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onload, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonloadeddata, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonloadeddata(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onloadeddata, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onloadeddata() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonloadedmetadata, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonloadedmetadata(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onloadedmetadata, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onloadedmetadata() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonloadstart, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonloadstart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onloadstart, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onloadstart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonpause, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonpause(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onpause, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onpause() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonplay, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonplay(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onplay, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onplay() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonplaying, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonplaying(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onplaying, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onplaying() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonprogress, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonprogress(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onprogress, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onprogress() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonratechange, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonratechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onratechange, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onratechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonreset, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonreset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onreset, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onreset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonscroll, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonscroll(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onscroll, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onscroll() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonseeked, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonseeked(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onseeked, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onseeked() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonseeking, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonseeking(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onseeking, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onseeking() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonselect, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonselect(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onselect, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onselect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonstalled, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonstalled(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onstalled, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onstalled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonsubmit, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonsubmit(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onsubmit, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onsubmit() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonsuspend, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonsuspend(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onsuspend, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onsuspend() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setontimeupdate, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setontimeupdate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ontimeupdate, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ontimeupdate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonvolumechange, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonvolumechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onvolumechange, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onvolumechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonwaiting, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonwaiting(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onwaiting, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onwaiting() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn normalize, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.normalize().into() - } - unsafe extern "system" fn importNode, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pnodesource: *mut ::core::ffi::c_void, fdeep: i16, ppnodedest: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.importNode(::core::mem::transmute(&pnodesource), ::core::mem::transmute_copy(&fdeep)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnodedest, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn parentWindow, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.parentWindow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_body, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_body(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn body, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.body() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn head, Impl: IHTMLDocument7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.head() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - defaultView: defaultView::, - createCDATASection: createCDATASection::, - getSelection: getSelection::, - getElementsByTagNameNS: getElementsByTagNameNS::, - createElementNS: createElementNS::, - createAttributeNS: createAttributeNS::, - Setonmsthumbnailclick: Setonmsthumbnailclick::, - onmsthumbnailclick: onmsthumbnailclick::, - characterSet: characterSet::, - createElement: createElement::, - createAttribute: createAttribute::, - getElementsByClassName: getElementsByClassName::, - createProcessingInstruction: createProcessingInstruction::, - adoptNode: adoptNode::, - Setonmssitemodejumplistitemremoved: Setonmssitemodejumplistitemremoved::, - onmssitemodejumplistitemremoved: onmssitemodejumplistitemremoved::, - all: all::, - inputEncoding: inputEncoding::, - xmlEncoding: xmlEncoding::, - SetxmlStandalone: SetxmlStandalone::, - xmlStandalone: xmlStandalone::, - SetxmlVersion: SetxmlVersion::, - xmlVersion: xmlVersion::, - hasAttributes: hasAttributes::, - Setonabort: Setonabort::, - onabort: onabort::, - Setonblur: Setonblur::, - onblur: onblur::, - Setoncanplay: Setoncanplay::, - oncanplay: oncanplay::, - Setoncanplaythrough: Setoncanplaythrough::, - oncanplaythrough: oncanplaythrough::, - Setonchange: Setonchange::, - onchange: onchange::, - Setondrag: Setondrag::, - ondrag: ondrag::, - Setondragend: Setondragend::, - ondragend: ondragend::, - Setondragenter: Setondragenter::, - ondragenter: ondragenter::, - Setondragleave: Setondragleave::, - ondragleave: ondragleave::, - Setondragover: Setondragover::, - ondragover: ondragover::, - Setondrop: Setondrop::, - ondrop: ondrop::, - Setondurationchange: Setondurationchange::, - ondurationchange: ondurationchange::, - Setonemptied: Setonemptied::, - onemptied: onemptied::, - Setonended: Setonended::, - onended: onended::, - Setonerror: Setonerror::, - onerror: onerror::, - Setonfocus: Setonfocus::, - onfocus: onfocus::, - Setoninput: Setoninput::, - oninput: oninput::, - Setonload: Setonload::, - onload: onload::, - Setonloadeddata: Setonloadeddata::, - onloadeddata: onloadeddata::, - Setonloadedmetadata: Setonloadedmetadata::, - onloadedmetadata: onloadedmetadata::, - Setonloadstart: Setonloadstart::, - onloadstart: onloadstart::, - Setonpause: Setonpause::, - onpause: onpause::, - Setonplay: Setonplay::, - onplay: onplay::, - Setonplaying: Setonplaying::, - onplaying: onplaying::, - Setonprogress: Setonprogress::, - onprogress: onprogress::, - Setonratechange: Setonratechange::, - onratechange: onratechange::, - Setonreset: Setonreset::, - onreset: onreset::, - Setonscroll: Setonscroll::, - onscroll: onscroll::, - Setonseeked: Setonseeked::, - onseeked: onseeked::, - Setonseeking: Setonseeking::, - onseeking: onseeking::, - Setonselect: Setonselect::, - onselect: onselect::, - Setonstalled: Setonstalled::, - onstalled: onstalled::, - Setonsubmit: Setonsubmit::, - onsubmit: onsubmit::, - Setonsuspend: Setonsuspend::, - onsuspend: onsuspend::, - Setontimeupdate: Setontimeupdate::, - ontimeupdate: ontimeupdate::, - Setonvolumechange: Setonvolumechange::, - onvolumechange: onvolumechange::, - Setonwaiting: Setonwaiting::, - onwaiting: onwaiting::, - normalize: normalize::, - importNode: importNode::, - parentWindow: parentWindow::, - putref_body: putref_body::, - body: body::, - head: head::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDocument8_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setonmscontentzoom(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmscontentzoom(&self) -> ::windows::core::Result; - fn Setonmspointerdown(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointerdown(&self) -> ::windows::core::Result; - fn Setonmspointermove(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointermove(&self) -> ::windows::core::Result; - fn Setonmspointerup(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointerup(&self) -> ::windows::core::Result; - fn Setonmspointerover(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointerover(&self) -> ::windows::core::Result; - fn Setonmspointerout(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointerout(&self) -> ::windows::core::Result; - fn Setonmspointercancel(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointercancel(&self) -> ::windows::core::Result; - fn Setonmspointerhover(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointerhover(&self) -> ::windows::core::Result; - fn Setonmsgesturestart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgesturestart(&self) -> ::windows::core::Result; - fn Setonmsgesturechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgesturechange(&self) -> ::windows::core::Result; - fn Setonmsgestureend(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgestureend(&self) -> ::windows::core::Result; - fn Setonmsgesturehold(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgesturehold(&self) -> ::windows::core::Result; - fn Setonmsgesturetap(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgesturetap(&self) -> ::windows::core::Result; - fn Setonmsgesturedoubletap(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgesturedoubletap(&self) -> ::windows::core::Result; - fn Setonmsinertiastart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsinertiastart(&self) -> ::windows::core::Result; - fn elementsFromPoint(&self, x: f32, y: f32) -> ::windows::core::Result; - fn elementsFromRect(&self, left: f32, top: f32, width: f32, height: f32) -> ::windows::core::Result; - fn Setonmsmanipulationstatechanged(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsmanipulationstatechanged(&self) -> ::windows::core::Result; - fn SetmsCapsLockWarningOff(&self, v: i16) -> ::windows::core::Result<()>; - fn msCapsLockWarningOff(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDocument8 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDocument8_Vtbl { - pub const fn new, Impl: IHTMLDocument8_Impl, const OFFSET: isize>() -> IHTMLDocument8_Vtbl { - unsafe extern "system" fn Setonmscontentzoom, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmscontentzoom(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmscontentzoom, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmscontentzoom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointerdown, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointerdown(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointerdown, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointerdown() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointermove, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointermove(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointermove, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointermove() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointerup, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointerup(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointerup, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointerup() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointerover, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointerover(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointerover, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointerover() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointerout, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointerout(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointerout, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointerout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointercancel, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointercancel(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointercancel, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointercancel() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointerhover, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointerhover(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointerhover, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointerhover() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgesturestart, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgesturestart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgesturestart, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgesturestart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgesturechange, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgesturechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgesturechange, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgesturechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgestureend, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgestureend(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgestureend, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgestureend() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgesturehold, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgesturehold(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgesturehold, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgesturehold() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgesturetap, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgesturetap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgesturetap, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgesturetap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgesturedoubletap, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgesturedoubletap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgesturedoubletap, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgesturedoubletap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsinertiastart, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsinertiastart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsinertiastart, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsinertiastart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn elementsFromPoint, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, elementshit: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.elementsFromPoint(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(elementshit, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn elementsFromRect, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, left: f32, top: f32, width: f32, height: f32, elementshit: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.elementsFromRect(::core::mem::transmute_copy(&left), ::core::mem::transmute_copy(&top), ::core::mem::transmute_copy(&width), ::core::mem::transmute_copy(&height)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(elementshit, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsmanipulationstatechanged, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsmanipulationstatechanged(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsmanipulationstatechanged, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsmanipulationstatechanged() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsCapsLockWarningOff, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsCapsLockWarningOff(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn msCapsLockWarningOff, Impl: IHTMLDocument8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msCapsLockWarningOff() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setonmscontentzoom: Setonmscontentzoom::, - onmscontentzoom: onmscontentzoom::, - Setonmspointerdown: Setonmspointerdown::, - onmspointerdown: onmspointerdown::, - Setonmspointermove: Setonmspointermove::, - onmspointermove: onmspointermove::, - Setonmspointerup: Setonmspointerup::, - onmspointerup: onmspointerup::, - Setonmspointerover: Setonmspointerover::, - onmspointerover: onmspointerover::, - Setonmspointerout: Setonmspointerout::, - onmspointerout: onmspointerout::, - Setonmspointercancel: Setonmspointercancel::, - onmspointercancel: onmspointercancel::, - Setonmspointerhover: Setonmspointerhover::, - onmspointerhover: onmspointerhover::, - Setonmsgesturestart: Setonmsgesturestart::, - onmsgesturestart: onmsgesturestart::, - Setonmsgesturechange: Setonmsgesturechange::, - onmsgesturechange: onmsgesturechange::, - Setonmsgestureend: Setonmsgestureend::, - onmsgestureend: onmsgestureend::, - Setonmsgesturehold: Setonmsgesturehold::, - onmsgesturehold: onmsgesturehold::, - Setonmsgesturetap: Setonmsgesturetap::, - onmsgesturetap: onmsgesturetap::, - Setonmsgesturedoubletap: Setonmsgesturedoubletap::, - onmsgesturedoubletap: onmsgesturedoubletap::, - Setonmsinertiastart: Setonmsinertiastart::, - onmsinertiastart: onmsinertiastart::, - elementsFromPoint: elementsFromPoint::, - elementsFromRect: elementsFromRect::, - Setonmsmanipulationstatechanged: Setonmsmanipulationstatechanged::, - onmsmanipulationstatechanged: onmsmanipulationstatechanged::, - SetmsCapsLockWarningOff: SetmsCapsLockWarningOff::, - msCapsLockWarningOff: msCapsLockWarningOff::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDocumentCompatibleInfo_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn userAgent(&self) -> ::windows::core::Result; - fn version(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDocumentCompatibleInfo {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDocumentCompatibleInfo_Vtbl { - pub const fn new, Impl: IHTMLDocumentCompatibleInfo_Impl, const OFFSET: isize>() -> IHTMLDocumentCompatibleInfo_Vtbl { - unsafe extern "system" fn userAgent, Impl: IHTMLDocumentCompatibleInfo_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.userAgent() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn version, Impl: IHTMLDocumentCompatibleInfo_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.version() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - userAgent: userAgent::, - version: version::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLDocumentCompatibleInfoCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn item(&self, index: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLDocumentCompatibleInfoCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLDocumentCompatibleInfoCollection_Vtbl { - pub const fn new, Impl: IHTMLDocumentCompatibleInfoCollection_Impl, const OFFSET: isize>() -> IHTMLDocumentCompatibleInfoCollection_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLDocumentCompatibleInfoCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLDocumentCompatibleInfoCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, compatibleinfo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(compatibleinfo, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - item: item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_System_Com")] -pub trait IHTMLEditDesigner_Impl: Sized { - fn PreHandleEvent(&self, inevtdispid: i32, pieventobj: &::core::option::Option) -> ::windows::core::Result<()>; - fn PostHandleEvent(&self, inevtdispid: i32, pieventobj: &::core::option::Option) -> ::windows::core::Result<()>; - fn TranslateAccelerator(&self, inevtdispid: i32, pieventobj: &::core::option::Option) -> ::windows::core::Result<()>; - fn PostEditorEventNotify(&self, inevtdispid: i32, pieventobj: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_System_Com")] -impl ::windows::core::RuntimeName for IHTMLEditDesigner {} -#[cfg(feature = "Win32_System_Com")] -impl IHTMLEditDesigner_Vtbl { - pub const fn new, Impl: IHTMLEditDesigner_Impl, const OFFSET: isize>() -> IHTMLEditDesigner_Vtbl { - unsafe extern "system" fn PreHandleEvent, Impl: IHTMLEditDesigner_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, inevtdispid: i32, pieventobj: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.PreHandleEvent(::core::mem::transmute_copy(&inevtdispid), ::core::mem::transmute(&pieventobj)).into() - } - unsafe extern "system" fn PostHandleEvent, Impl: IHTMLEditDesigner_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, inevtdispid: i32, pieventobj: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.PostHandleEvent(::core::mem::transmute_copy(&inevtdispid), ::core::mem::transmute(&pieventobj)).into() - } - unsafe extern "system" fn TranslateAccelerator, Impl: IHTMLEditDesigner_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, inevtdispid: i32, pieventobj: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.TranslateAccelerator(::core::mem::transmute_copy(&inevtdispid), ::core::mem::transmute(&pieventobj)).into() - } - unsafe extern "system" fn PostEditorEventNotify, Impl: IHTMLEditDesigner_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, inevtdispid: i32, pieventobj: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.PostEditorEventNotify(::core::mem::transmute_copy(&inevtdispid), ::core::mem::transmute(&pieventobj)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - PreHandleEvent: PreHandleEvent::, - PostHandleEvent: PostHandleEvent::, - TranslateAccelerator: TranslateAccelerator::, - PostEditorEventNotify: PostEditorEventNotify::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IHTMLEditHost_Impl: Sized { - fn SnapRect(&self, pielement: &::core::option::Option, prcnew: *mut super::super::Foundation::RECT, ehandle: ELEMENT_CORNER) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IHTMLEditHost {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IHTMLEditHost_Vtbl { - pub const fn new, Impl: IHTMLEditHost_Impl, const OFFSET: isize>() -> IHTMLEditHost_Vtbl { - unsafe extern "system" fn SnapRect, Impl: IHTMLEditHost_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pielement: *mut ::core::ffi::c_void, prcnew: *mut super::super::Foundation::RECT, ehandle: ELEMENT_CORNER) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SnapRect(::core::mem::transmute(&pielement), ::core::mem::transmute_copy(&prcnew), ::core::mem::transmute_copy(&ehandle)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), SnapRect: SnapRect:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IHTMLEditHost2_Impl: Sized + IHTMLEditHost_Impl { - fn PreDrag(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IHTMLEditHost2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IHTMLEditHost2_Vtbl { - pub const fn new, Impl: IHTMLEditHost2_Impl, const OFFSET: isize>() -> IHTMLEditHost2_Vtbl { - unsafe extern "system" fn PreDrag, Impl: IHTMLEditHost2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.PreDrag().into() - } - Self { base__: IHTMLEditHost_Vtbl::new::(), PreDrag: PreDrag:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -pub trait IHTMLEditServices_Impl: Sized { - fn AddDesigner(&self, pidesigner: &::core::option::Option) -> ::windows::core::Result<()>; - fn RemoveDesigner(&self, pidesigner: &::core::option::Option) -> ::windows::core::Result<()>; - fn GetSelectionServices(&self, picontainer: &::core::option::Option) -> ::windows::core::Result; - fn MoveToSelectionAnchor(&self, pistartanchor: &::core::option::Option) -> ::windows::core::Result<()>; - fn MoveToSelectionEnd(&self, piendanchor: &::core::option::Option) -> ::windows::core::Result<()>; - fn SelectRange(&self, pstart: &::core::option::Option, pend: &::core::option::Option, etype: SELECTION_TYPE) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IHTMLEditServices {} -impl IHTMLEditServices_Vtbl { - pub const fn new, Impl: IHTMLEditServices_Impl, const OFFSET: isize>() -> IHTMLEditServices_Vtbl { - unsafe extern "system" fn AddDesigner, Impl: IHTMLEditServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pidesigner: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.AddDesigner(::core::mem::transmute(&pidesigner)).into() - } - unsafe extern "system" fn RemoveDesigner, Impl: IHTMLEditServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pidesigner: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.RemoveDesigner(::core::mem::transmute(&pidesigner)).into() - } - unsafe extern "system" fn GetSelectionServices, Impl: IHTMLEditServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, picontainer: *mut ::core::ffi::c_void, ppselsvc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetSelectionServices(::core::mem::transmute(&picontainer)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppselsvc, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn MoveToSelectionAnchor, Impl: IHTMLEditServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pistartanchor: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveToSelectionAnchor(::core::mem::transmute(&pistartanchor)).into() - } - unsafe extern "system" fn MoveToSelectionEnd, Impl: IHTMLEditServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, piendanchor: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveToSelectionEnd(::core::mem::transmute(&piendanchor)).into() - } - unsafe extern "system" fn SelectRange, Impl: IHTMLEditServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pstart: *mut ::core::ffi::c_void, pend: *mut ::core::ffi::c_void, etype: SELECTION_TYPE) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SelectRange(::core::mem::transmute(&pstart), ::core::mem::transmute(&pend), ::core::mem::transmute_copy(&etype)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - AddDesigner: AddDesigner::, - RemoveDesigner: RemoveDesigner::, - GetSelectionServices: GetSelectionServices::, - MoveToSelectionAnchor: MoveToSelectionAnchor::, - MoveToSelectionEnd: MoveToSelectionEnd::, - SelectRange: SelectRange::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IHTMLEditServices2_Impl: Sized + IHTMLEditServices_Impl { - fn MoveToSelectionAnchorEx(&self, pistartanchor: &::core::option::Option) -> ::windows::core::Result<()>; - fn MoveToSelectionEndEx(&self, piendanchor: &::core::option::Option) -> ::windows::core::Result<()>; - fn FreezeVirtualCaretPos(&self, frecompute: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; - fn UnFreezeVirtualCaretPos(&self, freset: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IHTMLEditServices2 {} -#[cfg(feature = "Win32_Foundation")] -impl IHTMLEditServices2_Vtbl { - pub const fn new, Impl: IHTMLEditServices2_Impl, const OFFSET: isize>() -> IHTMLEditServices2_Vtbl { - unsafe extern "system" fn MoveToSelectionAnchorEx, Impl: IHTMLEditServices2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pistartanchor: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveToSelectionAnchorEx(::core::mem::transmute(&pistartanchor)).into() - } - unsafe extern "system" fn MoveToSelectionEndEx, Impl: IHTMLEditServices2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, piendanchor: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveToSelectionEndEx(::core::mem::transmute(&piendanchor)).into() - } - unsafe extern "system" fn FreezeVirtualCaretPos, Impl: IHTMLEditServices2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, frecompute: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.FreezeVirtualCaretPos(::core::mem::transmute_copy(&frecompute)).into() - } - unsafe extern "system" fn UnFreezeVirtualCaretPos, Impl: IHTMLEditServices2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, freset: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.UnFreezeVirtualCaretPos(::core::mem::transmute_copy(&freset)).into() - } - Self { - base__: IHTMLEditServices_Vtbl::new::(), - MoveToSelectionAnchorEx: MoveToSelectionAnchorEx::, - MoveToSelectionEndEx: MoveToSelectionEndEx::, - FreezeVirtualCaretPos: FreezeVirtualCaretPos::, - UnFreezeVirtualCaretPos: UnFreezeVirtualCaretPos::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn setAttribute(&self, strattributename: &super::super::Foundation::BSTR, attributevalue: &super::super::System::Com::VARIANT, lflags: i32) -> ::windows::core::Result<()>; - fn getAttribute(&self, strattributename: &super::super::Foundation::BSTR, lflags: i32) -> ::windows::core::Result; - fn removeAttribute(&self, strattributename: &super::super::Foundation::BSTR, lflags: i32) -> ::windows::core::Result; - fn SetclassName(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn className(&self) -> ::windows::core::Result; - fn Setid(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn id(&self) -> ::windows::core::Result; - fn tagName(&self) -> ::windows::core::Result; - fn parentElement(&self) -> ::windows::core::Result; - fn style(&self) -> ::windows::core::Result; - fn Setonhelp(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onhelp(&self) -> ::windows::core::Result; - fn Setonclick(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onclick(&self) -> ::windows::core::Result; - fn Setondblclick(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondblclick(&self) -> ::windows::core::Result; - fn Setonkeydown(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onkeydown(&self) -> ::windows::core::Result; - fn Setonkeyup(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onkeyup(&self) -> ::windows::core::Result; - fn Setonkeypress(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onkeypress(&self) -> ::windows::core::Result; - fn Setonmouseout(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmouseout(&self) -> ::windows::core::Result; - fn Setonmouseover(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmouseover(&self) -> ::windows::core::Result; - fn Setonmousemove(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmousemove(&self) -> ::windows::core::Result; - fn Setonmousedown(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmousedown(&self) -> ::windows::core::Result; - fn Setonmouseup(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmouseup(&self) -> ::windows::core::Result; - fn document(&self) -> ::windows::core::Result; - fn Settitle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn title(&self) -> ::windows::core::Result; - fn Setlanguage(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn language(&self) -> ::windows::core::Result; - fn Setonselectstart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onselectstart(&self) -> ::windows::core::Result; - fn scrollIntoView(&self, varargstart: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn contains(&self, pchild: &::core::option::Option) -> ::windows::core::Result; - fn sourceIndex(&self) -> ::windows::core::Result; - fn recordNumber(&self) -> ::windows::core::Result; - fn Setlang(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn lang(&self) -> ::windows::core::Result; - fn offsetLeft(&self) -> ::windows::core::Result; - fn offsetTop(&self) -> ::windows::core::Result; - fn offsetWidth(&self) -> ::windows::core::Result; - fn offsetHeight(&self) -> ::windows::core::Result; - fn offsetParent(&self) -> ::windows::core::Result; - fn SetinnerHTML(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn innerHTML(&self) -> ::windows::core::Result; - fn SetinnerText(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn innerText(&self) -> ::windows::core::Result; - fn SetouterHTML(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn outerHTML(&self) -> ::windows::core::Result; - fn SetouterText(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn outerText(&self) -> ::windows::core::Result; - fn insertAdjacentHTML(&self, r#where: &super::super::Foundation::BSTR, html: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn insertAdjacentText(&self, r#where: &super::super::Foundation::BSTR, text: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn parentTextEdit(&self) -> ::windows::core::Result; - fn isTextEdit(&self) -> ::windows::core::Result; - fn click(&self) -> ::windows::core::Result<()>; - fn filters(&self) -> ::windows::core::Result; - fn Setondragstart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondragstart(&self) -> ::windows::core::Result; - fn toString(&self) -> ::windows::core::Result; - fn Setonbeforeupdate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbeforeupdate(&self) -> ::windows::core::Result; - fn Setonafterupdate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onafterupdate(&self) -> ::windows::core::Result; - fn Setonerrorupdate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onerrorupdate(&self) -> ::windows::core::Result; - fn Setonrowexit(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onrowexit(&self) -> ::windows::core::Result; - fn Setonrowenter(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onrowenter(&self) -> ::windows::core::Result; - fn Setondatasetchanged(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondatasetchanged(&self) -> ::windows::core::Result; - fn Setondataavailable(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondataavailable(&self) -> ::windows::core::Result; - fn Setondatasetcomplete(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondatasetcomplete(&self) -> ::windows::core::Result; - fn Setonfilterchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onfilterchange(&self) -> ::windows::core::Result; - fn children(&self) -> ::windows::core::Result; - fn all(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLElement_Vtbl { - pub const fn new, Impl: IHTMLElement_Impl, const OFFSET: isize>() -> IHTMLElement_Vtbl { - unsafe extern "system" fn setAttribute, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, attributevalue: ::core::mem::ManuallyDrop, lflags: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setAttribute(::core::mem::transmute(&strattributename), ::core::mem::transmute(&attributevalue), ::core::mem::transmute_copy(&lflags)).into() - } - unsafe extern "system" fn getAttribute, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, attributevalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getAttribute(::core::mem::transmute(&strattributename), ::core::mem::transmute_copy(&lflags)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(attributevalue, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeAttribute, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, pfsuccess: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeAttribute(::core::mem::transmute(&strattributename), ::core::mem::transmute_copy(&lflags)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfsuccess, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetclassName, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetclassName(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn className, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.className() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setid, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setid(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn id, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.id() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn tagName, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tagName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn parentElement, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.parentElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn style, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.style() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonhelp, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonhelp(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onhelp, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onhelp() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonclick, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonclick(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onclick, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onclick() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondblclick, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondblclick(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondblclick, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondblclick() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonkeydown, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonkeydown(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onkeydown, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onkeydown() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonkeyup, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonkeyup(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onkeyup, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onkeyup() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonkeypress, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonkeypress(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onkeypress, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onkeypress() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmouseout, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmouseout(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmouseout, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmouseout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmouseover, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmouseover(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmouseover, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmouseover() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmousemove, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmousemove(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmousemove, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmousemove() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmousedown, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmousedown(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmousedown, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmousedown() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmouseup, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmouseup(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmouseup, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmouseup() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn document, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.document() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settitle, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settitle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn title, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.title() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setlanguage, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setlanguage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn language, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.language() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonselectstart, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonselectstart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onselectstart, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onselectstart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scrollIntoView, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, varargstart: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.scrollIntoView(::core::mem::transmute(&varargstart)).into() - } - unsafe extern "system" fn contains, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pchild: *mut ::core::ffi::c_void, pfresult: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.contains(::core::mem::transmute(&pchild)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn sourceIndex, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.sourceIndex() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn recordNumber, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.recordNumber() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setlang, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setlang(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn lang, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lang() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn offsetLeft, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.offsetLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn offsetTop, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.offsetTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn offsetWidth, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.offsetWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn offsetHeight, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.offsetHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn offsetParent, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.offsetParent() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetinnerHTML, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetinnerHTML(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn innerHTML, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.innerHTML() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetinnerText, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetinnerText(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn innerText, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.innerText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetouterHTML, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetouterHTML(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn outerHTML, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outerHTML() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetouterText, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetouterText(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn outerText, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outerText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertAdjacentHTML, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, r#where: ::core::mem::ManuallyDrop, html: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.insertAdjacentHTML(::core::mem::transmute(&r#where), ::core::mem::transmute(&html)).into() - } - unsafe extern "system" fn insertAdjacentText, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, r#where: ::core::mem::ManuallyDrop, text: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.insertAdjacentText(::core::mem::transmute(&r#where), ::core::mem::transmute(&text)).into() - } - unsafe extern "system" fn parentTextEdit, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.parentTextEdit() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn isTextEdit, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isTextEdit() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn click, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.click().into() - } - unsafe extern "system" fn filters, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.filters() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondragstart, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondragstart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondragstart, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondragstart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn toString, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toString() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(string, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonbeforeupdate, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbeforeupdate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbeforeupdate, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbeforeupdate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonafterupdate, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonafterupdate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onafterupdate, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onafterupdate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonerrorupdate, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonerrorupdate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onerrorupdate, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onerrorupdate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonrowexit, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonrowexit(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onrowexit, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onrowexit() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonrowenter, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonrowenter(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onrowenter, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onrowenter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondatasetchanged, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondatasetchanged(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondatasetchanged, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondatasetchanged() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondataavailable, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondataavailable(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondataavailable, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondataavailable() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondatasetcomplete, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondatasetcomplete(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondatasetcomplete, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondatasetcomplete() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonfilterchange, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonfilterchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onfilterchange, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onfilterchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn children, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.children() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn all, Impl: IHTMLElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.all() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - setAttribute: setAttribute::, - getAttribute: getAttribute::, - removeAttribute: removeAttribute::, - SetclassName: SetclassName::, - className: className::, - Setid: Setid::, - id: id::, - tagName: tagName::, - parentElement: parentElement::, - style: style::, - Setonhelp: Setonhelp::, - onhelp: onhelp::, - Setonclick: Setonclick::, - onclick: onclick::, - Setondblclick: Setondblclick::, - ondblclick: ondblclick::, - Setonkeydown: Setonkeydown::, - onkeydown: onkeydown::, - Setonkeyup: Setonkeyup::, - onkeyup: onkeyup::, - Setonkeypress: Setonkeypress::, - onkeypress: onkeypress::, - Setonmouseout: Setonmouseout::, - onmouseout: onmouseout::, - Setonmouseover: Setonmouseover::, - onmouseover: onmouseover::, - Setonmousemove: Setonmousemove::, - onmousemove: onmousemove::, - Setonmousedown: Setonmousedown::, - onmousedown: onmousedown::, - Setonmouseup: Setonmouseup::, - onmouseup: onmouseup::, - document: document::, - Settitle: Settitle::, - title: title::, - Setlanguage: Setlanguage::, - language: language::, - Setonselectstart: Setonselectstart::, - onselectstart: onselectstart::, - scrollIntoView: scrollIntoView::, - contains: contains::, - sourceIndex: sourceIndex::, - recordNumber: recordNumber::, - Setlang: Setlang::, - lang: lang::, - offsetLeft: offsetLeft::, - offsetTop: offsetTop::, - offsetWidth: offsetWidth::, - offsetHeight: offsetHeight::, - offsetParent: offsetParent::, - SetinnerHTML: SetinnerHTML::, - innerHTML: innerHTML::, - SetinnerText: SetinnerText::, - innerText: innerText::, - SetouterHTML: SetouterHTML::, - outerHTML: outerHTML::, - SetouterText: SetouterText::, - outerText: outerText::, - insertAdjacentHTML: insertAdjacentHTML::, - insertAdjacentText: insertAdjacentText::, - parentTextEdit: parentTextEdit::, - isTextEdit: isTextEdit::, - click: click::, - filters: filters::, - Setondragstart: Setondragstart::, - ondragstart: ondragstart::, - toString: toString::, - Setonbeforeupdate: Setonbeforeupdate::, - onbeforeupdate: onbeforeupdate::, - Setonafterupdate: Setonafterupdate::, - onafterupdate: onafterupdate::, - Setonerrorupdate: Setonerrorupdate::, - onerrorupdate: onerrorupdate::, - Setonrowexit: Setonrowexit::, - onrowexit: onrowexit::, - Setonrowenter: Setonrowenter::, - onrowenter: onrowenter::, - Setondatasetchanged: Setondatasetchanged::, - ondatasetchanged: ondatasetchanged::, - Setondataavailable: Setondataavailable::, - ondataavailable: ondataavailable::, - Setondatasetcomplete: Setondatasetcomplete::, - ondatasetcomplete: ondatasetcomplete::, - Setonfilterchange: Setonfilterchange::, - onfilterchange: onfilterchange::, - children: children::, - all: all::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn scopeName(&self) -> ::windows::core::Result; - fn setCapture(&self, containercapture: i16) -> ::windows::core::Result<()>; - fn releaseCapture(&self) -> ::windows::core::Result<()>; - fn Setonlosecapture(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onlosecapture(&self) -> ::windows::core::Result; - fn componentFromPoint(&self, x: i32, y: i32) -> ::windows::core::Result; - fn doScroll(&self, component: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn Setonscroll(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onscroll(&self) -> ::windows::core::Result; - fn Setondrag(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondrag(&self) -> ::windows::core::Result; - fn Setondragend(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondragend(&self) -> ::windows::core::Result; - fn Setondragenter(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondragenter(&self) -> ::windows::core::Result; - fn Setondragover(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondragover(&self) -> ::windows::core::Result; - fn Setondragleave(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondragleave(&self) -> ::windows::core::Result; - fn Setondrop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondrop(&self) -> ::windows::core::Result; - fn Setonbeforecut(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbeforecut(&self) -> ::windows::core::Result; - fn Setoncut(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oncut(&self) -> ::windows::core::Result; - fn Setonbeforecopy(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbeforecopy(&self) -> ::windows::core::Result; - fn Setoncopy(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oncopy(&self) -> ::windows::core::Result; - fn Setonbeforepaste(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbeforepaste(&self) -> ::windows::core::Result; - fn Setonpaste(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onpaste(&self) -> ::windows::core::Result; - fn currentStyle(&self) -> ::windows::core::Result; - fn Setonpropertychange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onpropertychange(&self) -> ::windows::core::Result; - fn getClientRects(&self) -> ::windows::core::Result; - fn getBoundingClientRect(&self) -> ::windows::core::Result; - fn setExpression(&self, propname: &super::super::Foundation::BSTR, expression: &super::super::Foundation::BSTR, language: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn getExpression(&self, propname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn removeExpression(&self, propname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn SettabIndex(&self, v: i16) -> ::windows::core::Result<()>; - fn tabIndex(&self) -> ::windows::core::Result; - fn focus(&self) -> ::windows::core::Result<()>; - fn SetaccessKey(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn accessKey(&self) -> ::windows::core::Result; - fn Setonblur(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onblur(&self) -> ::windows::core::Result; - fn Setonfocus(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onfocus(&self) -> ::windows::core::Result; - fn Setonresize(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onresize(&self) -> ::windows::core::Result; - fn blur(&self) -> ::windows::core::Result<()>; - fn addFilter(&self, punk: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; - fn removeFilter(&self, punk: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; - fn clientHeight(&self) -> ::windows::core::Result; - fn clientWidth(&self) -> ::windows::core::Result; - fn clientTop(&self) -> ::windows::core::Result; - fn clientLeft(&self) -> ::windows::core::Result; - fn attachEvent(&self, event: &super::super::Foundation::BSTR, pdisp: &::core::option::Option) -> ::windows::core::Result; - fn detachEvent(&self, event: &super::super::Foundation::BSTR, pdisp: &::core::option::Option) -> ::windows::core::Result<()>; - fn readyState(&self) -> ::windows::core::Result; - fn Setonreadystatechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onreadystatechange(&self) -> ::windows::core::Result; - fn Setonrowsdelete(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onrowsdelete(&self) -> ::windows::core::Result; - fn Setonrowsinserted(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onrowsinserted(&self) -> ::windows::core::Result; - fn Setoncellchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oncellchange(&self) -> ::windows::core::Result; - fn Setdir(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dir(&self) -> ::windows::core::Result; - fn createControlRange(&self) -> ::windows::core::Result; - fn scrollHeight(&self) -> ::windows::core::Result; - fn scrollWidth(&self) -> ::windows::core::Result; - fn SetscrollTop(&self, v: i32) -> ::windows::core::Result<()>; - fn scrollTop(&self) -> ::windows::core::Result; - fn SetscrollLeft(&self, v: i32) -> ::windows::core::Result<()>; - fn scrollLeft(&self) -> ::windows::core::Result; - fn clearAttributes(&self) -> ::windows::core::Result<()>; - fn mergeAttributes(&self, mergethis: &::core::option::Option) -> ::windows::core::Result<()>; - fn Setoncontextmenu(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oncontextmenu(&self) -> ::windows::core::Result; - fn insertAdjacentElement(&self, r#where: &super::super::Foundation::BSTR, insertedelement: &::core::option::Option) -> ::windows::core::Result; - fn applyElement(&self, apply: &::core::option::Option, r#where: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn getAdjacentText(&self, r#where: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn replaceAdjacentText(&self, r#where: &super::super::Foundation::BSTR, newtext: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn canHaveChildren(&self) -> ::windows::core::Result; - fn addBehavior(&self, bstrurl: &super::super::Foundation::BSTR, pvarfactory: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn removeBehavior(&self, cookie: i32) -> ::windows::core::Result; - fn runtimeStyle(&self) -> ::windows::core::Result; - fn behaviorUrns(&self) -> ::windows::core::Result; - fn SettagUrn(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn tagUrn(&self) -> ::windows::core::Result; - fn Setonbeforeeditfocus(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbeforeeditfocus(&self) -> ::windows::core::Result; - fn readyStateValue(&self) -> ::windows::core::Result; - fn getElementsByTagName(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLElement2_Vtbl { - pub const fn new, Impl: IHTMLElement2_Impl, const OFFSET: isize>() -> IHTMLElement2_Vtbl { - unsafe extern "system" fn scopeName, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scopeName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setCapture, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, containercapture: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setCapture(::core::mem::transmute_copy(&containercapture)).into() - } - unsafe extern "system" fn releaseCapture, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.releaseCapture().into() - } - unsafe extern "system" fn Setonlosecapture, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonlosecapture(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onlosecapture, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onlosecapture() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn componentFromPoint, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: i32, y: i32, component: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.componentFromPoint(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(component, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn doScroll, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, component: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.doScroll(::core::mem::transmute(&component)).into() - } - unsafe extern "system" fn Setonscroll, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonscroll(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onscroll, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onscroll() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondrag, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondrag(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondrag, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondrag() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondragend, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondragend(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondragend, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondragend() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondragenter, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondragenter(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondragenter, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondragenter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondragover, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondragover(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondragover, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondragover() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondragleave, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondragleave(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondragleave, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondragleave() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondrop, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondrop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondrop, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondrop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonbeforecut, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbeforecut(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbeforecut, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbeforecut() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoncut, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoncut(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oncut, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oncut() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonbeforecopy, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbeforecopy(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbeforecopy, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbeforecopy() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoncopy, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoncopy(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oncopy, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oncopy() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonbeforepaste, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbeforepaste(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbeforepaste, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbeforepaste() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonpaste, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonpaste(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onpaste, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onpaste() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn currentStyle, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.currentStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonpropertychange, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonpropertychange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onpropertychange, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onpropertychange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getClientRects, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, prectcol: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getClientRects() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(prectcol, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getBoundingClientRect, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, prect: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getBoundingClientRect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(prect, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setExpression, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, expression: ::core::mem::ManuallyDrop, language: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setExpression(::core::mem::transmute(&propname), ::core::mem::transmute(&expression), ::core::mem::transmute(&language)).into() - } - unsafe extern "system" fn getExpression, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, expression: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getExpression(::core::mem::transmute(&propname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(expression, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeExpression, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, pfsuccess: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeExpression(::core::mem::transmute(&propname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfsuccess, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettabIndex, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettabIndex(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn tabIndex, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tabIndex() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn focus, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.focus().into() - } - unsafe extern "system" fn SetaccessKey, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetaccessKey(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn accessKey, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.accessKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonblur, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonblur(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onblur, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onblur() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonfocus, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonfocus(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onfocus, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onfocus() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonresize, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonresize(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onresize, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onresize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn blur, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.blur().into() - } - unsafe extern "system" fn addFilter, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, punk: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.addFilter(::core::mem::transmute(&punk)).into() - } - unsafe extern "system" fn removeFilter, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, punk: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.removeFilter(::core::mem::transmute(&punk)).into() - } - unsafe extern "system" fn clientHeight, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clientWidth, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clientTop, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clientLeft, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn attachEvent, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, event: ::core::mem::ManuallyDrop, pdisp: *mut ::core::ffi::c_void, pfresult: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.attachEvent(::core::mem::transmute(&event), ::core::mem::transmute(&pdisp)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn detachEvent, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, event: ::core::mem::ManuallyDrop, pdisp: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.detachEvent(::core::mem::transmute(&event), ::core::mem::transmute(&pdisp)).into() - } - unsafe extern "system" fn readyState, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readyState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonreadystatechange, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonreadystatechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onreadystatechange, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onreadystatechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonrowsdelete, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonrowsdelete(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onrowsdelete, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onrowsdelete() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonrowsinserted, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonrowsinserted(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onrowsinserted, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onrowsinserted() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoncellchange, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoncellchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oncellchange, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oncellchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdir, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdir(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dir, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dir() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createControlRange, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createControlRange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(range, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scrollHeight, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scrollWidth, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollTop, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollTop(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn scrollTop, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollLeft, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollLeft(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn scrollLeft, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clearAttributes, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.clearAttributes().into() - } - unsafe extern "system" fn mergeAttributes, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, mergethis: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.mergeAttributes(::core::mem::transmute(&mergethis)).into() - } - unsafe extern "system" fn Setoncontextmenu, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoncontextmenu(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oncontextmenu, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oncontextmenu() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertAdjacentElement, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, r#where: ::core::mem::ManuallyDrop, insertedelement: *mut ::core::ffi::c_void, inserted: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertAdjacentElement(::core::mem::transmute(&r#where), ::core::mem::transmute(&insertedelement)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(inserted, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn applyElement, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, apply: *mut ::core::ffi::c_void, r#where: ::core::mem::ManuallyDrop, applied: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.applyElement(::core::mem::transmute(&apply), ::core::mem::transmute(&r#where)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(applied, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getAdjacentText, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, r#where: ::core::mem::ManuallyDrop, text: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getAdjacentText(::core::mem::transmute(&r#where)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(text, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn replaceAdjacentText, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, r#where: ::core::mem::ManuallyDrop, newtext: ::core::mem::ManuallyDrop, oldtext: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.replaceAdjacentText(::core::mem::transmute(&r#where), ::core::mem::transmute(&newtext)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(oldtext, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn canHaveChildren, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.canHaveChildren() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn addBehavior, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, pvarfactory: *const super::super::System::Com::VARIANT, pcookie: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.addBehavior(::core::mem::transmute(&bstrurl), ::core::mem::transmute_copy(&pvarfactory)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pcookie, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeBehavior, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cookie: i32, pfresult: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeBehavior(::core::mem::transmute_copy(&cookie)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn runtimeStyle, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.runtimeStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn behaviorUrns, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.behaviorUrns() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettagUrn, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettagUrn(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn tagUrn, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tagUrn() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonbeforeeditfocus, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbeforeeditfocus(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbeforeeditfocus, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbeforeeditfocus() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn readyStateValue, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readyStateValue() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getElementsByTagName, Impl: IHTMLElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pelcoll: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getElementsByTagName(::core::mem::transmute(&v)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pelcoll, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - scopeName: scopeName::, - setCapture: setCapture::, - releaseCapture: releaseCapture::, - Setonlosecapture: Setonlosecapture::, - onlosecapture: onlosecapture::, - componentFromPoint: componentFromPoint::, - doScroll: doScroll::, - Setonscroll: Setonscroll::, - onscroll: onscroll::, - Setondrag: Setondrag::, - ondrag: ondrag::, - Setondragend: Setondragend::, - ondragend: ondragend::, - Setondragenter: Setondragenter::, - ondragenter: ondragenter::, - Setondragover: Setondragover::, - ondragover: ondragover::, - Setondragleave: Setondragleave::, - ondragleave: ondragleave::, - Setondrop: Setondrop::, - ondrop: ondrop::, - Setonbeforecut: Setonbeforecut::, - onbeforecut: onbeforecut::, - Setoncut: Setoncut::, - oncut: oncut::, - Setonbeforecopy: Setonbeforecopy::, - onbeforecopy: onbeforecopy::, - Setoncopy: Setoncopy::, - oncopy: oncopy::, - Setonbeforepaste: Setonbeforepaste::, - onbeforepaste: onbeforepaste::, - Setonpaste: Setonpaste::, - onpaste: onpaste::, - currentStyle: currentStyle::, - Setonpropertychange: Setonpropertychange::, - onpropertychange: onpropertychange::, - getClientRects: getClientRects::, - getBoundingClientRect: getBoundingClientRect::, - setExpression: setExpression::, - getExpression: getExpression::, - removeExpression: removeExpression::, - SettabIndex: SettabIndex::, - tabIndex: tabIndex::, - focus: focus::, - SetaccessKey: SetaccessKey::, - accessKey: accessKey::, - Setonblur: Setonblur::, - onblur: onblur::, - Setonfocus: Setonfocus::, - onfocus: onfocus::, - Setonresize: Setonresize::, - onresize: onresize::, - blur: blur::, - addFilter: addFilter::, - removeFilter: removeFilter::, - clientHeight: clientHeight::, - clientWidth: clientWidth::, - clientTop: clientTop::, - clientLeft: clientLeft::, - attachEvent: attachEvent::, - detachEvent: detachEvent::, - readyState: readyState::, - Setonreadystatechange: Setonreadystatechange::, - onreadystatechange: onreadystatechange::, - Setonrowsdelete: Setonrowsdelete::, - onrowsdelete: onrowsdelete::, - Setonrowsinserted: Setonrowsinserted::, - onrowsinserted: onrowsinserted::, - Setoncellchange: Setoncellchange::, - oncellchange: oncellchange::, - Setdir: Setdir::, - dir: dir::, - createControlRange: createControlRange::, - scrollHeight: scrollHeight::, - scrollWidth: scrollWidth::, - SetscrollTop: SetscrollTop::, - scrollTop: scrollTop::, - SetscrollLeft: SetscrollLeft::, - scrollLeft: scrollLeft::, - clearAttributes: clearAttributes::, - mergeAttributes: mergeAttributes::, - Setoncontextmenu: Setoncontextmenu::, - oncontextmenu: oncontextmenu::, - insertAdjacentElement: insertAdjacentElement::, - applyElement: applyElement::, - getAdjacentText: getAdjacentText::, - replaceAdjacentText: replaceAdjacentText::, - canHaveChildren: canHaveChildren::, - addBehavior: addBehavior::, - removeBehavior: removeBehavior::, - runtimeStyle: runtimeStyle::, - behaviorUrns: behaviorUrns::, - SettagUrn: SettagUrn::, - tagUrn: tagUrn::, - Setonbeforeeditfocus: Setonbeforeeditfocus::, - onbeforeeditfocus: onbeforeeditfocus::, - readyStateValue: readyStateValue::, - getElementsByTagName: getElementsByTagName::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLElement3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn mergeAttributes(&self, mergethis: &::core::option::Option, pvarflags: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn isMultiLine(&self) -> ::windows::core::Result; - fn canHaveHTML(&self) -> ::windows::core::Result; - fn Setonlayoutcomplete(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onlayoutcomplete(&self) -> ::windows::core::Result; - fn Setonpage(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onpage(&self) -> ::windows::core::Result; - fn SetinflateBlock(&self, v: i16) -> ::windows::core::Result<()>; - fn inflateBlock(&self) -> ::windows::core::Result; - fn Setonbeforedeactivate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbeforedeactivate(&self) -> ::windows::core::Result; - fn setActive(&self) -> ::windows::core::Result<()>; - fn SetcontentEditable(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn contentEditable(&self) -> ::windows::core::Result; - fn isContentEditable(&self) -> ::windows::core::Result; - fn SethideFocus(&self, v: i16) -> ::windows::core::Result<()>; - fn hideFocus(&self) -> ::windows::core::Result; - fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()>; - fn disabled(&self) -> ::windows::core::Result; - fn isDisabled(&self) -> ::windows::core::Result; - fn Setonmove(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmove(&self) -> ::windows::core::Result; - fn Setoncontrolselect(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oncontrolselect(&self) -> ::windows::core::Result; - fn fireEvent(&self, bstreventname: &super::super::Foundation::BSTR, pvareventobject: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn Setonresizestart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onresizestart(&self) -> ::windows::core::Result; - fn Setonresizeend(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onresizeend(&self) -> ::windows::core::Result; - fn Setonmovestart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmovestart(&self) -> ::windows::core::Result; - fn Setonmoveend(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmoveend(&self) -> ::windows::core::Result; - fn Setonmouseenter(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmouseenter(&self) -> ::windows::core::Result; - fn Setonmouseleave(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmouseleave(&self) -> ::windows::core::Result; - fn Setonactivate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onactivate(&self) -> ::windows::core::Result; - fn Setondeactivate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondeactivate(&self) -> ::windows::core::Result; - fn dragDrop(&self) -> ::windows::core::Result; - fn glyphMode(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLElement3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLElement3_Vtbl { - pub const fn new, Impl: IHTMLElement3_Impl, const OFFSET: isize>() -> IHTMLElement3_Vtbl { - unsafe extern "system" fn mergeAttributes, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, mergethis: *mut ::core::ffi::c_void, pvarflags: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.mergeAttributes(::core::mem::transmute(&mergethis), ::core::mem::transmute_copy(&pvarflags)).into() - } - unsafe extern "system" fn isMultiLine, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isMultiLine() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn canHaveHTML, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.canHaveHTML() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonlayoutcomplete, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonlayoutcomplete(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onlayoutcomplete, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onlayoutcomplete() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonpage, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonpage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onpage, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onpage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetinflateBlock, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetinflateBlock(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn inflateBlock, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.inflateBlock() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonbeforedeactivate, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbeforedeactivate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbeforedeactivate, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbeforedeactivate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setActive, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setActive().into() - } - unsafe extern "system" fn SetcontentEditable, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcontentEditable(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn contentEditable, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.contentEditable() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn isContentEditable, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isContentEditable() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SethideFocus, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SethideFocus(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn hideFocus, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hideFocus() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdisabled, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn disabled, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.disabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn isDisabled, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isDisabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmove, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmove(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmove, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmove() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoncontrolselect, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoncontrolselect(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oncontrolselect, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oncontrolselect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fireEvent, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstreventname: ::core::mem::ManuallyDrop, pvareventobject: *const super::super::System::Com::VARIANT, pfcancelled: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fireEvent(::core::mem::transmute(&bstreventname), ::core::mem::transmute_copy(&pvareventobject)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfcancelled, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonresizestart, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonresizestart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onresizestart, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onresizestart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonresizeend, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonresizeend(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onresizeend, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onresizeend() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmovestart, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmovestart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmovestart, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmovestart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmoveend, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmoveend(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmoveend, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmoveend() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmouseenter, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmouseenter(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmouseenter, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmouseenter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmouseleave, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmouseleave(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmouseleave, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmouseleave() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonactivate, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonactivate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onactivate, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onactivate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondeactivate, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondeactivate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondeactivate, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondeactivate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn dragDrop, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dragDrop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn glyphMode, Impl: IHTMLElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.glyphMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - mergeAttributes: mergeAttributes::, - isMultiLine: isMultiLine::, - canHaveHTML: canHaveHTML::, - Setonlayoutcomplete: Setonlayoutcomplete::, - onlayoutcomplete: onlayoutcomplete::, - Setonpage: Setonpage::, - onpage: onpage::, - SetinflateBlock: SetinflateBlock::, - inflateBlock: inflateBlock::, - Setonbeforedeactivate: Setonbeforedeactivate::, - onbeforedeactivate: onbeforedeactivate::, - setActive: setActive::, - SetcontentEditable: SetcontentEditable::, - contentEditable: contentEditable::, - isContentEditable: isContentEditable::, - SethideFocus: SethideFocus::, - hideFocus: hideFocus::, - Setdisabled: Setdisabled::, - disabled: disabled::, - isDisabled: isDisabled::, - Setonmove: Setonmove::, - onmove: onmove::, - Setoncontrolselect: Setoncontrolselect::, - oncontrolselect: oncontrolselect::, - fireEvent: fireEvent::, - Setonresizestart: Setonresizestart::, - onresizestart: onresizestart::, - Setonresizeend: Setonresizeend::, - onresizeend: onresizeend::, - Setonmovestart: Setonmovestart::, - onmovestart: onmovestart::, - Setonmoveend: Setonmoveend::, - onmoveend: onmoveend::, - Setonmouseenter: Setonmouseenter::, - onmouseenter: onmouseenter::, - Setonmouseleave: Setonmouseleave::, - onmouseleave: onmouseleave::, - Setonactivate: Setonactivate::, - onactivate: onactivate::, - Setondeactivate: Setondeactivate::, - ondeactivate: ondeactivate::, - dragDrop: dragDrop::, - glyphMode: glyphMode::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLElement4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setonmousewheel(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmousewheel(&self) -> ::windows::core::Result; - fn normalize(&self) -> ::windows::core::Result<()>; - fn getAttributeNode(&self, bstrname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn setAttributeNode(&self, pattr: &::core::option::Option) -> ::windows::core::Result; - fn removeAttributeNode(&self, pattr: &::core::option::Option) -> ::windows::core::Result; - fn Setonbeforeactivate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbeforeactivate(&self) -> ::windows::core::Result; - fn Setonfocusin(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onfocusin(&self) -> ::windows::core::Result; - fn Setonfocusout(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onfocusout(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLElement4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLElement4_Vtbl { - pub const fn new, Impl: IHTMLElement4_Impl, const OFFSET: isize>() -> IHTMLElement4_Vtbl { - unsafe extern "system" fn Setonmousewheel, Impl: IHTMLElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmousewheel(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmousewheel, Impl: IHTMLElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmousewheel() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn normalize, Impl: IHTMLElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.normalize().into() - } - unsafe extern "system" fn getAttributeNode, Impl: IHTMLElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, ppattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getAttributeNode(::core::mem::transmute(&bstrname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppattribute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setAttributeNode, Impl: IHTMLElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pattr: *mut ::core::ffi::c_void, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.setAttributeNode(::core::mem::transmute(&pattr)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretattribute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeAttributeNode, Impl: IHTMLElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pattr: *mut ::core::ffi::c_void, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeAttributeNode(::core::mem::transmute(&pattr)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretattribute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonbeforeactivate, Impl: IHTMLElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbeforeactivate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbeforeactivate, Impl: IHTMLElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbeforeactivate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonfocusin, Impl: IHTMLElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonfocusin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onfocusin, Impl: IHTMLElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onfocusin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonfocusout, Impl: IHTMLElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonfocusout(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onfocusout, Impl: IHTMLElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onfocusout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setonmousewheel: Setonmousewheel::, - onmousewheel: onmousewheel::, - normalize: normalize::, - getAttributeNode: getAttributeNode::, - setAttributeNode: setAttributeNode::, - removeAttributeNode: removeAttributeNode::, - Setonbeforeactivate: Setonbeforeactivate::, - onbeforeactivate: onbeforeactivate::, - Setonfocusin: Setonfocusin::, - onfocusin: onfocusin::, - Setonfocusout: Setonfocusout::, - onfocusout: onfocusout::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLElement5_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn getAttributeNode(&self, bstrname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn setAttributeNode(&self, pattr: &::core::option::Option) -> ::windows::core::Result; - fn removeAttributeNode(&self, pattr: &::core::option::Option) -> ::windows::core::Result; - fn hasAttribute(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn Setrole(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn role(&self) -> ::windows::core::Result; - fn SetariaBusy(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaBusy(&self) -> ::windows::core::Result; - fn SetariaChecked(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaChecked(&self) -> ::windows::core::Result; - fn SetariaDisabled(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaDisabled(&self) -> ::windows::core::Result; - fn SetariaExpanded(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaExpanded(&self) -> ::windows::core::Result; - fn SetariaHaspopup(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaHaspopup(&self) -> ::windows::core::Result; - fn SetariaHidden(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaHidden(&self) -> ::windows::core::Result; - fn SetariaInvalid(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaInvalid(&self) -> ::windows::core::Result; - fn SetariaMultiselectable(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaMultiselectable(&self) -> ::windows::core::Result; - fn SetariaPressed(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaPressed(&self) -> ::windows::core::Result; - fn SetariaReadonly(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaReadonly(&self) -> ::windows::core::Result; - fn SetariaRequired(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaRequired(&self) -> ::windows::core::Result; - fn SetariaSecret(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaSecret(&self) -> ::windows::core::Result; - fn SetariaSelected(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaSelected(&self) -> ::windows::core::Result; - fn getAttribute(&self, strattributename: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn setAttribute(&self, strattributename: &super::super::Foundation::BSTR, attributevalue: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn removeAttribute(&self, strattributename: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn attributes(&self) -> ::windows::core::Result; - fn SetariaValuenow(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaValuenow(&self) -> ::windows::core::Result; - fn SetariaPosinset(&self, v: i16) -> ::windows::core::Result<()>; - fn ariaPosinset(&self) -> ::windows::core::Result; - fn SetariaSetsize(&self, v: i16) -> ::windows::core::Result<()>; - fn ariaSetsize(&self) -> ::windows::core::Result; - fn SetariaLevel(&self, v: i16) -> ::windows::core::Result<()>; - fn ariaLevel(&self) -> ::windows::core::Result; - fn SetariaValuemin(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaValuemin(&self) -> ::windows::core::Result; - fn SetariaValuemax(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaValuemax(&self) -> ::windows::core::Result; - fn SetariaControls(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaControls(&self) -> ::windows::core::Result; - fn SetariaDescribedby(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaDescribedby(&self) -> ::windows::core::Result; - fn SetariaFlowto(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaFlowto(&self) -> ::windows::core::Result; - fn SetariaLabelledby(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaLabelledby(&self) -> ::windows::core::Result; - fn SetariaActivedescendant(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaActivedescendant(&self) -> ::windows::core::Result; - fn SetariaOwns(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaOwns(&self) -> ::windows::core::Result; - fn hasAttributes(&self) -> ::windows::core::Result; - fn SetariaLive(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaLive(&self) -> ::windows::core::Result; - fn SetariaRelevant(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ariaRelevant(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLElement5 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLElement5_Vtbl { - pub const fn new, Impl: IHTMLElement5_Impl, const OFFSET: isize>() -> IHTMLElement5_Vtbl { - unsafe extern "system" fn getAttributeNode, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getAttributeNode(::core::mem::transmute(&bstrname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretattribute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setAttributeNode, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pattr: *mut ::core::ffi::c_void, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.setAttributeNode(::core::mem::transmute(&pattr)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretattribute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeAttributeNode, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pattr: *mut ::core::ffi::c_void, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeAttributeNode(::core::mem::transmute(&pattr)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretattribute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn hasAttribute, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pfhasattribute: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasAttribute(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfhasattribute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setrole, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setrole(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn role, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.role() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaBusy, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaBusy(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaBusy, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaBusy() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaChecked, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaChecked(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaChecked, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaChecked() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaDisabled, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaDisabled(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaDisabled, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaDisabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaExpanded, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaExpanded(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaExpanded, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaExpanded() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaHaspopup, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaHaspopup(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaHaspopup, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaHaspopup() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaHidden, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaHidden(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaHidden, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaHidden() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaInvalid, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaInvalid(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaInvalid, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaInvalid() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaMultiselectable, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaMultiselectable(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaMultiselectable, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaMultiselectable() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaPressed, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaPressed(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaPressed, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaPressed() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaReadonly, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaReadonly(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaReadonly, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaReadonly() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaRequired, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaRequired(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaRequired, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaRequired() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaSecret, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaSecret(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaSecret, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaSecret() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaSelected, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaSelected(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaSelected, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaSelected() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getAttribute, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, attributevalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getAttribute(::core::mem::transmute(&strattributename)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(attributevalue, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setAttribute, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, attributevalue: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setAttribute(::core::mem::transmute(&strattributename), ::core::mem::transmute(&attributevalue)).into() - } - unsafe extern "system" fn removeAttribute, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, pfsuccess: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeAttribute(::core::mem::transmute(&strattributename)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfsuccess, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn attributes, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.attributes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaValuenow, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaValuenow(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaValuenow, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaValuenow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaPosinset, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaPosinset(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn ariaPosinset, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaPosinset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaSetsize, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaSetsize(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn ariaSetsize, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaSetsize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaLevel, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaLevel(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn ariaLevel, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaLevel() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaValuemin, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaValuemin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaValuemin, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaValuemin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaValuemax, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaValuemax(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaValuemax, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaValuemax() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaControls, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaControls(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaControls, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaControls() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaDescribedby, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaDescribedby(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaDescribedby, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaDescribedby() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaFlowto, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaFlowto(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaFlowto, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaFlowto() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaLabelledby, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaLabelledby(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaLabelledby, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaLabelledby() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaActivedescendant, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaActivedescendant(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaActivedescendant, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaActivedescendant() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaOwns, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaOwns(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaOwns, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaOwns() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn hasAttributes, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfhasattributes: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasAttributes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfhasattributes, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaLive, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaLive(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaLive, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaLive() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetariaRelevant, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetariaRelevant(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ariaRelevant, Impl: IHTMLElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ariaRelevant() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - getAttributeNode: getAttributeNode::, - setAttributeNode: setAttributeNode::, - removeAttributeNode: removeAttributeNode::, - hasAttribute: hasAttribute::, - Setrole: Setrole::, - role: role::, - SetariaBusy: SetariaBusy::, - ariaBusy: ariaBusy::, - SetariaChecked: SetariaChecked::, - ariaChecked: ariaChecked::, - SetariaDisabled: SetariaDisabled::, - ariaDisabled: ariaDisabled::, - SetariaExpanded: SetariaExpanded::, - ariaExpanded: ariaExpanded::, - SetariaHaspopup: SetariaHaspopup::, - ariaHaspopup: ariaHaspopup::, - SetariaHidden: SetariaHidden::, - ariaHidden: ariaHidden::, - SetariaInvalid: SetariaInvalid::, - ariaInvalid: ariaInvalid::, - SetariaMultiselectable: SetariaMultiselectable::, - ariaMultiselectable: ariaMultiselectable::, - SetariaPressed: SetariaPressed::, - ariaPressed: ariaPressed::, - SetariaReadonly: SetariaReadonly::, - ariaReadonly: ariaReadonly::, - SetariaRequired: SetariaRequired::, - ariaRequired: ariaRequired::, - SetariaSecret: SetariaSecret::, - ariaSecret: ariaSecret::, - SetariaSelected: SetariaSelected::, - ariaSelected: ariaSelected::, - getAttribute: getAttribute::, - setAttribute: setAttribute::, - removeAttribute: removeAttribute::, - attributes: attributes::, - SetariaValuenow: SetariaValuenow::, - ariaValuenow: ariaValuenow::, - SetariaPosinset: SetariaPosinset::, - ariaPosinset: ariaPosinset::, - SetariaSetsize: SetariaSetsize::, - ariaSetsize: ariaSetsize::, - SetariaLevel: SetariaLevel::, - ariaLevel: ariaLevel::, - SetariaValuemin: SetariaValuemin::, - ariaValuemin: ariaValuemin::, - SetariaValuemax: SetariaValuemax::, - ariaValuemax: ariaValuemax::, - SetariaControls: SetariaControls::, - ariaControls: ariaControls::, - SetariaDescribedby: SetariaDescribedby::, - ariaDescribedby: ariaDescribedby::, - SetariaFlowto: SetariaFlowto::, - ariaFlowto: ariaFlowto::, - SetariaLabelledby: SetariaLabelledby::, - ariaLabelledby: ariaLabelledby::, - SetariaActivedescendant: SetariaActivedescendant::, - ariaActivedescendant: ariaActivedescendant::, - SetariaOwns: SetariaOwns::, - ariaOwns: ariaOwns::, - hasAttributes: hasAttributes::, - SetariaLive: SetariaLive::, - ariaLive: ariaLive::, - SetariaRelevant: SetariaRelevant::, - ariaRelevant: ariaRelevant::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLElement6_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn getAttributeNS(&self, pvarns: *const super::super::System::Com::VARIANT, strattributename: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn setAttributeNS(&self, pvarns: *const super::super::System::Com::VARIANT, strattributename: &super::super::Foundation::BSTR, pvarattributevalue: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn removeAttributeNS(&self, pvarns: *const super::super::System::Com::VARIANT, strattributename: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn getAttributeNodeNS(&self, pvarns: *const super::super::System::Com::VARIANT, bstrname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn setAttributeNodeNS(&self, pattr: &::core::option::Option) -> ::windows::core::Result; - fn hasAttributeNS(&self, pvarns: *const super::super::System::Com::VARIANT, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn getAttribute(&self, strattributename: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn setAttribute(&self, strattributename: &super::super::Foundation::BSTR, pvarattributevalue: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn removeAttribute(&self, strattributename: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn getAttributeNode(&self, strattributename: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn setAttributeNode(&self, pattr: &::core::option::Option) -> ::windows::core::Result; - fn removeAttributeNode(&self, pattr: &::core::option::Option) -> ::windows::core::Result; - fn hasAttribute(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn getElementsByTagNameNS(&self, varns: *const super::super::System::Com::VARIANT, bstrlocalname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn tagName(&self) -> ::windows::core::Result; - fn nodeName(&self) -> ::windows::core::Result; - fn getElementsByClassName(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn msMatchesSelector(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn Setonabort(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onabort(&self) -> ::windows::core::Result; - fn Setoncanplay(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oncanplay(&self) -> ::windows::core::Result; - fn Setoncanplaythrough(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oncanplaythrough(&self) -> ::windows::core::Result; - fn Setonchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onchange(&self) -> ::windows::core::Result; - fn Setondurationchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondurationchange(&self) -> ::windows::core::Result; - fn Setonemptied(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onemptied(&self) -> ::windows::core::Result; - fn Setonended(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onended(&self) -> ::windows::core::Result; - fn Setonerror(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onerror(&self) -> ::windows::core::Result; - fn Setoninput(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oninput(&self) -> ::windows::core::Result; - fn Setonload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onload(&self) -> ::windows::core::Result; - fn Setonloadeddata(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onloadeddata(&self) -> ::windows::core::Result; - fn Setonloadedmetadata(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onloadedmetadata(&self) -> ::windows::core::Result; - fn Setonloadstart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onloadstart(&self) -> ::windows::core::Result; - fn Setonpause(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onpause(&self) -> ::windows::core::Result; - fn Setonplay(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onplay(&self) -> ::windows::core::Result; - fn Setonplaying(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onplaying(&self) -> ::windows::core::Result; - fn Setonprogress(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onprogress(&self) -> ::windows::core::Result; - fn Setonratechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onratechange(&self) -> ::windows::core::Result; - fn Setonreset(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onreset(&self) -> ::windows::core::Result; - fn Setonseeked(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onseeked(&self) -> ::windows::core::Result; - fn Setonseeking(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onseeking(&self) -> ::windows::core::Result; - fn Setonselect(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onselect(&self) -> ::windows::core::Result; - fn Setonstalled(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onstalled(&self) -> ::windows::core::Result; - fn Setonsubmit(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onsubmit(&self) -> ::windows::core::Result; - fn Setonsuspend(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onsuspend(&self) -> ::windows::core::Result; - fn Setontimeupdate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ontimeupdate(&self) -> ::windows::core::Result; - fn Setonvolumechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onvolumechange(&self) -> ::windows::core::Result; - fn Setonwaiting(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onwaiting(&self) -> ::windows::core::Result; - fn hasAttributes(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLElement6 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLElement6_Vtbl { - pub const fn new, Impl: IHTMLElement6_Impl, const OFFSET: isize>() -> IHTMLElement6_Vtbl { - unsafe extern "system" fn getAttributeNS, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, strattributename: ::core::mem::ManuallyDrop, attributevalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getAttributeNS(::core::mem::transmute_copy(&pvarns), ::core::mem::transmute(&strattributename)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(attributevalue, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setAttributeNS, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, strattributename: ::core::mem::ManuallyDrop, pvarattributevalue: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setAttributeNS(::core::mem::transmute_copy(&pvarns), ::core::mem::transmute(&strattributename), ::core::mem::transmute_copy(&pvarattributevalue)).into() - } - unsafe extern "system" fn removeAttributeNS, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, strattributename: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.removeAttributeNS(::core::mem::transmute_copy(&pvarns), ::core::mem::transmute(&strattributename)).into() - } - unsafe extern "system" fn getAttributeNodeNS, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, bstrname: ::core::mem::ManuallyDrop, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getAttributeNodeNS(::core::mem::transmute_copy(&pvarns), ::core::mem::transmute(&bstrname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretattribute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setAttributeNodeNS, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pattr: *mut ::core::ffi::c_void, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.setAttributeNodeNS(::core::mem::transmute(&pattr)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretattribute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn hasAttributeNS, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, name: ::core::mem::ManuallyDrop, pfhasattribute: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasAttributeNS(::core::mem::transmute_copy(&pvarns), ::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfhasattribute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getAttribute, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, attributevalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getAttribute(::core::mem::transmute(&strattributename)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(attributevalue, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setAttribute, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, pvarattributevalue: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setAttribute(::core::mem::transmute(&strattributename), ::core::mem::transmute_copy(&pvarattributevalue)).into() - } - unsafe extern "system" fn removeAttribute, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.removeAttribute(::core::mem::transmute(&strattributename)).into() - } - unsafe extern "system" fn getAttributeNode, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getAttributeNode(::core::mem::transmute(&strattributename)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretattribute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setAttributeNode, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pattr: *mut ::core::ffi::c_void, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.setAttributeNode(::core::mem::transmute(&pattr)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretattribute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeAttributeNode, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pattr: *mut ::core::ffi::c_void, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeAttributeNode(::core::mem::transmute(&pattr)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppretattribute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn hasAttribute, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pfhasattribute: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasAttribute(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfhasattribute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getElementsByTagNameNS, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, varns: *const super::super::System::Com::VARIANT, bstrlocalname: ::core::mem::ManuallyDrop, pelcoll: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getElementsByTagNameNS(::core::mem::transmute_copy(&varns), ::core::mem::transmute(&bstrlocalname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pelcoll, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn tagName, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tagName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn nodeName, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nodeName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getElementsByClassName, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pel: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getElementsByClassName(::core::mem::transmute(&v)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pel, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn msMatchesSelector, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pfmatches: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msMatchesSelector(::core::mem::transmute(&v)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfmatches, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonabort, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonabort(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onabort, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onabort() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoncanplay, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoncanplay(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oncanplay, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oncanplay() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoncanplaythrough, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoncanplaythrough(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oncanplaythrough, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oncanplaythrough() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonchange, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onchange, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondurationchange, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondurationchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondurationchange, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondurationchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonemptied, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonemptied(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onemptied, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onemptied() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonended, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonended(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onended, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onended() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonerror, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonerror(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onerror, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onerror() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoninput, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoninput(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oninput, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oninput() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonload, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onload, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonloadeddata, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonloadeddata(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onloadeddata, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onloadeddata() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonloadedmetadata, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonloadedmetadata(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onloadedmetadata, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onloadedmetadata() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonloadstart, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonloadstart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onloadstart, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onloadstart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonpause, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonpause(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onpause, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onpause() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonplay, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonplay(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onplay, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onplay() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonplaying, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonplaying(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onplaying, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onplaying() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonprogress, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonprogress(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onprogress, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onprogress() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonratechange, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonratechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onratechange, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onratechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonreset, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonreset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onreset, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onreset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonseeked, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonseeked(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onseeked, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onseeked() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonseeking, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonseeking(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onseeking, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onseeking() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonselect, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonselect(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onselect, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onselect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonstalled, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonstalled(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onstalled, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onstalled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonsubmit, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonsubmit(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onsubmit, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onsubmit() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonsuspend, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonsuspend(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onsuspend, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onsuspend() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setontimeupdate, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setontimeupdate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ontimeupdate, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ontimeupdate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonvolumechange, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonvolumechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onvolumechange, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onvolumechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonwaiting, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonwaiting(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onwaiting, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onwaiting() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn hasAttributes, Impl: IHTMLElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfhasattributes: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasAttributes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfhasattributes, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - getAttributeNS: getAttributeNS::, - setAttributeNS: setAttributeNS::, - removeAttributeNS: removeAttributeNS::, - getAttributeNodeNS: getAttributeNodeNS::, - setAttributeNodeNS: setAttributeNodeNS::, - hasAttributeNS: hasAttributeNS::, - getAttribute: getAttribute::, - setAttribute: setAttribute::, - removeAttribute: removeAttribute::, - getAttributeNode: getAttributeNode::, - setAttributeNode: setAttributeNode::, - removeAttributeNode: removeAttributeNode::, - hasAttribute: hasAttribute::, - getElementsByTagNameNS: getElementsByTagNameNS::, - tagName: tagName::, - nodeName: nodeName::, - getElementsByClassName: getElementsByClassName::, - msMatchesSelector: msMatchesSelector::, - Setonabort: Setonabort::, - onabort: onabort::, - Setoncanplay: Setoncanplay::, - oncanplay: oncanplay::, - Setoncanplaythrough: Setoncanplaythrough::, - oncanplaythrough: oncanplaythrough::, - Setonchange: Setonchange::, - onchange: onchange::, - Setondurationchange: Setondurationchange::, - ondurationchange: ondurationchange::, - Setonemptied: Setonemptied::, - onemptied: onemptied::, - Setonended: Setonended::, - onended: onended::, - Setonerror: Setonerror::, - onerror: onerror::, - Setoninput: Setoninput::, - oninput: oninput::, - Setonload: Setonload::, - onload: onload::, - Setonloadeddata: Setonloadeddata::, - onloadeddata: onloadeddata::, - Setonloadedmetadata: Setonloadedmetadata::, - onloadedmetadata: onloadedmetadata::, - Setonloadstart: Setonloadstart::, - onloadstart: onloadstart::, - Setonpause: Setonpause::, - onpause: onpause::, - Setonplay: Setonplay::, - onplay: onplay::, - Setonplaying: Setonplaying::, - onplaying: onplaying::, - Setonprogress: Setonprogress::, - onprogress: onprogress::, - Setonratechange: Setonratechange::, - onratechange: onratechange::, - Setonreset: Setonreset::, - onreset: onreset::, - Setonseeked: Setonseeked::, - onseeked: onseeked::, - Setonseeking: Setonseeking::, - onseeking: onseeking::, - Setonselect: Setonselect::, - onselect: onselect::, - Setonstalled: Setonstalled::, - onstalled: onstalled::, - Setonsubmit: Setonsubmit::, - onsubmit: onsubmit::, - Setonsuspend: Setonsuspend::, - onsuspend: onsuspend::, - Setontimeupdate: Setontimeupdate::, - ontimeupdate: ontimeupdate::, - Setonvolumechange: Setonvolumechange::, - onvolumechange: onvolumechange::, - Setonwaiting: Setonwaiting::, - onwaiting: onwaiting::, - hasAttributes: hasAttributes::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLElement7_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setonmspointerdown(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointerdown(&self) -> ::windows::core::Result; - fn Setonmspointermove(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointermove(&self) -> ::windows::core::Result; - fn Setonmspointerup(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointerup(&self) -> ::windows::core::Result; - fn Setonmspointerover(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointerover(&self) -> ::windows::core::Result; - fn Setonmspointerout(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointerout(&self) -> ::windows::core::Result; - fn Setonmspointercancel(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointercancel(&self) -> ::windows::core::Result; - fn Setonmspointerhover(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointerhover(&self) -> ::windows::core::Result; - fn Setonmslostpointercapture(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmslostpointercapture(&self) -> ::windows::core::Result; - fn Setonmsgotpointercapture(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgotpointercapture(&self) -> ::windows::core::Result; - fn Setonmsgesturestart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgesturestart(&self) -> ::windows::core::Result; - fn Setonmsgesturechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgesturechange(&self) -> ::windows::core::Result; - fn Setonmsgestureend(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgestureend(&self) -> ::windows::core::Result; - fn Setonmsgesturehold(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgesturehold(&self) -> ::windows::core::Result; - fn Setonmsgesturetap(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgesturetap(&self) -> ::windows::core::Result; - fn Setonmsgesturedoubletap(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgesturedoubletap(&self) -> ::windows::core::Result; - fn Setonmsinertiastart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsinertiastart(&self) -> ::windows::core::Result; - fn msSetPointerCapture(&self, pointerid: i32) -> ::windows::core::Result<()>; - fn msReleasePointerCapture(&self, pointerid: i32) -> ::windows::core::Result<()>; - fn Setonmstransitionstart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmstransitionstart(&self) -> ::windows::core::Result; - fn Setonmstransitionend(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmstransitionend(&self) -> ::windows::core::Result; - fn Setonmsanimationstart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsanimationstart(&self) -> ::windows::core::Result; - fn Setonmsanimationend(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsanimationend(&self) -> ::windows::core::Result; - fn Setonmsanimationiteration(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsanimationiteration(&self) -> ::windows::core::Result; - fn Setoninvalid(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oninvalid(&self) -> ::windows::core::Result; - fn SetxmsAcceleratorKey(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn xmsAcceleratorKey(&self) -> ::windows::core::Result; - fn Setspellcheck(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn spellcheck(&self) -> ::windows::core::Result; - fn Setonmsmanipulationstatechanged(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsmanipulationstatechanged(&self) -> ::windows::core::Result; - fn Setoncuechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oncuechange(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLElement7 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLElement7_Vtbl { - pub const fn new, Impl: IHTMLElement7_Impl, const OFFSET: isize>() -> IHTMLElement7_Vtbl { - unsafe extern "system" fn Setonmspointerdown, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointerdown(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointerdown, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointerdown() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointermove, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointermove(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointermove, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointermove() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointerup, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointerup(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointerup, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointerup() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointerover, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointerover(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointerover, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointerover() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointerout, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointerout(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointerout, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointerout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointercancel, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointercancel(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointercancel, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointercancel() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointerhover, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointerhover(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointerhover, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointerhover() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmslostpointercapture, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmslostpointercapture(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmslostpointercapture, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmslostpointercapture() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgotpointercapture, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgotpointercapture(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgotpointercapture, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgotpointercapture() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgesturestart, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgesturestart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgesturestart, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgesturestart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgesturechange, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgesturechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgesturechange, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgesturechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgestureend, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgestureend(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgestureend, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgestureend() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgesturehold, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgesturehold(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgesturehold, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgesturehold() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgesturetap, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgesturetap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgesturetap, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgesturetap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgesturedoubletap, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgesturedoubletap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgesturedoubletap, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgesturedoubletap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsinertiastart, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsinertiastart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsinertiastart, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsinertiastart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn msSetPointerCapture, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pointerid: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.msSetPointerCapture(::core::mem::transmute_copy(&pointerid)).into() - } - unsafe extern "system" fn msReleasePointerCapture, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pointerid: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.msReleasePointerCapture(::core::mem::transmute_copy(&pointerid)).into() - } - unsafe extern "system" fn Setonmstransitionstart, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmstransitionstart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmstransitionstart, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmstransitionstart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmstransitionend, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmstransitionend(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmstransitionend, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmstransitionend() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsanimationstart, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsanimationstart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsanimationstart, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsanimationstart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsanimationend, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsanimationend(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsanimationend, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsanimationend() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsanimationiteration, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsanimationiteration(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsanimationiteration, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsanimationiteration() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoninvalid, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoninvalid(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oninvalid, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oninvalid() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetxmsAcceleratorKey, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetxmsAcceleratorKey(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn xmsAcceleratorKey, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.xmsAcceleratorKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setspellcheck, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setspellcheck(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn spellcheck, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.spellcheck() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsmanipulationstatechanged, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsmanipulationstatechanged(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsmanipulationstatechanged, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsmanipulationstatechanged() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoncuechange, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoncuechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oncuechange, Impl: IHTMLElement7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oncuechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setonmspointerdown: Setonmspointerdown::, - onmspointerdown: onmspointerdown::, - Setonmspointermove: Setonmspointermove::, - onmspointermove: onmspointermove::, - Setonmspointerup: Setonmspointerup::, - onmspointerup: onmspointerup::, - Setonmspointerover: Setonmspointerover::, - onmspointerover: onmspointerover::, - Setonmspointerout: Setonmspointerout::, - onmspointerout: onmspointerout::, - Setonmspointercancel: Setonmspointercancel::, - onmspointercancel: onmspointercancel::, - Setonmspointerhover: Setonmspointerhover::, - onmspointerhover: onmspointerhover::, - Setonmslostpointercapture: Setonmslostpointercapture::, - onmslostpointercapture: onmslostpointercapture::, - Setonmsgotpointercapture: Setonmsgotpointercapture::, - onmsgotpointercapture: onmsgotpointercapture::, - Setonmsgesturestart: Setonmsgesturestart::, - onmsgesturestart: onmsgesturestart::, - Setonmsgesturechange: Setonmsgesturechange::, - onmsgesturechange: onmsgesturechange::, - Setonmsgestureend: Setonmsgestureend::, - onmsgestureend: onmsgestureend::, - Setonmsgesturehold: Setonmsgesturehold::, - onmsgesturehold: onmsgesturehold::, - Setonmsgesturetap: Setonmsgesturetap::, - onmsgesturetap: onmsgesturetap::, - Setonmsgesturedoubletap: Setonmsgesturedoubletap::, - onmsgesturedoubletap: onmsgesturedoubletap::, - Setonmsinertiastart: Setonmsinertiastart::, - onmsinertiastart: onmsinertiastart::, - msSetPointerCapture: msSetPointerCapture::, - msReleasePointerCapture: msReleasePointerCapture::, - Setonmstransitionstart: Setonmstransitionstart::, - onmstransitionstart: onmstransitionstart::, - Setonmstransitionend: Setonmstransitionend::, - onmstransitionend: onmstransitionend::, - Setonmsanimationstart: Setonmsanimationstart::, - onmsanimationstart: onmsanimationstart::, - Setonmsanimationend: Setonmsanimationend::, - onmsanimationend: onmsanimationend::, - Setonmsanimationiteration: Setonmsanimationiteration::, - onmsanimationiteration: onmsanimationiteration::, - Setoninvalid: Setoninvalid::, - oninvalid: oninvalid::, - SetxmsAcceleratorKey: SetxmsAcceleratorKey::, - xmsAcceleratorKey: xmsAcceleratorKey::, - Setspellcheck: Setspellcheck::, - spellcheck: spellcheck::, - Setonmsmanipulationstatechanged: Setonmsmanipulationstatechanged::, - onmsmanipulationstatechanged: onmsmanipulationstatechanged::, - Setoncuechange: Setoncuechange::, - oncuechange: oncuechange::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLElementAppliedStyles_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn msGetRulesApplied(&self) -> ::windows::core::Result; - fn msGetRulesAppliedWithAncestor(&self, varcontext: &super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLElementAppliedStyles {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLElementAppliedStyles_Vtbl { - pub const fn new, Impl: IHTMLElementAppliedStyles_Impl, const OFFSET: isize>() -> IHTMLElementAppliedStyles_Vtbl { - unsafe extern "system" fn msGetRulesApplied, Impl: IHTMLElementAppliedStyles_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pprulesappliedcollection: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msGetRulesApplied() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pprulesappliedcollection, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn msGetRulesAppliedWithAncestor, Impl: IHTMLElementAppliedStyles_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, varcontext: ::core::mem::ManuallyDrop, pprulesappliedcollection: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msGetRulesAppliedWithAncestor(::core::mem::transmute(&varcontext)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pprulesappliedcollection, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - msGetRulesApplied: msGetRulesApplied::, - msGetRulesAppliedWithAncestor: msGetRulesAppliedWithAncestor::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLElementCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn toString(&self) -> ::windows::core::Result; - fn Setlength(&self, v: i32) -> ::windows::core::Result<()>; - fn length(&self) -> ::windows::core::Result; - fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn item(&self, name: &super::super::System::Com::VARIANT, index: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn tags(&self, tagname: &super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLElementCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLElementCollection_Vtbl { - pub const fn new, Impl: IHTMLElementCollection_Impl, const OFFSET: isize>() -> IHTMLElementCollection_Vtbl { - unsafe extern "system" fn toString, Impl: IHTMLElementCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toString() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(string, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setlength, Impl: IHTMLElementCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setlength(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn length, Impl: IHTMLElementCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn _newEnum, Impl: IHTMLElementCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this._newEnum() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLElementCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, index: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute(&name), ::core::mem::transmute(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn tags, Impl: IHTMLElementCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, tagname: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tags(::core::mem::transmute(&tagname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - toString: toString::, - Setlength: Setlength::, - length: length::, - _newEnum: _newEnum::, - item: item::, - tags: tags::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLElementCollection2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn urns(&self, urn: &super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLElementCollection2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLElementCollection2_Vtbl { - pub const fn new, Impl: IHTMLElementCollection2_Impl, const OFFSET: isize>() -> IHTMLElementCollection2_Vtbl { - unsafe extern "system" fn urns, Impl: IHTMLElementCollection2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, urn: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.urns(::core::mem::transmute(&urn)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), urns: urns:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLElementCollection3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn namedItem(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLElementCollection3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLElementCollection3_Vtbl { - pub const fn new, Impl: IHTMLElementCollection3_Impl, const OFFSET: isize>() -> IHTMLElementCollection3_Vtbl { - unsafe extern "system" fn namedItem, Impl: IHTMLElementCollection3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.namedItem(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), namedItem: namedItem:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLElementCollection4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn item(&self, index: i32) -> ::windows::core::Result; - fn namedItem(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLElementCollection4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLElementCollection4_Vtbl { - pub const fn new, Impl: IHTMLElementCollection4_Impl, const OFFSET: isize>() -> IHTMLElementCollection4_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLElementCollection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLElementCollection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, pnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn namedItem, Impl: IHTMLElementCollection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.namedItem(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pnode, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - item: item::, - namedItem: namedItem::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLElementDefaults_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn style(&self) -> ::windows::core::Result; - fn SettabStop(&self, v: i16) -> ::windows::core::Result<()>; - fn tabStop(&self) -> ::windows::core::Result; - fn SetviewInheritStyle(&self, v: i16) -> ::windows::core::Result<()>; - fn viewInheritStyle(&self) -> ::windows::core::Result; - fn SetviewMasterTab(&self, v: i16) -> ::windows::core::Result<()>; - fn viewMasterTab(&self) -> ::windows::core::Result; - fn SetscrollSegmentX(&self, v: i32) -> ::windows::core::Result<()>; - fn scrollSegmentX(&self) -> ::windows::core::Result; - fn SetscrollSegmentY(&self, v: i32) -> ::windows::core::Result<()>; - fn scrollSegmentY(&self) -> ::windows::core::Result; - fn SetisMultiLine(&self, v: i16) -> ::windows::core::Result<()>; - fn isMultiLine(&self) -> ::windows::core::Result; - fn SetcontentEditable(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn contentEditable(&self) -> ::windows::core::Result; - fn SetcanHaveHTML(&self, v: i16) -> ::windows::core::Result<()>; - fn canHaveHTML(&self) -> ::windows::core::Result; - fn putref_viewLink(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn viewLink(&self) -> ::windows::core::Result; - fn Setfrozen(&self, v: i16) -> ::windows::core::Result<()>; - fn frozen(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLElementDefaults {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLElementDefaults_Vtbl { - pub const fn new, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>() -> IHTMLElementDefaults_Vtbl { - unsafe extern "system" fn style, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.style() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettabStop, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettabStop(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn tabStop, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tabStop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetviewInheritStyle, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetviewInheritStyle(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn viewInheritStyle, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.viewInheritStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetviewMasterTab, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetviewMasterTab(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn viewMasterTab, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.viewMasterTab() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollSegmentX, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollSegmentX(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn scrollSegmentX, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollSegmentX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollSegmentY, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollSegmentY(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn scrollSegmentY, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollSegmentY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetisMultiLine, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetisMultiLine(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn isMultiLine, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isMultiLine() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcontentEditable, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcontentEditable(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn contentEditable, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.contentEditable() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcanHaveHTML, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcanHaveHTML(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn canHaveHTML, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.canHaveHTML() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_viewLink, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_viewLink(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn viewLink, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.viewLink() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setfrozen, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setfrozen(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn frozen, Impl: IHTMLElementDefaults_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.frozen() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - style: style::, - SettabStop: SettabStop::, - tabStop: tabStop::, - SetviewInheritStyle: SetviewInheritStyle::, - viewInheritStyle: viewInheritStyle::, - SetviewMasterTab: SetviewMasterTab::, - viewMasterTab: viewMasterTab::, - SetscrollSegmentX: SetscrollSegmentX::, - scrollSegmentX: scrollSegmentX::, - SetscrollSegmentY: SetscrollSegmentY::, - scrollSegmentY: scrollSegmentY::, - SetisMultiLine: SetisMultiLine::, - isMultiLine: isMultiLine::, - SetcontentEditable: SetcontentEditable::, - contentEditable: contentEditable::, - SetcanHaveHTML: SetcanHaveHTML::, - canHaveHTML: canHaveHTML::, - putref_viewLink: putref_viewLink::, - viewLink: viewLink::, - Setfrozen: Setfrozen::, - frozen: frozen::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -pub trait IHTMLElementRender_Impl: Sized { - fn DrawToDC(&self, hdc: super::super::Graphics::Gdi::HDC) -> ::windows::core::Result<()>; - fn SetDocumentPrinter(&self, bstrprintername: &super::super::Foundation::BSTR, hdc: super::super::Graphics::Gdi::HDC) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -impl ::windows::core::RuntimeName for IHTMLElementRender {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -impl IHTMLElementRender_Vtbl { - pub const fn new, Impl: IHTMLElementRender_Impl, const OFFSET: isize>() -> IHTMLElementRender_Vtbl { - unsafe extern "system" fn DrawToDC, Impl: IHTMLElementRender_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, hdc: super::super::Graphics::Gdi::HDC) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.DrawToDC(::core::mem::transmute_copy(&hdc)).into() - } - unsafe extern "system" fn SetDocumentPrinter, Impl: IHTMLElementRender_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrprintername: ::core::mem::ManuallyDrop, hdc: super::super::Graphics::Gdi::HDC) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetDocumentPrinter(::core::mem::transmute(&bstrprintername), ::core::mem::transmute_copy(&hdc)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - DrawToDC: DrawToDC::, - SetDocumentPrinter: SetDocumentPrinter::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLEmbedElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Sethidden(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn hidden(&self) -> ::windows::core::Result; - fn palette(&self) -> ::windows::core::Result; - fn pluginspage(&self) -> ::windows::core::Result; - fn Setsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn src(&self) -> ::windows::core::Result; - fn Setunits(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn units(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Setwidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn Setheight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLEmbedElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLEmbedElement_Vtbl { - pub const fn new, Impl: IHTMLEmbedElement_Impl, const OFFSET: isize>() -> IHTMLEmbedElement_Vtbl { - unsafe extern "system" fn Sethidden, Impl: IHTMLEmbedElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethidden(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn hidden, Impl: IHTMLEmbedElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hidden() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn palette, Impl: IHTMLEmbedElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.palette() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn pluginspage, Impl: IHTMLEmbedElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pluginspage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setsrc, Impl: IHTMLEmbedElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn src, Impl: IHTMLEmbedElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.src() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setunits, Impl: IHTMLEmbedElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setunits(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn units, Impl: IHTMLEmbedElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.units() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLEmbedElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLEmbedElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidth, Impl: IHTMLEmbedElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLEmbedElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setheight, Impl: IHTMLEmbedElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn height, Impl: IHTMLEmbedElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Sethidden: Sethidden::, - hidden: hidden::, - palette: palette::, - pluginspage: pluginspage::, - Setsrc: Setsrc::, - src: src::, - Setunits: Setunits::, - units: units::, - Setname: Setname::, - name: name::, - Setwidth: Setwidth::, - width: width::, - Setheight: Setheight::, - height: height::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLEmbedElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn src(&self) -> ::windows::core::Result; - fn pluginspage(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLEmbedElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLEmbedElement2_Vtbl { - pub const fn new, Impl: IHTMLEmbedElement2_Impl, const OFFSET: isize>() -> IHTMLEmbedElement2_Vtbl { - unsafe extern "system" fn Setsrc, Impl: IHTMLEmbedElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn src, Impl: IHTMLEmbedElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.src() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn pluginspage, Impl: IHTMLEmbedElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pluginspage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setsrc: Setsrc::, - src: src::, - pluginspage: pluginspage::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLEventObj_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn srcElement(&self) -> ::windows::core::Result; - fn altKey(&self) -> ::windows::core::Result; - fn ctrlKey(&self) -> ::windows::core::Result; - fn shiftKey(&self) -> ::windows::core::Result; - fn SetreturnValue(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn returnValue(&self) -> ::windows::core::Result; - fn SetcancelBubble(&self, v: i16) -> ::windows::core::Result<()>; - fn cancelBubble(&self) -> ::windows::core::Result; - fn fromElement(&self) -> ::windows::core::Result; - fn toElement(&self) -> ::windows::core::Result; - fn SetkeyCode(&self, v: i32) -> ::windows::core::Result<()>; - fn keyCode(&self) -> ::windows::core::Result; - fn button(&self) -> ::windows::core::Result; - fn r#type(&self) -> ::windows::core::Result; - fn qualifier(&self) -> ::windows::core::Result; - fn reason(&self) -> ::windows::core::Result; - fn x(&self) -> ::windows::core::Result; - fn y(&self) -> ::windows::core::Result; - fn clientX(&self) -> ::windows::core::Result; - fn clientY(&self) -> ::windows::core::Result; - fn offsetX(&self) -> ::windows::core::Result; - fn offsetY(&self) -> ::windows::core::Result; - fn screenX(&self) -> ::windows::core::Result; - fn screenY(&self) -> ::windows::core::Result; - fn srcFilter(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLEventObj {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLEventObj_Vtbl { - pub const fn new, Impl: IHTMLEventObj_Impl, const OFFSET: isize>() -> IHTMLEventObj_Vtbl { - unsafe extern "system" fn srcElement, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.srcElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn altKey, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.altKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn ctrlKey, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ctrlKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn shiftKey, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.shiftKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetreturnValue, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetreturnValue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn returnValue, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.returnValue() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcancelBubble, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcancelBubble(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn cancelBubble, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cancelBubble() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fromElement, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fromElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn toElement, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetkeyCode, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetkeyCode(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn keyCode, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.keyCode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn button, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.button() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn r#type, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn qualifier, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.qualifier() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn reason, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.reason() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn x, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn y, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clientX, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clientY, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn offsetX, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.offsetX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn offsetY, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.offsetY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn screenX, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.screenX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn screenY, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.screenY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn srcFilter, Impl: IHTMLEventObj_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.srcFilter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - srcElement: srcElement::, - altKey: altKey::, - ctrlKey: ctrlKey::, - shiftKey: shiftKey::, - SetreturnValue: SetreturnValue::, - returnValue: returnValue::, - SetcancelBubble: SetcancelBubble::, - cancelBubble: cancelBubble::, - fromElement: fromElement::, - toElement: toElement::, - SetkeyCode: SetkeyCode::, - keyCode: keyCode::, - button: button::, - r#type: r#type::, - qualifier: qualifier::, - reason: reason::, - x: x::, - y: y::, - clientX: clientX::, - clientY: clientY::, - offsetX: offsetX::, - offsetY: offsetY::, - screenX: screenX::, - screenY: screenY::, - srcFilter: srcFilter::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLEventObj2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn setAttribute(&self, strattributename: &super::super::Foundation::BSTR, attributevalue: &super::super::System::Com::VARIANT, lflags: i32) -> ::windows::core::Result<()>; - fn getAttribute(&self, strattributename: &super::super::Foundation::BSTR, lflags: i32) -> ::windows::core::Result; - fn removeAttribute(&self, strattributename: &super::super::Foundation::BSTR, lflags: i32) -> ::windows::core::Result; - fn SetpropertyName(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn propertyName(&self) -> ::windows::core::Result; - fn putref_bookmarks(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn bookmarks(&self) -> ::windows::core::Result; - fn putref_recordset(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn recordset(&self) -> ::windows::core::Result; - fn SetdataFld(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dataFld(&self) -> ::windows::core::Result; - fn putref_boundElements(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn boundElements(&self) -> ::windows::core::Result; - fn Setrepeat(&self, v: i16) -> ::windows::core::Result<()>; - fn repeat(&self) -> ::windows::core::Result; - fn SetsrcUrn(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn srcUrn(&self) -> ::windows::core::Result; - fn putref_srcElement(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn srcElement(&self) -> ::windows::core::Result; - fn SetaltKey(&self, v: i16) -> ::windows::core::Result<()>; - fn altKey(&self) -> ::windows::core::Result; - fn SetctrlKey(&self, v: i16) -> ::windows::core::Result<()>; - fn ctrlKey(&self) -> ::windows::core::Result; - fn SetshiftKey(&self, v: i16) -> ::windows::core::Result<()>; - fn shiftKey(&self) -> ::windows::core::Result; - fn putref_fromElement(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn fromElement(&self) -> ::windows::core::Result; - fn putref_toElement(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn toElement(&self) -> ::windows::core::Result; - fn Setbutton(&self, v: i32) -> ::windows::core::Result<()>; - fn button(&self) -> ::windows::core::Result; - fn Settype(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; - fn Setqualifier(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn qualifier(&self) -> ::windows::core::Result; - fn Setreason(&self, v: i32) -> ::windows::core::Result<()>; - fn reason(&self) -> ::windows::core::Result; - fn Setx(&self, v: i32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn Sety(&self, v: i32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn SetclientX(&self, v: i32) -> ::windows::core::Result<()>; - fn clientX(&self) -> ::windows::core::Result; - fn SetclientY(&self, v: i32) -> ::windows::core::Result<()>; - fn clientY(&self) -> ::windows::core::Result; - fn SetoffsetX(&self, v: i32) -> ::windows::core::Result<()>; - fn offsetX(&self) -> ::windows::core::Result; - fn SetoffsetY(&self, v: i32) -> ::windows::core::Result<()>; - fn offsetY(&self) -> ::windows::core::Result; - fn SetscreenX(&self, v: i32) -> ::windows::core::Result<()>; - fn screenX(&self) -> ::windows::core::Result; - fn SetscreenY(&self, v: i32) -> ::windows::core::Result<()>; - fn screenY(&self) -> ::windows::core::Result; - fn putref_srcFilter(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn srcFilter(&self) -> ::windows::core::Result; - fn dataTransfer(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLEventObj2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLEventObj2_Vtbl { - pub const fn new, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>() -> IHTMLEventObj2_Vtbl { - unsafe extern "system" fn setAttribute, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, attributevalue: ::core::mem::ManuallyDrop, lflags: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setAttribute(::core::mem::transmute(&strattributename), ::core::mem::transmute(&attributevalue), ::core::mem::transmute_copy(&lflags)).into() - } - unsafe extern "system" fn getAttribute, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, attributevalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getAttribute(::core::mem::transmute(&strattributename), ::core::mem::transmute_copy(&lflags)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(attributevalue, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeAttribute, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, pfsuccess: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeAttribute(::core::mem::transmute(&strattributename), ::core::mem::transmute_copy(&lflags)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfsuccess, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpropertyName, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpropertyName(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn propertyName, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.propertyName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_bookmarks, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_bookmarks(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn bookmarks, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bookmarks() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_recordset, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_recordset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn recordset, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.recordset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdataFld, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdataFld(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dataFld, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dataFld() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_boundElements, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_boundElements(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn boundElements, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.boundElements() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setrepeat, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setrepeat(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn repeat, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.repeat() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetsrcUrn, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetsrcUrn(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn srcUrn, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.srcUrn() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_srcElement, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_srcElement(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn srcElement, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.srcElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetaltKey, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetaltKey(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn altKey, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.altKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetctrlKey, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetctrlKey(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn ctrlKey, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ctrlKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetshiftKey, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetshiftKey(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn shiftKey, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.shiftKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_fromElement, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_fromElement(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fromElement, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fromElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_toElement, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_toElement(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn toElement, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setbutton, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setbutton(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn button, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.button() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settype, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settype(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#type, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setqualifier, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setqualifier(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn qualifier, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.qualifier() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setreason, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setreason(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn reason, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.reason() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setx, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetclientX, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetclientX(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn clientX, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetclientY, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetclientY(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn clientY, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetoffsetX, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoffsetX(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn offsetX, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.offsetX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetoffsetY, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoffsetY(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn offsetY, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.offsetY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscreenX, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscreenX(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn screenX, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.screenX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscreenY, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscreenY(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn screenY, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.screenY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_srcFilter, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_srcFilter(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn srcFilter, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.srcFilter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn dataTransfer, Impl: IHTMLEventObj2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dataTransfer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - setAttribute: setAttribute::, - getAttribute: getAttribute::, - removeAttribute: removeAttribute::, - SetpropertyName: SetpropertyName::, - propertyName: propertyName::, - putref_bookmarks: putref_bookmarks::, - bookmarks: bookmarks::, - putref_recordset: putref_recordset::, - recordset: recordset::, - SetdataFld: SetdataFld::, - dataFld: dataFld::, - putref_boundElements: putref_boundElements::, - boundElements: boundElements::, - Setrepeat: Setrepeat::, - repeat: repeat::, - SetsrcUrn: SetsrcUrn::, - srcUrn: srcUrn::, - putref_srcElement: putref_srcElement::, - srcElement: srcElement::, - SetaltKey: SetaltKey::, - altKey: altKey::, - SetctrlKey: SetctrlKey::, - ctrlKey: ctrlKey::, - SetshiftKey: SetshiftKey::, - shiftKey: shiftKey::, - putref_fromElement: putref_fromElement::, - fromElement: fromElement::, - putref_toElement: putref_toElement::, - toElement: toElement::, - Setbutton: Setbutton::, - button: button::, - Settype: Settype::, - r#type: r#type::, - Setqualifier: Setqualifier::, - qualifier: qualifier::, - Setreason: Setreason::, - reason: reason::, - Setx: Setx::, - x: x::, - Sety: Sety::, - y: y::, - SetclientX: SetclientX::, - clientX: clientX::, - SetclientY: SetclientY::, - clientY: clientY::, - SetoffsetX: SetoffsetX::, - offsetX: offsetX::, - SetoffsetY: SetoffsetY::, - offsetY: offsetY::, - SetscreenX: SetscreenX::, - screenX: screenX::, - SetscreenY: SetscreenY::, - screenY: screenY::, - putref_srcFilter: putref_srcFilter::, - srcFilter: srcFilter::, - dataTransfer: dataTransfer::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLEventObj3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn contentOverflow(&self) -> ::windows::core::Result; - fn SetshiftLeft(&self, v: i16) -> ::windows::core::Result<()>; - fn shiftLeft(&self) -> ::windows::core::Result; - fn SetaltLeft(&self, v: i16) -> ::windows::core::Result<()>; - fn altLeft(&self) -> ::windows::core::Result; - fn SetctrlLeft(&self, v: i16) -> ::windows::core::Result<()>; - fn ctrlLeft(&self) -> ::windows::core::Result; - fn imeCompositionChange(&self) -> ::windows::core::Result; - fn imeNotifyCommand(&self) -> ::windows::core::Result; - fn imeNotifyData(&self) -> ::windows::core::Result; - fn imeRequest(&self) -> ::windows::core::Result; - fn imeRequestData(&self) -> ::windows::core::Result; - fn keyboardLayout(&self) -> ::windows::core::Result; - fn behaviorCookie(&self) -> ::windows::core::Result; - fn behaviorPart(&self) -> ::windows::core::Result; - fn nextPage(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLEventObj3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLEventObj3_Vtbl { - pub const fn new, Impl: IHTMLEventObj3_Impl, const OFFSET: isize>() -> IHTMLEventObj3_Vtbl { - unsafe extern "system" fn contentOverflow, Impl: IHTMLEventObj3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.contentOverflow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetshiftLeft, Impl: IHTMLEventObj3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetshiftLeft(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn shiftLeft, Impl: IHTMLEventObj3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.shiftLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetaltLeft, Impl: IHTMLEventObj3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetaltLeft(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn altLeft, Impl: IHTMLEventObj3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.altLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetctrlLeft, Impl: IHTMLEventObj3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetctrlLeft(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn ctrlLeft, Impl: IHTMLEventObj3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ctrlLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn imeCompositionChange, Impl: IHTMLEventObj3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut isize) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.imeCompositionChange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn imeNotifyCommand, Impl: IHTMLEventObj3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut isize) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.imeNotifyCommand() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn imeNotifyData, Impl: IHTMLEventObj3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut isize) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.imeNotifyData() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn imeRequest, Impl: IHTMLEventObj3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut isize) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.imeRequest() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn imeRequestData, Impl: IHTMLEventObj3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut isize) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.imeRequestData() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn keyboardLayout, Impl: IHTMLEventObj3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut isize) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.keyboardLayout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn behaviorCookie, Impl: IHTMLEventObj3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.behaviorCookie() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn behaviorPart, Impl: IHTMLEventObj3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.behaviorPart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn nextPage, Impl: IHTMLEventObj3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nextPage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - contentOverflow: contentOverflow::, - SetshiftLeft: SetshiftLeft::, - shiftLeft: shiftLeft::, - SetaltLeft: SetaltLeft::, - altLeft: altLeft::, - SetctrlLeft: SetctrlLeft::, - ctrlLeft: ctrlLeft::, - imeCompositionChange: imeCompositionChange::, - imeNotifyCommand: imeNotifyCommand::, - imeNotifyData: imeNotifyData::, - imeRequest: imeRequest::, - imeRequestData: imeRequestData::, - keyboardLayout: keyboardLayout::, - behaviorCookie: behaviorCookie::, - behaviorPart: behaviorPart::, - nextPage: nextPage::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLEventObj4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn wheelDelta(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLEventObj4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLEventObj4_Vtbl { - pub const fn new, Impl: IHTMLEventObj4_Impl, const OFFSET: isize>() -> IHTMLEventObj4_Vtbl { - unsafe extern "system" fn wheelDelta, Impl: IHTMLEventObj4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.wheelDelta() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), wheelDelta: wheelDelta:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLEventObj5_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Seturl(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn url(&self) -> ::windows::core::Result; - fn Setdata(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn data(&self) -> ::windows::core::Result; - fn source(&self) -> ::windows::core::Result; - fn Setorigin(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn origin(&self) -> ::windows::core::Result; - fn Setissession(&self, v: i16) -> ::windows::core::Result<()>; - fn issession(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLEventObj5 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLEventObj5_Vtbl { - pub const fn new, Impl: IHTMLEventObj5_Impl, const OFFSET: isize>() -> IHTMLEventObj5_Vtbl { - unsafe extern "system" fn Seturl, Impl: IHTMLEventObj5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Seturl(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn url, Impl: IHTMLEventObj5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.url() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdata, Impl: IHTMLEventObj5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdata(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn data, Impl: IHTMLEventObj5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.data() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn source, Impl: IHTMLEventObj5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.source() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setorigin, Impl: IHTMLEventObj5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setorigin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn origin, Impl: IHTMLEventObj5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.origin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setissession, Impl: IHTMLEventObj5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setissession(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn issession, Impl: IHTMLEventObj5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.issession() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Seturl: Seturl::, - url: url::, - Setdata: Setdata::, - data: data::, - source: source::, - Setorigin: Setorigin::, - origin: origin::, - Setissession: Setissession::, - issession: issession::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLEventObj6_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn actionURL(&self) -> ::windows::core::Result; - fn buttonID(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLEventObj6 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLEventObj6_Vtbl { - pub const fn new, Impl: IHTMLEventObj6_Impl, const OFFSET: isize>() -> IHTMLEventObj6_Vtbl { - unsafe extern "system" fn actionURL, Impl: IHTMLEventObj6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.actionURL() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn buttonID, Impl: IHTMLEventObj6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.buttonID() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - actionURL: actionURL::, - buttonID: buttonID::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFieldSetElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFieldSetElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFieldSetElement_Vtbl { - pub const fn new, Impl: IHTMLFieldSetElement_Impl, const OFFSET: isize>() -> IHTMLFieldSetElement_Vtbl { - unsafe extern "system" fn Setalign, Impl: IHTMLFieldSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLFieldSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setalign: Setalign::, - align: align::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFieldSetElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn form(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFieldSetElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFieldSetElement2_Vtbl { - pub const fn new, Impl: IHTMLFieldSetElement2_Impl, const OFFSET: isize>() -> IHTMLFieldSetElement2_Vtbl { - unsafe extern "system" fn form, Impl: IHTMLFieldSetElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.form() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), form: form:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFiltersCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFiltersCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFiltersCollection_Vtbl { - pub const fn new, Impl: IHTMLFiltersCollection_Impl, const OFFSET: isize>() -> IHTMLFiltersCollection_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLFiltersCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn _newEnum, Impl: IHTMLFiltersCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this._newEnum() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLFiltersCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarindex: *const super::super::System::Com::VARIANT, pvarresult: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&pvarindex)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvarresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - _newEnum: _newEnum::, - item: item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFontElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcolor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn color(&self) -> ::windows::core::Result; - fn Setface(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn face(&self) -> ::windows::core::Result; - fn Setsize(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn size(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFontElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFontElement_Vtbl { - pub const fn new, Impl: IHTMLFontElement_Impl, const OFFSET: isize>() -> IHTMLFontElement_Vtbl { - unsafe extern "system" fn Setcolor, Impl: IHTMLFontElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcolor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn color, Impl: IHTMLFontElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.color() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setface, Impl: IHTMLFontElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setface(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn face, Impl: IHTMLFontElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.face() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setsize, Impl: IHTMLFontElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsize(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn size, Impl: IHTMLFontElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.size() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcolor: Setcolor::, - color: color::, - Setface: Setface::, - face: face::, - Setsize: Setsize::, - size: size::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFontNamesCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn item(&self, index: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFontNamesCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFontNamesCollection_Vtbl { - pub const fn new, Impl: IHTMLFontNamesCollection_Impl, const OFFSET: isize>() -> IHTMLFontNamesCollection_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLFontNamesCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn _newEnum, Impl: IHTMLFontNamesCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this._newEnum() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLFontNamesCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, pbstr: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstr, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - _newEnum: _newEnum::, - item: item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFontSizesCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn forFont(&self) -> ::windows::core::Result; - fn item(&self, index: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFontSizesCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFontSizesCollection_Vtbl { - pub const fn new, Impl: IHTMLFontSizesCollection_Impl, const OFFSET: isize>() -> IHTMLFontSizesCollection_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLFontSizesCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn _newEnum, Impl: IHTMLFontSizesCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this._newEnum() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn forFont, Impl: IHTMLFontSizesCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.forFont() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLFontSizesCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, plsize: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(plsize, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - _newEnum: _newEnum::, - forFont: forFont::, - item: item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFormElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setaction(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn action(&self) -> ::windows::core::Result; - fn Setdir(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dir(&self) -> ::windows::core::Result; - fn Setencoding(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn encoding(&self) -> ::windows::core::Result; - fn Setmethod(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn method(&self) -> ::windows::core::Result; - fn elements(&self) -> ::windows::core::Result; - fn Settarget(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn target(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Setonsubmit(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onsubmit(&self) -> ::windows::core::Result; - fn Setonreset(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onreset(&self) -> ::windows::core::Result; - fn submit(&self) -> ::windows::core::Result<()>; - fn reset(&self) -> ::windows::core::Result<()>; - fn Setlength(&self, v: i32) -> ::windows::core::Result<()>; - fn length(&self) -> ::windows::core::Result; - fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn item(&self, name: &super::super::System::Com::VARIANT, index: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn tags(&self, tagname: &super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFormElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFormElement_Vtbl { - pub const fn new, Impl: IHTMLFormElement_Impl, const OFFSET: isize>() -> IHTMLFormElement_Vtbl { - unsafe extern "system" fn Setaction, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setaction(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn action, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.action() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdir, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdir(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dir, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dir() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setencoding, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setencoding(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn encoding, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.encoding() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setmethod, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmethod(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn method, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.method() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn elements, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.elements() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settarget, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settarget(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn target, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.target() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonsubmit, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonsubmit(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onsubmit, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onsubmit() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonreset, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonreset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onreset, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onreset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn submit, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.submit().into() - } - unsafe extern "system" fn reset, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.reset().into() - } - unsafe extern "system" fn Setlength, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setlength(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn length, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn _newEnum, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this._newEnum() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, index: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute(&name), ::core::mem::transmute(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn tags, Impl: IHTMLFormElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, tagname: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tags(::core::mem::transmute(&tagname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setaction: Setaction::, - action: action::, - Setdir: Setdir::, - dir: dir::, - Setencoding: Setencoding::, - encoding: encoding::, - Setmethod: Setmethod::, - method: method::, - elements: elements::, - Settarget: Settarget::, - target: target::, - Setname: Setname::, - name: name::, - Setonsubmit: Setonsubmit::, - onsubmit: onsubmit::, - Setonreset: Setonreset::, - onreset: onreset::, - submit: submit::, - reset: reset::, - Setlength: Setlength::, - length: length::, - _newEnum: _newEnum::, - item: item::, - tags: tags::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFormElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetacceptCharset(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn acceptCharset(&self) -> ::windows::core::Result; - fn urns(&self, urn: &super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFormElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFormElement2_Vtbl { - pub const fn new, Impl: IHTMLFormElement2_Impl, const OFFSET: isize>() -> IHTMLFormElement2_Vtbl { - unsafe extern "system" fn SetacceptCharset, Impl: IHTMLFormElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetacceptCharset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn acceptCharset, Impl: IHTMLFormElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.acceptCharset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn urns, Impl: IHTMLFormElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, urn: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.urns(::core::mem::transmute(&urn)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetacceptCharset: SetacceptCharset::, - acceptCharset: acceptCharset::, - urns: urns::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFormElement3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn namedItem(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFormElement3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFormElement3_Vtbl { - pub const fn new, Impl: IHTMLFormElement3_Impl, const OFFSET: isize>() -> IHTMLFormElement3_Vtbl { - unsafe extern "system" fn namedItem, Impl: IHTMLFormElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.namedItem(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), namedItem: namedItem:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFormElement4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setaction(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn action(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFormElement4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFormElement4_Vtbl { - pub const fn new, Impl: IHTMLFormElement4_Impl, const OFFSET: isize>() -> IHTMLFormElement4_Vtbl { - unsafe extern "system" fn Setaction, Impl: IHTMLFormElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setaction(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn action, Impl: IHTMLFormElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.action() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setaction: Setaction::, - action: action::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFrameBase_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn src(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Setborder(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn border(&self) -> ::windows::core::Result; - fn SetframeBorder(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn frameBorder(&self) -> ::windows::core::Result; - fn SetframeSpacing(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn frameSpacing(&self) -> ::windows::core::Result; - fn SetmarginWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn marginWidth(&self) -> ::windows::core::Result; - fn SetmarginHeight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn marginHeight(&self) -> ::windows::core::Result; - fn SetnoResize(&self, v: i16) -> ::windows::core::Result<()>; - fn noResize(&self) -> ::windows::core::Result; - fn Setscrolling(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn scrolling(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFrameBase {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFrameBase_Vtbl { - pub const fn new, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>() -> IHTMLFrameBase_Vtbl { - unsafe extern "system" fn Setsrc, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn src, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.src() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setborder, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setborder(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn border, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.border() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetframeBorder, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetframeBorder(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn frameBorder, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.frameBorder() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetframeSpacing, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetframeSpacing(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn frameSpacing, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.frameSpacing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginWidth, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn marginWidth, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginHeight, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginHeight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn marginHeight, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetnoResize, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnoResize(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn noResize, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.noResize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setscrolling, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setscrolling(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrolling, Impl: IHTMLFrameBase_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrolling() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setsrc: Setsrc::, - src: src::, - Setname: Setname::, - name: name::, - Setborder: Setborder::, - border: border::, - SetframeBorder: SetframeBorder::, - frameBorder: frameBorder::, - SetframeSpacing: SetframeSpacing::, - frameSpacing: frameSpacing::, - SetmarginWidth: SetmarginWidth::, - marginWidth: marginWidth::, - SetmarginHeight: SetmarginHeight::, - marginHeight: marginHeight::, - SetnoResize: SetnoResize::, - noResize: noResize::, - Setscrolling: Setscrolling::, - scrolling: scrolling::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFrameBase2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn contentWindow(&self) -> ::windows::core::Result; - fn Setonload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onload(&self) -> ::windows::core::Result; - fn Setonreadystatechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onreadystatechange(&self) -> ::windows::core::Result; - fn readyState(&self) -> ::windows::core::Result; - fn SetallowTransparency(&self, v: i16) -> ::windows::core::Result<()>; - fn allowTransparency(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFrameBase2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFrameBase2_Vtbl { - pub const fn new, Impl: IHTMLFrameBase2_Impl, const OFFSET: isize>() -> IHTMLFrameBase2_Vtbl { - unsafe extern "system" fn contentWindow, Impl: IHTMLFrameBase2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.contentWindow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonload, Impl: IHTMLFrameBase2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onload, Impl: IHTMLFrameBase2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonreadystatechange, Impl: IHTMLFrameBase2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonreadystatechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onreadystatechange, Impl: IHTMLFrameBase2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onreadystatechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn readyState, Impl: IHTMLFrameBase2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readyState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetallowTransparency, Impl: IHTMLFrameBase2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetallowTransparency(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn allowTransparency, Impl: IHTMLFrameBase2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.allowTransparency() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - contentWindow: contentWindow::, - Setonload: Setonload::, - onload: onload::, - Setonreadystatechange: Setonreadystatechange::, - onreadystatechange: onreadystatechange::, - readyState: readyState::, - SetallowTransparency: SetallowTransparency::, - allowTransparency: allowTransparency::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFrameBase3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetlongDesc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn longDesc(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFrameBase3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFrameBase3_Vtbl { - pub const fn new, Impl: IHTMLFrameBase3_Impl, const OFFSET: isize>() -> IHTMLFrameBase3_Vtbl { - unsafe extern "system" fn SetlongDesc, Impl: IHTMLFrameBase3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlongDesc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn longDesc, Impl: IHTMLFrameBase3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.longDesc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetlongDesc: SetlongDesc::, - longDesc: longDesc::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFrameElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetborderColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderColor(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFrameElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFrameElement_Vtbl { - pub const fn new, Impl: IHTMLFrameElement_Impl, const OFFSET: isize>() -> IHTMLFrameElement_Vtbl { - unsafe extern "system" fn SetborderColor, Impl: IHTMLFrameElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderColor, Impl: IHTMLFrameElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetborderColor: SetborderColor::, - borderColor: borderColor::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFrameElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setheight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; - fn Setwidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFrameElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFrameElement2_Vtbl { - pub const fn new, Impl: IHTMLFrameElement2_Impl, const OFFSET: isize>() -> IHTMLFrameElement2_Vtbl { - unsafe extern "system" fn Setheight, Impl: IHTMLFrameElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn height, Impl: IHTMLFrameElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidth, Impl: IHTMLFrameElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLFrameElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setheight: Setheight::, - height: height::, - Setwidth: Setwidth::, - width: width::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFrameElement3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn contentDocument(&self) -> ::windows::core::Result; - fn Setsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn src(&self) -> ::windows::core::Result; - fn SetlongDesc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn longDesc(&self) -> ::windows::core::Result; - fn SetframeBorder(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn frameBorder(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFrameElement3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFrameElement3_Vtbl { - pub const fn new, Impl: IHTMLFrameElement3_Impl, const OFFSET: isize>() -> IHTMLFrameElement3_Vtbl { - unsafe extern "system" fn contentDocument, Impl: IHTMLFrameElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.contentDocument() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setsrc, Impl: IHTMLFrameElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn src, Impl: IHTMLFrameElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.src() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlongDesc, Impl: IHTMLFrameElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlongDesc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn longDesc, Impl: IHTMLFrameElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.longDesc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetframeBorder, Impl: IHTMLFrameElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetframeBorder(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn frameBorder, Impl: IHTMLFrameElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.frameBorder() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - contentDocument: contentDocument::, - Setsrc: Setsrc::, - src: src::, - SetlongDesc: SetlongDesc::, - longDesc: longDesc::, - SetframeBorder: SetframeBorder::, - frameBorder: frameBorder::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFrameSetElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setrows(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn rows(&self) -> ::windows::core::Result; - fn Setcols(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn cols(&self) -> ::windows::core::Result; - fn Setborder(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn border(&self) -> ::windows::core::Result; - fn SetborderColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderColor(&self) -> ::windows::core::Result; - fn SetframeBorder(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn frameBorder(&self) -> ::windows::core::Result; - fn SetframeSpacing(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn frameSpacing(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Setonload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onload(&self) -> ::windows::core::Result; - fn Setonunload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onunload(&self) -> ::windows::core::Result; - fn Setonbeforeunload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbeforeunload(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFrameSetElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFrameSetElement_Vtbl { - pub const fn new, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>() -> IHTMLFrameSetElement_Vtbl { - unsafe extern "system" fn Setrows, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setrows(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rows, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rows() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcols, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcols(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cols, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cols() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setborder, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setborder(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn border, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.border() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderColor, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderColor, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetframeBorder, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetframeBorder(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn frameBorder, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.frameBorder() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetframeSpacing, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetframeSpacing(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn frameSpacing, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.frameSpacing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonload, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onload, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonunload, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonunload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onunload, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onunload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonbeforeunload, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbeforeunload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbeforeunload, Impl: IHTMLFrameSetElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbeforeunload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setrows: Setrows::, - rows: rows::, - Setcols: Setcols::, - cols: cols::, - Setborder: Setborder::, - border: border::, - SetborderColor: SetborderColor::, - borderColor: borderColor::, - SetframeBorder: SetframeBorder::, - frameBorder: frameBorder::, - SetframeSpacing: SetframeSpacing::, - frameSpacing: frameSpacing::, - Setname: Setname::, - name: name::, - Setonload: Setonload::, - onload: onload::, - Setonunload: Setonunload::, - onunload: onunload::, - Setonbeforeunload: Setonbeforeunload::, - onbeforeunload: onbeforeunload::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFrameSetElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setonbeforeprint(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbeforeprint(&self) -> ::windows::core::Result; - fn Setonafterprint(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onafterprint(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFrameSetElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFrameSetElement2_Vtbl { - pub const fn new, Impl: IHTMLFrameSetElement2_Impl, const OFFSET: isize>() -> IHTMLFrameSetElement2_Vtbl { - unsafe extern "system" fn Setonbeforeprint, Impl: IHTMLFrameSetElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbeforeprint(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbeforeprint, Impl: IHTMLFrameSetElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbeforeprint() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonafterprint, Impl: IHTMLFrameSetElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonafterprint(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onafterprint, Impl: IHTMLFrameSetElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onafterprint() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setonbeforeprint: Setonbeforeprint::, - onbeforeprint: onbeforeprint::, - Setonafterprint: Setonafterprint::, - onafterprint: onafterprint::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFrameSetElement3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setonhashchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onhashchange(&self) -> ::windows::core::Result; - fn Setonmessage(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmessage(&self) -> ::windows::core::Result; - fn Setonoffline(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onoffline(&self) -> ::windows::core::Result; - fn Setononline(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ononline(&self) -> ::windows::core::Result; - fn Setonstorage(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onstorage(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFrameSetElement3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFrameSetElement3_Vtbl { - pub const fn new, Impl: IHTMLFrameSetElement3_Impl, const OFFSET: isize>() -> IHTMLFrameSetElement3_Vtbl { - unsafe extern "system" fn Setonhashchange, Impl: IHTMLFrameSetElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonhashchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onhashchange, Impl: IHTMLFrameSetElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onhashchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmessage, Impl: IHTMLFrameSetElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmessage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmessage, Impl: IHTMLFrameSetElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmessage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonoffline, Impl: IHTMLFrameSetElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonoffline(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onoffline, Impl: IHTMLFrameSetElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onoffline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setononline, Impl: IHTMLFrameSetElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setononline(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ononline, Impl: IHTMLFrameSetElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ononline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonstorage, Impl: IHTMLFrameSetElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonstorage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onstorage, Impl: IHTMLFrameSetElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onstorage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setonhashchange: Setonhashchange::, - onhashchange: onhashchange::, - Setonmessage: Setonmessage::, - onmessage: onmessage::, - Setonoffline: Setonoffline::, - onoffline: onoffline::, - Setononline: Setononline::, - ononline: ononline::, - Setonstorage: Setonstorage::, - onstorage: onstorage::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLFramesCollection2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn length(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLFramesCollection2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLFramesCollection2_Vtbl { - pub const fn new, Impl: IHTMLFramesCollection2_Impl, const OFFSET: isize>() -> IHTMLFramesCollection2_Vtbl { - unsafe extern "system" fn item, Impl: IHTMLFramesCollection2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarindex: *const super::super::System::Com::VARIANT, pvarresult: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&pvarindex)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvarresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn length, Impl: IHTMLFramesCollection2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - item: item::, - length: length::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLGenericElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn recordset(&self) -> ::windows::core::Result; - fn namedRecordset(&self, datamember: &super::super::Foundation::BSTR, hierarchy: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLGenericElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLGenericElement_Vtbl { - pub const fn new, Impl: IHTMLGenericElement_Impl, const OFFSET: isize>() -> IHTMLGenericElement_Vtbl { - unsafe extern "system" fn recordset, Impl: IHTMLGenericElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.recordset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn namedRecordset, Impl: IHTMLGenericElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, datamember: ::core::mem::ManuallyDrop, hierarchy: *const super::super::System::Com::VARIANT, pprecordset: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.namedRecordset(::core::mem::transmute(&datamember), ::core::mem::transmute_copy(&hierarchy)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pprecordset, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - recordset: recordset::, - namedRecordset: namedRecordset::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLHRElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; - fn Setcolor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn color(&self) -> ::windows::core::Result; - fn SetnoShade(&self, v: i16) -> ::windows::core::Result<()>; - fn noShade(&self) -> ::windows::core::Result; - fn Setwidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn Setsize(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn size(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLHRElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLHRElement_Vtbl { - pub const fn new, Impl: IHTMLHRElement_Impl, const OFFSET: isize>() -> IHTMLHRElement_Vtbl { - unsafe extern "system" fn Setalign, Impl: IHTMLHRElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLHRElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcolor, Impl: IHTMLHRElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcolor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn color, Impl: IHTMLHRElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.color() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetnoShade, Impl: IHTMLHRElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnoShade(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn noShade, Impl: IHTMLHRElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.noShade() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidth, Impl: IHTMLHRElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLHRElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setsize, Impl: IHTMLHRElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsize(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn size, Impl: IHTMLHRElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.size() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setalign: Setalign::, - align: align::, - Setcolor: Setcolor::, - color: color::, - SetnoShade: SetnoShade::, - noShade: noShade::, - Setwidth: Setwidth::, - width: width::, - Setsize: Setsize::, - size: size::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLHeadElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setprofile(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn profile(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLHeadElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLHeadElement_Vtbl { - pub const fn new, Impl: IHTMLHeadElement_Impl, const OFFSET: isize>() -> IHTMLHeadElement_Vtbl { - unsafe extern "system" fn Setprofile, Impl: IHTMLHeadElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setprofile(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn profile, Impl: IHTMLHeadElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.profile() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setprofile: Setprofile::, - profile: profile::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLHeadElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setprofile(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn profile(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLHeadElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLHeadElement2_Vtbl { - pub const fn new, Impl: IHTMLHeadElement2_Impl, const OFFSET: isize>() -> IHTMLHeadElement2_Vtbl { - unsafe extern "system" fn Setprofile, Impl: IHTMLHeadElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setprofile(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn profile, Impl: IHTMLHeadElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.profile() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setprofile: Setprofile::, - profile: profile::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLHeaderElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLHeaderElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLHeaderElement_Vtbl { - pub const fn new, Impl: IHTMLHeaderElement_Impl, const OFFSET: isize>() -> IHTMLHeaderElement_Vtbl { - unsafe extern "system" fn Setalign, Impl: IHTMLHeaderElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLHeaderElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setalign: Setalign::, - align: align::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLHtmlElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setversion(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn version(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLHtmlElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLHtmlElement_Vtbl { - pub const fn new, Impl: IHTMLHtmlElement_Impl, const OFFSET: isize>() -> IHTMLHtmlElement_Vtbl { - unsafe extern "system" fn Setversion, Impl: IHTMLHtmlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setversion(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn version, Impl: IHTMLHtmlElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.version() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setversion: Setversion::, - version: version::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLIFrameElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setvspace(&self, v: i32) -> ::windows::core::Result<()>; - fn vspace(&self) -> ::windows::core::Result; - fn Sethspace(&self, v: i32) -> ::windows::core::Result<()>; - fn hspace(&self) -> ::windows::core::Result; - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLIFrameElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLIFrameElement_Vtbl { - pub const fn new, Impl: IHTMLIFrameElement_Impl, const OFFSET: isize>() -> IHTMLIFrameElement_Vtbl { - unsafe extern "system" fn Setvspace, Impl: IHTMLIFrameElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvspace(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn vspace, Impl: IHTMLIFrameElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vspace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethspace, Impl: IHTMLIFrameElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethspace(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn hspace, Impl: IHTMLIFrameElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hspace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setalign, Impl: IHTMLIFrameElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLIFrameElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setvspace: Setvspace::, - vspace: vspace::, - Sethspace: Sethspace::, - hspace: hspace::, - Setalign: Setalign::, - align: align::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLIFrameElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setheight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; - fn Setwidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLIFrameElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLIFrameElement2_Vtbl { - pub const fn new, Impl: IHTMLIFrameElement2_Impl, const OFFSET: isize>() -> IHTMLIFrameElement2_Vtbl { - unsafe extern "system" fn Setheight, Impl: IHTMLIFrameElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn height, Impl: IHTMLIFrameElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidth, Impl: IHTMLIFrameElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLIFrameElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setheight: Setheight::, - height: height::, - Setwidth: Setwidth::, - width: width::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLIFrameElement3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn contentDocument(&self) -> ::windows::core::Result; - fn Setsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn src(&self) -> ::windows::core::Result; - fn SetlongDesc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn longDesc(&self) -> ::windows::core::Result; - fn SetframeBorder(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn frameBorder(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLIFrameElement3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLIFrameElement3_Vtbl { - pub const fn new, Impl: IHTMLIFrameElement3_Impl, const OFFSET: isize>() -> IHTMLIFrameElement3_Vtbl { - unsafe extern "system" fn contentDocument, Impl: IHTMLIFrameElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.contentDocument() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setsrc, Impl: IHTMLIFrameElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn src, Impl: IHTMLIFrameElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.src() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlongDesc, Impl: IHTMLIFrameElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlongDesc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn longDesc, Impl: IHTMLIFrameElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.longDesc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetframeBorder, Impl: IHTMLIFrameElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetframeBorder(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn frameBorder, Impl: IHTMLIFrameElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.frameBorder() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - contentDocument: contentDocument::, - Setsrc: Setsrc::, - src: src::, - SetlongDesc: SetlongDesc::, - longDesc: longDesc::, - SetframeBorder: SetframeBorder::, - frameBorder: frameBorder::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLIPrintCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn item(&self, index: i32) -> ::windows::core::Result<::windows::core::IUnknown>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLIPrintCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLIPrintCollection_Vtbl { - pub const fn new, Impl: IHTMLIPrintCollection_Impl, const OFFSET: isize>() -> IHTMLIPrintCollection_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLIPrintCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn _newEnum, Impl: IHTMLIPrintCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this._newEnum() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLIPrintCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppiprint: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppiprint, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - _newEnum: _newEnum::, - item: item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLImageElementFactory_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn create(&self, width: &super::super::System::Com::VARIANT, height: &super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLImageElementFactory {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLImageElementFactory_Vtbl { - pub const fn new, Impl: IHTMLImageElementFactory_Impl, const OFFSET: isize>() -> IHTMLImageElementFactory_Vtbl { - unsafe extern "system" fn create, Impl: IHTMLImageElementFactory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, width: ::core::mem::ManuallyDrop, height: ::core::mem::ManuallyDrop, __midl__ihtmlimageelementfactory0000: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.create(::core::mem::transmute(&width), ::core::mem::transmute(&height)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(__midl__ihtmlimageelementfactory0000, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), create: create:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLImgElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetisMap(&self, v: i16) -> ::windows::core::Result<()>; - fn isMap(&self) -> ::windows::core::Result; - fn SetuseMap(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn useMap(&self) -> ::windows::core::Result; - fn mimeType(&self) -> ::windows::core::Result; - fn fileSize(&self) -> ::windows::core::Result; - fn fileCreatedDate(&self) -> ::windows::core::Result; - fn fileModifiedDate(&self) -> ::windows::core::Result; - fn fileUpdatedDate(&self) -> ::windows::core::Result; - fn protocol(&self) -> ::windows::core::Result; - fn href(&self) -> ::windows::core::Result; - fn nameProp(&self) -> ::windows::core::Result; - fn Setborder(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn border(&self) -> ::windows::core::Result; - fn Setvspace(&self, v: i32) -> ::windows::core::Result<()>; - fn vspace(&self) -> ::windows::core::Result; - fn Sethspace(&self, v: i32) -> ::windows::core::Result<()>; - fn hspace(&self) -> ::windows::core::Result; - fn Setalt(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn alt(&self) -> ::windows::core::Result; - fn Setsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn src(&self) -> ::windows::core::Result; - fn Setlowsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn lowsrc(&self) -> ::windows::core::Result; - fn Setvrml(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn vrml(&self) -> ::windows::core::Result; - fn Setdynsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dynsrc(&self) -> ::windows::core::Result; - fn readyState(&self) -> ::windows::core::Result; - fn complete(&self) -> ::windows::core::Result; - fn Setloop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn r#loop(&self) -> ::windows::core::Result; - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; - fn Setonload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onload(&self) -> ::windows::core::Result; - fn Setonerror(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onerror(&self) -> ::windows::core::Result; - fn Setonabort(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onabort(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Setwidth(&self, v: i32) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn Setheight(&self, v: i32) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; - fn Setstart(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn start(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLImgElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLImgElement_Vtbl { - pub const fn new, Impl: IHTMLImgElement_Impl, const OFFSET: isize>() -> IHTMLImgElement_Vtbl { - unsafe extern "system" fn SetisMap, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetisMap(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn isMap, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isMap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetuseMap, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetuseMap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn useMap, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.useMap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn mimeType, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.mimeType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fileSize, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fileSize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fileCreatedDate, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fileCreatedDate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fileModifiedDate, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fileModifiedDate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fileUpdatedDate, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fileUpdatedDate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn protocol, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.protocol() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn href, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.href() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn nameProp, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nameProp() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setborder, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setborder(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn border, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.border() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvspace, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvspace(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn vspace, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vspace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethspace, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethspace(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn hspace, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hspace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setalt, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalt(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn alt, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.alt() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setsrc, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn src, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.src() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setlowsrc, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setlowsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn lowsrc, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lowsrc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvrml, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvrml(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn vrml, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vrml() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdynsrc, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdynsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dynsrc, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dynsrc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn readyState, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readyState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn complete, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.complete() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setloop, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setloop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#loop, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#loop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setalign, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonload, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onload, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonerror, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonerror(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onerror, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onerror() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonabort, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonabort(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onabort, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onabort() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidth, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setheight, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheight(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn height, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setstart, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setstart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn start, Impl: IHTMLImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.start() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetisMap: SetisMap::, - isMap: isMap::, - SetuseMap: SetuseMap::, - useMap: useMap::, - mimeType: mimeType::, - fileSize: fileSize::, - fileCreatedDate: fileCreatedDate::, - fileModifiedDate: fileModifiedDate::, - fileUpdatedDate: fileUpdatedDate::, - protocol: protocol::, - href: href::, - nameProp: nameProp::, - Setborder: Setborder::, - border: border::, - Setvspace: Setvspace::, - vspace: vspace::, - Sethspace: Sethspace::, - hspace: hspace::, - Setalt: Setalt::, - alt: alt::, - Setsrc: Setsrc::, - src: src::, - Setlowsrc: Setlowsrc::, - lowsrc: lowsrc::, - Setvrml: Setvrml::, - vrml: vrml::, - Setdynsrc: Setdynsrc::, - dynsrc: dynsrc::, - readyState: readyState::, - complete: complete::, - Setloop: Setloop::, - r#loop: r#loop::, - Setalign: Setalign::, - align: align::, - Setonload: Setonload::, - onload: onload::, - Setonerror: Setonerror::, - onerror: onerror::, - Setonabort: Setonabort::, - onabort: onabort::, - Setname: Setname::, - name: name::, - Setwidth: Setwidth::, - width: width::, - Setheight: Setheight::, - height: height::, - Setstart: Setstart::, - start: start::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLImgElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetlongDesc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn longDesc(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLImgElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLImgElement2_Vtbl { - pub const fn new, Impl: IHTMLImgElement2_Impl, const OFFSET: isize>() -> IHTMLImgElement2_Vtbl { - unsafe extern "system" fn SetlongDesc, Impl: IHTMLImgElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlongDesc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn longDesc, Impl: IHTMLImgElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.longDesc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetlongDesc: SetlongDesc::, - longDesc: longDesc::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLImgElement3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetlongDesc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn longDesc(&self) -> ::windows::core::Result; - fn Setvrml(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn vrml(&self) -> ::windows::core::Result; - fn Setlowsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn lowsrc(&self) -> ::windows::core::Result; - fn Setdynsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dynsrc(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLImgElement3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLImgElement3_Vtbl { - pub const fn new, Impl: IHTMLImgElement3_Impl, const OFFSET: isize>() -> IHTMLImgElement3_Vtbl { - unsafe extern "system" fn SetlongDesc, Impl: IHTMLImgElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlongDesc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn longDesc, Impl: IHTMLImgElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.longDesc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvrml, Impl: IHTMLImgElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvrml(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn vrml, Impl: IHTMLImgElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vrml() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setlowsrc, Impl: IHTMLImgElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setlowsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn lowsrc, Impl: IHTMLImgElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lowsrc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdynsrc, Impl: IHTMLImgElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdynsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dynsrc, Impl: IHTMLImgElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dynsrc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetlongDesc: SetlongDesc::, - longDesc: longDesc::, - Setvrml: Setvrml::, - vrml: vrml::, - Setlowsrc: Setlowsrc::, - lowsrc: lowsrc::, - Setdynsrc: Setdynsrc::, - dynsrc: dynsrc::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLImgElement4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn naturalWidth(&self) -> ::windows::core::Result; - fn naturalHeight(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLImgElement4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLImgElement4_Vtbl { - pub const fn new, Impl: IHTMLImgElement4_Impl, const OFFSET: isize>() -> IHTMLImgElement4_Vtbl { - unsafe extern "system" fn naturalWidth, Impl: IHTMLImgElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.naturalWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn naturalHeight, Impl: IHTMLImgElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.naturalHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - naturalWidth: naturalWidth::, - naturalHeight: naturalHeight::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLInputButtonElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn r#type(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Setstatus(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn status(&self) -> ::windows::core::Result; - fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()>; - fn disabled(&self) -> ::windows::core::Result; - fn form(&self) -> ::windows::core::Result; - fn createTextRange(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLInputButtonElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLInputButtonElement_Vtbl { - pub const fn new, Impl: IHTMLInputButtonElement_Impl, const OFFSET: isize>() -> IHTMLInputButtonElement_Vtbl { - unsafe extern "system" fn r#type, Impl: IHTMLInputButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: IHTMLInputButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLInputButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLInputButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLInputButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setstatus, Impl: IHTMLInputButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setstatus(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn status, Impl: IHTMLInputButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.status() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdisabled, Impl: IHTMLInputButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn disabled, Impl: IHTMLInputButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.disabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn form, Impl: IHTMLInputButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.form() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createTextRange, Impl: IHTMLInputButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createTextRange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(range, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - r#type: r#type::, - Setvalue: Setvalue::, - value: value::, - Setname: Setname::, - name: name::, - Setstatus: Setstatus::, - status: status::, - Setdisabled: Setdisabled::, - disabled: disabled::, - form: form::, - createTextRange: createTextRange::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLInputElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Settype(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Setstatus(&self, v: i16) -> ::windows::core::Result<()>; - fn status(&self) -> ::windows::core::Result; - fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()>; - fn disabled(&self) -> ::windows::core::Result; - fn form(&self) -> ::windows::core::Result; - fn Setsize(&self, v: i32) -> ::windows::core::Result<()>; - fn size(&self) -> ::windows::core::Result; - fn SetmaxLength(&self, v: i32) -> ::windows::core::Result<()>; - fn maxLength(&self) -> ::windows::core::Result; - fn select(&self) -> ::windows::core::Result<()>; - fn Setonchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onchange(&self) -> ::windows::core::Result; - fn Setonselect(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onselect(&self) -> ::windows::core::Result; - fn SetdefaultValue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn defaultValue(&self) -> ::windows::core::Result; - fn SetreadOnly(&self, v: i16) -> ::windows::core::Result<()>; - fn readOnly(&self) -> ::windows::core::Result; - fn createTextRange(&self) -> ::windows::core::Result; - fn Setindeterminate(&self, v: i16) -> ::windows::core::Result<()>; - fn indeterminate(&self) -> ::windows::core::Result; - fn SetdefaultChecked(&self, v: i16) -> ::windows::core::Result<()>; - fn defaultChecked(&self) -> ::windows::core::Result; - fn Setchecked(&self, v: i16) -> ::windows::core::Result<()>; - fn checked(&self) -> ::windows::core::Result; - fn Setborder(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn border(&self) -> ::windows::core::Result; - fn Setvspace(&self, v: i32) -> ::windows::core::Result<()>; - fn vspace(&self) -> ::windows::core::Result; - fn Sethspace(&self, v: i32) -> ::windows::core::Result<()>; - fn hspace(&self) -> ::windows::core::Result; - fn Setalt(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn alt(&self) -> ::windows::core::Result; - fn Setsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn src(&self) -> ::windows::core::Result; - fn Setlowsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn lowsrc(&self) -> ::windows::core::Result; - fn Setvrml(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn vrml(&self) -> ::windows::core::Result; - fn Setdynsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dynsrc(&self) -> ::windows::core::Result; - fn readyState(&self) -> ::windows::core::Result; - fn complete(&self) -> ::windows::core::Result; - fn Setloop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn r#loop(&self) -> ::windows::core::Result; - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; - fn Setonload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onload(&self) -> ::windows::core::Result; - fn Setonerror(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onerror(&self) -> ::windows::core::Result; - fn Setonabort(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onabort(&self) -> ::windows::core::Result; - fn Setwidth(&self, v: i32) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn Setheight(&self, v: i32) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; - fn Setstart(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn start(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLInputElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLInputElement_Vtbl { - pub const fn new, Impl: IHTMLInputElement_Impl, const OFFSET: isize>() -> IHTMLInputElement_Vtbl { - unsafe extern "system" fn Settype, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settype(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#type, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setstatus, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setstatus(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn status, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.status() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdisabled, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn disabled, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.disabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn form, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.form() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setsize, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsize(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn size, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.size() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmaxLength, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmaxLength(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn maxLength, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.maxLength() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn select, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.select().into() - } - unsafe extern "system" fn Setonchange, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onchange, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonselect, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonselect(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onselect, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onselect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdefaultValue, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdefaultValue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn defaultValue, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.defaultValue() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetreadOnly, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetreadOnly(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn readOnly, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readOnly() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createTextRange, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createTextRange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(range, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setindeterminate, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setindeterminate(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn indeterminate, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.indeterminate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdefaultChecked, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdefaultChecked(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn defaultChecked, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.defaultChecked() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setchecked, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setchecked(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn checked, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.checked() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setborder, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setborder(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn border, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.border() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvspace, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvspace(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn vspace, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vspace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethspace, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethspace(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn hspace, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hspace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setalt, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalt(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn alt, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.alt() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setsrc, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn src, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.src() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setlowsrc, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setlowsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn lowsrc, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lowsrc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvrml, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvrml(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn vrml, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vrml() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdynsrc, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdynsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dynsrc, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dynsrc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn readyState, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readyState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn complete, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.complete() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setloop, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setloop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#loop, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#loop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setalign, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonload, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onload, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonerror, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonerror(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onerror, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onerror() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonabort, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonabort(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onabort, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onabort() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidth, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setheight, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheight(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn height, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setstart, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setstart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn start, Impl: IHTMLInputElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.start() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Settype: Settype::, - r#type: r#type::, - Setvalue: Setvalue::, - value: value::, - Setname: Setname::, - name: name::, - Setstatus: Setstatus::, - status: status::, - Setdisabled: Setdisabled::, - disabled: disabled::, - form: form::, - Setsize: Setsize::, - size: size::, - SetmaxLength: SetmaxLength::, - maxLength: maxLength::, - select: select::, - Setonchange: Setonchange::, - onchange: onchange::, - Setonselect: Setonselect::, - onselect: onselect::, - SetdefaultValue: SetdefaultValue::, - defaultValue: defaultValue::, - SetreadOnly: SetreadOnly::, - readOnly: readOnly::, - createTextRange: createTextRange::, - Setindeterminate: Setindeterminate::, - indeterminate: indeterminate::, - SetdefaultChecked: SetdefaultChecked::, - defaultChecked: defaultChecked::, - Setchecked: Setchecked::, - checked: checked::, - Setborder: Setborder::, - border: border::, - Setvspace: Setvspace::, - vspace: vspace::, - Sethspace: Sethspace::, - hspace: hspace::, - Setalt: Setalt::, - alt: alt::, - Setsrc: Setsrc::, - src: src::, - Setlowsrc: Setlowsrc::, - lowsrc: lowsrc::, - Setvrml: Setvrml::, - vrml: vrml::, - Setdynsrc: Setdynsrc::, - dynsrc: dynsrc::, - readyState: readyState::, - complete: complete::, - Setloop: Setloop::, - r#loop: r#loop::, - Setalign: Setalign::, - align: align::, - Setonload: Setonload::, - onload: onload::, - Setonerror: Setonerror::, - onerror: onerror::, - Setonabort: Setonabort::, - onabort: onabort::, - Setwidth: Setwidth::, - width: width::, - Setheight: Setheight::, - height: height::, - Setstart: Setstart::, - start: start::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLInputElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setaccept(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn accept(&self) -> ::windows::core::Result; - fn SetuseMap(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn useMap(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLInputElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLInputElement2_Vtbl { - pub const fn new, Impl: IHTMLInputElement2_Impl, const OFFSET: isize>() -> IHTMLInputElement2_Vtbl { - unsafe extern "system" fn Setaccept, Impl: IHTMLInputElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setaccept(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn accept, Impl: IHTMLInputElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.accept() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetuseMap, Impl: IHTMLInputElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetuseMap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn useMap, Impl: IHTMLInputElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.useMap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setaccept: Setaccept::, - accept: accept::, - SetuseMap: SetuseMap::, - useMap: useMap::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLInputElement3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn src(&self) -> ::windows::core::Result; - fn Setlowsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn lowsrc(&self) -> ::windows::core::Result; - fn Setvrml(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn vrml(&self) -> ::windows::core::Result; - fn Setdynsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dynsrc(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLInputElement3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLInputElement3_Vtbl { - pub const fn new, Impl: IHTMLInputElement3_Impl, const OFFSET: isize>() -> IHTMLInputElement3_Vtbl { - unsafe extern "system" fn Setsrc, Impl: IHTMLInputElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn src, Impl: IHTMLInputElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.src() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setlowsrc, Impl: IHTMLInputElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setlowsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn lowsrc, Impl: IHTMLInputElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lowsrc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvrml, Impl: IHTMLInputElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvrml(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn vrml, Impl: IHTMLInputElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vrml() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdynsrc, Impl: IHTMLInputElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdynsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dynsrc, Impl: IHTMLInputElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dynsrc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setsrc: Setsrc::, - src: src::, - Setlowsrc: Setlowsrc::, - lowsrc: lowsrc::, - Setvrml: Setvrml::, - vrml: vrml::, - Setdynsrc: Setdynsrc::, - dynsrc: dynsrc::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLInputFileElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn r#type(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Setstatus(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn status(&self) -> ::windows::core::Result; - fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()>; - fn disabled(&self) -> ::windows::core::Result; - fn form(&self) -> ::windows::core::Result; - fn Setsize(&self, v: i32) -> ::windows::core::Result<()>; - fn size(&self) -> ::windows::core::Result; - fn SetmaxLength(&self, v: i32) -> ::windows::core::Result<()>; - fn maxLength(&self) -> ::windows::core::Result; - fn select(&self) -> ::windows::core::Result<()>; - fn Setonchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onchange(&self) -> ::windows::core::Result; - fn Setonselect(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onselect(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLInputFileElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLInputFileElement_Vtbl { - pub const fn new, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>() -> IHTMLInputFileElement_Vtbl { - unsafe extern "system" fn r#type, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setstatus, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setstatus(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn status, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.status() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdisabled, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn disabled, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.disabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn form, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.form() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setsize, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsize(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn size, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.size() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmaxLength, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmaxLength(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn maxLength, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.maxLength() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn select, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.select().into() - } - unsafe extern "system" fn Setonchange, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onchange, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonselect, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonselect(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onselect, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onselect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLInputFileElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - r#type: r#type::, - Setname: Setname::, - name: name::, - Setstatus: Setstatus::, - status: status::, - Setdisabled: Setdisabled::, - disabled: disabled::, - form: form::, - Setsize: Setsize::, - size: size::, - SetmaxLength: SetmaxLength::, - maxLength: maxLength::, - select: select::, - Setonchange: Setonchange::, - onchange: onchange::, - Setonselect: Setonselect::, - onselect: onselect::, - Setvalue: Setvalue::, - value: value::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLInputHiddenElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn r#type(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Setstatus(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn status(&self) -> ::windows::core::Result; - fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()>; - fn disabled(&self) -> ::windows::core::Result; - fn form(&self) -> ::windows::core::Result; - fn createTextRange(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLInputHiddenElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLInputHiddenElement_Vtbl { - pub const fn new, Impl: IHTMLInputHiddenElement_Impl, const OFFSET: isize>() -> IHTMLInputHiddenElement_Vtbl { - unsafe extern "system" fn r#type, Impl: IHTMLInputHiddenElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: IHTMLInputHiddenElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLInputHiddenElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLInputHiddenElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLInputHiddenElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setstatus, Impl: IHTMLInputHiddenElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setstatus(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn status, Impl: IHTMLInputHiddenElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.status() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdisabled, Impl: IHTMLInputHiddenElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn disabled, Impl: IHTMLInputHiddenElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.disabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn form, Impl: IHTMLInputHiddenElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.form() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createTextRange, Impl: IHTMLInputHiddenElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createTextRange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(range, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - r#type: r#type::, - Setvalue: Setvalue::, - value: value::, - Setname: Setname::, - name: name::, - Setstatus: Setstatus::, - status: status::, - Setdisabled: Setdisabled::, - disabled: disabled::, - form: form::, - createTextRange: createTextRange::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLInputImage_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn r#type(&self) -> ::windows::core::Result; - fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()>; - fn disabled(&self) -> ::windows::core::Result; - fn Setborder(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn border(&self) -> ::windows::core::Result; - fn Setvspace(&self, v: i32) -> ::windows::core::Result<()>; - fn vspace(&self) -> ::windows::core::Result; - fn Sethspace(&self, v: i32) -> ::windows::core::Result<()>; - fn hspace(&self) -> ::windows::core::Result; - fn Setalt(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn alt(&self) -> ::windows::core::Result; - fn Setsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn src(&self) -> ::windows::core::Result; - fn Setlowsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn lowsrc(&self) -> ::windows::core::Result; - fn Setvrml(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn vrml(&self) -> ::windows::core::Result; - fn Setdynsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dynsrc(&self) -> ::windows::core::Result; - fn readyState(&self) -> ::windows::core::Result; - fn complete(&self) -> ::windows::core::Result; - fn Setloop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn r#loop(&self) -> ::windows::core::Result; - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; - fn Setonload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onload(&self) -> ::windows::core::Result; - fn Setonerror(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onerror(&self) -> ::windows::core::Result; - fn Setonabort(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onabort(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Setwidth(&self, v: i32) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn Setheight(&self, v: i32) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; - fn Setstart(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn start(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLInputImage {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLInputImage_Vtbl { - pub const fn new, Impl: IHTMLInputImage_Impl, const OFFSET: isize>() -> IHTMLInputImage_Vtbl { - unsafe extern "system" fn r#type, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdisabled, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn disabled, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.disabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setborder, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setborder(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn border, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.border() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvspace, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvspace(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn vspace, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vspace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethspace, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethspace(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn hspace, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hspace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setalt, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalt(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn alt, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.alt() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setsrc, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn src, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.src() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setlowsrc, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setlowsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn lowsrc, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lowsrc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvrml, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvrml(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn vrml, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vrml() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdynsrc, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdynsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dynsrc, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dynsrc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn readyState, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readyState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn complete, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.complete() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setloop, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setloop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#loop, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#loop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setalign, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonload, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onload, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonerror, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonerror(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onerror, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onerror() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonabort, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonabort(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onabort, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onabort() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidth, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setheight, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheight(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn height, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setstart, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setstart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn start, Impl: IHTMLInputImage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.start() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - r#type: r#type::, - Setdisabled: Setdisabled::, - disabled: disabled::, - Setborder: Setborder::, - border: border::, - Setvspace: Setvspace::, - vspace: vspace::, - Sethspace: Sethspace::, - hspace: hspace::, - Setalt: Setalt::, - alt: alt::, - Setsrc: Setsrc::, - src: src::, - Setlowsrc: Setlowsrc::, - lowsrc: lowsrc::, - Setvrml: Setvrml::, - vrml: vrml::, - Setdynsrc: Setdynsrc::, - dynsrc: dynsrc::, - readyState: readyState::, - complete: complete::, - Setloop: Setloop::, - r#loop: r#loop::, - Setalign: Setalign::, - align: align::, - Setonload: Setonload::, - onload: onload::, - Setonerror: Setonerror::, - onerror: onerror::, - Setonabort: Setonabort::, - onabort: onabort::, - Setname: Setname::, - name: name::, - Setwidth: Setwidth::, - width: width::, - Setheight: Setheight::, - height: height::, - Setstart: Setstart::, - start: start::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLInputRangeElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()>; - fn disabled(&self) -> ::windows::core::Result; - fn r#type(&self) -> ::windows::core::Result; - fn Setalt(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn alt(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn Setmin(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn min(&self) -> ::windows::core::Result; - fn Setmax(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn max(&self) -> ::windows::core::Result; - fn Setstep(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn step(&self) -> ::windows::core::Result; - fn SetvalueAsNumber(&self, v: f64) -> ::windows::core::Result<()>; - fn valueAsNumber(&self) -> ::windows::core::Result; - fn stepUp(&self, n: i32) -> ::windows::core::Result<()>; - fn stepDown(&self, n: i32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLInputRangeElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLInputRangeElement_Vtbl { - pub const fn new, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>() -> IHTMLInputRangeElement_Vtbl { - unsafe extern "system" fn Setdisabled, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn disabled, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.disabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn r#type, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setalt, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalt(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn alt, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.alt() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setmin, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn min, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.min() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setmax, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmax(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn max, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.max() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setstep, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setstep(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn step, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.step() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetvalueAsNumber, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetvalueAsNumber(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn valueAsNumber, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.valueAsNumber() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn stepUp, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, n: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.stepUp(::core::mem::transmute_copy(&n)).into() - } - unsafe extern "system" fn stepDown, Impl: IHTMLInputRangeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, n: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.stepDown(::core::mem::transmute_copy(&n)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setdisabled: Setdisabled::, - disabled: disabled::, - r#type: r#type::, - Setalt: Setalt::, - alt: alt::, - Setname: Setname::, - name: name::, - Setvalue: Setvalue::, - value: value::, - Setmin: Setmin::, - min: min::, - Setmax: Setmax::, - max: max::, - Setstep: Setstep::, - step: step::, - SetvalueAsNumber: SetvalueAsNumber::, - valueAsNumber: valueAsNumber::, - stepUp: stepUp::, - stepDown: stepDown::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLInputTextElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn r#type(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Setstatus(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn status(&self) -> ::windows::core::Result; - fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()>; - fn disabled(&self) -> ::windows::core::Result; - fn form(&self) -> ::windows::core::Result; - fn SetdefaultValue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn defaultValue(&self) -> ::windows::core::Result; - fn Setsize(&self, v: i32) -> ::windows::core::Result<()>; - fn size(&self) -> ::windows::core::Result; - fn SetmaxLength(&self, v: i32) -> ::windows::core::Result<()>; - fn maxLength(&self) -> ::windows::core::Result; - fn select(&self) -> ::windows::core::Result<()>; - fn Setonchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onchange(&self) -> ::windows::core::Result; - fn Setonselect(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onselect(&self) -> ::windows::core::Result; - fn SetreadOnly(&self, v: i16) -> ::windows::core::Result<()>; - fn readOnly(&self) -> ::windows::core::Result; - fn createTextRange(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLInputTextElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLInputTextElement_Vtbl { - pub const fn new, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>() -> IHTMLInputTextElement_Vtbl { - unsafe extern "system" fn r#type, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setstatus, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setstatus(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn status, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.status() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdisabled, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn disabled, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.disabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn form, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.form() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdefaultValue, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdefaultValue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn defaultValue, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.defaultValue() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setsize, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsize(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn size, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.size() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmaxLength, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmaxLength(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn maxLength, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.maxLength() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn select, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.select().into() - } - unsafe extern "system" fn Setonchange, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onchange, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonselect, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonselect(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onselect, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onselect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetreadOnly, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetreadOnly(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn readOnly, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readOnly() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createTextRange, Impl: IHTMLInputTextElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createTextRange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(range, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - r#type: r#type::, - Setvalue: Setvalue::, - value: value::, - Setname: Setname::, - name: name::, - Setstatus: Setstatus::, - status: status::, - Setdisabled: Setdisabled::, - disabled: disabled::, - form: form::, - SetdefaultValue: SetdefaultValue::, - defaultValue: defaultValue::, - Setsize: Setsize::, - size: size::, - SetmaxLength: SetmaxLength::, - maxLength: maxLength::, - select: select::, - Setonchange: Setonchange::, - onchange: onchange::, - Setonselect: Setonselect::, - onselect: onselect::, - SetreadOnly: SetreadOnly::, - readOnly: readOnly::, - createTextRange: createTextRange::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLInputTextElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetselectionStart(&self, v: i32) -> ::windows::core::Result<()>; - fn selectionStart(&self) -> ::windows::core::Result; - fn SetselectionEnd(&self, v: i32) -> ::windows::core::Result<()>; - fn selectionEnd(&self) -> ::windows::core::Result; - fn setSelectionRange(&self, start: i32, end: i32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLInputTextElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLInputTextElement2_Vtbl { - pub const fn new, Impl: IHTMLInputTextElement2_Impl, const OFFSET: isize>() -> IHTMLInputTextElement2_Vtbl { - unsafe extern "system" fn SetselectionStart, Impl: IHTMLInputTextElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetselectionStart(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn selectionStart, Impl: IHTMLInputTextElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.selectionStart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetselectionEnd, Impl: IHTMLInputTextElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetselectionEnd(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn selectionEnd, Impl: IHTMLInputTextElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.selectionEnd() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setSelectionRange, Impl: IHTMLInputTextElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, start: i32, end: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setSelectionRange(::core::mem::transmute_copy(&start), ::core::mem::transmute_copy(&end)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetselectionStart: SetselectionStart::, - selectionStart: selectionStart::, - SetselectionEnd: SetselectionEnd::, - selectionEnd: selectionEnd::, - setSelectionRange: setSelectionRange::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLIsIndexElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setprompt(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn prompt(&self) -> ::windows::core::Result; - fn Setaction(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn action(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLIsIndexElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLIsIndexElement_Vtbl { - pub const fn new, Impl: IHTMLIsIndexElement_Impl, const OFFSET: isize>() -> IHTMLIsIndexElement_Vtbl { - unsafe extern "system" fn Setprompt, Impl: IHTMLIsIndexElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setprompt(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn prompt, Impl: IHTMLIsIndexElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.prompt() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setaction, Impl: IHTMLIsIndexElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setaction(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn action, Impl: IHTMLIsIndexElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.action() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setprompt: Setprompt::, - prompt: prompt::, - Setaction: Setaction::, - action: action::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLIsIndexElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn form(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLIsIndexElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLIsIndexElement2_Vtbl { - pub const fn new, Impl: IHTMLIsIndexElement2_Impl, const OFFSET: isize>() -> IHTMLIsIndexElement2_Vtbl { - unsafe extern "system" fn form, Impl: IHTMLIsIndexElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.form() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), form: form:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLLIElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Settype(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: i32) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLLIElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLLIElement_Vtbl { - pub const fn new, Impl: IHTMLLIElement_Impl, const OFFSET: isize>() -> IHTMLLIElement_Vtbl { - unsafe extern "system" fn Settype, Impl: IHTMLLIElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settype(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#type, Impl: IHTMLLIElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: IHTMLLIElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLLIElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Settype: Settype::, - r#type: r#type::, - Setvalue: Setvalue::, - value: value::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLLabelElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SethtmlFor(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn htmlFor(&self) -> ::windows::core::Result; - fn SetaccessKey(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn accessKey(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLLabelElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLLabelElement_Vtbl { - pub const fn new, Impl: IHTMLLabelElement_Impl, const OFFSET: isize>() -> IHTMLLabelElement_Vtbl { - unsafe extern "system" fn SethtmlFor, Impl: IHTMLLabelElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SethtmlFor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn htmlFor, Impl: IHTMLLabelElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.htmlFor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetaccessKey, Impl: IHTMLLabelElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetaccessKey(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn accessKey, Impl: IHTMLLabelElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.accessKey() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SethtmlFor: SethtmlFor::, - htmlFor: htmlFor::, - SetaccessKey: SetaccessKey::, - accessKey: accessKey::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLLabelElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn form(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLLabelElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLLabelElement2_Vtbl { - pub const fn new, Impl: IHTMLLabelElement2_Impl, const OFFSET: isize>() -> IHTMLLabelElement2_Vtbl { - unsafe extern "system" fn form, Impl: IHTMLLabelElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.form() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), form: form:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLLegendElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLLegendElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLLegendElement_Vtbl { - pub const fn new, Impl: IHTMLLegendElement_Impl, const OFFSET: isize>() -> IHTMLLegendElement_Vtbl { - unsafe extern "system" fn Setalign, Impl: IHTMLLegendElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLLegendElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setalign: Setalign::, - align: align::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLLegendElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn form(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLLegendElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLLegendElement2_Vtbl { - pub const fn new, Impl: IHTMLLegendElement2_Impl, const OFFSET: isize>() -> IHTMLLegendElement2_Vtbl { - unsafe extern "system" fn form, Impl: IHTMLLegendElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.form() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), form: form:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLLinkElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Sethref(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn href(&self) -> ::windows::core::Result; - fn Setrel(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn rel(&self) -> ::windows::core::Result; - fn Setrev(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn rev(&self) -> ::windows::core::Result; - fn Settype(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; - fn readyState(&self) -> ::windows::core::Result; - fn Setonreadystatechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onreadystatechange(&self) -> ::windows::core::Result; - fn Setonload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onload(&self) -> ::windows::core::Result; - fn Setonerror(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onerror(&self) -> ::windows::core::Result; - fn styleSheet(&self) -> ::windows::core::Result; - fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()>; - fn disabled(&self) -> ::windows::core::Result; - fn Setmedia(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn media(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLLinkElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLLinkElement_Vtbl { - pub const fn new, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>() -> IHTMLLinkElement_Vtbl { - unsafe extern "system" fn Sethref, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethref(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn href, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.href() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setrel, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setrel(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rel, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rel() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setrev, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setrev(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rev, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rev() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settype, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settype(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#type, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn readyState, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readyState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonreadystatechange, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonreadystatechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onreadystatechange, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onreadystatechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonload, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onload, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonerror, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonerror(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onerror, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onerror() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn styleSheet, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.styleSheet() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdisabled, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn disabled, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.disabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setmedia, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmedia(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn media, Impl: IHTMLLinkElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.media() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Sethref: Sethref::, - href: href::, - Setrel: Setrel::, - rel: rel::, - Setrev: Setrev::, - rev: rev::, - Settype: Settype::, - r#type: r#type::, - readyState: readyState::, - Setonreadystatechange: Setonreadystatechange::, - onreadystatechange: onreadystatechange::, - Setonload: Setonload::, - onload: onload::, - Setonerror: Setonerror::, - onerror: onerror::, - styleSheet: styleSheet::, - Setdisabled: Setdisabled::, - disabled: disabled::, - Setmedia: Setmedia::, - media: media::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLLinkElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Settarget(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn target(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLLinkElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLLinkElement2_Vtbl { - pub const fn new, Impl: IHTMLLinkElement2_Impl, const OFFSET: isize>() -> IHTMLLinkElement2_Vtbl { - unsafe extern "system" fn Settarget, Impl: IHTMLLinkElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settarget(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn target, Impl: IHTMLLinkElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.target() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Settarget: Settarget::, - target: target::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLLinkElement3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcharset(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn charset(&self) -> ::windows::core::Result; - fn Sethreflang(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn hreflang(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLLinkElement3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLLinkElement3_Vtbl { - pub const fn new, Impl: IHTMLLinkElement3_Impl, const OFFSET: isize>() -> IHTMLLinkElement3_Vtbl { - unsafe extern "system" fn Setcharset, Impl: IHTMLLinkElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcharset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn charset, Impl: IHTMLLinkElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.charset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethreflang, Impl: IHTMLLinkElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethreflang(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn hreflang, Impl: IHTMLLinkElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hreflang() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcharset: Setcharset::, - charset: charset::, - Sethreflang: Sethreflang::, - hreflang: hreflang::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLLinkElement4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Sethref(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn href(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLLinkElement4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLLinkElement4_Vtbl { - pub const fn new, Impl: IHTMLLinkElement4_Impl, const OFFSET: isize>() -> IHTMLLinkElement4_Vtbl { - unsafe extern "system" fn Sethref, Impl: IHTMLLinkElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethref(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn href, Impl: IHTMLLinkElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.href() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Sethref: Sethref::, - href: href::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLLinkElement5_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn sheet(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLLinkElement5 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLLinkElement5_Vtbl { - pub const fn new, Impl: IHTMLLinkElement5_Impl, const OFFSET: isize>() -> IHTMLLinkElement5_Vtbl { - unsafe extern "system" fn sheet, Impl: IHTMLLinkElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.sheet() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), sheet: sheet:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLListElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLListElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLListElement_Vtbl { - pub const fn new, Impl: IHTMLListElement_Impl, const OFFSET: isize>() -> IHTMLListElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLListElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcompact(&self, v: i16) -> ::windows::core::Result<()>; - fn compact(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLListElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLListElement2_Vtbl { - pub const fn new, Impl: IHTMLListElement2_Impl, const OFFSET: isize>() -> IHTMLListElement2_Vtbl { - unsafe extern "system" fn Setcompact, Impl: IHTMLListElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcompact(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn compact, Impl: IHTMLListElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.compact() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcompact: Setcompact::, - compact: compact::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLLocation_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Sethref(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn href(&self) -> ::windows::core::Result; - fn Setprotocol(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn protocol(&self) -> ::windows::core::Result; - fn Sethost(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn host(&self) -> ::windows::core::Result; - fn Sethostname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn hostname(&self) -> ::windows::core::Result; - fn Setport(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn port(&self) -> ::windows::core::Result; - fn Setpathname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn pathname(&self) -> ::windows::core::Result; - fn Setsearch(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn search(&self) -> ::windows::core::Result; - fn Sethash(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn hash(&self) -> ::windows::core::Result; - fn reload(&self, flag: i16) -> ::windows::core::Result<()>; - fn replace(&self, bstr: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn assign(&self, bstr: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn toString(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLLocation {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLLocation_Vtbl { - pub const fn new, Impl: IHTMLLocation_Impl, const OFFSET: isize>() -> IHTMLLocation_Vtbl { - unsafe extern "system" fn Sethref, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethref(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn href, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.href() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setprotocol, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setprotocol(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn protocol, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.protocol() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethost, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethost(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn host, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.host() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethostname, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethostname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn hostname, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hostname() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setport, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setport(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn port, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.port() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setpathname, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setpathname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn pathname, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pathname() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setsearch, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsearch(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn search, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.search() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethash, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethash(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn hash, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hash() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn reload, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, flag: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.reload(::core::mem::transmute_copy(&flag)).into() - } - unsafe extern "system" fn replace, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstr: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.replace(::core::mem::transmute(&bstr)).into() - } - unsafe extern "system" fn assign, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstr: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.assign(::core::mem::transmute(&bstr)).into() - } - unsafe extern "system" fn toString, Impl: IHTMLLocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toString() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(string, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Sethref: Sethref::, - href: href::, - Setprotocol: Setprotocol::, - protocol: protocol::, - Sethost: Sethost::, - host: host::, - Sethostname: Sethostname::, - hostname: hostname::, - Setport: Setport::, - port: port::, - Setpathname: Setpathname::, - pathname: pathname::, - Setsearch: Setsearch::, - search: search::, - Sethash: Sethash::, - hash: hash::, - reload: reload::, - replace: replace::, - assign: assign::, - toString: toString::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLMSCSSKeyframeRule_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetkeyText(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn keyText(&self) -> ::windows::core::Result; - fn style(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLMSCSSKeyframeRule {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLMSCSSKeyframeRule_Vtbl { - pub const fn new, Impl: IHTMLMSCSSKeyframeRule_Impl, const OFFSET: isize>() -> IHTMLMSCSSKeyframeRule_Vtbl { - unsafe extern "system" fn SetkeyText, Impl: IHTMLMSCSSKeyframeRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetkeyText(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn keyText, Impl: IHTMLMSCSSKeyframeRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.keyText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn style, Impl: IHTMLMSCSSKeyframeRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.style() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetkeyText: SetkeyText::, - keyText: keyText::, - style: style::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLMSCSSKeyframesRule_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn cssRules(&self) -> ::windows::core::Result; - fn appendRule(&self, bstrrule: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn deleteRule(&self, bstrkey: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn findRule(&self, bstrkey: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLMSCSSKeyframesRule {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLMSCSSKeyframesRule_Vtbl { - pub const fn new, Impl: IHTMLMSCSSKeyframesRule_Impl, const OFFSET: isize>() -> IHTMLMSCSSKeyframesRule_Vtbl { - unsafe extern "system" fn Setname, Impl: IHTMLMSCSSKeyframesRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLMSCSSKeyframesRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn cssRules, Impl: IHTMLMSCSSKeyframesRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cssRules() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn appendRule, Impl: IHTMLMSCSSKeyframesRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrrule: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.appendRule(::core::mem::transmute(&bstrrule)).into() - } - unsafe extern "system" fn deleteRule, Impl: IHTMLMSCSSKeyframesRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrkey: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteRule(::core::mem::transmute(&bstrkey)).into() - } - unsafe extern "system" fn findRule, Impl: IHTMLMSCSSKeyframesRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrkey: ::core::mem::ManuallyDrop, ppmskeyframerule: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.findRule(::core::mem::transmute(&bstrkey)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppmskeyframerule, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setname: Setname::, - name: name::, - cssRules: cssRules::, - appendRule: appendRule::, - deleteRule: deleteRule::, - findRule: findRule::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLMSImgElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetmsPlayToDisabled(&self, v: i16) -> ::windows::core::Result<()>; - fn msPlayToDisabled(&self) -> ::windows::core::Result; - fn SetmsPlayToPrimary(&self, v: i16) -> ::windows::core::Result<()>; - fn msPlayToPrimary(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLMSImgElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLMSImgElement_Vtbl { - pub const fn new, Impl: IHTMLMSImgElement_Impl, const OFFSET: isize>() -> IHTMLMSImgElement_Vtbl { - unsafe extern "system" fn SetmsPlayToDisabled, Impl: IHTMLMSImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsPlayToDisabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn msPlayToDisabled, Impl: IHTMLMSImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msPlayToDisabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsPlayToPrimary, Impl: IHTMLMSImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsPlayToPrimary(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn msPlayToPrimary, Impl: IHTMLMSImgElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msPlayToPrimary() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetmsPlayToDisabled: SetmsPlayToDisabled::, - msPlayToDisabled: msPlayToDisabled::, - SetmsPlayToPrimary: SetmsPlayToPrimary::, - msPlayToPrimary: msPlayToPrimary::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLMSMediaElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetmsPlayToDisabled(&self, v: i16) -> ::windows::core::Result<()>; - fn msPlayToDisabled(&self) -> ::windows::core::Result; - fn SetmsPlayToPrimary(&self, v: i16) -> ::windows::core::Result<()>; - fn msPlayToPrimary(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLMSMediaElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLMSMediaElement_Vtbl { - pub const fn new, Impl: IHTMLMSMediaElement_Impl, const OFFSET: isize>() -> IHTMLMSMediaElement_Vtbl { - unsafe extern "system" fn SetmsPlayToDisabled, Impl: IHTMLMSMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsPlayToDisabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn msPlayToDisabled, Impl: IHTMLMSMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msPlayToDisabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsPlayToPrimary, Impl: IHTMLMSMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsPlayToPrimary(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn msPlayToPrimary, Impl: IHTMLMSMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msPlayToPrimary() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetmsPlayToDisabled: SetmsPlayToDisabled::, - msPlayToDisabled: msPlayToDisabled::, - SetmsPlayToPrimary: SetmsPlayToPrimary::, - msPlayToPrimary: msPlayToPrimary::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLMapElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn areas(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLMapElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLMapElement_Vtbl { - pub const fn new, Impl: IHTMLMapElement_Impl, const OFFSET: isize>() -> IHTMLMapElement_Vtbl { - unsafe extern "system" fn areas, Impl: IHTMLMapElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.areas() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLMapElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLMapElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - areas: areas::, - Setname: Setname::, - name: name::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLMarqueeElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetbgColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn bgColor(&self) -> ::windows::core::Result; - fn SetscrollDelay(&self, v: i32) -> ::windows::core::Result<()>; - fn scrollDelay(&self) -> ::windows::core::Result; - fn Setdirection(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn direction(&self) -> ::windows::core::Result; - fn Setbehavior(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn behavior(&self) -> ::windows::core::Result; - fn SetscrollAmount(&self, v: i32) -> ::windows::core::Result<()>; - fn scrollAmount(&self) -> ::windows::core::Result; - fn Setloop(&self, v: i32) -> ::windows::core::Result<()>; - fn r#loop(&self) -> ::windows::core::Result; - fn Setvspace(&self, v: i32) -> ::windows::core::Result<()>; - fn vspace(&self) -> ::windows::core::Result; - fn Sethspace(&self, v: i32) -> ::windows::core::Result<()>; - fn hspace(&self) -> ::windows::core::Result; - fn Setonfinish(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onfinish(&self) -> ::windows::core::Result; - fn Setonstart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onstart(&self) -> ::windows::core::Result; - fn Setonbounce(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbounce(&self) -> ::windows::core::Result; - fn Setwidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn Setheight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; - fn SettrueSpeed(&self, v: i16) -> ::windows::core::Result<()>; - fn trueSpeed(&self) -> ::windows::core::Result; - fn start(&self) -> ::windows::core::Result<()>; - fn stop(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLMarqueeElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLMarqueeElement_Vtbl { - pub const fn new, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>() -> IHTMLMarqueeElement_Vtbl { - unsafe extern "system" fn SetbgColor, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbgColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn bgColor, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bgColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollDelay, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollDelay(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn scrollDelay, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollDelay() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdirection, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdirection(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn direction, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.direction() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setbehavior, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setbehavior(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn behavior, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.behavior() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollAmount, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollAmount(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn scrollAmount, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollAmount() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setloop, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setloop(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn r#loop, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#loop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvspace, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvspace(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn vspace, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vspace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethspace, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethspace(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn hspace, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hspace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonfinish, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonfinish(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onfinish, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onfinish() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonstart, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonstart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onstart, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onstart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonbounce, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbounce(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbounce, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbounce() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidth, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setheight, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn height, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettrueSpeed, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettrueSpeed(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn trueSpeed, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.trueSpeed() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn start, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.start().into() - } - unsafe extern "system" fn stop, Impl: IHTMLMarqueeElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.stop().into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetbgColor: SetbgColor::, - bgColor: bgColor::, - SetscrollDelay: SetscrollDelay::, - scrollDelay: scrollDelay::, - Setdirection: Setdirection::, - direction: direction::, - Setbehavior: Setbehavior::, - behavior: behavior::, - SetscrollAmount: SetscrollAmount::, - scrollAmount: scrollAmount::, - Setloop: Setloop::, - r#loop: r#loop::, - Setvspace: Setvspace::, - vspace: vspace::, - Sethspace: Sethspace::, - hspace: hspace::, - Setonfinish: Setonfinish::, - onfinish: onfinish::, - Setonstart: Setonstart::, - onstart: onstart::, - Setonbounce: Setonbounce::, - onbounce: onbounce::, - Setwidth: Setwidth::, - width: width::, - Setheight: Setheight::, - height: height::, - SettrueSpeed: SettrueSpeed::, - trueSpeed: trueSpeed::, - start: start::, - stop: stop::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLMediaElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn error(&self) -> ::windows::core::Result; - fn Setsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn src(&self) -> ::windows::core::Result; - fn currentSrc(&self) -> ::windows::core::Result; - fn networkState(&self) -> ::windows::core::Result; - fn Setpreload(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn preload(&self) -> ::windows::core::Result; - fn buffered(&self) -> ::windows::core::Result; - fn load(&self) -> ::windows::core::Result<()>; - fn canPlayType(&self, r#type: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn seeking(&self) -> ::windows::core::Result; - fn SetcurrentTime(&self, v: f32) -> ::windows::core::Result<()>; - fn currentTime(&self) -> ::windows::core::Result; - fn initialTime(&self) -> ::windows::core::Result; - fn duration(&self) -> ::windows::core::Result; - fn paused(&self) -> ::windows::core::Result; - fn SetdefaultPlaybackRate(&self, v: f32) -> ::windows::core::Result<()>; - fn defaultPlaybackRate(&self) -> ::windows::core::Result; - fn SetplaybackRate(&self, v: f32) -> ::windows::core::Result<()>; - fn playbackRate(&self) -> ::windows::core::Result; - fn played(&self) -> ::windows::core::Result; - fn seekable(&self) -> ::windows::core::Result; - fn ended(&self) -> ::windows::core::Result; - fn Setautoplay(&self, v: i16) -> ::windows::core::Result<()>; - fn autoplay(&self) -> ::windows::core::Result; - fn Setloop(&self, v: i16) -> ::windows::core::Result<()>; - fn r#loop(&self) -> ::windows::core::Result; - fn play(&self) -> ::windows::core::Result<()>; - fn pause(&self) -> ::windows::core::Result<()>; - fn Setcontrols(&self, v: i16) -> ::windows::core::Result<()>; - fn controls(&self) -> ::windows::core::Result; - fn Setvolume(&self, v: f32) -> ::windows::core::Result<()>; - fn volume(&self) -> ::windows::core::Result; - fn Setmuted(&self, v: i16) -> ::windows::core::Result<()>; - fn muted(&self) -> ::windows::core::Result; - fn Setautobuffer(&self, v: i16) -> ::windows::core::Result<()>; - fn autobuffer(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLMediaElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLMediaElement_Vtbl { - pub const fn new, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>() -> IHTMLMediaElement_Vtbl { - unsafe extern "system" fn error, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.error() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setsrc, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn src, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.src() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn currentSrc, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.currentSrc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn networkState, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.networkState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setpreload, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setpreload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn preload, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.preload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn buffered, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.buffered() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn load, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.load().into() - } - unsafe extern "system" fn canPlayType, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, r#type: ::core::mem::ManuallyDrop, canplay: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.canPlayType(::core::mem::transmute(&r#type)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(canplay, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn seeking, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.seeking() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcurrentTime, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcurrentTime(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn currentTime, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.currentTime() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initialTime, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.initialTime() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn duration, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.duration() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn paused, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.paused() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdefaultPlaybackRate, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdefaultPlaybackRate(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn defaultPlaybackRate, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.defaultPlaybackRate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetplaybackRate, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetplaybackRate(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn playbackRate, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.playbackRate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn played, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.played() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn seekable, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.seekable() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn ended, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ended() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setautoplay, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setautoplay(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn autoplay, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.autoplay() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setloop, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setloop(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn r#loop, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#loop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn play, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.play().into() - } - unsafe extern "system" fn pause, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.pause().into() - } - unsafe extern "system" fn Setcontrols, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcontrols(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn controls, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.controls() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvolume, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvolume(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn volume, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.volume() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setmuted, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmuted(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn muted, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.muted() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setautobuffer, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setautobuffer(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn autobuffer, Impl: IHTMLMediaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.autobuffer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - error: error::, - Setsrc: Setsrc::, - src: src::, - currentSrc: currentSrc::, - networkState: networkState::, - Setpreload: Setpreload::, - preload: preload::, - buffered: buffered::, - load: load::, - canPlayType: canPlayType::, - seeking: seeking::, - SetcurrentTime: SetcurrentTime::, - currentTime: currentTime::, - initialTime: initialTime::, - duration: duration::, - paused: paused::, - SetdefaultPlaybackRate: SetdefaultPlaybackRate::, - defaultPlaybackRate: defaultPlaybackRate::, - SetplaybackRate: SetplaybackRate::, - playbackRate: playbackRate::, - played: played::, - seekable: seekable::, - ended: ended::, - Setautoplay: Setautoplay::, - autoplay: autoplay::, - Setloop: Setloop::, - r#loop: r#loop::, - play: play::, - pause: pause::, - Setcontrols: Setcontrols::, - controls: controls::, - Setvolume: Setvolume::, - volume: volume::, - Setmuted: Setmuted::, - muted: muted::, - Setautobuffer: Setautobuffer::, - autobuffer: autobuffer::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLMediaElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetcurrentTimeDouble(&self, v: f64) -> ::windows::core::Result<()>; - fn currentTimeDouble(&self) -> ::windows::core::Result; - fn initialTimeDouble(&self) -> ::windows::core::Result; - fn durationDouble(&self) -> ::windows::core::Result; - fn SetdefaultPlaybackRateDouble(&self, v: f64) -> ::windows::core::Result<()>; - fn defaultPlaybackRateDouble(&self) -> ::windows::core::Result; - fn SetplaybackRateDouble(&self, v: f64) -> ::windows::core::Result<()>; - fn playbackRateDouble(&self) -> ::windows::core::Result; - fn SetvolumeDouble(&self, v: f64) -> ::windows::core::Result<()>; - fn volumeDouble(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLMediaElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLMediaElement2_Vtbl { - pub const fn new, Impl: IHTMLMediaElement2_Impl, const OFFSET: isize>() -> IHTMLMediaElement2_Vtbl { - unsafe extern "system" fn SetcurrentTimeDouble, Impl: IHTMLMediaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcurrentTimeDouble(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn currentTimeDouble, Impl: IHTMLMediaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.currentTimeDouble() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn initialTimeDouble, Impl: IHTMLMediaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.initialTimeDouble() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn durationDouble, Impl: IHTMLMediaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.durationDouble() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdefaultPlaybackRateDouble, Impl: IHTMLMediaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdefaultPlaybackRateDouble(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn defaultPlaybackRateDouble, Impl: IHTMLMediaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.defaultPlaybackRateDouble() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetplaybackRateDouble, Impl: IHTMLMediaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetplaybackRateDouble(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn playbackRateDouble, Impl: IHTMLMediaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.playbackRateDouble() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetvolumeDouble, Impl: IHTMLMediaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetvolumeDouble(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn volumeDouble, Impl: IHTMLMediaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.volumeDouble() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetcurrentTimeDouble: SetcurrentTimeDouble::, - currentTimeDouble: currentTimeDouble::, - initialTimeDouble: initialTimeDouble::, - durationDouble: durationDouble::, - SetdefaultPlaybackRateDouble: SetdefaultPlaybackRateDouble::, - defaultPlaybackRateDouble: defaultPlaybackRateDouble::, - SetplaybackRateDouble: SetplaybackRateDouble::, - playbackRateDouble: playbackRateDouble::, - SetvolumeDouble: SetvolumeDouble::, - volumeDouble: volumeDouble::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLMediaError_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn code(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLMediaError {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLMediaError_Vtbl { - pub const fn new, Impl: IHTMLMediaError_Impl, const OFFSET: isize>() -> IHTMLMediaError_Vtbl { - unsafe extern "system" fn code, Impl: IHTMLMediaError_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.code() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), code: code:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLMetaElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SethttpEquiv(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn httpEquiv(&self) -> ::windows::core::Result; - fn Setcontent(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn content(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Seturl(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn url(&self) -> ::windows::core::Result; - fn Setcharset(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn charset(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLMetaElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLMetaElement_Vtbl { - pub const fn new, Impl: IHTMLMetaElement_Impl, const OFFSET: isize>() -> IHTMLMetaElement_Vtbl { - unsafe extern "system" fn SethttpEquiv, Impl: IHTMLMetaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SethttpEquiv(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn httpEquiv, Impl: IHTMLMetaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.httpEquiv() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcontent, Impl: IHTMLMetaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcontent(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn content, Impl: IHTMLMetaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.content() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLMetaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLMetaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Seturl, Impl: IHTMLMetaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Seturl(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn url, Impl: IHTMLMetaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.url() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcharset, Impl: IHTMLMetaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcharset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn charset, Impl: IHTMLMetaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.charset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SethttpEquiv: SethttpEquiv::, - httpEquiv: httpEquiv::, - Setcontent: Setcontent::, - content: content::, - Setname: Setname::, - name: name::, - Seturl: Seturl::, - url: url::, - Setcharset: Setcharset::, - charset: charset::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLMetaElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setscheme(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn scheme(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLMetaElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLMetaElement2_Vtbl { - pub const fn new, Impl: IHTMLMetaElement2_Impl, const OFFSET: isize>() -> IHTMLMetaElement2_Vtbl { - unsafe extern "system" fn Setscheme, Impl: IHTMLMetaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setscheme(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scheme, Impl: IHTMLMetaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scheme() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setscheme: Setscheme::, - scheme: scheme::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLMetaElement3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Seturl(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn url(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLMetaElement3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLMetaElement3_Vtbl { - pub const fn new, Impl: IHTMLMetaElement3_Impl, const OFFSET: isize>() -> IHTMLMetaElement3_Vtbl { - unsafe extern "system" fn Seturl, Impl: IHTMLMetaElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Seturl(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn url, Impl: IHTMLMetaElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.url() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Seturl: Seturl::, - url: url::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLMimeTypesCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLMimeTypesCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLMimeTypesCollection_Vtbl { - pub const fn new, Impl: IHTMLMimeTypesCollection_Impl, const OFFSET: isize>() -> IHTMLMimeTypesCollection_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLMimeTypesCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), length: length:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLModelessInit_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn parameters(&self) -> ::windows::core::Result; - fn optionString(&self) -> ::windows::core::Result; - fn moniker(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn document(&self) -> ::windows::core::Result<::windows::core::IUnknown>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLModelessInit {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLModelessInit_Vtbl { - pub const fn new, Impl: IHTMLModelessInit_Impl, const OFFSET: isize>() -> IHTMLModelessInit_Vtbl { - unsafe extern "system" fn parameters, Impl: IHTMLModelessInit_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.parameters() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn optionString, Impl: IHTMLModelessInit_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.optionString() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn moniker, Impl: IHTMLModelessInit_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.moniker() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn document, Impl: IHTMLModelessInit_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.document() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - parameters: parameters::, - optionString: optionString::, - moniker: moniker::, - document: document::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLNamespace_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn name(&self) -> ::windows::core::Result; - fn urn(&self) -> ::windows::core::Result; - fn tagNames(&self) -> ::windows::core::Result; - fn readyState(&self) -> ::windows::core::Result; - fn Setonreadystatechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onreadystatechange(&self) -> ::windows::core::Result; - fn doImport(&self, bstrimplementationurl: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn attachEvent(&self, event: &super::super::Foundation::BSTR, pdisp: &::core::option::Option) -> ::windows::core::Result; - fn detachEvent(&self, event: &super::super::Foundation::BSTR, pdisp: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLNamespace {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLNamespace_Vtbl { - pub const fn new, Impl: IHTMLNamespace_Impl, const OFFSET: isize>() -> IHTMLNamespace_Vtbl { - unsafe extern "system" fn name, Impl: IHTMLNamespace_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn urn, Impl: IHTMLNamespace_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.urn() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn tagNames, Impl: IHTMLNamespace_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tagNames() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn readyState, Impl: IHTMLNamespace_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readyState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonreadystatechange, Impl: IHTMLNamespace_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonreadystatechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onreadystatechange, Impl: IHTMLNamespace_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onreadystatechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn doImport, Impl: IHTMLNamespace_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrimplementationurl: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.doImport(::core::mem::transmute(&bstrimplementationurl)).into() - } - unsafe extern "system" fn attachEvent, Impl: IHTMLNamespace_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, event: ::core::mem::ManuallyDrop, pdisp: *mut ::core::ffi::c_void, pfresult: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.attachEvent(::core::mem::transmute(&event), ::core::mem::transmute(&pdisp)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn detachEvent, Impl: IHTMLNamespace_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, event: ::core::mem::ManuallyDrop, pdisp: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.detachEvent(::core::mem::transmute(&event), ::core::mem::transmute(&pdisp)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - name: name::, - urn: urn::, - tagNames: tagNames::, - readyState: readyState::, - Setonreadystatechange: Setonreadystatechange::, - onreadystatechange: onreadystatechange::, - doImport: doImport::, - attachEvent: attachEvent::, - detachEvent: detachEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLNamespaceCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn item(&self, index: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn add(&self, bstrnamespace: &super::super::Foundation::BSTR, bstrurn: &super::super::Foundation::BSTR, implementationurl: &super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLNamespaceCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLNamespaceCollection_Vtbl { - pub const fn new, Impl: IHTMLNamespaceCollection_Impl, const OFFSET: isize>() -> IHTMLNamespaceCollection_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLNamespaceCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLNamespaceCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: ::core::mem::ManuallyDrop, ppnamespace: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnamespace, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn add, Impl: IHTMLNamespaceCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrnamespace: ::core::mem::ManuallyDrop, bstrurn: ::core::mem::ManuallyDrop, implementationurl: ::core::mem::ManuallyDrop, ppnamespace: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.add(::core::mem::transmute(&bstrnamespace), ::core::mem::transmute(&bstrurn), ::core::mem::transmute(&implementationurl)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnamespace, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - item: item::, - add: add::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLNextIdElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setn(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn n(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLNextIdElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLNextIdElement_Vtbl { - pub const fn new, Impl: IHTMLNextIdElement_Impl, const OFFSET: isize>() -> IHTMLNextIdElement_Vtbl { - unsafe extern "system" fn Setn, Impl: IHTMLNextIdElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setn(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn n, Impl: IHTMLNextIdElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.n() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setn: Setn::, - n: n::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLNoShowElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLNoShowElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLNoShowElement_Vtbl { - pub const fn new, Impl: IHTMLNoShowElement_Impl, const OFFSET: isize>() -> IHTMLNoShowElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLOListElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcompact(&self, v: i16) -> ::windows::core::Result<()>; - fn compact(&self) -> ::windows::core::Result; - fn Setstart(&self, v: i32) -> ::windows::core::Result<()>; - fn start(&self) -> ::windows::core::Result; - fn Settype(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLOListElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLOListElement_Vtbl { - pub const fn new, Impl: IHTMLOListElement_Impl, const OFFSET: isize>() -> IHTMLOListElement_Vtbl { - unsafe extern "system" fn Setcompact, Impl: IHTMLOListElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcompact(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn compact, Impl: IHTMLOListElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.compact() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setstart, Impl: IHTMLOListElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setstart(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn start, Impl: IHTMLOListElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.start() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settype, Impl: IHTMLOListElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settype(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#type, Impl: IHTMLOListElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcompact: Setcompact::, - compact: compact::, - Setstart: Setstart::, - start: start::, - Settype: Settype::, - r#type: r#type::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -pub trait IHTMLOMWindowServices_Impl: Sized { - fn moveTo(&self, x: i32, y: i32) -> ::windows::core::Result<()>; - fn moveBy(&self, x: i32, y: i32) -> ::windows::core::Result<()>; - fn resizeTo(&self, x: i32, y: i32) -> ::windows::core::Result<()>; - fn resizeBy(&self, x: i32, y: i32) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IHTMLOMWindowServices {} -impl IHTMLOMWindowServices_Vtbl { - pub const fn new, Impl: IHTMLOMWindowServices_Impl, const OFFSET: isize>() -> IHTMLOMWindowServices_Vtbl { - unsafe extern "system" fn moveTo, Impl: IHTMLOMWindowServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.moveTo(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - unsafe extern "system" fn moveBy, Impl: IHTMLOMWindowServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.moveBy(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - unsafe extern "system" fn resizeTo, Impl: IHTMLOMWindowServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.resizeTo(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - unsafe extern "system" fn resizeBy, Impl: IHTMLOMWindowServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.resizeBy(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - moveTo: moveTo::, - moveBy: moveBy::, - resizeTo: resizeTo::, - resizeBy: resizeBy::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLObjectElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn object(&self) -> ::windows::core::Result; - fn classid(&self) -> ::windows::core::Result; - fn data(&self) -> ::windows::core::Result; - fn putref_recordset(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn recordset(&self) -> ::windows::core::Result; - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn SetcodeBase(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn codeBase(&self) -> ::windows::core::Result; - fn SetcodeType(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn codeType(&self) -> ::windows::core::Result; - fn Setcode(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn code(&self) -> ::windows::core::Result; - fn BaseHref(&self) -> ::windows::core::Result; - fn Settype(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; - fn form(&self) -> ::windows::core::Result; - fn Setwidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn Setheight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; - fn readyState(&self) -> ::windows::core::Result; - fn Setonreadystatechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onreadystatechange(&self) -> ::windows::core::Result; - fn Setonerror(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onerror(&self) -> ::windows::core::Result; - fn SetaltHtml(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn altHtml(&self) -> ::windows::core::Result; - fn Setvspace(&self, v: i32) -> ::windows::core::Result<()>; - fn vspace(&self) -> ::windows::core::Result; - fn Sethspace(&self, v: i32) -> ::windows::core::Result<()>; - fn hspace(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLObjectElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLObjectElement_Vtbl { - pub const fn new, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>() -> IHTMLObjectElement_Vtbl { - unsafe extern "system" fn object, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.object() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn classid, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.classid() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn data, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.data() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_recordset, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_recordset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn recordset, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.recordset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setalign, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcodeBase, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcodeBase(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn codeBase, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.codeBase() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcodeType, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcodeType(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn codeType, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.codeType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcode, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn code, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.code() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn BaseHref, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.BaseHref() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settype, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settype(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#type, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn form, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.form() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidth, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setheight, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn height, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn readyState, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readyState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonreadystatechange, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonreadystatechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onreadystatechange, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onreadystatechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonerror, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonerror(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onerror, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onerror() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetaltHtml, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetaltHtml(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn altHtml, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.altHtml() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvspace, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvspace(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn vspace, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vspace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethspace, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethspace(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn hspace, Impl: IHTMLObjectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hspace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - object: object::, - classid: classid::, - data: data::, - putref_recordset: putref_recordset::, - recordset: recordset::, - Setalign: Setalign::, - align: align::, - Setname: Setname::, - name: name::, - SetcodeBase: SetcodeBase::, - codeBase: codeBase::, - SetcodeType: SetcodeType::, - codeType: codeType::, - Setcode: Setcode::, - code: code::, - BaseHref: BaseHref::, - Settype: Settype::, - r#type: r#type::, - form: form::, - Setwidth: Setwidth::, - width: width::, - Setheight: Setheight::, - height: height::, - readyState: readyState::, - Setonreadystatechange: Setonreadystatechange::, - onreadystatechange: onreadystatechange::, - Setonerror: Setonerror::, - onerror: onerror::, - SetaltHtml: SetaltHtml::, - altHtml: altHtml::, - Setvspace: Setvspace::, - vspace: vspace::, - Sethspace: Sethspace::, - hspace: hspace::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLObjectElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn namedRecordset(&self, datamember: &super::super::Foundation::BSTR, hierarchy: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn Setclassid(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn classid(&self) -> ::windows::core::Result; - fn Setdata(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn data(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLObjectElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLObjectElement2_Vtbl { - pub const fn new, Impl: IHTMLObjectElement2_Impl, const OFFSET: isize>() -> IHTMLObjectElement2_Vtbl { - unsafe extern "system" fn namedRecordset, Impl: IHTMLObjectElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, datamember: ::core::mem::ManuallyDrop, hierarchy: *const super::super::System::Com::VARIANT, pprecordset: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.namedRecordset(::core::mem::transmute(&datamember), ::core::mem::transmute_copy(&hierarchy)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pprecordset, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setclassid, Impl: IHTMLObjectElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setclassid(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn classid, Impl: IHTMLObjectElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.classid() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdata, Impl: IHTMLObjectElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdata(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn data, Impl: IHTMLObjectElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.data() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - namedRecordset: namedRecordset::, - Setclassid: Setclassid::, - classid: classid::, - Setdata: Setdata::, - data: data::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLObjectElement3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setarchive(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn archive(&self) -> ::windows::core::Result; - fn Setalt(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn alt(&self) -> ::windows::core::Result; - fn Setdeclare(&self, v: i16) -> ::windows::core::Result<()>; - fn declare(&self) -> ::windows::core::Result; - fn Setstandby(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn standby(&self) -> ::windows::core::Result; - fn Setborder(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn border(&self) -> ::windows::core::Result; - fn SetuseMap(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn useMap(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLObjectElement3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLObjectElement3_Vtbl { - pub const fn new, Impl: IHTMLObjectElement3_Impl, const OFFSET: isize>() -> IHTMLObjectElement3_Vtbl { - unsafe extern "system" fn Setarchive, Impl: IHTMLObjectElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setarchive(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn archive, Impl: IHTMLObjectElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.archive() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setalt, Impl: IHTMLObjectElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalt(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn alt, Impl: IHTMLObjectElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.alt() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdeclare, Impl: IHTMLObjectElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdeclare(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn declare, Impl: IHTMLObjectElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.declare() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setstandby, Impl: IHTMLObjectElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setstandby(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn standby, Impl: IHTMLObjectElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.standby() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setborder, Impl: IHTMLObjectElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setborder(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn border, Impl: IHTMLObjectElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.border() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetuseMap, Impl: IHTMLObjectElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetuseMap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn useMap, Impl: IHTMLObjectElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.useMap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setarchive: Setarchive::, - archive: archive::, - Setalt: Setalt::, - alt: alt::, - Setdeclare: Setdeclare::, - declare: declare::, - Setstandby: Setstandby::, - standby: standby::, - Setborder: Setborder::, - border: border::, - SetuseMap: SetuseMap::, - useMap: useMap::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLObjectElement4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn contentDocument(&self) -> ::windows::core::Result; - fn SetcodeBase(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn codeBase(&self) -> ::windows::core::Result; - fn Setdata(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn data(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLObjectElement4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLObjectElement4_Vtbl { - pub const fn new, Impl: IHTMLObjectElement4_Impl, const OFFSET: isize>() -> IHTMLObjectElement4_Vtbl { - unsafe extern "system" fn contentDocument, Impl: IHTMLObjectElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.contentDocument() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcodeBase, Impl: IHTMLObjectElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcodeBase(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn codeBase, Impl: IHTMLObjectElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.codeBase() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdata, Impl: IHTMLObjectElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdata(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn data, Impl: IHTMLObjectElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.data() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - contentDocument: contentDocument::, - SetcodeBase: SetcodeBase::, - codeBase: codeBase::, - Setdata: Setdata::, - data: data::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLObjectElement5_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setobject(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn object(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLObjectElement5 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLObjectElement5_Vtbl { - pub const fn new, Impl: IHTMLObjectElement5_Impl, const OFFSET: isize>() -> IHTMLObjectElement5_Vtbl { - unsafe extern "system" fn Setobject, Impl: IHTMLObjectElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setobject(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn object, Impl: IHTMLObjectElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.object() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setobject: Setobject::, - object: object::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLOpsProfile_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn addRequest(&self, name: &super::super::Foundation::BSTR, reserved: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn clearRequest(&self) -> ::windows::core::Result<()>; - fn doRequest(&self, usage: &super::super::System::Com::VARIANT, fname: &super::super::System::Com::VARIANT, domain: &super::super::System::Com::VARIANT, path: &super::super::System::Com::VARIANT, expire: &super::super::System::Com::VARIANT, reserved: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn getAttribute(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn setAttribute(&self, name: &super::super::Foundation::BSTR, value: &super::super::Foundation::BSTR, prefs: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn commitChanges(&self) -> ::windows::core::Result; - fn addReadRequest(&self, name: &super::super::Foundation::BSTR, reserved: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn doReadRequest(&self, usage: &super::super::System::Com::VARIANT, fname: &super::super::System::Com::VARIANT, domain: &super::super::System::Com::VARIANT, path: &super::super::System::Com::VARIANT, expire: &super::super::System::Com::VARIANT, reserved: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn doWriteRequest(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLOpsProfile {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLOpsProfile_Vtbl { - pub const fn new, Impl: IHTMLOpsProfile_Impl, const OFFSET: isize>() -> IHTMLOpsProfile_Vtbl { - unsafe extern "system" fn addRequest, Impl: IHTMLOpsProfile_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, reserved: ::core::mem::ManuallyDrop, success: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.addRequest(::core::mem::transmute(&name), ::core::mem::transmute(&reserved)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(success, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clearRequest, Impl: IHTMLOpsProfile_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.clearRequest().into() - } - unsafe extern "system" fn doRequest, Impl: IHTMLOpsProfile_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, usage: ::core::mem::ManuallyDrop, fname: ::core::mem::ManuallyDrop, domain: ::core::mem::ManuallyDrop, path: ::core::mem::ManuallyDrop, expire: ::core::mem::ManuallyDrop, reserved: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.doRequest(::core::mem::transmute(&usage), ::core::mem::transmute(&fname), ::core::mem::transmute(&domain), ::core::mem::transmute(&path), ::core::mem::transmute(&expire), ::core::mem::transmute(&reserved)).into() - } - unsafe extern "system" fn getAttribute, Impl: IHTMLOpsProfile_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, value: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getAttribute(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(value, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setAttribute, Impl: IHTMLOpsProfile_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, value: ::core::mem::ManuallyDrop, prefs: ::core::mem::ManuallyDrop, success: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.setAttribute(::core::mem::transmute(&name), ::core::mem::transmute(&value), ::core::mem::transmute(&prefs)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(success, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn commitChanges, Impl: IHTMLOpsProfile_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, success: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.commitChanges() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(success, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn addReadRequest, Impl: IHTMLOpsProfile_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, reserved: ::core::mem::ManuallyDrop, success: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.addReadRequest(::core::mem::transmute(&name), ::core::mem::transmute(&reserved)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(success, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn doReadRequest, Impl: IHTMLOpsProfile_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, usage: ::core::mem::ManuallyDrop, fname: ::core::mem::ManuallyDrop, domain: ::core::mem::ManuallyDrop, path: ::core::mem::ManuallyDrop, expire: ::core::mem::ManuallyDrop, reserved: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.doReadRequest(::core::mem::transmute(&usage), ::core::mem::transmute(&fname), ::core::mem::transmute(&domain), ::core::mem::transmute(&path), ::core::mem::transmute(&expire), ::core::mem::transmute(&reserved)).into() - } - unsafe extern "system" fn doWriteRequest, Impl: IHTMLOpsProfile_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, success: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.doWriteRequest() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(success, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - addRequest: addRequest::, - clearRequest: clearRequest::, - doRequest: doRequest::, - getAttribute: getAttribute::, - setAttribute: setAttribute::, - commitChanges: commitChanges::, - addReadRequest: addReadRequest::, - doReadRequest: doReadRequest::, - doWriteRequest: doWriteRequest::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLOptionButtonElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn r#type(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Setchecked(&self, v: i16) -> ::windows::core::Result<()>; - fn checked(&self) -> ::windows::core::Result; - fn SetdefaultChecked(&self, v: i16) -> ::windows::core::Result<()>; - fn defaultChecked(&self) -> ::windows::core::Result; - fn Setonchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onchange(&self) -> ::windows::core::Result; - fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()>; - fn disabled(&self) -> ::windows::core::Result; - fn Setstatus(&self, v: i16) -> ::windows::core::Result<()>; - fn status(&self) -> ::windows::core::Result; - fn Setindeterminate(&self, v: i16) -> ::windows::core::Result<()>; - fn indeterminate(&self) -> ::windows::core::Result; - fn form(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLOptionButtonElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLOptionButtonElement_Vtbl { - pub const fn new, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>() -> IHTMLOptionButtonElement_Vtbl { - unsafe extern "system" fn Setvalue, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn r#type, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setchecked, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setchecked(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn checked, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.checked() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdefaultChecked, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdefaultChecked(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn defaultChecked, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.defaultChecked() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonchange, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onchange, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdisabled, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn disabled, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.disabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setstatus, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setstatus(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn status, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.status() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setindeterminate, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setindeterminate(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn indeterminate, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.indeterminate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn form, Impl: IHTMLOptionButtonElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.form() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setvalue: Setvalue::, - value: value::, - r#type: r#type::, - Setname: Setname::, - name: name::, - Setchecked: Setchecked::, - checked: checked::, - SetdefaultChecked: SetdefaultChecked::, - defaultChecked: defaultChecked::, - Setonchange: Setonchange::, - onchange: onchange::, - Setdisabled: Setdisabled::, - disabled: disabled::, - Setstatus: Setstatus::, - status: status::, - Setindeterminate: Setindeterminate::, - indeterminate: indeterminate::, - form: form::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLOptionElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setselected(&self, v: i16) -> ::windows::core::Result<()>; - fn selected(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn SetdefaultSelected(&self, v: i16) -> ::windows::core::Result<()>; - fn defaultSelected(&self) -> ::windows::core::Result; - fn Setindex(&self, v: i32) -> ::windows::core::Result<()>; - fn index(&self) -> ::windows::core::Result; - fn Settext(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn text(&self) -> ::windows::core::Result; - fn form(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLOptionElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLOptionElement_Vtbl { - pub const fn new, Impl: IHTMLOptionElement_Impl, const OFFSET: isize>() -> IHTMLOptionElement_Vtbl { - unsafe extern "system" fn Setselected, Impl: IHTMLOptionElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setselected(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn selected, Impl: IHTMLOptionElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.selected() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: IHTMLOptionElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLOptionElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdefaultSelected, Impl: IHTMLOptionElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdefaultSelected(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn defaultSelected, Impl: IHTMLOptionElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.defaultSelected() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setindex, Impl: IHTMLOptionElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setindex(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn index, Impl: IHTMLOptionElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.index() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settext, Impl: IHTMLOptionElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settext(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn text, Impl: IHTMLOptionElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.text() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn form, Impl: IHTMLOptionElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.form() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setselected: Setselected::, - selected: selected::, - Setvalue: Setvalue::, - value: value::, - SetdefaultSelected: SetdefaultSelected::, - defaultSelected: defaultSelected::, - Setindex: Setindex::, - index: index::, - Settext: Settext::, - text: text::, - form: form::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLOptionElement3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setlabel(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn label(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLOptionElement3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLOptionElement3_Vtbl { - pub const fn new, Impl: IHTMLOptionElement3_Impl, const OFFSET: isize>() -> IHTMLOptionElement3_Vtbl { - unsafe extern "system" fn Setlabel, Impl: IHTMLOptionElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setlabel(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn label, Impl: IHTMLOptionElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.label() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setlabel: Setlabel::, - label: label::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLOptionElement4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLOptionElement4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLOptionElement4_Vtbl { - pub const fn new, Impl: IHTMLOptionElement4_Impl, const OFFSET: isize>() -> IHTMLOptionElement4_Vtbl { - unsafe extern "system" fn Setvalue, Impl: IHTMLOptionElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLOptionElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setvalue: Setvalue::, - value: value::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLOptionElementFactory_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn create(&self, text: &super::super::System::Com::VARIANT, value: &super::super::System::Com::VARIANT, defaultselected: &super::super::System::Com::VARIANT, selected: &super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLOptionElementFactory {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLOptionElementFactory_Vtbl { - pub const fn new, Impl: IHTMLOptionElementFactory_Impl, const OFFSET: isize>() -> IHTMLOptionElementFactory_Vtbl { - unsafe extern "system" fn create, Impl: IHTMLOptionElementFactory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, text: ::core::mem::ManuallyDrop, value: ::core::mem::ManuallyDrop, defaultselected: ::core::mem::ManuallyDrop, selected: ::core::mem::ManuallyDrop, __midl__ihtmloptionelementfactory0000: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.create(::core::mem::transmute(&text), ::core::mem::transmute(&value), ::core::mem::transmute(&defaultselected), ::core::mem::transmute(&selected)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(__midl__ihtmloptionelementfactory0000, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), create: create:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLOptionsHolder_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn document(&self) -> ::windows::core::Result; - fn fonts(&self) -> ::windows::core::Result; - fn SetexecArg(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn execArg(&self) -> ::windows::core::Result; - fn SeterrorLine(&self, v: i32) -> ::windows::core::Result<()>; - fn errorLine(&self) -> ::windows::core::Result; - fn SeterrorCharacter(&self, v: i32) -> ::windows::core::Result<()>; - fn errorCharacter(&self) -> ::windows::core::Result; - fn SeterrorCode(&self, v: i32) -> ::windows::core::Result<()>; - fn errorCode(&self) -> ::windows::core::Result; - fn SeterrorMessage(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn errorMessage(&self) -> ::windows::core::Result; - fn SeterrorDebug(&self, v: i16) -> ::windows::core::Result<()>; - fn errorDebug(&self) -> ::windows::core::Result; - fn unsecuredWindowOfDocument(&self) -> ::windows::core::Result; - fn SetfindText(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn findText(&self) -> ::windows::core::Result; - fn SetanythingAfterFrameset(&self, v: i16) -> ::windows::core::Result<()>; - fn anythingAfterFrameset(&self) -> ::windows::core::Result; - fn sizes(&self, fontname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn openfiledlg(&self, initfile: &super::super::System::Com::VARIANT, initdir: &super::super::System::Com::VARIANT, filter: &super::super::System::Com::VARIANT, title: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn savefiledlg(&self, initfile: &super::super::System::Com::VARIANT, initdir: &super::super::System::Com::VARIANT, filter: &super::super::System::Com::VARIANT, title: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn choosecolordlg(&self, initcolor: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn showSecurityInfo(&self) -> ::windows::core::Result<()>; - fn isApartmentModel(&self, object: &::core::option::Option) -> ::windows::core::Result; - fn getCharset(&self, fontname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn secureConnectionInfo(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLOptionsHolder {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLOptionsHolder_Vtbl { - pub const fn new, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>() -> IHTMLOptionsHolder_Vtbl { - unsafe extern "system" fn document, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.document() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fonts, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fonts() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetexecArg, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetexecArg(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn execArg, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.execArg() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SeterrorLine, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SeterrorLine(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn errorLine, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.errorLine() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SeterrorCharacter, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SeterrorCharacter(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn errorCharacter, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.errorCharacter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SeterrorCode, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SeterrorCode(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn errorCode, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.errorCode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SeterrorMessage, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SeterrorMessage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn errorMessage, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.errorMessage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SeterrorDebug, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SeterrorDebug(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn errorDebug, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.errorDebug() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn unsecuredWindowOfDocument, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.unsecuredWindowOfDocument() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfindText, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfindText(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn findText, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.findText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetanythingAfterFrameset, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetanythingAfterFrameset(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn anythingAfterFrameset, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.anythingAfterFrameset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn sizes, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fontname: ::core::mem::ManuallyDrop, psizescollection: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.sizes(::core::mem::transmute(&fontname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(psizescollection, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn openfiledlg, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, initfile: ::core::mem::ManuallyDrop, initdir: ::core::mem::ManuallyDrop, filter: ::core::mem::ManuallyDrop, title: ::core::mem::ManuallyDrop, pathname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.openfiledlg(::core::mem::transmute(&initfile), ::core::mem::transmute(&initdir), ::core::mem::transmute(&filter), ::core::mem::transmute(&title)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pathname, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn savefiledlg, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, initfile: ::core::mem::ManuallyDrop, initdir: ::core::mem::ManuallyDrop, filter: ::core::mem::ManuallyDrop, title: ::core::mem::ManuallyDrop, pathname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.savefiledlg(::core::mem::transmute(&initfile), ::core::mem::transmute(&initdir), ::core::mem::transmute(&filter), ::core::mem::transmute(&title)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pathname, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn choosecolordlg, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, initcolor: ::core::mem::ManuallyDrop, rgbcolor: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.choosecolordlg(::core::mem::transmute(&initcolor)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(rgbcolor, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn showSecurityInfo, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.showSecurityInfo().into() - } - unsafe extern "system" fn isApartmentModel, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, object: *mut ::core::ffi::c_void, fapartment: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isApartmentModel(::core::mem::transmute(&object)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(fapartment, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getCharset, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fontname: ::core::mem::ManuallyDrop, charset: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getCharset(::core::mem::transmute(&fontname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(charset, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn secureConnectionInfo, Impl: IHTMLOptionsHolder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.secureConnectionInfo() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - document: document::, - fonts: fonts::, - SetexecArg: SetexecArg::, - execArg: execArg::, - SeterrorLine: SeterrorLine::, - errorLine: errorLine::, - SeterrorCharacter: SeterrorCharacter::, - errorCharacter: errorCharacter::, - SeterrorCode: SeterrorCode::, - errorCode: errorCode::, - SeterrorMessage: SeterrorMessage::, - errorMessage: errorMessage::, - SeterrorDebug: SeterrorDebug::, - errorDebug: errorDebug::, - unsecuredWindowOfDocument: unsecuredWindowOfDocument::, - SetfindText: SetfindText::, - findText: findText::, - SetanythingAfterFrameset: SetanythingAfterFrameset::, - anythingAfterFrameset: anythingAfterFrameset::, - sizes: sizes::, - openfiledlg: openfiledlg::, - savefiledlg: savefiledlg::, - choosecolordlg: choosecolordlg::, - showSecurityInfo: showSecurityInfo::, - isApartmentModel: isApartmentModel::, - getCharset: getCharset::, - secureConnectionInfo: secureConnectionInfo::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -pub trait IHTMLPaintSite_Impl: Sized { - fn InvalidatePainterInfo(&self) -> ::windows::core::Result<()>; - fn InvalidateRect(&self, prcinvalid: *const super::super::Foundation::RECT) -> ::windows::core::Result<()>; - fn InvalidateRegion(&self, rgninvalid: super::super::Graphics::Gdi::HRGN) -> ::windows::core::Result<()>; - fn GetDrawInfo(&self, lflags: i32) -> ::windows::core::Result; - fn TransformGlobalToLocal(&self, ptglobal: &super::super::Foundation::POINT) -> ::windows::core::Result; - fn TransformLocalToGlobal(&self, ptlocal: &super::super::Foundation::POINT) -> ::windows::core::Result; - fn GetHitTestCookie(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -impl ::windows::core::RuntimeName for IHTMLPaintSite {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -impl IHTMLPaintSite_Vtbl { - pub const fn new, Impl: IHTMLPaintSite_Impl, const OFFSET: isize>() -> IHTMLPaintSite_Vtbl { - unsafe extern "system" fn InvalidatePainterInfo, Impl: IHTMLPaintSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.InvalidatePainterInfo().into() - } - unsafe extern "system" fn InvalidateRect, Impl: IHTMLPaintSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, prcinvalid: *const super::super::Foundation::RECT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.InvalidateRect(::core::mem::transmute_copy(&prcinvalid)).into() - } - unsafe extern "system" fn InvalidateRegion, Impl: IHTMLPaintSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, rgninvalid: super::super::Graphics::Gdi::HRGN) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.InvalidateRegion(::core::mem::transmute_copy(&rgninvalid)).into() - } - unsafe extern "system" fn GetDrawInfo, Impl: IHTMLPaintSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lflags: i32, pdrawinfo: *mut HTML_PAINT_DRAW_INFO) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetDrawInfo(::core::mem::transmute_copy(&lflags)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdrawinfo, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn TransformGlobalToLocal, Impl: IHTMLPaintSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ptglobal: super::super::Foundation::POINT, pptlocal: *mut super::super::Foundation::POINT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.TransformGlobalToLocal(::core::mem::transmute(&ptglobal)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pptlocal, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn TransformLocalToGlobal, Impl: IHTMLPaintSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ptlocal: super::super::Foundation::POINT, pptglobal: *mut super::super::Foundation::POINT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.TransformLocalToGlobal(::core::mem::transmute(&ptlocal)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pptglobal, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetHitTestCookie, Impl: IHTMLPaintSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, plcookie: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetHitTestCookie() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(plcookie, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - InvalidatePainterInfo: InvalidatePainterInfo::, - InvalidateRect: InvalidateRect::, - InvalidateRegion: InvalidateRegion::, - GetDrawInfo: GetDrawInfo::, - TransformGlobalToLocal: TransformGlobalToLocal::, - TransformLocalToGlobal: TransformLocalToGlobal::, - GetHitTestCookie: GetHitTestCookie::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -pub trait IHTMLPainter_Impl: Sized { - fn Draw(&self, rcbounds: &super::super::Foundation::RECT, rcupdate: &super::super::Foundation::RECT, ldrawflags: i32, hdc: super::super::Graphics::Gdi::HDC, pvdrawobject: *const ::core::ffi::c_void) -> ::windows::core::Result<()>; - fn OnResize(&self, size: &super::super::Foundation::SIZE) -> ::windows::core::Result<()>; - fn GetPainterInfo(&self) -> ::windows::core::Result; - fn HitTestPoint(&self, pt: &super::super::Foundation::POINT, pbhit: *mut super::super::Foundation::BOOL, plpartid: *mut i32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -impl ::windows::core::RuntimeName for IHTMLPainter {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -impl IHTMLPainter_Vtbl { - pub const fn new, Impl: IHTMLPainter_Impl, const OFFSET: isize>() -> IHTMLPainter_Vtbl { - unsafe extern "system" fn Draw, Impl: IHTMLPainter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, rcbounds: super::super::Foundation::RECT, rcupdate: super::super::Foundation::RECT, ldrawflags: i32, hdc: super::super::Graphics::Gdi::HDC, pvdrawobject: *const ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Draw(::core::mem::transmute(&rcbounds), ::core::mem::transmute(&rcupdate), ::core::mem::transmute_copy(&ldrawflags), ::core::mem::transmute_copy(&hdc), ::core::mem::transmute_copy(&pvdrawobject)).into() - } - unsafe extern "system" fn OnResize, Impl: IHTMLPainter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, size: super::super::Foundation::SIZE) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnResize(::core::mem::transmute(&size)).into() - } - unsafe extern "system" fn GetPainterInfo, Impl: IHTMLPainter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pinfo: *mut HTML_PAINTER_INFO) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetPainterInfo() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pinfo, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HitTestPoint, Impl: IHTMLPainter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pt: super::super::Foundation::POINT, pbhit: *mut super::super::Foundation::BOOL, plpartid: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.HitTestPoint(::core::mem::transmute(&pt), ::core::mem::transmute_copy(&pbhit), ::core::mem::transmute_copy(&plpartid)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - Draw: Draw::, - OnResize: OnResize::, - GetPainterInfo: GetPainterInfo::, - HitTestPoint: HitTestPoint::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IHTMLPainterEventInfo_Impl: Sized { - fn GetEventInfoFlags(&self) -> ::windows::core::Result; - fn GetEventTarget(&self, ppelement: *const ::core::option::Option) -> ::windows::core::Result<()>; - fn SetCursor(&self, lpartid: i32) -> ::windows::core::Result<()>; - fn StringFromPartID(&self, lpartid: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IHTMLPainterEventInfo {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IHTMLPainterEventInfo_Vtbl { - pub const fn new, Impl: IHTMLPainterEventInfo_Impl, const OFFSET: isize>() -> IHTMLPainterEventInfo_Vtbl { - unsafe extern "system" fn GetEventInfoFlags, Impl: IHTMLPainterEventInfo_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pleventinfoflags: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetEventInfoFlags() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pleventinfoflags, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetEventTarget, Impl: IHTMLPainterEventInfo_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppelement: *const *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetEventTarget(::core::mem::transmute_copy(&ppelement)).into() - } - unsafe extern "system" fn SetCursor, Impl: IHTMLPainterEventInfo_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lpartid: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetCursor(::core::mem::transmute_copy(&lpartid)).into() - } - unsafe extern "system" fn StringFromPartID, Impl: IHTMLPainterEventInfo_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lpartid: i32, pbstrpart: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.StringFromPartID(::core::mem::transmute_copy(&lpartid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrpart, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - GetEventInfoFlags: GetEventInfoFlags::, - GetEventTarget: GetEventTarget::, - SetCursor: SetCursor::, - StringFromPartID: StringFromPartID::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IHTMLPainterOverlay_Impl: Sized { - fn OnMove(&self, rcdevice: &super::super::Foundation::RECT) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IHTMLPainterOverlay {} -#[cfg(feature = "Win32_Foundation")] -impl IHTMLPainterOverlay_Vtbl { - pub const fn new, Impl: IHTMLPainterOverlay_Impl, const OFFSET: isize>() -> IHTMLPainterOverlay_Vtbl { - unsafe extern "system" fn OnMove, Impl: IHTMLPainterOverlay_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, rcdevice: super::super::Foundation::RECT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnMove(::core::mem::transmute(&rcdevice)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), OnMove: OnMove:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLParaElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLParaElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLParaElement_Vtbl { - pub const fn new, Impl: IHTMLParaElement_Impl, const OFFSET: isize>() -> IHTMLParaElement_Vtbl { - unsafe extern "system" fn Setalign, Impl: IHTMLParaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLParaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setalign: Setalign::, - align: align::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLParamElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn Settype(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; - fn SetvalueType(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn valueType(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLParamElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLParamElement_Vtbl { - pub const fn new, Impl: IHTMLParamElement_Impl, const OFFSET: isize>() -> IHTMLParamElement_Vtbl { - unsafe extern "system" fn Setname, Impl: IHTMLParamElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLParamElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: IHTMLParamElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLParamElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settype, Impl: IHTMLParamElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settype(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#type, Impl: IHTMLParamElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetvalueType, Impl: IHTMLParamElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetvalueType(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn valueType, Impl: IHTMLParamElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.valueType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setname: Setname::, - name: name::, - Setvalue: Setvalue::, - value: value::, - Settype: Settype::, - r#type: r#type::, - SetvalueType: SetvalueType::, - valueType: valueType::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLParamElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Settype(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn SetvalueType(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn valueType(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLParamElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLParamElement2_Vtbl { - pub const fn new, Impl: IHTMLParamElement2_Impl, const OFFSET: isize>() -> IHTMLParamElement2_Vtbl { - unsafe extern "system" fn Setname, Impl: IHTMLParamElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLParamElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settype, Impl: IHTMLParamElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settype(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#type, Impl: IHTMLParamElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: IHTMLParamElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLParamElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetvalueType, Impl: IHTMLParamElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetvalueType(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn valueType, Impl: IHTMLParamElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.valueType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setname: Setname::, - name: name::, - Settype: Settype::, - r#type: r#type::, - Setvalue: Setvalue::, - value: value::, - SetvalueType: SetvalueType::, - valueType: valueType::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLPerformance_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn navigation(&self) -> ::windows::core::Result; - fn timing(&self) -> ::windows::core::Result; - fn toString(&self) -> ::windows::core::Result; - fn toJSON(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLPerformance {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLPerformance_Vtbl { - pub const fn new, Impl: IHTMLPerformance_Impl, const OFFSET: isize>() -> IHTMLPerformance_Vtbl { - unsafe extern "system" fn navigation, Impl: IHTMLPerformance_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.navigation() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn timing, Impl: IHTMLPerformance_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.timing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn toString, Impl: IHTMLPerformance_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toString() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(string, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn toJSON, Impl: IHTMLPerformance_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvar: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toJSON() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvar, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - navigation: navigation::, - timing: timing::, - toString: toString::, - toJSON: toJSON::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLPerformanceNavigation_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn r#type(&self) -> ::windows::core::Result; - fn redirectCount(&self) -> ::windows::core::Result; - fn toString(&self) -> ::windows::core::Result; - fn toJSON(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLPerformanceNavigation {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLPerformanceNavigation_Vtbl { - pub const fn new, Impl: IHTMLPerformanceNavigation_Impl, const OFFSET: isize>() -> IHTMLPerformanceNavigation_Vtbl { - unsafe extern "system" fn r#type, Impl: IHTMLPerformanceNavigation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn redirectCount, Impl: IHTMLPerformanceNavigation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.redirectCount() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn toString, Impl: IHTMLPerformanceNavigation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toString() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(string, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn toJSON, Impl: IHTMLPerformanceNavigation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvar: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toJSON() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvar, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - r#type: r#type::, - redirectCount: redirectCount::, - toString: toString::, - toJSON: toJSON::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLPerformanceTiming_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn navigationStart(&self) -> ::windows::core::Result; - fn unloadEventStart(&self) -> ::windows::core::Result; - fn unloadEventEnd(&self) -> ::windows::core::Result; - fn redirectStart(&self) -> ::windows::core::Result; - fn redirectEnd(&self) -> ::windows::core::Result; - fn fetchStart(&self) -> ::windows::core::Result; - fn domainLookupStart(&self) -> ::windows::core::Result; - fn domainLookupEnd(&self) -> ::windows::core::Result; - fn connectStart(&self) -> ::windows::core::Result; - fn connectEnd(&self) -> ::windows::core::Result; - fn requestStart(&self) -> ::windows::core::Result; - fn responseStart(&self) -> ::windows::core::Result; - fn responseEnd(&self) -> ::windows::core::Result; - fn domLoading(&self) -> ::windows::core::Result; - fn domInteractive(&self) -> ::windows::core::Result; - fn domContentLoadedEventStart(&self) -> ::windows::core::Result; - fn domContentLoadedEventEnd(&self) -> ::windows::core::Result; - fn domComplete(&self) -> ::windows::core::Result; - fn loadEventStart(&self) -> ::windows::core::Result; - fn loadEventEnd(&self) -> ::windows::core::Result; - fn msFirstPaint(&self) -> ::windows::core::Result; - fn toString(&self) -> ::windows::core::Result; - fn toJSON(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLPerformanceTiming {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLPerformanceTiming_Vtbl { - pub const fn new, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>() -> IHTMLPerformanceTiming_Vtbl { - unsafe extern "system" fn navigationStart, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.navigationStart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn unloadEventStart, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.unloadEventStart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn unloadEventEnd, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.unloadEventEnd() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn redirectStart, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.redirectStart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn redirectEnd, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.redirectEnd() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fetchStart, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fetchStart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn domainLookupStart, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.domainLookupStart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn domainLookupEnd, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.domainLookupEnd() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn connectStart, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.connectStart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn connectEnd, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.connectEnd() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn requestStart, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.requestStart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn responseStart, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.responseStart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn responseEnd, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.responseEnd() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn domLoading, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.domLoading() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn domInteractive, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.domInteractive() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn domContentLoadedEventStart, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.domContentLoadedEventStart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn domContentLoadedEventEnd, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.domContentLoadedEventEnd() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn domComplete, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.domComplete() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn loadEventStart, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.loadEventStart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn loadEventEnd, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.loadEventEnd() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn msFirstPaint, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msFirstPaint() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn toString, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toString() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(string, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn toJSON, Impl: IHTMLPerformanceTiming_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvar: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toJSON() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvar, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - navigationStart: navigationStart::, - unloadEventStart: unloadEventStart::, - unloadEventEnd: unloadEventEnd::, - redirectStart: redirectStart::, - redirectEnd: redirectEnd::, - fetchStart: fetchStart::, - domainLookupStart: domainLookupStart::, - domainLookupEnd: domainLookupEnd::, - connectStart: connectStart::, - connectEnd: connectEnd::, - requestStart: requestStart::, - responseStart: responseStart::, - responseEnd: responseEnd::, - domLoading: domLoading::, - domInteractive: domInteractive::, - domContentLoadedEventStart: domContentLoadedEventStart::, - domContentLoadedEventEnd: domContentLoadedEventEnd::, - domComplete: domComplete::, - loadEventStart: loadEventStart::, - loadEventEnd: loadEventEnd::, - msFirstPaint: msFirstPaint::, - toString: toString::, - toJSON: toJSON::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -pub trait IHTMLPersistData_Impl: Sized { - fn save(&self, punk: &::core::option::Option<::windows::core::IUnknown>, ltype: i32) -> ::windows::core::Result; - fn load(&self, punk: &::core::option::Option<::windows::core::IUnknown>, ltype: i32) -> ::windows::core::Result; - fn queryType(&self, ltype: i32) -> ::windows::core::Result; -} -impl ::windows::core::RuntimeName for IHTMLPersistData {} -impl IHTMLPersistData_Vtbl { - pub const fn new, Impl: IHTMLPersistData_Impl, const OFFSET: isize>() -> IHTMLPersistData_Vtbl { - unsafe extern "system" fn save, Impl: IHTMLPersistData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, punk: *mut ::core::ffi::c_void, ltype: i32, fcontinuebroacast: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.save(::core::mem::transmute(&punk), ::core::mem::transmute_copy(<ype)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(fcontinuebroacast, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn load, Impl: IHTMLPersistData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, punk: *mut ::core::ffi::c_void, ltype: i32, fdodefault: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.load(::core::mem::transmute(&punk), ::core::mem::transmute_copy(<ype)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(fdodefault, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn queryType, Impl: IHTMLPersistData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ltype: i32, pfsupportstype: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryType(::core::mem::transmute_copy(<ype)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfsupportstype, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - save: save::, - load: load::, - queryType: queryType::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLPersistDataOM_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn XMLDocument(&self) -> ::windows::core::Result; - fn getAttribute(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn setAttribute(&self, name: &super::super::Foundation::BSTR, value: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn removeAttribute(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLPersistDataOM {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLPersistDataOM_Vtbl { - pub const fn new, Impl: IHTMLPersistDataOM_Impl, const OFFSET: isize>() -> IHTMLPersistDataOM_Vtbl { - unsafe extern "system" fn XMLDocument, Impl: IHTMLPersistDataOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.XMLDocument() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getAttribute, Impl: IHTMLPersistDataOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pvalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getAttribute(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvalue, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setAttribute, Impl: IHTMLPersistDataOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, value: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setAttribute(::core::mem::transmute(&name), ::core::mem::transmute(&value)).into() - } - unsafe extern "system" fn removeAttribute, Impl: IHTMLPersistDataOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.removeAttribute(::core::mem::transmute(&name)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - XMLDocument: XMLDocument::, - getAttribute: getAttribute::, - setAttribute: setAttribute::, - removeAttribute: removeAttribute::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLPhraseElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLPhraseElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLPhraseElement_Vtbl { - pub const fn new, Impl: IHTMLPhraseElement_Impl, const OFFSET: isize>() -> IHTMLPhraseElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLPhraseElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcite(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn cite(&self) -> ::windows::core::Result; - fn SetdateTime(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dateTime(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLPhraseElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLPhraseElement2_Vtbl { - pub const fn new, Impl: IHTMLPhraseElement2_Impl, const OFFSET: isize>() -> IHTMLPhraseElement2_Vtbl { - unsafe extern "system" fn Setcite, Impl: IHTMLPhraseElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcite(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cite, Impl: IHTMLPhraseElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cite() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdateTime, Impl: IHTMLPhraseElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdateTime(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dateTime, Impl: IHTMLPhraseElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dateTime() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcite: Setcite::, - cite: cite::, - SetdateTime: SetdateTime::, - dateTime: dateTime::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLPhraseElement3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcite(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn cite(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLPhraseElement3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLPhraseElement3_Vtbl { - pub const fn new, Impl: IHTMLPhraseElement3_Impl, const OFFSET: isize>() -> IHTMLPhraseElement3_Vtbl { - unsafe extern "system" fn Setcite, Impl: IHTMLPhraseElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcite(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cite, Impl: IHTMLPhraseElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cite() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcite: Setcite::, - cite: cite::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLPluginsCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn refresh(&self, reload: i16) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLPluginsCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLPluginsCollection_Vtbl { - pub const fn new, Impl: IHTMLPluginsCollection_Impl, const OFFSET: isize>() -> IHTMLPluginsCollection_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLPluginsCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn refresh, Impl: IHTMLPluginsCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, reload: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.refresh(::core::mem::transmute_copy(&reload)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - refresh: refresh::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLPopup_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn show(&self, x: i32, y: i32, w: i32, h: i32, pelement: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn hide(&self) -> ::windows::core::Result<()>; - fn document(&self) -> ::windows::core::Result; - fn isOpen(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLPopup {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLPopup_Vtbl { - pub const fn new, Impl: IHTMLPopup_Impl, const OFFSET: isize>() -> IHTMLPopup_Vtbl { - unsafe extern "system" fn show, Impl: IHTMLPopup_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: i32, y: i32, w: i32, h: i32, pelement: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.show(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y), ::core::mem::transmute_copy(&w), ::core::mem::transmute_copy(&h), ::core::mem::transmute_copy(&pelement)).into() - } - unsafe extern "system" fn hide, Impl: IHTMLPopup_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.hide().into() - } - unsafe extern "system" fn document, Impl: IHTMLPopup_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.document() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn isOpen, Impl: IHTMLPopup_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isOpen() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - show: show::, - hide: hide::, - document: document::, - isOpen: isOpen::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLProgressElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setvalue(&self, v: f32) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn Setmax(&self, v: f32) -> ::windows::core::Result<()>; - fn max(&self) -> ::windows::core::Result; - fn position(&self) -> ::windows::core::Result; - fn form(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLProgressElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLProgressElement_Vtbl { - pub const fn new, Impl: IHTMLProgressElement_Impl, const OFFSET: isize>() -> IHTMLProgressElement_Vtbl { - unsafe extern "system" fn Setvalue, Impl: IHTMLProgressElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLProgressElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setmax, Impl: IHTMLProgressElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmax(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn max, Impl: IHTMLProgressElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.max() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn position, Impl: IHTMLProgressElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.position() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn form, Impl: IHTMLProgressElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.form() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setvalue: Setvalue::, - value: value::, - Setmax: Setmax::, - max: max::, - position: position::, - form: form::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLRect_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setleft(&self, v: i32) -> ::windows::core::Result<()>; - fn left(&self) -> ::windows::core::Result; - fn Settop(&self, v: i32) -> ::windows::core::Result<()>; - fn top(&self) -> ::windows::core::Result; - fn Setright(&self, v: i32) -> ::windows::core::Result<()>; - fn right(&self) -> ::windows::core::Result; - fn Setbottom(&self, v: i32) -> ::windows::core::Result<()>; - fn bottom(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLRect {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLRect_Vtbl { - pub const fn new, Impl: IHTMLRect_Impl, const OFFSET: isize>() -> IHTMLRect_Vtbl { - unsafe extern "system" fn Setleft, Impl: IHTMLRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setleft(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn left, Impl: IHTMLRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.left() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settop, Impl: IHTMLRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settop(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn top, Impl: IHTMLRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.top() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setright, Impl: IHTMLRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setright(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn right, Impl: IHTMLRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.right() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setbottom, Impl: IHTMLRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setbottom(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn bottom, Impl: IHTMLRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setleft: Setleft::, - left: left::, - Settop: Settop::, - top: top::, - Setright: Setright::, - right: right::, - Setbottom: Setbottom::, - bottom: bottom::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLRect2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn width(&self) -> ::windows::core::Result; - fn height(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLRect2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLRect2_Vtbl { - pub const fn new, Impl: IHTMLRect2_Impl, const OFFSET: isize>() -> IHTMLRect2_Vtbl { - unsafe extern "system" fn width, Impl: IHTMLRect2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn height, Impl: IHTMLRect2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - width: width::, - height: height::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLRectCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLRectCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLRectCollection_Vtbl { - pub const fn new, Impl: IHTMLRectCollection_Impl, const OFFSET: isize>() -> IHTMLRectCollection_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLRectCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn _newEnum, Impl: IHTMLRectCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this._newEnum() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLRectCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarindex: *const super::super::System::Com::VARIANT, pvarresult: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&pvarindex)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvarresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - _newEnum: _newEnum::, - item: item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLRenderStyle_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SettextLineThroughStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textLineThroughStyle(&self) -> ::windows::core::Result; - fn SettextUnderlineStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textUnderlineStyle(&self) -> ::windows::core::Result; - fn SettextEffect(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textEffect(&self) -> ::windows::core::Result; - fn SettextColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn textColor(&self) -> ::windows::core::Result; - fn SettextBackgroundColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn textBackgroundColor(&self) -> ::windows::core::Result; - fn SettextDecorationColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn textDecorationColor(&self) -> ::windows::core::Result; - fn SetrenderingPriority(&self, v: i32) -> ::windows::core::Result<()>; - fn renderingPriority(&self) -> ::windows::core::Result; - fn SetdefaultTextSelection(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn defaultTextSelection(&self) -> ::windows::core::Result; - fn SettextDecoration(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textDecoration(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLRenderStyle {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLRenderStyle_Vtbl { - pub const fn new, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>() -> IHTMLRenderStyle_Vtbl { - unsafe extern "system" fn SettextLineThroughStyle, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextLineThroughStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textLineThroughStyle, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textLineThroughStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextUnderlineStyle, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextUnderlineStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textUnderlineStyle, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textUnderlineStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextEffect, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextEffect(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textEffect, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textEffect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextColor, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textColor, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextBackgroundColor, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextBackgroundColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textBackgroundColor, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textBackgroundColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextDecorationColor, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextDecorationColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textDecorationColor, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textDecorationColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetrenderingPriority, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetrenderingPriority(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn renderingPriority, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.renderingPriority() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdefaultTextSelection, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdefaultTextSelection(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn defaultTextSelection, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.defaultTextSelection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextDecoration, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextDecoration(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textDecoration, Impl: IHTMLRenderStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textDecoration() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SettextLineThroughStyle: SettextLineThroughStyle::, - textLineThroughStyle: textLineThroughStyle::, - SettextUnderlineStyle: SettextUnderlineStyle::, - textUnderlineStyle: textUnderlineStyle::, - SettextEffect: SettextEffect::, - textEffect: textEffect::, - SettextColor: SettextColor::, - textColor: textColor::, - SettextBackgroundColor: SettextBackgroundColor::, - textBackgroundColor: textBackgroundColor::, - SettextDecorationColor: SettextDecorationColor::, - textDecorationColor: textDecorationColor::, - SetrenderingPriority: SetrenderingPriority::, - renderingPriority: renderingPriority::, - SetdefaultTextSelection: SetdefaultTextSelection::, - defaultTextSelection: defaultTextSelection::, - SettextDecoration: SettextDecoration::, - textDecoration: textDecoration::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLRuleStyle_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetfontFamily(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn fontFamily(&self) -> ::windows::core::Result; - fn SetfontStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn fontStyle(&self) -> ::windows::core::Result; - fn SetfontVariant(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn fontVariant(&self) -> ::windows::core::Result; - fn SetfontWeight(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn fontWeight(&self) -> ::windows::core::Result; - fn SetfontSize(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn fontSize(&self) -> ::windows::core::Result; - fn Setfont(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn font(&self) -> ::windows::core::Result; - fn Setcolor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn color(&self) -> ::windows::core::Result; - fn Setbackground(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn background(&self) -> ::windows::core::Result; - fn SetbackgroundColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn backgroundColor(&self) -> ::windows::core::Result; - fn SetbackgroundImage(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn backgroundImage(&self) -> ::windows::core::Result; - fn SetbackgroundRepeat(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn backgroundRepeat(&self) -> ::windows::core::Result; - fn SetbackgroundAttachment(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn backgroundAttachment(&self) -> ::windows::core::Result; - fn SetbackgroundPosition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn backgroundPosition(&self) -> ::windows::core::Result; - fn SetbackgroundPositionX(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn backgroundPositionX(&self) -> ::windows::core::Result; - fn SetbackgroundPositionY(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn backgroundPositionY(&self) -> ::windows::core::Result; - fn SetwordSpacing(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn wordSpacing(&self) -> ::windows::core::Result; - fn SetletterSpacing(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn letterSpacing(&self) -> ::windows::core::Result; - fn SettextDecoration(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textDecoration(&self) -> ::windows::core::Result; - fn SettextDecorationNone(&self, v: i16) -> ::windows::core::Result<()>; - fn textDecorationNone(&self) -> ::windows::core::Result; - fn SettextDecorationUnderline(&self, v: i16) -> ::windows::core::Result<()>; - fn textDecorationUnderline(&self) -> ::windows::core::Result; - fn SettextDecorationOverline(&self, v: i16) -> ::windows::core::Result<()>; - fn textDecorationOverline(&self) -> ::windows::core::Result; - fn SettextDecorationLineThrough(&self, v: i16) -> ::windows::core::Result<()>; - fn textDecorationLineThrough(&self) -> ::windows::core::Result; - fn SettextDecorationBlink(&self, v: i16) -> ::windows::core::Result<()>; - fn textDecorationBlink(&self) -> ::windows::core::Result; - fn SetverticalAlign(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn verticalAlign(&self) -> ::windows::core::Result; - fn SettextTransform(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textTransform(&self) -> ::windows::core::Result; - fn SettextAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textAlign(&self) -> ::windows::core::Result; - fn SettextIndent(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn textIndent(&self) -> ::windows::core::Result; - fn SetlineHeight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn lineHeight(&self) -> ::windows::core::Result; - fn SetmarginTop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn marginTop(&self) -> ::windows::core::Result; - fn SetmarginRight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn marginRight(&self) -> ::windows::core::Result; - fn SetmarginBottom(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn marginBottom(&self) -> ::windows::core::Result; - fn SetmarginLeft(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn marginLeft(&self) -> ::windows::core::Result; - fn Setmargin(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn margin(&self) -> ::windows::core::Result; - fn SetpaddingTop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn paddingTop(&self) -> ::windows::core::Result; - fn SetpaddingRight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn paddingRight(&self) -> ::windows::core::Result; - fn SetpaddingBottom(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn paddingBottom(&self) -> ::windows::core::Result; - fn SetpaddingLeft(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn paddingLeft(&self) -> ::windows::core::Result; - fn Setpadding(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn padding(&self) -> ::windows::core::Result; - fn Setborder(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn border(&self) -> ::windows::core::Result; - fn SetborderTop(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderTop(&self) -> ::windows::core::Result; - fn SetborderRight(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderRight(&self) -> ::windows::core::Result; - fn SetborderBottom(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderBottom(&self) -> ::windows::core::Result; - fn SetborderLeft(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderLeft(&self) -> ::windows::core::Result; - fn SetborderColor(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderColor(&self) -> ::windows::core::Result; - fn SetborderTopColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderTopColor(&self) -> ::windows::core::Result; - fn SetborderRightColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderRightColor(&self) -> ::windows::core::Result; - fn SetborderBottomColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderBottomColor(&self) -> ::windows::core::Result; - fn SetborderLeftColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderLeftColor(&self) -> ::windows::core::Result; - fn SetborderWidth(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderWidth(&self) -> ::windows::core::Result; - fn SetborderTopWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderTopWidth(&self) -> ::windows::core::Result; - fn SetborderRightWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderRightWidth(&self) -> ::windows::core::Result; - fn SetborderBottomWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderBottomWidth(&self) -> ::windows::core::Result; - fn SetborderLeftWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderLeftWidth(&self) -> ::windows::core::Result; - fn SetborderStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderStyle(&self) -> ::windows::core::Result; - fn SetborderTopStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderTopStyle(&self) -> ::windows::core::Result; - fn SetborderRightStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderRightStyle(&self) -> ::windows::core::Result; - fn SetborderBottomStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderBottomStyle(&self) -> ::windows::core::Result; - fn SetborderLeftStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderLeftStyle(&self) -> ::windows::core::Result; - fn Setwidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn Setheight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; - fn SetstyleFloat(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn styleFloat(&self) -> ::windows::core::Result; - fn Setclear(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn clear(&self) -> ::windows::core::Result; - fn Setdisplay(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn display(&self) -> ::windows::core::Result; - fn Setvisibility(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn visibility(&self) -> ::windows::core::Result; - fn SetlistStyleType(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn listStyleType(&self) -> ::windows::core::Result; - fn SetlistStylePosition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn listStylePosition(&self) -> ::windows::core::Result; - fn SetlistStyleImage(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn listStyleImage(&self) -> ::windows::core::Result; - fn SetlistStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn listStyle(&self) -> ::windows::core::Result; - fn SetwhiteSpace(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn whiteSpace(&self) -> ::windows::core::Result; - fn Settop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn top(&self) -> ::windows::core::Result; - fn Setleft(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn left(&self) -> ::windows::core::Result; - fn position(&self) -> ::windows::core::Result; - fn SetzIndex(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn zIndex(&self) -> ::windows::core::Result; - fn Setoverflow(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn overflow(&self) -> ::windows::core::Result; - fn SetpageBreakBefore(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn pageBreakBefore(&self) -> ::windows::core::Result; - fn SetpageBreakAfter(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn pageBreakAfter(&self) -> ::windows::core::Result; - fn SetcssText(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn cssText(&self) -> ::windows::core::Result; - fn Setcursor(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn cursor(&self) -> ::windows::core::Result; - fn Setclip(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn clip(&self) -> ::windows::core::Result; - fn Setfilter(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn filter(&self) -> ::windows::core::Result; - fn setAttribute(&self, strattributename: &super::super::Foundation::BSTR, attributevalue: &super::super::System::Com::VARIANT, lflags: i32) -> ::windows::core::Result<()>; - fn getAttribute(&self, strattributename: &super::super::Foundation::BSTR, lflags: i32) -> ::windows::core::Result; - fn removeAttribute(&self, strattributename: &super::super::Foundation::BSTR, lflags: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLRuleStyle {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLRuleStyle_Vtbl { - pub const fn new, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>() -> IHTMLRuleStyle_Vtbl { - unsafe extern "system" fn SetfontFamily, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontFamily(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontFamily, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontFamily() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfontStyle, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontStyle, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfontVariant, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontVariant(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontVariant, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontVariant() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfontWeight, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontWeight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontWeight, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontWeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfontSize, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontSize(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontSize, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontSize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setfont, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setfont(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn font, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.font() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcolor, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcolor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn color, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.color() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setbackground, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setbackground(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn background, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.background() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundColor, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundColor, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundImage, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundImage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundImage, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundImage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundRepeat, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundRepeat(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundRepeat, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundRepeat() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundAttachment, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundAttachment(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundAttachment, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundAttachment() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundPosition, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundPosition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundPosition, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundPosition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundPositionX, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundPositionX(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundPositionX, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundPositionX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundPositionY, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundPositionY(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundPositionY, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundPositionY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwordSpacing, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwordSpacing(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn wordSpacing, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.wordSpacing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetletterSpacing, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetletterSpacing(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn letterSpacing, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.letterSpacing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextDecoration, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextDecoration(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textDecoration, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textDecoration() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextDecorationNone, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextDecorationNone(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn textDecorationNone, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textDecorationNone() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextDecorationUnderline, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextDecorationUnderline(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn textDecorationUnderline, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textDecorationUnderline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextDecorationOverline, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextDecorationOverline(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn textDecorationOverline, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textDecorationOverline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextDecorationLineThrough, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextDecorationLineThrough(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn textDecorationLineThrough, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textDecorationLineThrough() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextDecorationBlink, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextDecorationBlink(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn textDecorationBlink, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textDecorationBlink() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetverticalAlign, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetverticalAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn verticalAlign, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.verticalAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextTransform, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextTransform(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textTransform, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textTransform() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextAlign, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textAlign, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextIndent, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextIndent(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textIndent, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textIndent() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlineHeight, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlineHeight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn lineHeight, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lineHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginTop, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginTop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn marginTop, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginRight, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginRight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn marginRight, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginBottom, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginBottom(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn marginBottom, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginLeft, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginLeft(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn marginLeft, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setmargin, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmargin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn margin, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.margin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpaddingTop, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpaddingTop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn paddingTop, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.paddingTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpaddingRight, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpaddingRight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn paddingRight, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.paddingRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpaddingBottom, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpaddingBottom(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn paddingBottom, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.paddingBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpaddingLeft, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpaddingLeft(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn paddingLeft, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.paddingLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setpadding, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setpadding(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn padding, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.padding() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setborder, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setborder(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn border, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.border() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderTop, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderTop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderTop, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderRight, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderRight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderRight, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderBottom, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderBottom(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderBottom, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderLeft, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderLeft(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderLeft, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderColor, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderColor, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderTopColor, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderTopColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderTopColor, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderTopColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderRightColor, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderRightColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderRightColor, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderRightColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderBottomColor, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderBottomColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderBottomColor, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderBottomColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderLeftColor, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderLeftColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderLeftColor, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderLeftColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderWidth, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderWidth, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderTopWidth, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderTopWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderTopWidth, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderTopWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderRightWidth, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderRightWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderRightWidth, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderRightWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderBottomWidth, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderBottomWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderBottomWidth, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderBottomWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderLeftWidth, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderLeftWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderLeftWidth, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderLeftWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderStyle, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderStyle, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderTopStyle, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderTopStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderTopStyle, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderTopStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderRightStyle, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderRightStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderRightStyle, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderRightStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderBottomStyle, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderBottomStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderBottomStyle, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderBottomStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderLeftStyle, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderLeftStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderLeftStyle, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderLeftStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidth, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setheight, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn height, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetstyleFloat, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetstyleFloat(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn styleFloat, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.styleFloat() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setclear, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setclear(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn clear, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clear() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdisplay, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisplay(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn display, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.display() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvisibility, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvisibility(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn visibility, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.visibility() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlistStyleType, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlistStyleType(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn listStyleType, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.listStyleType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlistStylePosition, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlistStylePosition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn listStylePosition, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.listStylePosition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlistStyleImage, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlistStyleImage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn listStyleImage, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.listStyleImage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlistStyle, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlistStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn listStyle, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.listStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwhiteSpace, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwhiteSpace(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn whiteSpace, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.whiteSpace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settop, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn top, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.top() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setleft, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setleft(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn left, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.left() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn position, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.position() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetzIndex, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetzIndex(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn zIndex, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.zIndex() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoverflow, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoverflow(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn overflow, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.overflow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpageBreakBefore, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpageBreakBefore(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn pageBreakBefore, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageBreakBefore() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpageBreakAfter, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpageBreakAfter(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn pageBreakAfter, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageBreakAfter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcssText, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcssText(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cssText, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cssText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcursor, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcursor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cursor, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cursor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setclip, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setclip(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn clip, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clip() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setfilter, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setfilter(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn filter, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.filter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setAttribute, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, attributevalue: ::core::mem::ManuallyDrop, lflags: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setAttribute(::core::mem::transmute(&strattributename), ::core::mem::transmute(&attributevalue), ::core::mem::transmute_copy(&lflags)).into() - } - unsafe extern "system" fn getAttribute, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, attributevalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getAttribute(::core::mem::transmute(&strattributename), ::core::mem::transmute_copy(&lflags)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(attributevalue, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeAttribute, Impl: IHTMLRuleStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, pfsuccess: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeAttribute(::core::mem::transmute(&strattributename), ::core::mem::transmute_copy(&lflags)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfsuccess, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetfontFamily: SetfontFamily::, - fontFamily: fontFamily::, - SetfontStyle: SetfontStyle::, - fontStyle: fontStyle::, - SetfontVariant: SetfontVariant::, - fontVariant: fontVariant::, - SetfontWeight: SetfontWeight::, - fontWeight: fontWeight::, - SetfontSize: SetfontSize::, - fontSize: fontSize::, - Setfont: Setfont::, - font: font::, - Setcolor: Setcolor::, - color: color::, - Setbackground: Setbackground::, - background: background::, - SetbackgroundColor: SetbackgroundColor::, - backgroundColor: backgroundColor::, - SetbackgroundImage: SetbackgroundImage::, - backgroundImage: backgroundImage::, - SetbackgroundRepeat: SetbackgroundRepeat::, - backgroundRepeat: backgroundRepeat::, - SetbackgroundAttachment: SetbackgroundAttachment::, - backgroundAttachment: backgroundAttachment::, - SetbackgroundPosition: SetbackgroundPosition::, - backgroundPosition: backgroundPosition::, - SetbackgroundPositionX: SetbackgroundPositionX::, - backgroundPositionX: backgroundPositionX::, - SetbackgroundPositionY: SetbackgroundPositionY::, - backgroundPositionY: backgroundPositionY::, - SetwordSpacing: SetwordSpacing::, - wordSpacing: wordSpacing::, - SetletterSpacing: SetletterSpacing::, - letterSpacing: letterSpacing::, - SettextDecoration: SettextDecoration::, - textDecoration: textDecoration::, - SettextDecorationNone: SettextDecorationNone::, - textDecorationNone: textDecorationNone::, - SettextDecorationUnderline: SettextDecorationUnderline::, - textDecorationUnderline: textDecorationUnderline::, - SettextDecorationOverline: SettextDecorationOverline::, - textDecorationOverline: textDecorationOverline::, - SettextDecorationLineThrough: SettextDecorationLineThrough::, - textDecorationLineThrough: textDecorationLineThrough::, - SettextDecorationBlink: SettextDecorationBlink::, - textDecorationBlink: textDecorationBlink::, - SetverticalAlign: SetverticalAlign::, - verticalAlign: verticalAlign::, - SettextTransform: SettextTransform::, - textTransform: textTransform::, - SettextAlign: SettextAlign::, - textAlign: textAlign::, - SettextIndent: SettextIndent::, - textIndent: textIndent::, - SetlineHeight: SetlineHeight::, - lineHeight: lineHeight::, - SetmarginTop: SetmarginTop::, - marginTop: marginTop::, - SetmarginRight: SetmarginRight::, - marginRight: marginRight::, - SetmarginBottom: SetmarginBottom::, - marginBottom: marginBottom::, - SetmarginLeft: SetmarginLeft::, - marginLeft: marginLeft::, - Setmargin: Setmargin::, - margin: margin::, - SetpaddingTop: SetpaddingTop::, - paddingTop: paddingTop::, - SetpaddingRight: SetpaddingRight::, - paddingRight: paddingRight::, - SetpaddingBottom: SetpaddingBottom::, - paddingBottom: paddingBottom::, - SetpaddingLeft: SetpaddingLeft::, - paddingLeft: paddingLeft::, - Setpadding: Setpadding::, - padding: padding::, - Setborder: Setborder::, - border: border::, - SetborderTop: SetborderTop::, - borderTop: borderTop::, - SetborderRight: SetborderRight::, - borderRight: borderRight::, - SetborderBottom: SetborderBottom::, - borderBottom: borderBottom::, - SetborderLeft: SetborderLeft::, - borderLeft: borderLeft::, - SetborderColor: SetborderColor::, - borderColor: borderColor::, - SetborderTopColor: SetborderTopColor::, - borderTopColor: borderTopColor::, - SetborderRightColor: SetborderRightColor::, - borderRightColor: borderRightColor::, - SetborderBottomColor: SetborderBottomColor::, - borderBottomColor: borderBottomColor::, - SetborderLeftColor: SetborderLeftColor::, - borderLeftColor: borderLeftColor::, - SetborderWidth: SetborderWidth::, - borderWidth: borderWidth::, - SetborderTopWidth: SetborderTopWidth::, - borderTopWidth: borderTopWidth::, - SetborderRightWidth: SetborderRightWidth::, - borderRightWidth: borderRightWidth::, - SetborderBottomWidth: SetborderBottomWidth::, - borderBottomWidth: borderBottomWidth::, - SetborderLeftWidth: SetborderLeftWidth::, - borderLeftWidth: borderLeftWidth::, - SetborderStyle: SetborderStyle::, - borderStyle: borderStyle::, - SetborderTopStyle: SetborderTopStyle::, - borderTopStyle: borderTopStyle::, - SetborderRightStyle: SetborderRightStyle::, - borderRightStyle: borderRightStyle::, - SetborderBottomStyle: SetborderBottomStyle::, - borderBottomStyle: borderBottomStyle::, - SetborderLeftStyle: SetborderLeftStyle::, - borderLeftStyle: borderLeftStyle::, - Setwidth: Setwidth::, - width: width::, - Setheight: Setheight::, - height: height::, - SetstyleFloat: SetstyleFloat::, - styleFloat: styleFloat::, - Setclear: Setclear::, - clear: clear::, - Setdisplay: Setdisplay::, - display: display::, - Setvisibility: Setvisibility::, - visibility: visibility::, - SetlistStyleType: SetlistStyleType::, - listStyleType: listStyleType::, - SetlistStylePosition: SetlistStylePosition::, - listStylePosition: listStylePosition::, - SetlistStyleImage: SetlistStyleImage::, - listStyleImage: listStyleImage::, - SetlistStyle: SetlistStyle::, - listStyle: listStyle::, - SetwhiteSpace: SetwhiteSpace::, - whiteSpace: whiteSpace::, - Settop: Settop::, - top: top::, - Setleft: Setleft::, - left: left::, - position: position::, - SetzIndex: SetzIndex::, - zIndex: zIndex::, - Setoverflow: Setoverflow::, - overflow: overflow::, - SetpageBreakBefore: SetpageBreakBefore::, - pageBreakBefore: pageBreakBefore::, - SetpageBreakAfter: SetpageBreakAfter::, - pageBreakAfter: pageBreakAfter::, - SetcssText: SetcssText::, - cssText: cssText::, - Setcursor: Setcursor::, - cursor: cursor::, - Setclip: Setclip::, - clip: clip::, - Setfilter: Setfilter::, - filter: filter::, - setAttribute: setAttribute::, - getAttribute: getAttribute::, - removeAttribute: removeAttribute::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLRuleStyle2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SettableLayout(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn tableLayout(&self) -> ::windows::core::Result; - fn SetborderCollapse(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderCollapse(&self) -> ::windows::core::Result; - fn Setdirection(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn direction(&self) -> ::windows::core::Result; - fn Setbehavior(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn behavior(&self) -> ::windows::core::Result; - fn Setposition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn position(&self) -> ::windows::core::Result; - fn SetunicodeBidi(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn unicodeBidi(&self) -> ::windows::core::Result; - fn Setbottom(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn bottom(&self) -> ::windows::core::Result; - fn Setright(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn right(&self) -> ::windows::core::Result; - fn SetpixelBottom(&self, v: i32) -> ::windows::core::Result<()>; - fn pixelBottom(&self) -> ::windows::core::Result; - fn SetpixelRight(&self, v: i32) -> ::windows::core::Result<()>; - fn pixelRight(&self) -> ::windows::core::Result; - fn SetposBottom(&self, v: f32) -> ::windows::core::Result<()>; - fn posBottom(&self) -> ::windows::core::Result; - fn SetposRight(&self, v: f32) -> ::windows::core::Result<()>; - fn posRight(&self) -> ::windows::core::Result; - fn SetimeMode(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn imeMode(&self) -> ::windows::core::Result; - fn SetrubyAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn rubyAlign(&self) -> ::windows::core::Result; - fn SetrubyPosition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn rubyPosition(&self) -> ::windows::core::Result; - fn SetrubyOverhang(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn rubyOverhang(&self) -> ::windows::core::Result; - fn SetlayoutGridChar(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn layoutGridChar(&self) -> ::windows::core::Result; - fn SetlayoutGridLine(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn layoutGridLine(&self) -> ::windows::core::Result; - fn SetlayoutGridMode(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn layoutGridMode(&self) -> ::windows::core::Result; - fn SetlayoutGridType(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn layoutGridType(&self) -> ::windows::core::Result; - fn SetlayoutGrid(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn layoutGrid(&self) -> ::windows::core::Result; - fn SettextAutospace(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textAutospace(&self) -> ::windows::core::Result; - fn SetwordBreak(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn wordBreak(&self) -> ::windows::core::Result; - fn SetlineBreak(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn lineBreak(&self) -> ::windows::core::Result; - fn SettextJustify(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textJustify(&self) -> ::windows::core::Result; - fn SettextJustifyTrim(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textJustifyTrim(&self) -> ::windows::core::Result; - fn SettextKashida(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn textKashida(&self) -> ::windows::core::Result; - fn SetoverflowX(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn overflowX(&self) -> ::windows::core::Result; - fn SetoverflowY(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn overflowY(&self) -> ::windows::core::Result; - fn Setaccelerator(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn accelerator(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLRuleStyle2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLRuleStyle2_Vtbl { - pub const fn new, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>() -> IHTMLRuleStyle2_Vtbl { - unsafe extern "system" fn SettableLayout, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettableLayout(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn tableLayout, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tableLayout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderCollapse, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderCollapse(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderCollapse, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderCollapse() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdirection, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdirection(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn direction, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.direction() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setbehavior, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setbehavior(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn behavior, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.behavior() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setposition, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setposition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn position, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.position() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetunicodeBidi, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetunicodeBidi(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn unicodeBidi, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.unicodeBidi() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setbottom, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setbottom(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn bottom, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setright, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setright(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn right, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.right() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpixelBottom, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpixelBottom(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn pixelBottom, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pixelBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpixelRight, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpixelRight(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn pixelRight, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pixelRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetposBottom, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetposBottom(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn posBottom, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.posBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetposRight, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetposRight(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn posRight, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.posRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetimeMode, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetimeMode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn imeMode, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.imeMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetrubyAlign, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetrubyAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rubyAlign, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rubyAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetrubyPosition, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetrubyPosition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rubyPosition, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rubyPosition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetrubyOverhang, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetrubyOverhang(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rubyOverhang, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rubyOverhang() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlayoutGridChar, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutGridChar(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutGridChar, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGridChar() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlayoutGridLine, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutGridLine(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutGridLine, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGridLine() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlayoutGridMode, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutGridMode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutGridMode, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGridMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlayoutGridType, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutGridType(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutGridType, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGridType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlayoutGrid, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutGrid(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutGrid, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGrid() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextAutospace, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextAutospace(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textAutospace, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textAutospace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwordBreak, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwordBreak(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn wordBreak, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.wordBreak() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlineBreak, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlineBreak(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn lineBreak, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lineBreak() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextJustify, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextJustify(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textJustify, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textJustify() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextJustifyTrim, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextJustifyTrim(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textJustifyTrim, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textJustifyTrim() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextKashida, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextKashida(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textKashida, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textKashida() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetoverflowX, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoverflowX(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn overflowX, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.overflowX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetoverflowY, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoverflowY(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn overflowY, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.overflowY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setaccelerator, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setaccelerator(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn accelerator, Impl: IHTMLRuleStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.accelerator() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SettableLayout: SettableLayout::, - tableLayout: tableLayout::, - SetborderCollapse: SetborderCollapse::, - borderCollapse: borderCollapse::, - Setdirection: Setdirection::, - direction: direction::, - Setbehavior: Setbehavior::, - behavior: behavior::, - Setposition: Setposition::, - position: position::, - SetunicodeBidi: SetunicodeBidi::, - unicodeBidi: unicodeBidi::, - Setbottom: Setbottom::, - bottom: bottom::, - Setright: Setright::, - right: right::, - SetpixelBottom: SetpixelBottom::, - pixelBottom: pixelBottom::, - SetpixelRight: SetpixelRight::, - pixelRight: pixelRight::, - SetposBottom: SetposBottom::, - posBottom: posBottom::, - SetposRight: SetposRight::, - posRight: posRight::, - SetimeMode: SetimeMode::, - imeMode: imeMode::, - SetrubyAlign: SetrubyAlign::, - rubyAlign: rubyAlign::, - SetrubyPosition: SetrubyPosition::, - rubyPosition: rubyPosition::, - SetrubyOverhang: SetrubyOverhang::, - rubyOverhang: rubyOverhang::, - SetlayoutGridChar: SetlayoutGridChar::, - layoutGridChar: layoutGridChar::, - SetlayoutGridLine: SetlayoutGridLine::, - layoutGridLine: layoutGridLine::, - SetlayoutGridMode: SetlayoutGridMode::, - layoutGridMode: layoutGridMode::, - SetlayoutGridType: SetlayoutGridType::, - layoutGridType: layoutGridType::, - SetlayoutGrid: SetlayoutGrid::, - layoutGrid: layoutGrid::, - SettextAutospace: SettextAutospace::, - textAutospace: textAutospace::, - SetwordBreak: SetwordBreak::, - wordBreak: wordBreak::, - SetlineBreak: SetlineBreak::, - lineBreak: lineBreak::, - SettextJustify: SettextJustify::, - textJustify: textJustify::, - SettextJustifyTrim: SettextJustifyTrim::, - textJustifyTrim: textJustifyTrim::, - SettextKashida: SettextKashida::, - textKashida: textKashida::, - SetoverflowX: SetoverflowX::, - overflowX: overflowX::, - SetoverflowY: SetoverflowY::, - overflowY: overflowY::, - Setaccelerator: Setaccelerator::, - accelerator: accelerator::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLRuleStyle3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetlayoutFlow(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn layoutFlow(&self) -> ::windows::core::Result; - fn Setzoom(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn zoom(&self) -> ::windows::core::Result; - fn SetwordWrap(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn wordWrap(&self) -> ::windows::core::Result; - fn SettextUnderlinePosition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textUnderlinePosition(&self) -> ::windows::core::Result; - fn SetscrollbarBaseColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarBaseColor(&self) -> ::windows::core::Result; - fn SetscrollbarFaceColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarFaceColor(&self) -> ::windows::core::Result; - fn Setscrollbar3dLightColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbar3dLightColor(&self) -> ::windows::core::Result; - fn SetscrollbarShadowColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarShadowColor(&self) -> ::windows::core::Result; - fn SetscrollbarHighlightColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarHighlightColor(&self) -> ::windows::core::Result; - fn SetscrollbarDarkShadowColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarDarkShadowColor(&self) -> ::windows::core::Result; - fn SetscrollbarArrowColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarArrowColor(&self) -> ::windows::core::Result; - fn SetscrollbarTrackColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarTrackColor(&self) -> ::windows::core::Result; - fn SetwritingMode(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn writingMode(&self) -> ::windows::core::Result; - fn SettextAlignLast(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textAlignLast(&self) -> ::windows::core::Result; - fn SettextKashidaSpace(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn textKashidaSpace(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLRuleStyle3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLRuleStyle3_Vtbl { - pub const fn new, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>() -> IHTMLRuleStyle3_Vtbl { - unsafe extern "system" fn SetlayoutFlow, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutFlow(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutFlow, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutFlow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setzoom, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setzoom(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn zoom, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.zoom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwordWrap, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwordWrap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn wordWrap, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.wordWrap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextUnderlinePosition, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextUnderlinePosition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textUnderlinePosition, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textUnderlinePosition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarBaseColor, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarBaseColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarBaseColor, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarBaseColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarFaceColor, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarFaceColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarFaceColor, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarFaceColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setscrollbar3dLightColor, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setscrollbar3dLightColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbar3dLightColor, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbar3dLightColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarShadowColor, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarShadowColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarShadowColor, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarShadowColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarHighlightColor, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarHighlightColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarHighlightColor, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarHighlightColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarDarkShadowColor, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarDarkShadowColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarDarkShadowColor, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarDarkShadowColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarArrowColor, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarArrowColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarArrowColor, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarArrowColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarTrackColor, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarTrackColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarTrackColor, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarTrackColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwritingMode, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwritingMode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn writingMode, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.writingMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextAlignLast, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextAlignLast(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textAlignLast, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textAlignLast() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextKashidaSpace, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextKashidaSpace(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textKashidaSpace, Impl: IHTMLRuleStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textKashidaSpace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetlayoutFlow: SetlayoutFlow::, - layoutFlow: layoutFlow::, - Setzoom: Setzoom::, - zoom: zoom::, - SetwordWrap: SetwordWrap::, - wordWrap: wordWrap::, - SettextUnderlinePosition: SettextUnderlinePosition::, - textUnderlinePosition: textUnderlinePosition::, - SetscrollbarBaseColor: SetscrollbarBaseColor::, - scrollbarBaseColor: scrollbarBaseColor::, - SetscrollbarFaceColor: SetscrollbarFaceColor::, - scrollbarFaceColor: scrollbarFaceColor::, - Setscrollbar3dLightColor: Setscrollbar3dLightColor::, - scrollbar3dLightColor: scrollbar3dLightColor::, - SetscrollbarShadowColor: SetscrollbarShadowColor::, - scrollbarShadowColor: scrollbarShadowColor::, - SetscrollbarHighlightColor: SetscrollbarHighlightColor::, - scrollbarHighlightColor: scrollbarHighlightColor::, - SetscrollbarDarkShadowColor: SetscrollbarDarkShadowColor::, - scrollbarDarkShadowColor: scrollbarDarkShadowColor::, - SetscrollbarArrowColor: SetscrollbarArrowColor::, - scrollbarArrowColor: scrollbarArrowColor::, - SetscrollbarTrackColor: SetscrollbarTrackColor::, - scrollbarTrackColor: scrollbarTrackColor::, - SetwritingMode: SetwritingMode::, - writingMode: writingMode::, - SettextAlignLast: SettextAlignLast::, - textAlignLast: textAlignLast::, - SettextKashidaSpace: SettextKashidaSpace::, - textKashidaSpace: textKashidaSpace::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLRuleStyle4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SettextOverflow(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textOverflow(&self) -> ::windows::core::Result; - fn SetminHeight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn minHeight(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLRuleStyle4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLRuleStyle4_Vtbl { - pub const fn new, Impl: IHTMLRuleStyle4_Impl, const OFFSET: isize>() -> IHTMLRuleStyle4_Vtbl { - unsafe extern "system" fn SettextOverflow, Impl: IHTMLRuleStyle4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextOverflow(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textOverflow, Impl: IHTMLRuleStyle4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textOverflow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetminHeight, Impl: IHTMLRuleStyle4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetminHeight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn minHeight, Impl: IHTMLRuleStyle4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.minHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SettextOverflow: SettextOverflow::, - textOverflow: textOverflow::, - SetminHeight: SetminHeight::, - minHeight: minHeight::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLRuleStyle5_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetmsInterpolationMode(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msInterpolationMode(&self) -> ::windows::core::Result; - fn SetmaxHeight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn maxHeight(&self) -> ::windows::core::Result; - fn SetminWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn minWidth(&self) -> ::windows::core::Result; - fn SetmaxWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn maxWidth(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLRuleStyle5 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLRuleStyle5_Vtbl { - pub const fn new, Impl: IHTMLRuleStyle5_Impl, const OFFSET: isize>() -> IHTMLRuleStyle5_Vtbl { - unsafe extern "system" fn SetmsInterpolationMode, Impl: IHTMLRuleStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsInterpolationMode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msInterpolationMode, Impl: IHTMLRuleStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msInterpolationMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmaxHeight, Impl: IHTMLRuleStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmaxHeight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn maxHeight, Impl: IHTMLRuleStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.maxHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetminWidth, Impl: IHTMLRuleStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetminWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn minWidth, Impl: IHTMLRuleStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.minWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmaxWidth, Impl: IHTMLRuleStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmaxWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn maxWidth, Impl: IHTMLRuleStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.maxWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetmsInterpolationMode: SetmsInterpolationMode::, - msInterpolationMode: msInterpolationMode::, - SetmaxHeight: SetmaxHeight::, - maxHeight: maxHeight::, - SetminWidth: SetminWidth::, - minWidth: minWidth::, - SetmaxWidth: SetmaxWidth::, - maxWidth: maxWidth::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLRuleStyle6_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcontent(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn content(&self) -> ::windows::core::Result; - fn SetcaptionSide(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn captionSide(&self) -> ::windows::core::Result; - fn SetcounterIncrement(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn counterIncrement(&self) -> ::windows::core::Result; - fn SetcounterReset(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn counterReset(&self) -> ::windows::core::Result; - fn Setoutline(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn outline(&self) -> ::windows::core::Result; - fn SetoutlineWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn outlineWidth(&self) -> ::windows::core::Result; - fn SetoutlineStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn outlineStyle(&self) -> ::windows::core::Result; - fn SetoutlineColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn outlineColor(&self) -> ::windows::core::Result; - fn SetboxSizing(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn boxSizing(&self) -> ::windows::core::Result; - fn SetborderSpacing(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderSpacing(&self) -> ::windows::core::Result; - fn Setorphans(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn orphans(&self) -> ::windows::core::Result; - fn Setwidows(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn widows(&self) -> ::windows::core::Result; - fn SetpageBreakInside(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn pageBreakInside(&self) -> ::windows::core::Result; - fn SetemptyCells(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn emptyCells(&self) -> ::windows::core::Result; - fn SetmsBlockProgression(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msBlockProgression(&self) -> ::windows::core::Result; - fn Setquotes(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn quotes(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLRuleStyle6 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLRuleStyle6_Vtbl { - pub const fn new, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>() -> IHTMLRuleStyle6_Vtbl { - unsafe extern "system" fn Setcontent, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcontent(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn content, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.content() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcaptionSide, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcaptionSide(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn captionSide, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.captionSide() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcounterIncrement, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcounterIncrement(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn counterIncrement, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.counterIncrement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcounterReset, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcounterReset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn counterReset, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.counterReset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoutline, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoutline(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn outline, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetoutlineWidth, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoutlineWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn outlineWidth, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outlineWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetoutlineStyle, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoutlineStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn outlineStyle, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outlineStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetoutlineColor, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoutlineColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn outlineColor, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outlineColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetboxSizing, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetboxSizing(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn boxSizing, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.boxSizing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderSpacing, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderSpacing(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderSpacing, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderSpacing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setorphans, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setorphans(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn orphans, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.orphans() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidows, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidows(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn widows, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.widows() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpageBreakInside, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpageBreakInside(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn pageBreakInside, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageBreakInside() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetemptyCells, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetemptyCells(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn emptyCells, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.emptyCells() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsBlockProgression, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsBlockProgression(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msBlockProgression, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msBlockProgression() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setquotes, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setquotes(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn quotes, Impl: IHTMLRuleStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.quotes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcontent: Setcontent::, - content: content::, - SetcaptionSide: SetcaptionSide::, - captionSide: captionSide::, - SetcounterIncrement: SetcounterIncrement::, - counterIncrement: counterIncrement::, - SetcounterReset: SetcounterReset::, - counterReset: counterReset::, - Setoutline: Setoutline::, - outline: outline::, - SetoutlineWidth: SetoutlineWidth::, - outlineWidth: outlineWidth::, - SetoutlineStyle: SetoutlineStyle::, - outlineStyle: outlineStyle::, - SetoutlineColor: SetoutlineColor::, - outlineColor: outlineColor::, - SetboxSizing: SetboxSizing::, - boxSizing: boxSizing::, - SetborderSpacing: SetborderSpacing::, - borderSpacing: borderSpacing::, - Setorphans: Setorphans::, - orphans: orphans::, - Setwidows: Setwidows::, - widows: widows::, - SetpageBreakInside: SetpageBreakInside::, - pageBreakInside: pageBreakInside::, - SetemptyCells: SetemptyCells::, - emptyCells: emptyCells::, - SetmsBlockProgression: SetmsBlockProgression::, - msBlockProgression: msBlockProgression::, - Setquotes: Setquotes::, - quotes: quotes::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLScreen_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn colorDepth(&self) -> ::windows::core::Result; - fn SetbufferDepth(&self, v: i32) -> ::windows::core::Result<()>; - fn bufferDepth(&self) -> ::windows::core::Result; - fn width(&self) -> ::windows::core::Result; - fn height(&self) -> ::windows::core::Result; - fn SetupdateInterval(&self, v: i32) -> ::windows::core::Result<()>; - fn updateInterval(&self) -> ::windows::core::Result; - fn availHeight(&self) -> ::windows::core::Result; - fn availWidth(&self) -> ::windows::core::Result; - fn fontSmoothingEnabled(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLScreen {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLScreen_Vtbl { - pub const fn new, Impl: IHTMLScreen_Impl, const OFFSET: isize>() -> IHTMLScreen_Vtbl { - unsafe extern "system" fn colorDepth, Impl: IHTMLScreen_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.colorDepth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbufferDepth, Impl: IHTMLScreen_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbufferDepth(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn bufferDepth, Impl: IHTMLScreen_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bufferDepth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn width, Impl: IHTMLScreen_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn height, Impl: IHTMLScreen_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetupdateInterval, Impl: IHTMLScreen_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetupdateInterval(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn updateInterval, Impl: IHTMLScreen_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.updateInterval() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn availHeight, Impl: IHTMLScreen_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.availHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn availWidth, Impl: IHTMLScreen_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.availWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn fontSmoothingEnabled, Impl: IHTMLScreen_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontSmoothingEnabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - colorDepth: colorDepth::, - SetbufferDepth: SetbufferDepth::, - bufferDepth: bufferDepth::, - width: width::, - height: height::, - SetupdateInterval: SetupdateInterval::, - updateInterval: updateInterval::, - availHeight: availHeight::, - availWidth: availWidth::, - fontSmoothingEnabled: fontSmoothingEnabled::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLScreen2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn logicalXDPI(&self) -> ::windows::core::Result; - fn logicalYDPI(&self) -> ::windows::core::Result; - fn deviceXDPI(&self) -> ::windows::core::Result; - fn deviceYDPI(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLScreen2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLScreen2_Vtbl { - pub const fn new, Impl: IHTMLScreen2_Impl, const OFFSET: isize>() -> IHTMLScreen2_Vtbl { - unsafe extern "system" fn logicalXDPI, Impl: IHTMLScreen2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.logicalXDPI() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn logicalYDPI, Impl: IHTMLScreen2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.logicalYDPI() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deviceXDPI, Impl: IHTMLScreen2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.deviceXDPI() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deviceYDPI, Impl: IHTMLScreen2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.deviceYDPI() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - logicalXDPI: logicalXDPI::, - logicalYDPI: logicalYDPI::, - deviceXDPI: deviceXDPI::, - deviceYDPI: deviceYDPI::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLScreen3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn systemXDPI(&self) -> ::windows::core::Result; - fn systemYDPI(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLScreen3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLScreen3_Vtbl { - pub const fn new, Impl: IHTMLScreen3_Impl, const OFFSET: isize>() -> IHTMLScreen3_Vtbl { - unsafe extern "system" fn systemXDPI, Impl: IHTMLScreen3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.systemXDPI() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn systemYDPI, Impl: IHTMLScreen3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.systemYDPI() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - systemXDPI: systemXDPI::, - systemYDPI: systemYDPI::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLScreen4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn pixelDepth(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLScreen4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLScreen4_Vtbl { - pub const fn new, Impl: IHTMLScreen4_Impl, const OFFSET: isize>() -> IHTMLScreen4_Vtbl { - unsafe extern "system" fn pixelDepth, Impl: IHTMLScreen4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pixelDepth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), pixelDepth: pixelDepth:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLScriptElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn src(&self) -> ::windows::core::Result; - fn SethtmlFor(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn htmlFor(&self) -> ::windows::core::Result; - fn Setevent(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn event(&self) -> ::windows::core::Result; - fn Settext(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn text(&self) -> ::windows::core::Result; - fn Setdefer(&self, v: i16) -> ::windows::core::Result<()>; - fn defer(&self) -> ::windows::core::Result; - fn readyState(&self) -> ::windows::core::Result; - fn Setonerror(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onerror(&self) -> ::windows::core::Result; - fn Settype(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLScriptElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLScriptElement_Vtbl { - pub const fn new, Impl: IHTMLScriptElement_Impl, const OFFSET: isize>() -> IHTMLScriptElement_Vtbl { - unsafe extern "system" fn Setsrc, Impl: IHTMLScriptElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn src, Impl: IHTMLScriptElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.src() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SethtmlFor, Impl: IHTMLScriptElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SethtmlFor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn htmlFor, Impl: IHTMLScriptElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.htmlFor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setevent, Impl: IHTMLScriptElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setevent(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn event, Impl: IHTMLScriptElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.event() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settext, Impl: IHTMLScriptElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settext(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn text, Impl: IHTMLScriptElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.text() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdefer, Impl: IHTMLScriptElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdefer(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn defer, Impl: IHTMLScriptElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.defer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn readyState, Impl: IHTMLScriptElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readyState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonerror, Impl: IHTMLScriptElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonerror(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onerror, Impl: IHTMLScriptElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onerror() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settype, Impl: IHTMLScriptElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settype(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#type, Impl: IHTMLScriptElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setsrc: Setsrc::, - src: src::, - SethtmlFor: SethtmlFor::, - htmlFor: htmlFor::, - Setevent: Setevent::, - event: event::, - Settext: Settext::, - text: text::, - Setdefer: Setdefer::, - defer: defer::, - readyState: readyState::, - Setonerror: Setonerror::, - onerror: onerror::, - Settype: Settype::, - r#type: r#type::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLScriptElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcharset(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn charset(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLScriptElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLScriptElement2_Vtbl { - pub const fn new, Impl: IHTMLScriptElement2_Impl, const OFFSET: isize>() -> IHTMLScriptElement2_Vtbl { - unsafe extern "system" fn Setcharset, Impl: IHTMLScriptElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcharset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn charset, Impl: IHTMLScriptElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.charset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcharset: Setcharset::, - charset: charset::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLScriptElement3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn src(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLScriptElement3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLScriptElement3_Vtbl { - pub const fn new, Impl: IHTMLScriptElement3_Impl, const OFFSET: isize>() -> IHTMLScriptElement3_Vtbl { - unsafe extern "system" fn Setsrc, Impl: IHTMLScriptElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn src, Impl: IHTMLScriptElement3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.src() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setsrc: Setsrc::, - src: src::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLScriptElement4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn usedCharset(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLScriptElement4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLScriptElement4_Vtbl { - pub const fn new, Impl: IHTMLScriptElement4_Impl, const OFFSET: isize>() -> IHTMLScriptElement4_Vtbl { - unsafe extern "system" fn usedCharset, Impl: IHTMLScriptElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.usedCharset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), usedCharset: usedCharset:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLSelectElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setsize(&self, v: i32) -> ::windows::core::Result<()>; - fn size(&self) -> ::windows::core::Result; - fn Setmultiple(&self, v: i16) -> ::windows::core::Result<()>; - fn multiple(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn options(&self) -> ::windows::core::Result; - fn Setonchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onchange(&self) -> ::windows::core::Result; - fn SetselectedIndex(&self, v: i32) -> ::windows::core::Result<()>; - fn selectedIndex(&self) -> ::windows::core::Result; - fn r#type(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()>; - fn disabled(&self) -> ::windows::core::Result; - fn form(&self) -> ::windows::core::Result; - fn add(&self, element: &::core::option::Option, before: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn remove(&self, index: i32) -> ::windows::core::Result<()>; - fn Setlength(&self, v: i32) -> ::windows::core::Result<()>; - fn length(&self) -> ::windows::core::Result; - fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn item(&self, name: &super::super::System::Com::VARIANT, index: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn tags(&self, tagname: &super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLSelectElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLSelectElement_Vtbl { - pub const fn new, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>() -> IHTMLSelectElement_Vtbl { - unsafe extern "system" fn Setsize, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsize(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn size, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.size() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setmultiple, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmultiple(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn multiple, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.multiple() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn options, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.options() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonchange, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onchange, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetselectedIndex, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetselectedIndex(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn selectedIndex, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.selectedIndex() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn r#type, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdisabled, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn disabled, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.disabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn form, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.form() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn add, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, element: *mut ::core::ffi::c_void, before: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.add(::core::mem::transmute(&element), ::core::mem::transmute(&before)).into() - } - unsafe extern "system" fn remove, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.remove(::core::mem::transmute_copy(&index)).into() - } - unsafe extern "system" fn Setlength, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setlength(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn length, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn _newEnum, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this._newEnum() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, index: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute(&name), ::core::mem::transmute(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn tags, Impl: IHTMLSelectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, tagname: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tags(::core::mem::transmute(&tagname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setsize: Setsize::, - size: size::, - Setmultiple: Setmultiple::, - multiple: multiple::, - Setname: Setname::, - name: name::, - options: options::, - Setonchange: Setonchange::, - onchange: onchange::, - SetselectedIndex: SetselectedIndex::, - selectedIndex: selectedIndex::, - r#type: r#type::, - Setvalue: Setvalue::, - value: value::, - Setdisabled: Setdisabled::, - disabled: disabled::, - form: form::, - add: add::, - remove: remove::, - Setlength: Setlength::, - length: length::, - _newEnum: _newEnum::, - item: item::, - tags: tags::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLSelectElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn urns(&self, urn: &super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLSelectElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLSelectElement2_Vtbl { - pub const fn new, Impl: IHTMLSelectElement2_Impl, const OFFSET: isize>() -> IHTMLSelectElement2_Vtbl { - unsafe extern "system" fn urns, Impl: IHTMLSelectElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, urn: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.urns(::core::mem::transmute(&urn)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), urns: urns:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLSelectElement4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn namedItem(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLSelectElement4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLSelectElement4_Vtbl { - pub const fn new, Impl: IHTMLSelectElement4_Impl, const OFFSET: isize>() -> IHTMLSelectElement4_Vtbl { - unsafe extern "system" fn namedItem, Impl: IHTMLSelectElement4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.namedItem(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdisp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), namedItem: namedItem:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLSelectElement5_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn add(&self, pelem: &::core::option::Option, pvarbefore: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLSelectElement5 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLSelectElement5_Vtbl { - pub const fn new, Impl: IHTMLSelectElement5_Impl, const OFFSET: isize>() -> IHTMLSelectElement5_Vtbl { - unsafe extern "system" fn add, Impl: IHTMLSelectElement5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pelem: *mut ::core::ffi::c_void, pvarbefore: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.add(::core::mem::transmute(&pelem), ::core::mem::transmute_copy(&pvarbefore)).into() - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), add: add:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLSelectElement6_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn add(&self, pelem: &::core::option::Option, pvarbefore: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLSelectElement6 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLSelectElement6_Vtbl { - pub const fn new, Impl: IHTMLSelectElement6_Impl, const OFFSET: isize>() -> IHTMLSelectElement6_Vtbl { - unsafe extern "system" fn add, Impl: IHTMLSelectElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pelem: *mut ::core::ffi::c_void, pvarbefore: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.add(::core::mem::transmute(&pelem), ::core::mem::transmute_copy(&pvarbefore)).into() - } - unsafe extern "system" fn Setvalue, Impl: IHTMLSelectElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLSelectElement6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - add: add::, - Setvalue: Setvalue::, - value: value::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IHTMLSelectElementEx_Impl: Sized { - fn ShowDropdown(&self, fshow: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; - fn SetSelectExFlags(&self, lflags: u32) -> ::windows::core::Result<()>; - fn GetSelectExFlags(&self) -> ::windows::core::Result; - fn GetDropdownOpen(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IHTMLSelectElementEx {} -#[cfg(feature = "Win32_Foundation")] -impl IHTMLSelectElementEx_Vtbl { - pub const fn new, Impl: IHTMLSelectElementEx_Impl, const OFFSET: isize>() -> IHTMLSelectElementEx_Vtbl { - unsafe extern "system" fn ShowDropdown, Impl: IHTMLSelectElementEx_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fshow: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ShowDropdown(::core::mem::transmute_copy(&fshow)).into() - } - unsafe extern "system" fn SetSelectExFlags, Impl: IHTMLSelectElementEx_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lflags: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetSelectExFlags(::core::mem::transmute_copy(&lflags)).into() - } - unsafe extern "system" fn GetSelectExFlags, Impl: IHTMLSelectElementEx_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pflags: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetSelectExFlags() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pflags, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetDropdownOpen, Impl: IHTMLSelectElementEx_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfopen: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetDropdownOpen() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfopen, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - ShowDropdown: ShowDropdown::, - SetSelectExFlags: SetSelectExFlags::, - GetSelectExFlags: GetSelectExFlags::, - GetDropdownOpen: GetDropdownOpen::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLSelection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn anchorNode(&self) -> ::windows::core::Result; - fn anchorOffset(&self) -> ::windows::core::Result; - fn focusNode(&self) -> ::windows::core::Result; - fn focusOffset(&self) -> ::windows::core::Result; - fn isCollapsed(&self) -> ::windows::core::Result; - fn collapse(&self, parentnode: &::core::option::Option, offfset: i32) -> ::windows::core::Result<()>; - fn collapseToStart(&self) -> ::windows::core::Result<()>; - fn collapseToEnd(&self) -> ::windows::core::Result<()>; - fn selectAllChildren(&self, parentnode: &::core::option::Option) -> ::windows::core::Result<()>; - fn deleteFromDocument(&self) -> ::windows::core::Result<()>; - fn rangeCount(&self) -> ::windows::core::Result; - fn getRangeAt(&self, index: i32) -> ::windows::core::Result; - fn addRange(&self, range: &::core::option::Option) -> ::windows::core::Result<()>; - fn removeRange(&self, range: &::core::option::Option) -> ::windows::core::Result<()>; - fn removeAllRanges(&self) -> ::windows::core::Result<()>; - fn toString(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLSelection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLSelection_Vtbl { - pub const fn new, Impl: IHTMLSelection_Impl, const OFFSET: isize>() -> IHTMLSelection_Vtbl { - unsafe extern "system" fn anchorNode, Impl: IHTMLSelection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.anchorNode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn anchorOffset, Impl: IHTMLSelection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.anchorOffset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn focusNode, Impl: IHTMLSelection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.focusNode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn focusOffset, Impl: IHTMLSelection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.focusOffset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn isCollapsed, Impl: IHTMLSelection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isCollapsed() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn collapse, Impl: IHTMLSelection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, parentnode: *mut ::core::ffi::c_void, offfset: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.collapse(::core::mem::transmute(&parentnode), ::core::mem::transmute_copy(&offfset)).into() - } - unsafe extern "system" fn collapseToStart, Impl: IHTMLSelection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.collapseToStart().into() - } - unsafe extern "system" fn collapseToEnd, Impl: IHTMLSelection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.collapseToEnd().into() - } - unsafe extern "system" fn selectAllChildren, Impl: IHTMLSelection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, parentnode: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.selectAllChildren(::core::mem::transmute(&parentnode)).into() - } - unsafe extern "system" fn deleteFromDocument, Impl: IHTMLSelection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteFromDocument().into() - } - unsafe extern "system" fn rangeCount, Impl: IHTMLSelection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rangeCount() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getRangeAt, Impl: IHTMLSelection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, pprange: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getRangeAt(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pprange, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn addRange, Impl: IHTMLSelection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, range: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.addRange(::core::mem::transmute(&range)).into() - } - unsafe extern "system" fn removeRange, Impl: IHTMLSelection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, range: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.removeRange(::core::mem::transmute(&range)).into() - } - unsafe extern "system" fn removeAllRanges, Impl: IHTMLSelection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.removeAllRanges().into() - } - unsafe extern "system" fn toString, Impl: IHTMLSelection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pselectionstring: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toString() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pselectionstring, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - anchorNode: anchorNode::, - anchorOffset: anchorOffset::, - focusNode: focusNode::, - focusOffset: focusOffset::, - isCollapsed: isCollapsed::, - collapse: collapse::, - collapseToStart: collapseToStart::, - collapseToEnd: collapseToEnd::, - selectAllChildren: selectAllChildren::, - deleteFromDocument: deleteFromDocument::, - rangeCount: rangeCount::, - getRangeAt: getRangeAt::, - addRange: addRange::, - removeRange: removeRange::, - removeAllRanges: removeAllRanges::, - toString: toString::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLSelectionObject_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn createRange(&self) -> ::windows::core::Result; - fn empty(&self) -> ::windows::core::Result<()>; - fn clear(&self) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLSelectionObject {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLSelectionObject_Vtbl { - pub const fn new, Impl: IHTMLSelectionObject_Impl, const OFFSET: isize>() -> IHTMLSelectionObject_Vtbl { - unsafe extern "system" fn createRange, Impl: IHTMLSelectionObject_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createRange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(range, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn empty, Impl: IHTMLSelectionObject_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.empty().into() - } - unsafe extern "system" fn clear, Impl: IHTMLSelectionObject_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.clear().into() - } - unsafe extern "system" fn r#type, Impl: IHTMLSelectionObject_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - createRange: createRange::, - empty: empty::, - clear: clear::, - r#type: r#type::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLSelectionObject2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn createRangeCollection(&self) -> ::windows::core::Result; - fn typeDetail(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLSelectionObject2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLSelectionObject2_Vtbl { - pub const fn new, Impl: IHTMLSelectionObject2_Impl, const OFFSET: isize>() -> IHTMLSelectionObject2_Vtbl { - unsafe extern "system" fn createRangeCollection, Impl: IHTMLSelectionObject2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, rangecollection: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createRangeCollection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(rangecollection, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn typeDetail, Impl: IHTMLSelectionObject2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.typeDetail() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - createRangeCollection: createRangeCollection::, - typeDetail: typeDetail::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLSourceElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn src(&self) -> ::windows::core::Result; - fn Settype(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; - fn Setmedia(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn media(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLSourceElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLSourceElement_Vtbl { - pub const fn new, Impl: IHTMLSourceElement_Impl, const OFFSET: isize>() -> IHTMLSourceElement_Vtbl { - unsafe extern "system" fn Setsrc, Impl: IHTMLSourceElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn src, Impl: IHTMLSourceElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.src() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settype, Impl: IHTMLSourceElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settype(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#type, Impl: IHTMLSourceElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setmedia, Impl: IHTMLSourceElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmedia(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn media, Impl: IHTMLSourceElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.media() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setsrc: Setsrc::, - src: src::, - Settype: Settype::, - r#type: r#type::, - Setmedia: Setmedia::, - media: media::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLSpanElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLSpanElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLSpanElement_Vtbl { - pub const fn new, Impl: IHTMLSpanElement_Impl, const OFFSET: isize>() -> IHTMLSpanElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLSpanFlow_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLSpanFlow {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLSpanFlow_Vtbl { - pub const fn new, Impl: IHTMLSpanFlow_Impl, const OFFSET: isize>() -> IHTMLSpanFlow_Vtbl { - unsafe extern "system" fn Setalign, Impl: IHTMLSpanFlow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLSpanFlow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setalign: Setalign::, - align: align::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStorage_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn remainingSpace(&self) -> ::windows::core::Result; - fn key(&self, lindex: i32) -> ::windows::core::Result; - fn getItem(&self, bstrkey: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn setItem(&self, bstrkey: &super::super::Foundation::BSTR, bstrvalue: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn removeItem(&self, bstrkey: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn clear(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStorage {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStorage_Vtbl { - pub const fn new, Impl: IHTMLStorage_Impl, const OFFSET: isize>() -> IHTMLStorage_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLStorage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn remainingSpace, Impl: IHTMLStorage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.remainingSpace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn key, Impl: IHTMLStorage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lindex: i32, __midl__ihtmlstorage0000: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.key(::core::mem::transmute_copy(&lindex)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(__midl__ihtmlstorage0000, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getItem, Impl: IHTMLStorage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrkey: ::core::mem::ManuallyDrop, __midl__ihtmlstorage0001: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getItem(::core::mem::transmute(&bstrkey)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(__midl__ihtmlstorage0001, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setItem, Impl: IHTMLStorage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrkey: ::core::mem::ManuallyDrop, bstrvalue: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setItem(::core::mem::transmute(&bstrkey), ::core::mem::transmute(&bstrvalue)).into() - } - unsafe extern "system" fn removeItem, Impl: IHTMLStorage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrkey: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.removeItem(::core::mem::transmute(&bstrkey)).into() - } - unsafe extern "system" fn clear, Impl: IHTMLStorage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.clear().into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - remainingSpace: remainingSpace::, - key: key::, - getItem: getItem::, - setItem: setItem::, - removeItem: removeItem::, - clear: clear::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStorage2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn setItem(&self, bstrkey: &super::super::Foundation::BSTR, bstrvalue: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStorage2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStorage2_Vtbl { - pub const fn new, Impl: IHTMLStorage2_Impl, const OFFSET: isize>() -> IHTMLStorage2_Vtbl { - unsafe extern "system" fn setItem, Impl: IHTMLStorage2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrkey: ::core::mem::ManuallyDrop, bstrvalue: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setItem(::core::mem::transmute(&bstrkey), ::core::mem::transmute(&bstrvalue)).into() - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), setItem: setItem:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyle_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetfontFamily(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn fontFamily(&self) -> ::windows::core::Result; - fn SetfontStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn fontStyle(&self) -> ::windows::core::Result; - fn SetfontVariant(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn fontVariant(&self) -> ::windows::core::Result; - fn SetfontWeight(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn fontWeight(&self) -> ::windows::core::Result; - fn SetfontSize(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn fontSize(&self) -> ::windows::core::Result; - fn Setfont(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn font(&self) -> ::windows::core::Result; - fn Setcolor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn color(&self) -> ::windows::core::Result; - fn Setbackground(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn background(&self) -> ::windows::core::Result; - fn SetbackgroundColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn backgroundColor(&self) -> ::windows::core::Result; - fn SetbackgroundImage(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn backgroundImage(&self) -> ::windows::core::Result; - fn SetbackgroundRepeat(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn backgroundRepeat(&self) -> ::windows::core::Result; - fn SetbackgroundAttachment(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn backgroundAttachment(&self) -> ::windows::core::Result; - fn SetbackgroundPosition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn backgroundPosition(&self) -> ::windows::core::Result; - fn SetbackgroundPositionX(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn backgroundPositionX(&self) -> ::windows::core::Result; - fn SetbackgroundPositionY(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn backgroundPositionY(&self) -> ::windows::core::Result; - fn SetwordSpacing(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn wordSpacing(&self) -> ::windows::core::Result; - fn SetletterSpacing(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn letterSpacing(&self) -> ::windows::core::Result; - fn SettextDecoration(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textDecoration(&self) -> ::windows::core::Result; - fn SettextDecorationNone(&self, v: i16) -> ::windows::core::Result<()>; - fn textDecorationNone(&self) -> ::windows::core::Result; - fn SettextDecorationUnderline(&self, v: i16) -> ::windows::core::Result<()>; - fn textDecorationUnderline(&self) -> ::windows::core::Result; - fn SettextDecorationOverline(&self, v: i16) -> ::windows::core::Result<()>; - fn textDecorationOverline(&self) -> ::windows::core::Result; - fn SettextDecorationLineThrough(&self, v: i16) -> ::windows::core::Result<()>; - fn textDecorationLineThrough(&self) -> ::windows::core::Result; - fn SettextDecorationBlink(&self, v: i16) -> ::windows::core::Result<()>; - fn textDecorationBlink(&self) -> ::windows::core::Result; - fn SetverticalAlign(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn verticalAlign(&self) -> ::windows::core::Result; - fn SettextTransform(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textTransform(&self) -> ::windows::core::Result; - fn SettextAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textAlign(&self) -> ::windows::core::Result; - fn SettextIndent(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn textIndent(&self) -> ::windows::core::Result; - fn SetlineHeight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn lineHeight(&self) -> ::windows::core::Result; - fn SetmarginTop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn marginTop(&self) -> ::windows::core::Result; - fn SetmarginRight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn marginRight(&self) -> ::windows::core::Result; - fn SetmarginBottom(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn marginBottom(&self) -> ::windows::core::Result; - fn SetmarginLeft(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn marginLeft(&self) -> ::windows::core::Result; - fn Setmargin(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn margin(&self) -> ::windows::core::Result; - fn SetpaddingTop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn paddingTop(&self) -> ::windows::core::Result; - fn SetpaddingRight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn paddingRight(&self) -> ::windows::core::Result; - fn SetpaddingBottom(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn paddingBottom(&self) -> ::windows::core::Result; - fn SetpaddingLeft(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn paddingLeft(&self) -> ::windows::core::Result; - fn Setpadding(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn padding(&self) -> ::windows::core::Result; - fn Setborder(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn border(&self) -> ::windows::core::Result; - fn SetborderTop(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderTop(&self) -> ::windows::core::Result; - fn SetborderRight(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderRight(&self) -> ::windows::core::Result; - fn SetborderBottom(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderBottom(&self) -> ::windows::core::Result; - fn SetborderLeft(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderLeft(&self) -> ::windows::core::Result; - fn SetborderColor(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderColor(&self) -> ::windows::core::Result; - fn SetborderTopColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderTopColor(&self) -> ::windows::core::Result; - fn SetborderRightColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderRightColor(&self) -> ::windows::core::Result; - fn SetborderBottomColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderBottomColor(&self) -> ::windows::core::Result; - fn SetborderLeftColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderLeftColor(&self) -> ::windows::core::Result; - fn SetborderWidth(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderWidth(&self) -> ::windows::core::Result; - fn SetborderTopWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderTopWidth(&self) -> ::windows::core::Result; - fn SetborderRightWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderRightWidth(&self) -> ::windows::core::Result; - fn SetborderBottomWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderBottomWidth(&self) -> ::windows::core::Result; - fn SetborderLeftWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderLeftWidth(&self) -> ::windows::core::Result; - fn SetborderStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderStyle(&self) -> ::windows::core::Result; - fn SetborderTopStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderTopStyle(&self) -> ::windows::core::Result; - fn SetborderRightStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderRightStyle(&self) -> ::windows::core::Result; - fn SetborderBottomStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderBottomStyle(&self) -> ::windows::core::Result; - fn SetborderLeftStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderLeftStyle(&self) -> ::windows::core::Result; - fn Setwidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn Setheight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; - fn SetstyleFloat(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn styleFloat(&self) -> ::windows::core::Result; - fn Setclear(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn clear(&self) -> ::windows::core::Result; - fn Setdisplay(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn display(&self) -> ::windows::core::Result; - fn Setvisibility(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn visibility(&self) -> ::windows::core::Result; - fn SetlistStyleType(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn listStyleType(&self) -> ::windows::core::Result; - fn SetlistStylePosition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn listStylePosition(&self) -> ::windows::core::Result; - fn SetlistStyleImage(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn listStyleImage(&self) -> ::windows::core::Result; - fn SetlistStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn listStyle(&self) -> ::windows::core::Result; - fn SetwhiteSpace(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn whiteSpace(&self) -> ::windows::core::Result; - fn Settop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn top(&self) -> ::windows::core::Result; - fn Setleft(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn left(&self) -> ::windows::core::Result; - fn position(&self) -> ::windows::core::Result; - fn SetzIndex(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn zIndex(&self) -> ::windows::core::Result; - fn Setoverflow(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn overflow(&self) -> ::windows::core::Result; - fn SetpageBreakBefore(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn pageBreakBefore(&self) -> ::windows::core::Result; - fn SetpageBreakAfter(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn pageBreakAfter(&self) -> ::windows::core::Result; - fn SetcssText(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn cssText(&self) -> ::windows::core::Result; - fn SetpixelTop(&self, v: i32) -> ::windows::core::Result<()>; - fn pixelTop(&self) -> ::windows::core::Result; - fn SetpixelLeft(&self, v: i32) -> ::windows::core::Result<()>; - fn pixelLeft(&self) -> ::windows::core::Result; - fn SetpixelWidth(&self, v: i32) -> ::windows::core::Result<()>; - fn pixelWidth(&self) -> ::windows::core::Result; - fn SetpixelHeight(&self, v: i32) -> ::windows::core::Result<()>; - fn pixelHeight(&self) -> ::windows::core::Result; - fn SetposTop(&self, v: f32) -> ::windows::core::Result<()>; - fn posTop(&self) -> ::windows::core::Result; - fn SetposLeft(&self, v: f32) -> ::windows::core::Result<()>; - fn posLeft(&self) -> ::windows::core::Result; - fn SetposWidth(&self, v: f32) -> ::windows::core::Result<()>; - fn posWidth(&self) -> ::windows::core::Result; - fn SetposHeight(&self, v: f32) -> ::windows::core::Result<()>; - fn posHeight(&self) -> ::windows::core::Result; - fn Setcursor(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn cursor(&self) -> ::windows::core::Result; - fn Setclip(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn clip(&self) -> ::windows::core::Result; - fn Setfilter(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn filter(&self) -> ::windows::core::Result; - fn setAttribute(&self, strattributename: &super::super::Foundation::BSTR, attributevalue: &super::super::System::Com::VARIANT, lflags: i32) -> ::windows::core::Result<()>; - fn getAttribute(&self, strattributename: &super::super::Foundation::BSTR, lflags: i32) -> ::windows::core::Result; - fn removeAttribute(&self, strattributename: &super::super::Foundation::BSTR, lflags: i32) -> ::windows::core::Result; - fn toString(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyle {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyle_Vtbl { - pub const fn new, Impl: IHTMLStyle_Impl, const OFFSET: isize>() -> IHTMLStyle_Vtbl { - unsafe extern "system" fn SetfontFamily, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontFamily(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontFamily, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontFamily() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfontStyle, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontStyle, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfontVariant, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontVariant(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontVariant, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontVariant() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfontWeight, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontWeight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontWeight, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontWeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetfontSize, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetfontSize(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontSize, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontSize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setfont, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setfont(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn font, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.font() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcolor, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcolor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn color, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.color() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setbackground, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setbackground(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn background, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.background() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundColor, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundColor, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundImage, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundImage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundImage, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundImage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundRepeat, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundRepeat(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundRepeat, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundRepeat() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundAttachment, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundAttachment(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundAttachment, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundAttachment() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundPosition, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundPosition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundPosition, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundPosition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundPositionX, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundPositionX(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundPositionX, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundPositionX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbackgroundPositionY, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbackgroundPositionY(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn backgroundPositionY, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.backgroundPositionY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwordSpacing, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwordSpacing(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn wordSpacing, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.wordSpacing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetletterSpacing, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetletterSpacing(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn letterSpacing, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.letterSpacing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextDecoration, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextDecoration(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textDecoration, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textDecoration() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextDecorationNone, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextDecorationNone(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn textDecorationNone, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textDecorationNone() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextDecorationUnderline, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextDecorationUnderline(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn textDecorationUnderline, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textDecorationUnderline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextDecorationOverline, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextDecorationOverline(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn textDecorationOverline, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textDecorationOverline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextDecorationLineThrough, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextDecorationLineThrough(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn textDecorationLineThrough, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textDecorationLineThrough() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextDecorationBlink, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextDecorationBlink(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn textDecorationBlink, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textDecorationBlink() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetverticalAlign, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetverticalAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn verticalAlign, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.verticalAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextTransform, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextTransform(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textTransform, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textTransform() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextAlign, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textAlign, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextIndent, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextIndent(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textIndent, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textIndent() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlineHeight, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlineHeight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn lineHeight, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lineHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginTop, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginTop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn marginTop, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginRight, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginRight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn marginRight, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginBottom, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginBottom(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn marginBottom, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginLeft, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginLeft(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn marginLeft, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setmargin, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmargin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn margin, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.margin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpaddingTop, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpaddingTop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn paddingTop, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.paddingTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpaddingRight, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpaddingRight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn paddingRight, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.paddingRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpaddingBottom, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpaddingBottom(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn paddingBottom, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.paddingBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpaddingLeft, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpaddingLeft(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn paddingLeft, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.paddingLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setpadding, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setpadding(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn padding, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.padding() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setborder, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setborder(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn border, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.border() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderTop, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderTop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderTop, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderRight, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderRight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderRight, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderBottom, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderBottom(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderBottom, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderLeft, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderLeft(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderLeft, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderColor, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderColor, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderTopColor, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderTopColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderTopColor, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderTopColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderRightColor, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderRightColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderRightColor, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderRightColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderBottomColor, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderBottomColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderBottomColor, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderBottomColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderLeftColor, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderLeftColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderLeftColor, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderLeftColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderWidth, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderWidth, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderTopWidth, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderTopWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderTopWidth, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderTopWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderRightWidth, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderRightWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderRightWidth, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderRightWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderBottomWidth, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderBottomWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderBottomWidth, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderBottomWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderLeftWidth, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderLeftWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderLeftWidth, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderLeftWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderStyle, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderStyle, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderTopStyle, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderTopStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderTopStyle, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderTopStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderRightStyle, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderRightStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderRightStyle, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderRightStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderBottomStyle, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderBottomStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderBottomStyle, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderBottomStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderLeftStyle, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderLeftStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderLeftStyle, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderLeftStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidth, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setheight, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn height, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetstyleFloat, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetstyleFloat(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn styleFloat, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.styleFloat() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setclear, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setclear(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn clear, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clear() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdisplay, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisplay(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn display, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.display() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvisibility, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvisibility(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn visibility, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.visibility() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlistStyleType, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlistStyleType(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn listStyleType, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.listStyleType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlistStylePosition, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlistStylePosition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn listStylePosition, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.listStylePosition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlistStyleImage, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlistStyleImage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn listStyleImage, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.listStyleImage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlistStyle, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlistStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn listStyle, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.listStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwhiteSpace, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwhiteSpace(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn whiteSpace, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.whiteSpace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settop, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn top, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.top() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setleft, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setleft(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn left, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.left() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn position, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.position() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetzIndex, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetzIndex(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn zIndex, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.zIndex() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoverflow, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoverflow(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn overflow, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.overflow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpageBreakBefore, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpageBreakBefore(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn pageBreakBefore, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageBreakBefore() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpageBreakAfter, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpageBreakAfter(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn pageBreakAfter, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageBreakAfter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcssText, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcssText(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cssText, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cssText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpixelTop, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpixelTop(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn pixelTop, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pixelTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpixelLeft, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpixelLeft(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn pixelLeft, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pixelLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpixelWidth, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpixelWidth(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn pixelWidth, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pixelWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpixelHeight, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpixelHeight(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn pixelHeight, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pixelHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetposTop, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetposTop(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn posTop, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.posTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetposLeft, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetposLeft(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn posLeft, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.posLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetposWidth, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetposWidth(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn posWidth, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.posWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetposHeight, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetposHeight(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn posHeight, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.posHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcursor, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcursor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cursor, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cursor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setclip, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setclip(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn clip, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clip() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setfilter, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setfilter(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn filter, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.filter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setAttribute, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, attributevalue: ::core::mem::ManuallyDrop, lflags: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setAttribute(::core::mem::transmute(&strattributename), ::core::mem::transmute(&attributevalue), ::core::mem::transmute_copy(&lflags)).into() - } - unsafe extern "system" fn getAttribute, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, attributevalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getAttribute(::core::mem::transmute(&strattributename), ::core::mem::transmute_copy(&lflags)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(attributevalue, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeAttribute, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, pfsuccess: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeAttribute(::core::mem::transmute(&strattributename), ::core::mem::transmute_copy(&lflags)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfsuccess, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn toString, Impl: IHTMLStyle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toString() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(string, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetfontFamily: SetfontFamily::, - fontFamily: fontFamily::, - SetfontStyle: SetfontStyle::, - fontStyle: fontStyle::, - SetfontVariant: SetfontVariant::, - fontVariant: fontVariant::, - SetfontWeight: SetfontWeight::, - fontWeight: fontWeight::, - SetfontSize: SetfontSize::, - fontSize: fontSize::, - Setfont: Setfont::, - font: font::, - Setcolor: Setcolor::, - color: color::, - Setbackground: Setbackground::, - background: background::, - SetbackgroundColor: SetbackgroundColor::, - backgroundColor: backgroundColor::, - SetbackgroundImage: SetbackgroundImage::, - backgroundImage: backgroundImage::, - SetbackgroundRepeat: SetbackgroundRepeat::, - backgroundRepeat: backgroundRepeat::, - SetbackgroundAttachment: SetbackgroundAttachment::, - backgroundAttachment: backgroundAttachment::, - SetbackgroundPosition: SetbackgroundPosition::, - backgroundPosition: backgroundPosition::, - SetbackgroundPositionX: SetbackgroundPositionX::, - backgroundPositionX: backgroundPositionX::, - SetbackgroundPositionY: SetbackgroundPositionY::, - backgroundPositionY: backgroundPositionY::, - SetwordSpacing: SetwordSpacing::, - wordSpacing: wordSpacing::, - SetletterSpacing: SetletterSpacing::, - letterSpacing: letterSpacing::, - SettextDecoration: SettextDecoration::, - textDecoration: textDecoration::, - SettextDecorationNone: SettextDecorationNone::, - textDecorationNone: textDecorationNone::, - SettextDecorationUnderline: SettextDecorationUnderline::, - textDecorationUnderline: textDecorationUnderline::, - SettextDecorationOverline: SettextDecorationOverline::, - textDecorationOverline: textDecorationOverline::, - SettextDecorationLineThrough: SettextDecorationLineThrough::, - textDecorationLineThrough: textDecorationLineThrough::, - SettextDecorationBlink: SettextDecorationBlink::, - textDecorationBlink: textDecorationBlink::, - SetverticalAlign: SetverticalAlign::, - verticalAlign: verticalAlign::, - SettextTransform: SettextTransform::, - textTransform: textTransform::, - SettextAlign: SettextAlign::, - textAlign: textAlign::, - SettextIndent: SettextIndent::, - textIndent: textIndent::, - SetlineHeight: SetlineHeight::, - lineHeight: lineHeight::, - SetmarginTop: SetmarginTop::, - marginTop: marginTop::, - SetmarginRight: SetmarginRight::, - marginRight: marginRight::, - SetmarginBottom: SetmarginBottom::, - marginBottom: marginBottom::, - SetmarginLeft: SetmarginLeft::, - marginLeft: marginLeft::, - Setmargin: Setmargin::, - margin: margin::, - SetpaddingTop: SetpaddingTop::, - paddingTop: paddingTop::, - SetpaddingRight: SetpaddingRight::, - paddingRight: paddingRight::, - SetpaddingBottom: SetpaddingBottom::, - paddingBottom: paddingBottom::, - SetpaddingLeft: SetpaddingLeft::, - paddingLeft: paddingLeft::, - Setpadding: Setpadding::, - padding: padding::, - Setborder: Setborder::, - border: border::, - SetborderTop: SetborderTop::, - borderTop: borderTop::, - SetborderRight: SetborderRight::, - borderRight: borderRight::, - SetborderBottom: SetborderBottom::, - borderBottom: borderBottom::, - SetborderLeft: SetborderLeft::, - borderLeft: borderLeft::, - SetborderColor: SetborderColor::, - borderColor: borderColor::, - SetborderTopColor: SetborderTopColor::, - borderTopColor: borderTopColor::, - SetborderRightColor: SetborderRightColor::, - borderRightColor: borderRightColor::, - SetborderBottomColor: SetborderBottomColor::, - borderBottomColor: borderBottomColor::, - SetborderLeftColor: SetborderLeftColor::, - borderLeftColor: borderLeftColor::, - SetborderWidth: SetborderWidth::, - borderWidth: borderWidth::, - SetborderTopWidth: SetborderTopWidth::, - borderTopWidth: borderTopWidth::, - SetborderRightWidth: SetborderRightWidth::, - borderRightWidth: borderRightWidth::, - SetborderBottomWidth: SetborderBottomWidth::, - borderBottomWidth: borderBottomWidth::, - SetborderLeftWidth: SetborderLeftWidth::, - borderLeftWidth: borderLeftWidth::, - SetborderStyle: SetborderStyle::, - borderStyle: borderStyle::, - SetborderTopStyle: SetborderTopStyle::, - borderTopStyle: borderTopStyle::, - SetborderRightStyle: SetborderRightStyle::, - borderRightStyle: borderRightStyle::, - SetborderBottomStyle: SetborderBottomStyle::, - borderBottomStyle: borderBottomStyle::, - SetborderLeftStyle: SetborderLeftStyle::, - borderLeftStyle: borderLeftStyle::, - Setwidth: Setwidth::, - width: width::, - Setheight: Setheight::, - height: height::, - SetstyleFloat: SetstyleFloat::, - styleFloat: styleFloat::, - Setclear: Setclear::, - clear: clear::, - Setdisplay: Setdisplay::, - display: display::, - Setvisibility: Setvisibility::, - visibility: visibility::, - SetlistStyleType: SetlistStyleType::, - listStyleType: listStyleType::, - SetlistStylePosition: SetlistStylePosition::, - listStylePosition: listStylePosition::, - SetlistStyleImage: SetlistStyleImage::, - listStyleImage: listStyleImage::, - SetlistStyle: SetlistStyle::, - listStyle: listStyle::, - SetwhiteSpace: SetwhiteSpace::, - whiteSpace: whiteSpace::, - Settop: Settop::, - top: top::, - Setleft: Setleft::, - left: left::, - position: position::, - SetzIndex: SetzIndex::, - zIndex: zIndex::, - Setoverflow: Setoverflow::, - overflow: overflow::, - SetpageBreakBefore: SetpageBreakBefore::, - pageBreakBefore: pageBreakBefore::, - SetpageBreakAfter: SetpageBreakAfter::, - pageBreakAfter: pageBreakAfter::, - SetcssText: SetcssText::, - cssText: cssText::, - SetpixelTop: SetpixelTop::, - pixelTop: pixelTop::, - SetpixelLeft: SetpixelLeft::, - pixelLeft: pixelLeft::, - SetpixelWidth: SetpixelWidth::, - pixelWidth: pixelWidth::, - SetpixelHeight: SetpixelHeight::, - pixelHeight: pixelHeight::, - SetposTop: SetposTop::, - posTop: posTop::, - SetposLeft: SetposLeft::, - posLeft: posLeft::, - SetposWidth: SetposWidth::, - posWidth: posWidth::, - SetposHeight: SetposHeight::, - posHeight: posHeight::, - Setcursor: Setcursor::, - cursor: cursor::, - Setclip: Setclip::, - clip: clip::, - Setfilter: Setfilter::, - filter: filter::, - setAttribute: setAttribute::, - getAttribute: getAttribute::, - removeAttribute: removeAttribute::, - toString: toString::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyle2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SettableLayout(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn tableLayout(&self) -> ::windows::core::Result; - fn SetborderCollapse(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderCollapse(&self) -> ::windows::core::Result; - fn Setdirection(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn direction(&self) -> ::windows::core::Result; - fn Setbehavior(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn behavior(&self) -> ::windows::core::Result; - fn setExpression(&self, propname: &super::super::Foundation::BSTR, expression: &super::super::Foundation::BSTR, language: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn getExpression(&self, propname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn removeExpression(&self, propname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn Setposition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn position(&self) -> ::windows::core::Result; - fn SetunicodeBidi(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn unicodeBidi(&self) -> ::windows::core::Result; - fn Setbottom(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn bottom(&self) -> ::windows::core::Result; - fn Setright(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn right(&self) -> ::windows::core::Result; - fn SetpixelBottom(&self, v: i32) -> ::windows::core::Result<()>; - fn pixelBottom(&self) -> ::windows::core::Result; - fn SetpixelRight(&self, v: i32) -> ::windows::core::Result<()>; - fn pixelRight(&self) -> ::windows::core::Result; - fn SetposBottom(&self, v: f32) -> ::windows::core::Result<()>; - fn posBottom(&self) -> ::windows::core::Result; - fn SetposRight(&self, v: f32) -> ::windows::core::Result<()>; - fn posRight(&self) -> ::windows::core::Result; - fn SetimeMode(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn imeMode(&self) -> ::windows::core::Result; - fn SetrubyAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn rubyAlign(&self) -> ::windows::core::Result; - fn SetrubyPosition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn rubyPosition(&self) -> ::windows::core::Result; - fn SetrubyOverhang(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn rubyOverhang(&self) -> ::windows::core::Result; - fn SetlayoutGridChar(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn layoutGridChar(&self) -> ::windows::core::Result; - fn SetlayoutGridLine(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn layoutGridLine(&self) -> ::windows::core::Result; - fn SetlayoutGridMode(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn layoutGridMode(&self) -> ::windows::core::Result; - fn SetlayoutGridType(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn layoutGridType(&self) -> ::windows::core::Result; - fn SetlayoutGrid(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn layoutGrid(&self) -> ::windows::core::Result; - fn SetwordBreak(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn wordBreak(&self) -> ::windows::core::Result; - fn SetlineBreak(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn lineBreak(&self) -> ::windows::core::Result; - fn SettextJustify(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textJustify(&self) -> ::windows::core::Result; - fn SettextJustifyTrim(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textJustifyTrim(&self) -> ::windows::core::Result; - fn SettextKashida(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn textKashida(&self) -> ::windows::core::Result; - fn SettextAutospace(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textAutospace(&self) -> ::windows::core::Result; - fn SetoverflowX(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn overflowX(&self) -> ::windows::core::Result; - fn SetoverflowY(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn overflowY(&self) -> ::windows::core::Result; - fn Setaccelerator(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn accelerator(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyle2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyle2_Vtbl { - pub const fn new, Impl: IHTMLStyle2_Impl, const OFFSET: isize>() -> IHTMLStyle2_Vtbl { - unsafe extern "system" fn SettableLayout, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettableLayout(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn tableLayout, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tableLayout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderCollapse, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderCollapse(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderCollapse, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderCollapse() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdirection, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdirection(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn direction, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.direction() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setbehavior, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setbehavior(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn behavior, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.behavior() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setExpression, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, expression: ::core::mem::ManuallyDrop, language: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setExpression(::core::mem::transmute(&propname), ::core::mem::transmute(&expression), ::core::mem::transmute(&language)).into() - } - unsafe extern "system" fn getExpression, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, expression: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getExpression(::core::mem::transmute(&propname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(expression, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeExpression, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, pfsuccess: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeExpression(::core::mem::transmute(&propname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfsuccess, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setposition, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setposition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn position, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.position() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetunicodeBidi, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetunicodeBidi(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn unicodeBidi, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.unicodeBidi() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setbottom, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setbottom(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn bottom, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setright, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setright(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn right, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.right() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpixelBottom, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpixelBottom(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn pixelBottom, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pixelBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpixelRight, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpixelRight(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn pixelRight, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pixelRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetposBottom, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetposBottom(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn posBottom, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.posBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetposRight, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetposRight(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn posRight, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.posRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetimeMode, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetimeMode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn imeMode, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.imeMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetrubyAlign, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetrubyAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rubyAlign, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rubyAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetrubyPosition, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetrubyPosition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rubyPosition, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rubyPosition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetrubyOverhang, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetrubyOverhang(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rubyOverhang, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rubyOverhang() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlayoutGridChar, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutGridChar(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutGridChar, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGridChar() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlayoutGridLine, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutGridLine(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutGridLine, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGridLine() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlayoutGridMode, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutGridMode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutGridMode, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGridMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlayoutGridType, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutGridType(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutGridType, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGridType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlayoutGrid, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutGrid(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutGrid, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutGrid() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwordBreak, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwordBreak(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn wordBreak, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.wordBreak() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlineBreak, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlineBreak(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn lineBreak, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lineBreak() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextJustify, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextJustify(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textJustify, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textJustify() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextJustifyTrim, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextJustifyTrim(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textJustifyTrim, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textJustifyTrim() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextKashida, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextKashida(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textKashida, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textKashida() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextAutospace, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextAutospace(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textAutospace, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textAutospace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetoverflowX, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoverflowX(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn overflowX, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.overflowX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetoverflowY, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoverflowY(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn overflowY, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.overflowY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setaccelerator, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setaccelerator(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn accelerator, Impl: IHTMLStyle2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.accelerator() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SettableLayout: SettableLayout::, - tableLayout: tableLayout::, - SetborderCollapse: SetborderCollapse::, - borderCollapse: borderCollapse::, - Setdirection: Setdirection::, - direction: direction::, - Setbehavior: Setbehavior::, - behavior: behavior::, - setExpression: setExpression::, - getExpression: getExpression::, - removeExpression: removeExpression::, - Setposition: Setposition::, - position: position::, - SetunicodeBidi: SetunicodeBidi::, - unicodeBidi: unicodeBidi::, - Setbottom: Setbottom::, - bottom: bottom::, - Setright: Setright::, - right: right::, - SetpixelBottom: SetpixelBottom::, - pixelBottom: pixelBottom::, - SetpixelRight: SetpixelRight::, - pixelRight: pixelRight::, - SetposBottom: SetposBottom::, - posBottom: posBottom::, - SetposRight: SetposRight::, - posRight: posRight::, - SetimeMode: SetimeMode::, - imeMode: imeMode::, - SetrubyAlign: SetrubyAlign::, - rubyAlign: rubyAlign::, - SetrubyPosition: SetrubyPosition::, - rubyPosition: rubyPosition::, - SetrubyOverhang: SetrubyOverhang::, - rubyOverhang: rubyOverhang::, - SetlayoutGridChar: SetlayoutGridChar::, - layoutGridChar: layoutGridChar::, - SetlayoutGridLine: SetlayoutGridLine::, - layoutGridLine: layoutGridLine::, - SetlayoutGridMode: SetlayoutGridMode::, - layoutGridMode: layoutGridMode::, - SetlayoutGridType: SetlayoutGridType::, - layoutGridType: layoutGridType::, - SetlayoutGrid: SetlayoutGrid::, - layoutGrid: layoutGrid::, - SetwordBreak: SetwordBreak::, - wordBreak: wordBreak::, - SetlineBreak: SetlineBreak::, - lineBreak: lineBreak::, - SettextJustify: SettextJustify::, - textJustify: textJustify::, - SettextJustifyTrim: SettextJustifyTrim::, - textJustifyTrim: textJustifyTrim::, - SettextKashida: SettextKashida::, - textKashida: textKashida::, - SettextAutospace: SettextAutospace::, - textAutospace: textAutospace::, - SetoverflowX: SetoverflowX::, - overflowX: overflowX::, - SetoverflowY: SetoverflowY::, - overflowY: overflowY::, - Setaccelerator: Setaccelerator::, - accelerator: accelerator::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyle3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetlayoutFlow(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn layoutFlow(&self) -> ::windows::core::Result; - fn Setzoom(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn zoom(&self) -> ::windows::core::Result; - fn SetwordWrap(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn wordWrap(&self) -> ::windows::core::Result; - fn SettextUnderlinePosition(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textUnderlinePosition(&self) -> ::windows::core::Result; - fn SetscrollbarBaseColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarBaseColor(&self) -> ::windows::core::Result; - fn SetscrollbarFaceColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarFaceColor(&self) -> ::windows::core::Result; - fn Setscrollbar3dLightColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbar3dLightColor(&self) -> ::windows::core::Result; - fn SetscrollbarShadowColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarShadowColor(&self) -> ::windows::core::Result; - fn SetscrollbarHighlightColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarHighlightColor(&self) -> ::windows::core::Result; - fn SetscrollbarDarkShadowColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarDarkShadowColor(&self) -> ::windows::core::Result; - fn SetscrollbarArrowColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarArrowColor(&self) -> ::windows::core::Result; - fn SetscrollbarTrackColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn scrollbarTrackColor(&self) -> ::windows::core::Result; - fn SetwritingMode(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn writingMode(&self) -> ::windows::core::Result; - fn SettextAlignLast(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textAlignLast(&self) -> ::windows::core::Result; - fn SettextKashidaSpace(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn textKashidaSpace(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyle3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyle3_Vtbl { - pub const fn new, Impl: IHTMLStyle3_Impl, const OFFSET: isize>() -> IHTMLStyle3_Vtbl { - unsafe extern "system" fn SetlayoutFlow, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlayoutFlow(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn layoutFlow, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.layoutFlow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setzoom, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setzoom(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn zoom, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.zoom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwordWrap, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwordWrap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn wordWrap, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.wordWrap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextUnderlinePosition, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextUnderlinePosition(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textUnderlinePosition, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textUnderlinePosition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarBaseColor, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarBaseColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarBaseColor, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarBaseColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarFaceColor, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarFaceColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarFaceColor, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarFaceColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setscrollbar3dLightColor, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setscrollbar3dLightColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbar3dLightColor, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbar3dLightColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarShadowColor, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarShadowColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarShadowColor, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarShadowColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarHighlightColor, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarHighlightColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarHighlightColor, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarHighlightColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarDarkShadowColor, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarDarkShadowColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarDarkShadowColor, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarDarkShadowColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarArrowColor, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarArrowColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarArrowColor, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarArrowColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollbarTrackColor, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollbarTrackColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scrollbarTrackColor, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbarTrackColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetwritingMode, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetwritingMode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn writingMode, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.writingMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextAlignLast, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextAlignLast(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textAlignLast, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textAlignLast() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextKashidaSpace, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextKashidaSpace(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textKashidaSpace, Impl: IHTMLStyle3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textKashidaSpace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetlayoutFlow: SetlayoutFlow::, - layoutFlow: layoutFlow::, - Setzoom: Setzoom::, - zoom: zoom::, - SetwordWrap: SetwordWrap::, - wordWrap: wordWrap::, - SettextUnderlinePosition: SettextUnderlinePosition::, - textUnderlinePosition: textUnderlinePosition::, - SetscrollbarBaseColor: SetscrollbarBaseColor::, - scrollbarBaseColor: scrollbarBaseColor::, - SetscrollbarFaceColor: SetscrollbarFaceColor::, - scrollbarFaceColor: scrollbarFaceColor::, - Setscrollbar3dLightColor: Setscrollbar3dLightColor::, - scrollbar3dLightColor: scrollbar3dLightColor::, - SetscrollbarShadowColor: SetscrollbarShadowColor::, - scrollbarShadowColor: scrollbarShadowColor::, - SetscrollbarHighlightColor: SetscrollbarHighlightColor::, - scrollbarHighlightColor: scrollbarHighlightColor::, - SetscrollbarDarkShadowColor: SetscrollbarDarkShadowColor::, - scrollbarDarkShadowColor: scrollbarDarkShadowColor::, - SetscrollbarArrowColor: SetscrollbarArrowColor::, - scrollbarArrowColor: scrollbarArrowColor::, - SetscrollbarTrackColor: SetscrollbarTrackColor::, - scrollbarTrackColor: scrollbarTrackColor::, - SetwritingMode: SetwritingMode::, - writingMode: writingMode::, - SettextAlignLast: SettextAlignLast::, - textAlignLast: textAlignLast::, - SettextKashidaSpace: SettextKashidaSpace::, - textKashidaSpace: textKashidaSpace::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyle4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SettextOverflow(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textOverflow(&self) -> ::windows::core::Result; - fn SetminHeight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn minHeight(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyle4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyle4_Vtbl { - pub const fn new, Impl: IHTMLStyle4_Impl, const OFFSET: isize>() -> IHTMLStyle4_Vtbl { - unsafe extern "system" fn SettextOverflow, Impl: IHTMLStyle4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextOverflow(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textOverflow, Impl: IHTMLStyle4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textOverflow() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetminHeight, Impl: IHTMLStyle4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetminHeight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn minHeight, Impl: IHTMLStyle4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.minHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SettextOverflow: SettextOverflow::, - textOverflow: textOverflow::, - SetminHeight: SetminHeight::, - minHeight: minHeight::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyle5_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetmsInterpolationMode(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msInterpolationMode(&self) -> ::windows::core::Result; - fn SetmaxHeight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn maxHeight(&self) -> ::windows::core::Result; - fn SetminWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn minWidth(&self) -> ::windows::core::Result; - fn SetmaxWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn maxWidth(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyle5 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyle5_Vtbl { - pub const fn new, Impl: IHTMLStyle5_Impl, const OFFSET: isize>() -> IHTMLStyle5_Vtbl { - unsafe extern "system" fn SetmsInterpolationMode, Impl: IHTMLStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsInterpolationMode(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msInterpolationMode, Impl: IHTMLStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msInterpolationMode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmaxHeight, Impl: IHTMLStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmaxHeight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn maxHeight, Impl: IHTMLStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.maxHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetminWidth, Impl: IHTMLStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetminWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn minWidth, Impl: IHTMLStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.minWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmaxWidth, Impl: IHTMLStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmaxWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn maxWidth, Impl: IHTMLStyle5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.maxWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetmsInterpolationMode: SetmsInterpolationMode::, - msInterpolationMode: msInterpolationMode::, - SetmaxHeight: SetmaxHeight::, - maxHeight: maxHeight::, - SetminWidth: SetminWidth::, - minWidth: minWidth::, - SetmaxWidth: SetmaxWidth::, - maxWidth: maxWidth::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyle6_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcontent(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn content(&self) -> ::windows::core::Result; - fn SetcaptionSide(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn captionSide(&self) -> ::windows::core::Result; - fn SetcounterIncrement(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn counterIncrement(&self) -> ::windows::core::Result; - fn SetcounterReset(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn counterReset(&self) -> ::windows::core::Result; - fn Setoutline(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn outline(&self) -> ::windows::core::Result; - fn SetoutlineWidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn outlineWidth(&self) -> ::windows::core::Result; - fn SetoutlineStyle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn outlineStyle(&self) -> ::windows::core::Result; - fn SetoutlineColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn outlineColor(&self) -> ::windows::core::Result; - fn SetboxSizing(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn boxSizing(&self) -> ::windows::core::Result; - fn SetborderSpacing(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn borderSpacing(&self) -> ::windows::core::Result; - fn Setorphans(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn orphans(&self) -> ::windows::core::Result; - fn Setwidows(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn widows(&self) -> ::windows::core::Result; - fn SetpageBreakInside(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn pageBreakInside(&self) -> ::windows::core::Result; - fn SetemptyCells(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn emptyCells(&self) -> ::windows::core::Result; - fn SetmsBlockProgression(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn msBlockProgression(&self) -> ::windows::core::Result; - fn Setquotes(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn quotes(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyle6 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyle6_Vtbl { - pub const fn new, Impl: IHTMLStyle6_Impl, const OFFSET: isize>() -> IHTMLStyle6_Vtbl { - unsafe extern "system" fn Setcontent, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcontent(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn content, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.content() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcaptionSide, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcaptionSide(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn captionSide, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.captionSide() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcounterIncrement, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcounterIncrement(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn counterIncrement, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.counterIncrement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcounterReset, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcounterReset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn counterReset, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.counterReset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoutline, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoutline(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn outline, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetoutlineWidth, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoutlineWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn outlineWidth, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outlineWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetoutlineStyle, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoutlineStyle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn outlineStyle, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outlineStyle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetoutlineColor, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoutlineColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn outlineColor, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outlineColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetboxSizing, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetboxSizing(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn boxSizing, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.boxSizing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderSpacing, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderSpacing(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderSpacing, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderSpacing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setorphans, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setorphans(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn orphans, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.orphans() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidows, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidows(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn widows, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.widows() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpageBreakInside, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpageBreakInside(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn pageBreakInside, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageBreakInside() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetemptyCells, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetemptyCells(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn emptyCells, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.emptyCells() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmsBlockProgression, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmsBlockProgression(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn msBlockProgression, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msBlockProgression() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setquotes, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setquotes(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn quotes, Impl: IHTMLStyle6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.quotes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcontent: Setcontent::, - content: content::, - SetcaptionSide: SetcaptionSide::, - captionSide: captionSide::, - SetcounterIncrement: SetcounterIncrement::, - counterIncrement: counterIncrement::, - SetcounterReset: SetcounterReset::, - counterReset: counterReset::, - Setoutline: Setoutline::, - outline: outline::, - SetoutlineWidth: SetoutlineWidth::, - outlineWidth: outlineWidth::, - SetoutlineStyle: SetoutlineStyle::, - outlineStyle: outlineStyle::, - SetoutlineColor: SetoutlineColor::, - outlineColor: outlineColor::, - SetboxSizing: SetboxSizing::, - boxSizing: boxSizing::, - SetborderSpacing: SetborderSpacing::, - borderSpacing: borderSpacing::, - Setorphans: Setorphans::, - orphans: orphans::, - Setwidows: Setwidows::, - widows: widows::, - SetpageBreakInside: SetpageBreakInside::, - pageBreakInside: pageBreakInside::, - SetemptyCells: SetemptyCells::, - emptyCells: emptyCells::, - SetmsBlockProgression: SetmsBlockProgression::, - msBlockProgression: msBlockProgression::, - Setquotes: Setquotes::, - quotes: quotes::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Settype(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; - fn readyState(&self) -> ::windows::core::Result; - fn Setonreadystatechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onreadystatechange(&self) -> ::windows::core::Result; - fn Setonload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onload(&self) -> ::windows::core::Result; - fn Setonerror(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onerror(&self) -> ::windows::core::Result; - fn styleSheet(&self) -> ::windows::core::Result; - fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()>; - fn disabled(&self) -> ::windows::core::Result; - fn Setmedia(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn media(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleElement_Vtbl { - pub const fn new, Impl: IHTMLStyleElement_Impl, const OFFSET: isize>() -> IHTMLStyleElement_Vtbl { - unsafe extern "system" fn Settype, Impl: IHTMLStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settype(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#type, Impl: IHTMLStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn readyState, Impl: IHTMLStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readyState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonreadystatechange, Impl: IHTMLStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonreadystatechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onreadystatechange, Impl: IHTMLStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onreadystatechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonload, Impl: IHTMLStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onload, Impl: IHTMLStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonerror, Impl: IHTMLStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonerror(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onerror, Impl: IHTMLStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onerror() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn styleSheet, Impl: IHTMLStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.styleSheet() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdisabled, Impl: IHTMLStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn disabled, Impl: IHTMLStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.disabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setmedia, Impl: IHTMLStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmedia(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn media, Impl: IHTMLStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.media() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Settype: Settype::, - r#type: r#type::, - readyState: readyState::, - Setonreadystatechange: Setonreadystatechange::, - onreadystatechange: onreadystatechange::, - Setonload: Setonload::, - onload: onload::, - Setonerror: Setonerror::, - onerror: onerror::, - styleSheet: styleSheet::, - Setdisabled: Setdisabled::, - disabled: disabled::, - Setmedia: Setmedia::, - media: media::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn sheet(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleElement2_Vtbl { - pub const fn new, Impl: IHTMLStyleElement2_Impl, const OFFSET: isize>() -> IHTMLStyleElement2_Vtbl { - unsafe extern "system" fn sheet, Impl: IHTMLStyleElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.sheet() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), sheet: sheet:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleEnabled_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn msGetPropertyEnabled(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn msPutPropertyEnabled(&self, name: &super::super::Foundation::BSTR, b: i16) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleEnabled {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleEnabled_Vtbl { - pub const fn new, Impl: IHTMLStyleEnabled_Impl, const OFFSET: isize>() -> IHTMLStyleEnabled_Vtbl { - unsafe extern "system" fn msGetPropertyEnabled, Impl: IHTMLStyleEnabled_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msGetPropertyEnabled(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn msPutPropertyEnabled, Impl: IHTMLStyleEnabled_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, b: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.msPutPropertyEnabled(::core::mem::transmute(&name), ::core::mem::transmute_copy(&b)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - msGetPropertyEnabled: msGetPropertyEnabled::, - msPutPropertyEnabled: msPutPropertyEnabled::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleFontFace_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setfontsrc(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn fontsrc(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleFontFace {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleFontFace_Vtbl { - pub const fn new, Impl: IHTMLStyleFontFace_Impl, const OFFSET: isize>() -> IHTMLStyleFontFace_Vtbl { - unsafe extern "system" fn Setfontsrc, Impl: IHTMLStyleFontFace_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setfontsrc(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fontsrc, Impl: IHTMLStyleFontFace_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fontsrc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setfontsrc: Setfontsrc::, - fontsrc: fontsrc::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleFontFace2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn style(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleFontFace2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleFontFace2_Vtbl { - pub const fn new, Impl: IHTMLStyleFontFace2_Impl, const OFFSET: isize>() -> IHTMLStyleFontFace2_Vtbl { - unsafe extern "system" fn style, Impl: IHTMLStyleFontFace2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.style() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), style: style:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleMedia_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn r#type(&self) -> ::windows::core::Result; - fn matchMedium(&self, mediaquery: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleMedia {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleMedia_Vtbl { - pub const fn new, Impl: IHTMLStyleMedia_Impl, const OFFSET: isize>() -> IHTMLStyleMedia_Vtbl { - unsafe extern "system" fn r#type, Impl: IHTMLStyleMedia_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn matchMedium, Impl: IHTMLStyleMedia_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, mediaquery: ::core::mem::ManuallyDrop, matches: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.matchMedium(::core::mem::transmute(&mediaquery)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(matches, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - r#type: r#type::, - matchMedium: matchMedium::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleSheet_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Settitle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn title(&self) -> ::windows::core::Result; - fn parentStyleSheet(&self) -> ::windows::core::Result; - fn owningElement(&self) -> ::windows::core::Result; - fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()>; - fn disabled(&self) -> ::windows::core::Result; - fn readOnly(&self) -> ::windows::core::Result; - fn imports(&self) -> ::windows::core::Result; - fn Sethref(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn href(&self) -> ::windows::core::Result; - fn r#type(&self) -> ::windows::core::Result; - fn id(&self) -> ::windows::core::Result; - fn addImport(&self, bstrurl: &super::super::Foundation::BSTR, lindex: i32) -> ::windows::core::Result; - fn addRule(&self, bstrselector: &super::super::Foundation::BSTR, bstrstyle: &super::super::Foundation::BSTR, lindex: i32) -> ::windows::core::Result; - fn removeImport(&self, lindex: i32) -> ::windows::core::Result<()>; - fn removeRule(&self, lindex: i32) -> ::windows::core::Result<()>; - fn Setmedia(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn media(&self) -> ::windows::core::Result; - fn SetcssText(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn cssText(&self) -> ::windows::core::Result; - fn rules(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleSheet {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleSheet_Vtbl { - pub const fn new, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>() -> IHTMLStyleSheet_Vtbl { - unsafe extern "system" fn Settitle, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settitle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn title, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.title() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn parentStyleSheet, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.parentStyleSheet() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn owningElement, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.owningElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdisabled, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn disabled, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.disabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn readOnly, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readOnly() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn imports, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.imports() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sethref, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethref(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn href, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.href() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn r#type, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn id, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.id() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn addImport, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, lindex: i32, plindex: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.addImport(::core::mem::transmute(&bstrurl), ::core::mem::transmute_copy(&lindex)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(plindex, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn addRule, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrselector: ::core::mem::ManuallyDrop, bstrstyle: ::core::mem::ManuallyDrop, lindex: i32, plnewindex: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.addRule(::core::mem::transmute(&bstrselector), ::core::mem::transmute(&bstrstyle), ::core::mem::transmute_copy(&lindex)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(plnewindex, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeImport, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lindex: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.removeImport(::core::mem::transmute_copy(&lindex)).into() - } - unsafe extern "system" fn removeRule, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lindex: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.removeRule(::core::mem::transmute_copy(&lindex)).into() - } - unsafe extern "system" fn Setmedia, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmedia(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn media, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.media() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcssText, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcssText(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cssText, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cssText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn rules, Impl: IHTMLStyleSheet_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rules() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Settitle: Settitle::, - title: title::, - parentStyleSheet: parentStyleSheet::, - owningElement: owningElement::, - Setdisabled: Setdisabled::, - disabled: disabled::, - readOnly: readOnly::, - imports: imports::, - Sethref: Sethref::, - href: href::, - r#type: r#type::, - id: id::, - addImport: addImport::, - addRule: addRule::, - removeImport: removeImport::, - removeRule: removeRule::, - Setmedia: Setmedia::, - media: media::, - SetcssText: SetcssText::, - cssText: cssText::, - rules: rules::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleSheet2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn pages(&self) -> ::windows::core::Result; - fn addPageRule(&self, bstrselector: &super::super::Foundation::BSTR, bstrstyle: &super::super::Foundation::BSTR, lindex: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleSheet2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleSheet2_Vtbl { - pub const fn new, Impl: IHTMLStyleSheet2_Impl, const OFFSET: isize>() -> IHTMLStyleSheet2_Vtbl { - unsafe extern "system" fn pages, Impl: IHTMLStyleSheet2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pages() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn addPageRule, Impl: IHTMLStyleSheet2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrselector: ::core::mem::ManuallyDrop, bstrstyle: ::core::mem::ManuallyDrop, lindex: i32, plnewindex: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.addPageRule(::core::mem::transmute(&bstrselector), ::core::mem::transmute(&bstrstyle), ::core::mem::transmute_copy(&lindex)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(plnewindex, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - pages: pages::, - addPageRule: addPageRule::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleSheet3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Sethref(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn href(&self) -> ::windows::core::Result; - fn isAlternate(&self) -> ::windows::core::Result; - fn isPrefAlternate(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleSheet3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleSheet3_Vtbl { - pub const fn new, Impl: IHTMLStyleSheet3_Impl, const OFFSET: isize>() -> IHTMLStyleSheet3_Vtbl { - unsafe extern "system" fn Sethref, Impl: IHTMLStyleSheet3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sethref(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn href, Impl: IHTMLStyleSheet3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.href() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn isAlternate, Impl: IHTMLStyleSheet3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isAlternate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn isPrefAlternate, Impl: IHTMLStyleSheet3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isPrefAlternate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Sethref: Sethref::, - href: href::, - isAlternate: isAlternate::, - isPrefAlternate: isPrefAlternate::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleSheet4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn r#type(&self) -> ::windows::core::Result; - fn href(&self) -> ::windows::core::Result; - fn title(&self) -> ::windows::core::Result; - fn ownerNode(&self) -> ::windows::core::Result; - fn ownerRule(&self) -> ::windows::core::Result; - fn cssRules(&self) -> ::windows::core::Result; - fn media(&self) -> ::windows::core::Result; - fn insertRule(&self, bstrrule: &super::super::Foundation::BSTR, lindex: i32) -> ::windows::core::Result; - fn deleteRule(&self, lindex: i32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleSheet4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleSheet4_Vtbl { - pub const fn new, Impl: IHTMLStyleSheet4_Impl, const OFFSET: isize>() -> IHTMLStyleSheet4_Vtbl { - unsafe extern "system" fn r#type, Impl: IHTMLStyleSheet4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn href, Impl: IHTMLStyleSheet4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.href() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn title, Impl: IHTMLStyleSheet4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.title() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn ownerNode, Impl: IHTMLStyleSheet4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ownerNode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn ownerRule, Impl: IHTMLStyleSheet4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ownerRule() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn cssRules, Impl: IHTMLStyleSheet4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cssRules() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn media, Impl: IHTMLStyleSheet4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.media() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertRule, Impl: IHTMLStyleSheet4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrrule: ::core::mem::ManuallyDrop, lindex: i32, plnewindex: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertRule(::core::mem::transmute(&bstrrule), ::core::mem::transmute_copy(&lindex)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(plnewindex, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deleteRule, Impl: IHTMLStyleSheet4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lindex: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteRule(::core::mem::transmute_copy(&lindex)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - r#type: r#type::, - href: href::, - title: title::, - ownerNode: ownerNode::, - ownerRule: ownerRule::, - cssRules: cssRules::, - media: media::, - insertRule: insertRule::, - deleteRule: deleteRule::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleSheetPage_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn selector(&self) -> ::windows::core::Result; - fn pseudoClass(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleSheetPage {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleSheetPage_Vtbl { - pub const fn new, Impl: IHTMLStyleSheetPage_Impl, const OFFSET: isize>() -> IHTMLStyleSheetPage_Vtbl { - unsafe extern "system" fn selector, Impl: IHTMLStyleSheetPage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.selector() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn pseudoClass, Impl: IHTMLStyleSheetPage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pseudoClass() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - selector: selector::, - pseudoClass: pseudoClass::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleSheetPage2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetselectorText(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn selectorText(&self) -> ::windows::core::Result; - fn style(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleSheetPage2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleSheetPage2_Vtbl { - pub const fn new, Impl: IHTMLStyleSheetPage2_Impl, const OFFSET: isize>() -> IHTMLStyleSheetPage2_Vtbl { - unsafe extern "system" fn SetselectorText, Impl: IHTMLStyleSheetPage2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetselectorText(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn selectorText, Impl: IHTMLStyleSheetPage2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.selectorText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn style, Impl: IHTMLStyleSheetPage2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.style() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetselectorText: SetselectorText::, - selectorText: selectorText::, - style: style::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleSheetPagesCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn item(&self, index: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleSheetPagesCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleSheetPagesCollection_Vtbl { - pub const fn new, Impl: IHTMLStyleSheetPagesCollection_Impl, const OFFSET: isize>() -> IHTMLStyleSheetPagesCollection_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLStyleSheetPagesCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLStyleSheetPagesCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, pphtmlstylesheetpage: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pphtmlstylesheetpage, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - item: item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleSheetRule_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetselectorText(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn selectorText(&self) -> ::windows::core::Result; - fn style(&self) -> ::windows::core::Result; - fn readOnly(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleSheetRule {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleSheetRule_Vtbl { - pub const fn new, Impl: IHTMLStyleSheetRule_Impl, const OFFSET: isize>() -> IHTMLStyleSheetRule_Vtbl { - unsafe extern "system" fn SetselectorText, Impl: IHTMLStyleSheetRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetselectorText(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn selectorText, Impl: IHTMLStyleSheetRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.selectorText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn style, Impl: IHTMLStyleSheetRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.style() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn readOnly, Impl: IHTMLStyleSheetRule_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readOnly() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetselectorText: SetselectorText::, - selectorText: selectorText::, - style: style::, - readOnly: readOnly::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleSheetRule2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetselectorText(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn selectorText(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleSheetRule2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleSheetRule2_Vtbl { - pub const fn new, Impl: IHTMLStyleSheetRule2_Impl, const OFFSET: isize>() -> IHTMLStyleSheetRule2_Vtbl { - unsafe extern "system" fn SetselectorText, Impl: IHTMLStyleSheetRule2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetselectorText(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn selectorText, Impl: IHTMLStyleSheetRule2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.selectorText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetselectorText: SetselectorText::, - selectorText: selectorText::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleSheetRuleApplied_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn msSpecificity(&self) -> ::windows::core::Result; - fn msGetSpecificity(&self, index: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleSheetRuleApplied {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleSheetRuleApplied_Vtbl { - pub const fn new, Impl: IHTMLStyleSheetRuleApplied_Impl, const OFFSET: isize>() -> IHTMLStyleSheetRuleApplied_Vtbl { - unsafe extern "system" fn msSpecificity, Impl: IHTMLStyleSheetRuleApplied_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msSpecificity() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn msGetSpecificity, Impl: IHTMLStyleSheetRuleApplied_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msGetSpecificity(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - msSpecificity: msSpecificity::, - msGetSpecificity: msGetSpecificity::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleSheetRulesAppliedCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn item(&self, index: i32) -> ::windows::core::Result; - fn length(&self) -> ::windows::core::Result; - fn propertyAppliedBy(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn propertyAppliedTrace(&self, name: &super::super::Foundation::BSTR, index: i32) -> ::windows::core::Result; - fn propertyAppliedTraceLength(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleSheetRulesAppliedCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleSheetRulesAppliedCollection_Vtbl { - pub const fn new, Impl: IHTMLStyleSheetRulesAppliedCollection_Impl, const OFFSET: isize>() -> IHTMLStyleSheetRulesAppliedCollection_Vtbl { - unsafe extern "system" fn item, Impl: IHTMLStyleSheetRulesAppliedCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, pphtmlstylesheetrule: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pphtmlstylesheetrule, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn length, Impl: IHTMLStyleSheetRulesAppliedCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn propertyAppliedBy, Impl: IHTMLStyleSheetRulesAppliedCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pprule: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.propertyAppliedBy(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pprule, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn propertyAppliedTrace, Impl: IHTMLStyleSheetRulesAppliedCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, index: i32, pprule: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.propertyAppliedTrace(::core::mem::transmute(&name), ::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pprule, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn propertyAppliedTraceLength, Impl: IHTMLStyleSheetRulesAppliedCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, plength: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.propertyAppliedTraceLength(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(plength, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - item: item::, - length: length::, - propertyAppliedBy: propertyAppliedBy::, - propertyAppliedTrace: propertyAppliedTrace::, - propertyAppliedTraceLength: propertyAppliedTraceLength::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleSheetRulesCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn item(&self, index: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleSheetRulesCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleSheetRulesCollection_Vtbl { - pub const fn new, Impl: IHTMLStyleSheetRulesCollection_Impl, const OFFSET: isize>() -> IHTMLStyleSheetRulesCollection_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLStyleSheetRulesCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLStyleSheetRulesCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, pphtmlstylesheetrule: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pphtmlstylesheetrule, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - item: item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleSheetRulesCollection2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn item(&self, index: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleSheetRulesCollection2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleSheetRulesCollection2_Vtbl { - pub const fn new, Impl: IHTMLStyleSheetRulesCollection2_Impl, const OFFSET: isize>() -> IHTMLStyleSheetRulesCollection2_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLStyleSheetRulesCollection2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLStyleSheetRulesCollection2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, pphtmlcssrule: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pphtmlcssrule, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - item: item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleSheetsCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleSheetsCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleSheetsCollection_Vtbl { - pub const fn new, Impl: IHTMLStyleSheetsCollection_Impl, const OFFSET: isize>() -> IHTMLStyleSheetsCollection_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLStyleSheetsCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn _newEnum, Impl: IHTMLStyleSheetsCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this._newEnum() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLStyleSheetsCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarindex: *const super::super::System::Com::VARIANT, pvarresult: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&pvarindex)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvarresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - _newEnum: _newEnum::, - item: item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLStyleSheetsCollection2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn item(&self, index: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLStyleSheetsCollection2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLStyleSheetsCollection2_Vtbl { - pub const fn new, Impl: IHTMLStyleSheetsCollection2_Impl, const OFFSET: isize>() -> IHTMLStyleSheetsCollection2_Vtbl { - unsafe extern "system" fn item, Impl: IHTMLStyleSheetsCollection2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, pvarresult: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvarresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), item: item:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLSubmitData_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn appendNameValuePair(&self, name: &super::super::Foundation::BSTR, value: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn appendNameFilePair(&self, name: &super::super::Foundation::BSTR, filename: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn appendItemSeparator(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLSubmitData {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLSubmitData_Vtbl { - pub const fn new, Impl: IHTMLSubmitData_Impl, const OFFSET: isize>() -> IHTMLSubmitData_Vtbl { - unsafe extern "system" fn appendNameValuePair, Impl: IHTMLSubmitData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, value: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.appendNameValuePair(::core::mem::transmute(&name), ::core::mem::transmute(&value)).into() - } - unsafe extern "system" fn appendNameFilePair, Impl: IHTMLSubmitData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, filename: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.appendNameFilePair(::core::mem::transmute(&name), ::core::mem::transmute(&filename)).into() - } - unsafe extern "system" fn appendItemSeparator, Impl: IHTMLSubmitData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.appendItemSeparator().into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - appendNameValuePair: appendNameValuePair::, - appendNameFilePair: appendNameFilePair::, - appendItemSeparator: appendItemSeparator::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTable_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcols(&self, v: i32) -> ::windows::core::Result<()>; - fn cols(&self) -> ::windows::core::Result; - fn Setborder(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn border(&self) -> ::windows::core::Result; - fn Setframe(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn frame(&self) -> ::windows::core::Result; - fn Setrules(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn rules(&self) -> ::windows::core::Result; - fn SetcellSpacing(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn cellSpacing(&self) -> ::windows::core::Result; - fn SetcellPadding(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn cellPadding(&self) -> ::windows::core::Result; - fn Setbackground(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn background(&self) -> ::windows::core::Result; - fn SetbgColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn bgColor(&self) -> ::windows::core::Result; - fn SetborderColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderColor(&self) -> ::windows::core::Result; - fn SetborderColorLight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderColorLight(&self) -> ::windows::core::Result; - fn SetborderColorDark(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderColorDark(&self) -> ::windows::core::Result; - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; - fn refresh(&self) -> ::windows::core::Result<()>; - fn rows(&self) -> ::windows::core::Result; - fn Setwidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn Setheight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; - fn SetdataPageSize(&self, v: i32) -> ::windows::core::Result<()>; - fn dataPageSize(&self) -> ::windows::core::Result; - fn nextPage(&self) -> ::windows::core::Result<()>; - fn previousPage(&self) -> ::windows::core::Result<()>; - fn tHead(&self) -> ::windows::core::Result; - fn tFoot(&self) -> ::windows::core::Result; - fn tBodies(&self) -> ::windows::core::Result; - fn caption(&self) -> ::windows::core::Result; - fn createTHead(&self) -> ::windows::core::Result; - fn deleteTHead(&self) -> ::windows::core::Result<()>; - fn createTFoot(&self) -> ::windows::core::Result; - fn deleteTFoot(&self) -> ::windows::core::Result<()>; - fn createCaption(&self) -> ::windows::core::Result; - fn deleteCaption(&self) -> ::windows::core::Result<()>; - fn insertRow(&self, index: i32) -> ::windows::core::Result; - fn deleteRow(&self, index: i32) -> ::windows::core::Result<()>; - fn readyState(&self) -> ::windows::core::Result; - fn Setonreadystatechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onreadystatechange(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTable {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTable_Vtbl { - pub const fn new, Impl: IHTMLTable_Impl, const OFFSET: isize>() -> IHTMLTable_Vtbl { - unsafe extern "system" fn Setcols, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcols(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn cols, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cols() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setborder, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setborder(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn border, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.border() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setframe, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setframe(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn frame, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.frame() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setrules, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setrules(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rules, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rules() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcellSpacing, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcellSpacing(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cellSpacing, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cellSpacing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcellPadding, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcellPadding(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cellPadding, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cellPadding() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setbackground, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setbackground(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn background, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.background() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbgColor, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbgColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn bgColor, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bgColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderColor, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderColor, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderColorLight, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderColorLight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderColorLight, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderColorLight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderColorDark, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderColorDark(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderColorDark, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderColorDark() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setalign, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn refresh, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.refresh().into() - } - unsafe extern "system" fn rows, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rows() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidth, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setheight, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn height, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdataPageSize, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdataPageSize(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn dataPageSize, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dataPageSize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn nextPage, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.nextPage().into() - } - unsafe extern "system" fn previousPage, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.previousPage().into() - } - unsafe extern "system" fn tHead, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tHead() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn tFoot, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tFoot() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn tBodies, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tBodies() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn caption, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.caption() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createTHead, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, head: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createTHead() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(head, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deleteTHead, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteTHead().into() - } - unsafe extern "system" fn createTFoot, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, foot: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createTFoot() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(foot, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deleteTFoot, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteTFoot().into() - } - unsafe extern "system" fn createCaption, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, caption: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createCaption() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(caption, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deleteCaption, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteCaption().into() - } - unsafe extern "system" fn insertRow, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, row: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertRow(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(row, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deleteRow, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteRow(::core::mem::transmute_copy(&index)).into() - } - unsafe extern "system" fn readyState, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readyState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonreadystatechange, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonreadystatechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onreadystatechange, Impl: IHTMLTable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onreadystatechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcols: Setcols::, - cols: cols::, - Setborder: Setborder::, - border: border::, - Setframe: Setframe::, - frame: frame::, - Setrules: Setrules::, - rules: rules::, - SetcellSpacing: SetcellSpacing::, - cellSpacing: cellSpacing::, - SetcellPadding: SetcellPadding::, - cellPadding: cellPadding::, - Setbackground: Setbackground::, - background: background::, - SetbgColor: SetbgColor::, - bgColor: bgColor::, - SetborderColor: SetborderColor::, - borderColor: borderColor::, - SetborderColorLight: SetborderColorLight::, - borderColorLight: borderColorLight::, - SetborderColorDark: SetborderColorDark::, - borderColorDark: borderColorDark::, - Setalign: Setalign::, - align: align::, - refresh: refresh::, - rows: rows::, - Setwidth: Setwidth::, - width: width::, - Setheight: Setheight::, - height: height::, - SetdataPageSize: SetdataPageSize::, - dataPageSize: dataPageSize::, - nextPage: nextPage::, - previousPage: previousPage::, - tHead: tHead::, - tFoot: tFoot::, - tBodies: tBodies::, - caption: caption::, - createTHead: createTHead::, - deleteTHead: deleteTHead::, - createTFoot: createTFoot::, - deleteTFoot: deleteTFoot::, - createCaption: createCaption::, - deleteCaption: deleteCaption::, - insertRow: insertRow::, - deleteRow: deleteRow::, - readyState: readyState::, - Setonreadystatechange: Setonreadystatechange::, - onreadystatechange: onreadystatechange::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTable2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn firstPage(&self) -> ::windows::core::Result<()>; - fn lastPage(&self) -> ::windows::core::Result<()>; - fn cells(&self) -> ::windows::core::Result; - fn moveRow(&self, indexfrom: i32, indexto: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTable2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTable2_Vtbl { - pub const fn new, Impl: IHTMLTable2_Impl, const OFFSET: isize>() -> IHTMLTable2_Vtbl { - unsafe extern "system" fn firstPage, Impl: IHTMLTable2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.firstPage().into() - } - unsafe extern "system" fn lastPage, Impl: IHTMLTable2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.lastPage().into() - } - unsafe extern "system" fn cells, Impl: IHTMLTable2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cells() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn moveRow, Impl: IHTMLTable2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, indexfrom: i32, indexto: i32, row: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.moveRow(::core::mem::transmute_copy(&indexfrom), ::core::mem::transmute_copy(&indexto)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(row, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - firstPage: firstPage::, - lastPage: lastPage::, - cells: cells::, - moveRow: moveRow::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTable3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setsummary(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn summary(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTable3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTable3_Vtbl { - pub const fn new, Impl: IHTMLTable3_Impl, const OFFSET: isize>() -> IHTMLTable3_Vtbl { - unsafe extern "system" fn Setsummary, Impl: IHTMLTable3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setsummary(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn summary, Impl: IHTMLTable3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.summary() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setsummary: Setsummary::, - summary: summary::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTable4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_tHead(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn tHead(&self) -> ::windows::core::Result; - fn putref_tFoot(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn tFoot(&self) -> ::windows::core::Result; - fn putref_caption(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn caption(&self) -> ::windows::core::Result; - fn insertRow(&self, index: i32) -> ::windows::core::Result; - fn deleteRow(&self, index: i32) -> ::windows::core::Result<()>; - fn createTBody(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTable4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTable4_Vtbl { - pub const fn new, Impl: IHTMLTable4_Impl, const OFFSET: isize>() -> IHTMLTable4_Vtbl { - unsafe extern "system" fn putref_tHead, Impl: IHTMLTable4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_tHead(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn tHead, Impl: IHTMLTable4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tHead() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_tFoot, Impl: IHTMLTable4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_tFoot(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn tFoot, Impl: IHTMLTable4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tFoot() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_caption, Impl: IHTMLTable4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_caption(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn caption, Impl: IHTMLTable4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.caption() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertRow, Impl: IHTMLTable4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, row: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertRow(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(row, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deleteRow, Impl: IHTMLTable4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteRow(::core::mem::transmute_copy(&index)).into() - } - unsafe extern "system" fn createTBody, Impl: IHTMLTable4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, tbody: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createTBody() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(tbody, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_tHead: putref_tHead::, - tHead: tHead::, - putref_tFoot: putref_tFoot::, - tFoot: tFoot::, - putref_caption: putref_caption::, - caption: caption::, - insertRow: insertRow::, - deleteRow: deleteRow::, - createTBody: createTBody::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTableCaption_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; - fn SetvAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn vAlign(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTableCaption {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTableCaption_Vtbl { - pub const fn new, Impl: IHTMLTableCaption_Impl, const OFFSET: isize>() -> IHTMLTableCaption_Vtbl { - unsafe extern "system" fn Setalign, Impl: IHTMLTableCaption_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLTableCaption_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetvAlign, Impl: IHTMLTableCaption_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetvAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn vAlign, Impl: IHTMLTableCaption_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setalign: Setalign::, - align: align::, - SetvAlign: SetvAlign::, - vAlign: vAlign::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTableCell_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetrowSpan(&self, v: i32) -> ::windows::core::Result<()>; - fn rowSpan(&self) -> ::windows::core::Result; - fn SetcolSpan(&self, v: i32) -> ::windows::core::Result<()>; - fn colSpan(&self) -> ::windows::core::Result; - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; - fn SetvAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn vAlign(&self) -> ::windows::core::Result; - fn SetbgColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn bgColor(&self) -> ::windows::core::Result; - fn SetnoWrap(&self, v: i16) -> ::windows::core::Result<()>; - fn noWrap(&self) -> ::windows::core::Result; - fn Setbackground(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn background(&self) -> ::windows::core::Result; - fn SetborderColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderColor(&self) -> ::windows::core::Result; - fn SetborderColorLight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderColorLight(&self) -> ::windows::core::Result; - fn SetborderColorDark(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderColorDark(&self) -> ::windows::core::Result; - fn Setwidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn Setheight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; - fn cellIndex(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTableCell {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTableCell_Vtbl { - pub const fn new, Impl: IHTMLTableCell_Impl, const OFFSET: isize>() -> IHTMLTableCell_Vtbl { - unsafe extern "system" fn SetrowSpan, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetrowSpan(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn rowSpan, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rowSpan() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcolSpan, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcolSpan(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn colSpan, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.colSpan() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setalign, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetvAlign, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetvAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn vAlign, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbgColor, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbgColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn bgColor, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bgColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetnoWrap, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnoWrap(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn noWrap, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.noWrap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setbackground, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setbackground(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn background, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.background() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderColor, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderColor, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderColorLight, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderColorLight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderColorLight, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderColorLight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderColorDark, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderColorDark(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderColorDark, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderColorDark() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidth, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setheight, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn height, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn cellIndex, Impl: IHTMLTableCell_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cellIndex() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetrowSpan: SetrowSpan::, - rowSpan: rowSpan::, - SetcolSpan: SetcolSpan::, - colSpan: colSpan::, - Setalign: Setalign::, - align: align::, - SetvAlign: SetvAlign::, - vAlign: vAlign::, - SetbgColor: SetbgColor::, - bgColor: bgColor::, - SetnoWrap: SetnoWrap::, - noWrap: noWrap::, - Setbackground: Setbackground::, - background: background::, - SetborderColor: SetborderColor::, - borderColor: borderColor::, - SetborderColorLight: SetborderColorLight::, - borderColorLight: borderColorLight::, - SetborderColorDark: SetborderColorDark::, - borderColorDark: borderColorDark::, - Setwidth: Setwidth::, - width: width::, - Setheight: Setheight::, - height: height::, - cellIndex: cellIndex::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTableCell2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setabbr(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn abbr(&self) -> ::windows::core::Result; - fn Setaxis(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn axis(&self) -> ::windows::core::Result; - fn Setch(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ch(&self) -> ::windows::core::Result; - fn SetchOff(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn chOff(&self) -> ::windows::core::Result; - fn Setheaders(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn headers(&self) -> ::windows::core::Result; - fn Setscope(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn scope(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTableCell2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTableCell2_Vtbl { - pub const fn new, Impl: IHTMLTableCell2_Impl, const OFFSET: isize>() -> IHTMLTableCell2_Vtbl { - unsafe extern "system" fn Setabbr, Impl: IHTMLTableCell2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setabbr(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn abbr, Impl: IHTMLTableCell2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.abbr() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setaxis, Impl: IHTMLTableCell2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setaxis(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn axis, Impl: IHTMLTableCell2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.axis() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setch, Impl: IHTMLTableCell2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setch(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ch, Impl: IHTMLTableCell2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ch() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetchOff, Impl: IHTMLTableCell2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetchOff(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn chOff, Impl: IHTMLTableCell2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.chOff() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setheaders, Impl: IHTMLTableCell2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheaders(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn headers, Impl: IHTMLTableCell2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.headers() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setscope, Impl: IHTMLTableCell2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setscope(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn scope, Impl: IHTMLTableCell2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scope() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setabbr: Setabbr::, - abbr: abbr::, - Setaxis: Setaxis::, - axis: axis::, - Setch: Setch::, - ch: ch::, - SetchOff: SetchOff::, - chOff: chOff::, - Setheaders: Setheaders::, - headers: headers::, - Setscope: Setscope::, - scope: scope::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTableCell3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setch(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ch(&self) -> ::windows::core::Result; - fn SetchOff(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn chOff(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTableCell3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTableCell3_Vtbl { - pub const fn new, Impl: IHTMLTableCell3_Impl, const OFFSET: isize>() -> IHTMLTableCell3_Vtbl { - unsafe extern "system" fn Setch, Impl: IHTMLTableCell3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setch(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ch, Impl: IHTMLTableCell3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ch() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetchOff, Impl: IHTMLTableCell3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetchOff(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn chOff, Impl: IHTMLTableCell3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.chOff() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setch: Setch::, - ch: ch::, - SetchOff: SetchOff::, - chOff: chOff::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTableCol_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setspan(&self, v: i32) -> ::windows::core::Result<()>; - fn span(&self) -> ::windows::core::Result; - fn Setwidth(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; - fn SetvAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn vAlign(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTableCol {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTableCol_Vtbl { - pub const fn new, Impl: IHTMLTableCol_Impl, const OFFSET: isize>() -> IHTMLTableCol_Vtbl { - unsafe extern "system" fn Setspan, Impl: IHTMLTableCol_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setspan(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn span, Impl: IHTMLTableCol_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.span() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidth, Impl: IHTMLTableCol_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLTableCol_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setalign, Impl: IHTMLTableCol_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLTableCol_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetvAlign, Impl: IHTMLTableCol_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetvAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn vAlign, Impl: IHTMLTableCol_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setspan: Setspan::, - span: span::, - Setwidth: Setwidth::, - width: width::, - Setalign: Setalign::, - align: align::, - SetvAlign: SetvAlign::, - vAlign: vAlign::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTableCol2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setch(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ch(&self) -> ::windows::core::Result; - fn SetchOff(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn chOff(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTableCol2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTableCol2_Vtbl { - pub const fn new, Impl: IHTMLTableCol2_Impl, const OFFSET: isize>() -> IHTMLTableCol2_Vtbl { - unsafe extern "system" fn Setch, Impl: IHTMLTableCol2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setch(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ch, Impl: IHTMLTableCol2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ch() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetchOff, Impl: IHTMLTableCol2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetchOff(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn chOff, Impl: IHTMLTableCol2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.chOff() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setch: Setch::, - ch: ch::, - SetchOff: SetchOff::, - chOff: chOff::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTableCol3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setch(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ch(&self) -> ::windows::core::Result; - fn SetchOff(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn chOff(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTableCol3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTableCol3_Vtbl { - pub const fn new, Impl: IHTMLTableCol3_Impl, const OFFSET: isize>() -> IHTMLTableCol3_Vtbl { - unsafe extern "system" fn Setch, Impl: IHTMLTableCol3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setch(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ch, Impl: IHTMLTableCol3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ch() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetchOff, Impl: IHTMLTableCol3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetchOff(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn chOff, Impl: IHTMLTableCol3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.chOff() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setch: Setch::, - ch: ch::, - SetchOff: SetchOff::, - chOff: chOff::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTableRow_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; - fn SetvAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn vAlign(&self) -> ::windows::core::Result; - fn SetbgColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn bgColor(&self) -> ::windows::core::Result; - fn SetborderColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderColor(&self) -> ::windows::core::Result; - fn SetborderColorLight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderColorLight(&self) -> ::windows::core::Result; - fn SetborderColorDark(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn borderColorDark(&self) -> ::windows::core::Result; - fn rowIndex(&self) -> ::windows::core::Result; - fn sectionRowIndex(&self) -> ::windows::core::Result; - fn cells(&self) -> ::windows::core::Result; - fn insertCell(&self, index: i32) -> ::windows::core::Result; - fn deleteCell(&self, index: i32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTableRow {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTableRow_Vtbl { - pub const fn new, Impl: IHTMLTableRow_Impl, const OFFSET: isize>() -> IHTMLTableRow_Vtbl { - unsafe extern "system" fn Setalign, Impl: IHTMLTableRow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLTableRow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetvAlign, Impl: IHTMLTableRow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetvAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn vAlign, Impl: IHTMLTableRow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbgColor, Impl: IHTMLTableRow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbgColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn bgColor, Impl: IHTMLTableRow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bgColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderColor, Impl: IHTMLTableRow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderColor, Impl: IHTMLTableRow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderColorLight, Impl: IHTMLTableRow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderColorLight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderColorLight, Impl: IHTMLTableRow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderColorLight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetborderColorDark, Impl: IHTMLTableRow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetborderColorDark(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn borderColorDark, Impl: IHTMLTableRow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.borderColorDark() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn rowIndex, Impl: IHTMLTableRow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rowIndex() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn sectionRowIndex, Impl: IHTMLTableRow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.sectionRowIndex() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn cells, Impl: IHTMLTableRow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cells() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertCell, Impl: IHTMLTableRow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, row: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertCell(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(row, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deleteCell, Impl: IHTMLTableRow_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteCell(::core::mem::transmute_copy(&index)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setalign: Setalign::, - align: align::, - SetvAlign: SetvAlign::, - vAlign: vAlign::, - SetbgColor: SetbgColor::, - bgColor: bgColor::, - SetborderColor: SetborderColor::, - borderColor: borderColor::, - SetborderColorLight: SetborderColorLight::, - borderColorLight: borderColorLight::, - SetborderColorDark: SetborderColorDark::, - borderColorDark: borderColorDark::, - rowIndex: rowIndex::, - sectionRowIndex: sectionRowIndex::, - cells: cells::, - insertCell: insertCell::, - deleteCell: deleteCell::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTableRow2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setheight(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTableRow2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTableRow2_Vtbl { - pub const fn new, Impl: IHTMLTableRow2_Impl, const OFFSET: isize>() -> IHTMLTableRow2_Vtbl { - unsafe extern "system" fn Setheight, Impl: IHTMLTableRow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn height, Impl: IHTMLTableRow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setheight: Setheight::, - height: height::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTableRow3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setch(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ch(&self) -> ::windows::core::Result; - fn SetchOff(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn chOff(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTableRow3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTableRow3_Vtbl { - pub const fn new, Impl: IHTMLTableRow3_Impl, const OFFSET: isize>() -> IHTMLTableRow3_Vtbl { - unsafe extern "system" fn Setch, Impl: IHTMLTableRow3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setch(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ch, Impl: IHTMLTableRow3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ch() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetchOff, Impl: IHTMLTableRow3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetchOff(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn chOff, Impl: IHTMLTableRow3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.chOff() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setch: Setch::, - ch: ch::, - SetchOff: SetchOff::, - chOff: chOff::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTableRow4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setch(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ch(&self) -> ::windows::core::Result; - fn SetchOff(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn chOff(&self) -> ::windows::core::Result; - fn insertCell(&self, index: i32) -> ::windows::core::Result; - fn deleteCell(&self, index: i32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTableRow4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTableRow4_Vtbl { - pub const fn new, Impl: IHTMLTableRow4_Impl, const OFFSET: isize>() -> IHTMLTableRow4_Vtbl { - unsafe extern "system" fn Setch, Impl: IHTMLTableRow4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setch(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ch, Impl: IHTMLTableRow4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ch() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetchOff, Impl: IHTMLTableRow4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetchOff(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn chOff, Impl: IHTMLTableRow4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.chOff() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertCell, Impl: IHTMLTableRow4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, row: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertCell(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(row, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deleteCell, Impl: IHTMLTableRow4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteCell(::core::mem::transmute_copy(&index)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setch: Setch::, - ch: ch::, - SetchOff: SetchOff::, - chOff: chOff::, - insertCell: insertCell::, - deleteCell: deleteCell::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTableRowMetrics_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn clientHeight(&self) -> ::windows::core::Result; - fn clientWidth(&self) -> ::windows::core::Result; - fn clientTop(&self) -> ::windows::core::Result; - fn clientLeft(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTableRowMetrics {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTableRowMetrics_Vtbl { - pub const fn new, Impl: IHTMLTableRowMetrics_Impl, const OFFSET: isize>() -> IHTMLTableRowMetrics_Vtbl { - unsafe extern "system" fn clientHeight, Impl: IHTMLTableRowMetrics_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clientWidth, Impl: IHTMLTableRowMetrics_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clientTop, Impl: IHTMLTableRowMetrics_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clientLeft, Impl: IHTMLTableRowMetrics_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - clientHeight: clientHeight::, - clientWidth: clientWidth::, - clientTop: clientTop::, - clientLeft: clientLeft::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTableSection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setalign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; - fn SetvAlign(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn vAlign(&self) -> ::windows::core::Result; - fn SetbgColor(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn bgColor(&self) -> ::windows::core::Result; - fn rows(&self) -> ::windows::core::Result; - fn insertRow(&self, index: i32) -> ::windows::core::Result; - fn deleteRow(&self, index: i32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTableSection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTableSection_Vtbl { - pub const fn new, Impl: IHTMLTableSection_Impl, const OFFSET: isize>() -> IHTMLTableSection_Vtbl { - unsafe extern "system" fn Setalign, Impl: IHTMLTableSection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn align, Impl: IHTMLTableSection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetvAlign, Impl: IHTMLTableSection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetvAlign(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn vAlign, Impl: IHTMLTableSection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.vAlign() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetbgColor, Impl: IHTMLTableSection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbgColor(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn bgColor, Impl: IHTMLTableSection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.bgColor() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn rows, Impl: IHTMLTableSection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rows() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertRow, Impl: IHTMLTableSection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, row: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertRow(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(row, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deleteRow, Impl: IHTMLTableSection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteRow(::core::mem::transmute_copy(&index)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setalign: Setalign::, - align: align::, - SetvAlign: SetvAlign::, - vAlign: vAlign::, - SetbgColor: SetbgColor::, - bgColor: bgColor::, - rows: rows::, - insertRow: insertRow::, - deleteRow: deleteRow::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTableSection2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn moveRow(&self, indexfrom: i32, indexto: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTableSection2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTableSection2_Vtbl { - pub const fn new, Impl: IHTMLTableSection2_Impl, const OFFSET: isize>() -> IHTMLTableSection2_Vtbl { - unsafe extern "system" fn moveRow, Impl: IHTMLTableSection2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, indexfrom: i32, indexto: i32, row: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.moveRow(::core::mem::transmute_copy(&indexfrom), ::core::mem::transmute_copy(&indexto)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(row, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), moveRow: moveRow:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTableSection3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setch(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ch(&self) -> ::windows::core::Result; - fn SetchOff(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn chOff(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTableSection3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTableSection3_Vtbl { - pub const fn new, Impl: IHTMLTableSection3_Impl, const OFFSET: isize>() -> IHTMLTableSection3_Vtbl { - unsafe extern "system" fn Setch, Impl: IHTMLTableSection3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setch(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ch, Impl: IHTMLTableSection3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ch() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetchOff, Impl: IHTMLTableSection3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetchOff(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn chOff, Impl: IHTMLTableSection3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.chOff() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setch: Setch::, - ch: ch::, - SetchOff: SetchOff::, - chOff: chOff::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTableSection4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setch(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn ch(&self) -> ::windows::core::Result; - fn SetchOff(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn chOff(&self) -> ::windows::core::Result; - fn insertRow(&self, index: i32) -> ::windows::core::Result; - fn deleteRow(&self, index: i32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTableSection4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTableSection4_Vtbl { - pub const fn new, Impl: IHTMLTableSection4_Impl, const OFFSET: isize>() -> IHTMLTableSection4_Vtbl { - unsafe extern "system" fn Setch, Impl: IHTMLTableSection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setch(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ch, Impl: IHTMLTableSection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ch() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetchOff, Impl: IHTMLTableSection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetchOff(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn chOff, Impl: IHTMLTableSection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.chOff() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertRow, Impl: IHTMLTableSection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, row: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertRow(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(row, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deleteRow, Impl: IHTMLTableSection4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deleteRow(::core::mem::transmute_copy(&index)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setch: Setch::, - ch: ch::, - SetchOff: SetchOff::, - chOff: chOff::, - insertRow: insertRow::, - deleteRow: deleteRow::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTextAreaElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn r#type(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn Setstatus(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn status(&self) -> ::windows::core::Result; - fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()>; - fn disabled(&self) -> ::windows::core::Result; - fn form(&self) -> ::windows::core::Result; - fn SetdefaultValue(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn defaultValue(&self) -> ::windows::core::Result; - fn select(&self) -> ::windows::core::Result<()>; - fn Setonchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onchange(&self) -> ::windows::core::Result; - fn Setonselect(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onselect(&self) -> ::windows::core::Result; - fn SetreadOnly(&self, v: i16) -> ::windows::core::Result<()>; - fn readOnly(&self) -> ::windows::core::Result; - fn Setrows(&self, v: i32) -> ::windows::core::Result<()>; - fn rows(&self) -> ::windows::core::Result; - fn Setcols(&self, v: i32) -> ::windows::core::Result<()>; - fn cols(&self) -> ::windows::core::Result; - fn Setwrap(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn wrap(&self) -> ::windows::core::Result; - fn createTextRange(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTextAreaElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTextAreaElement_Vtbl { - pub const fn new, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>() -> IHTMLTextAreaElement_Vtbl { - unsafe extern "system" fn r#type, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn value, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setstatus, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setstatus(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn status, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.status() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setdisabled, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setdisabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn disabled, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.disabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn form, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.form() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdefaultValue, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdefaultValue(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn defaultValue, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.defaultValue() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn select, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.select().into() - } - unsafe extern "system" fn Setonchange, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onchange, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonselect, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonselect(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onselect, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onselect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetreadOnly, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetreadOnly(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn readOnly, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readOnly() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setrows, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setrows(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn rows, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rows() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcols, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcols(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn cols, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cols() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwrap, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwrap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn wrap, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.wrap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createTextRange, Impl: IHTMLTextAreaElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createTextRange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(range, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - r#type: r#type::, - Setvalue: Setvalue::, - value: value::, - Setname: Setname::, - name: name::, - Setstatus: Setstatus::, - status: status::, - Setdisabled: Setdisabled::, - disabled: disabled::, - form: form::, - SetdefaultValue: SetdefaultValue::, - defaultValue: defaultValue::, - select: select::, - Setonchange: Setonchange::, - onchange: onchange::, - Setonselect: Setonselect::, - onselect: onselect::, - SetreadOnly: SetreadOnly::, - readOnly: readOnly::, - Setrows: Setrows::, - rows: rows::, - Setcols: Setcols::, - cols: cols::, - Setwrap: Setwrap::, - wrap: wrap::, - createTextRange: createTextRange::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTextAreaElement2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetselectionStart(&self, v: i32) -> ::windows::core::Result<()>; - fn selectionStart(&self) -> ::windows::core::Result; - fn SetselectionEnd(&self, v: i32) -> ::windows::core::Result<()>; - fn selectionEnd(&self) -> ::windows::core::Result; - fn setSelectionRange(&self, start: i32, end: i32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTextAreaElement2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTextAreaElement2_Vtbl { - pub const fn new, Impl: IHTMLTextAreaElement2_Impl, const OFFSET: isize>() -> IHTMLTextAreaElement2_Vtbl { - unsafe extern "system" fn SetselectionStart, Impl: IHTMLTextAreaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetselectionStart(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn selectionStart, Impl: IHTMLTextAreaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.selectionStart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetselectionEnd, Impl: IHTMLTextAreaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetselectionEnd(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn selectionEnd, Impl: IHTMLTextAreaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.selectionEnd() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setSelectionRange, Impl: IHTMLTextAreaElement2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, start: i32, end: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setSelectionRange(::core::mem::transmute_copy(&start), ::core::mem::transmute_copy(&end)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetselectionStart: SetselectionStart::, - selectionStart: selectionStart::, - SetselectionEnd: SetselectionEnd::, - selectionEnd: selectionEnd::, - setSelectionRange: setSelectionRange::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTextContainer_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn createControlRange(&self) -> ::windows::core::Result; - fn scrollHeight(&self) -> ::windows::core::Result; - fn scrollWidth(&self) -> ::windows::core::Result; - fn SetscrollTop(&self, v: i32) -> ::windows::core::Result<()>; - fn scrollTop(&self) -> ::windows::core::Result; - fn SetscrollLeft(&self, v: i32) -> ::windows::core::Result<()>; - fn scrollLeft(&self) -> ::windows::core::Result; - fn Setonscroll(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onscroll(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTextContainer {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTextContainer_Vtbl { - pub const fn new, Impl: IHTMLTextContainer_Impl, const OFFSET: isize>() -> IHTMLTextContainer_Vtbl { - unsafe extern "system" fn createControlRange, Impl: IHTMLTextContainer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createControlRange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(range, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scrollHeight, Impl: IHTMLTextContainer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scrollWidth, Impl: IHTMLTextContainer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollTop, Impl: IHTMLTextContainer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollTop(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn scrollTop, Impl: IHTMLTextContainer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscrollLeft, Impl: IHTMLTextContainer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscrollLeft(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn scrollLeft, Impl: IHTMLTextContainer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonscroll, Impl: IHTMLTextContainer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonscroll(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onscroll, Impl: IHTMLTextContainer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onscroll() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - createControlRange: createControlRange::, - scrollHeight: scrollHeight::, - scrollWidth: scrollWidth::, - SetscrollTop: SetscrollTop::, - scrollTop: scrollTop::, - SetscrollLeft: SetscrollLeft::, - scrollLeft: scrollLeft::, - Setonscroll: Setonscroll::, - onscroll: onscroll::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTextElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTextElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTextElement_Vtbl { - pub const fn new, Impl: IHTMLTextElement_Impl, const OFFSET: isize>() -> IHTMLTextElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTextRangeMetrics_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn offsetTop(&self) -> ::windows::core::Result; - fn offsetLeft(&self) -> ::windows::core::Result; - fn boundingTop(&self) -> ::windows::core::Result; - fn boundingLeft(&self) -> ::windows::core::Result; - fn boundingWidth(&self) -> ::windows::core::Result; - fn boundingHeight(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTextRangeMetrics {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTextRangeMetrics_Vtbl { - pub const fn new, Impl: IHTMLTextRangeMetrics_Impl, const OFFSET: isize>() -> IHTMLTextRangeMetrics_Vtbl { - unsafe extern "system" fn offsetTop, Impl: IHTMLTextRangeMetrics_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.offsetTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn offsetLeft, Impl: IHTMLTextRangeMetrics_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.offsetLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn boundingTop, Impl: IHTMLTextRangeMetrics_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.boundingTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn boundingLeft, Impl: IHTMLTextRangeMetrics_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.boundingLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn boundingWidth, Impl: IHTMLTextRangeMetrics_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.boundingWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn boundingHeight, Impl: IHTMLTextRangeMetrics_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.boundingHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - offsetTop: offsetTop::, - offsetLeft: offsetLeft::, - boundingTop: boundingTop::, - boundingLeft: boundingLeft::, - boundingWidth: boundingWidth::, - boundingHeight: boundingHeight::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTextRangeMetrics2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn getClientRects(&self) -> ::windows::core::Result; - fn getBoundingClientRect(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTextRangeMetrics2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTextRangeMetrics2_Vtbl { - pub const fn new, Impl: IHTMLTextRangeMetrics2_Impl, const OFFSET: isize>() -> IHTMLTextRangeMetrics2_Vtbl { - unsafe extern "system" fn getClientRects, Impl: IHTMLTextRangeMetrics2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, prectcol: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getClientRects() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(prectcol, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getBoundingClientRect, Impl: IHTMLTextRangeMetrics2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, prect: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getBoundingClientRect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(prect, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - getClientRects: getClientRects::, - getBoundingClientRect: getBoundingClientRect::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTimeRanges_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn start(&self, index: i32) -> ::windows::core::Result; - fn end(&self, index: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTimeRanges {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTimeRanges_Vtbl { - pub const fn new, Impl: IHTMLTimeRanges_Impl, const OFFSET: isize>() -> IHTMLTimeRanges_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLTimeRanges_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn start, Impl: IHTMLTimeRanges_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, starttime: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.start(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(starttime, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn end, Impl: IHTMLTimeRanges_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, endtime: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.end(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(endtime, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - start: start::, - end: end::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTimeRanges2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn startDouble(&self, index: i32) -> ::windows::core::Result; - fn endDouble(&self, index: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTimeRanges2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTimeRanges2_Vtbl { - pub const fn new, Impl: IHTMLTimeRanges2_Impl, const OFFSET: isize>() -> IHTMLTimeRanges2_Vtbl { - unsafe extern "system" fn startDouble, Impl: IHTMLTimeRanges2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, starttime: *mut f64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.startDouble(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(starttime, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn endDouble, Impl: IHTMLTimeRanges2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, endtime: *mut f64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.endDouble(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(endtime, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - startDouble: startDouble::, - endDouble: endDouble::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTitleElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Settext(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn text(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTitleElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTitleElement_Vtbl { - pub const fn new, Impl: IHTMLTitleElement_Impl, const OFFSET: isize>() -> IHTMLTitleElement_Vtbl { - unsafe extern "system" fn Settext, Impl: IHTMLTitleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settext(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn text, Impl: IHTMLTitleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.text() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Settext: Settext::, - text: text::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTxtRange_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn htmlText(&self) -> ::windows::core::Result; - fn Settext(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn text(&self) -> ::windows::core::Result; - fn parentElement(&self) -> ::windows::core::Result; - fn duplicate(&self) -> ::windows::core::Result; - fn inRange(&self, range: &::core::option::Option) -> ::windows::core::Result; - fn isEqual(&self, range: &::core::option::Option) -> ::windows::core::Result; - fn scrollIntoView(&self, fstart: i16) -> ::windows::core::Result<()>; - fn collapse(&self, start: i16) -> ::windows::core::Result<()>; - fn expand(&self, unit: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn r#move(&self, unit: &super::super::Foundation::BSTR, count: i32) -> ::windows::core::Result; - fn moveStart(&self, unit: &super::super::Foundation::BSTR, count: i32) -> ::windows::core::Result; - fn moveEnd(&self, unit: &super::super::Foundation::BSTR, count: i32) -> ::windows::core::Result; - fn select(&self) -> ::windows::core::Result<()>; - fn pasteHTML(&self, html: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn moveToElementText(&self, element: &::core::option::Option) -> ::windows::core::Result<()>; - fn setEndPoint(&self, how: &super::super::Foundation::BSTR, sourcerange: &::core::option::Option) -> ::windows::core::Result<()>; - fn compareEndPoints(&self, how: &super::super::Foundation::BSTR, sourcerange: &::core::option::Option) -> ::windows::core::Result; - fn findText(&self, string: &super::super::Foundation::BSTR, count: i32, flags: i32) -> ::windows::core::Result; - fn moveToPoint(&self, x: i32, y: i32) -> ::windows::core::Result<()>; - fn getBookmark(&self) -> ::windows::core::Result; - fn moveToBookmark(&self, bookmark: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn queryCommandSupported(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn queryCommandEnabled(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn queryCommandState(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn queryCommandIndeterm(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn queryCommandText(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn queryCommandValue(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn execCommand(&self, cmdid: &super::super::Foundation::BSTR, showui: i16, value: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn execCommandShowHelp(&self, cmdid: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTxtRange {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTxtRange_Vtbl { - pub const fn new, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>() -> IHTMLTxtRange_Vtbl { - unsafe extern "system" fn htmlText, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.htmlText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settext, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settext(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn text, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.text() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn parentElement, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, parent: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.parentElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(parent, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn duplicate, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, duplicate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.duplicate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(duplicate, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn inRange, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, range: *mut ::core::ffi::c_void, inrange: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.inRange(::core::mem::transmute(&range)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(inrange, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn isEqual, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, range: *mut ::core::ffi::c_void, isequal: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isEqual(::core::mem::transmute(&range)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(isequal, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scrollIntoView, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fstart: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.scrollIntoView(::core::mem::transmute_copy(&fstart)).into() - } - unsafe extern "system" fn collapse, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, start: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.collapse(::core::mem::transmute_copy(&start)).into() - } - unsafe extern "system" fn expand, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, unit: ::core::mem::ManuallyDrop, success: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.expand(::core::mem::transmute(&unit)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(success, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn r#move, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, unit: ::core::mem::ManuallyDrop, count: i32, actualcount: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#move(::core::mem::transmute(&unit), ::core::mem::transmute_copy(&count)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(actualcount, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn moveStart, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, unit: ::core::mem::ManuallyDrop, count: i32, actualcount: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.moveStart(::core::mem::transmute(&unit), ::core::mem::transmute_copy(&count)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(actualcount, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn moveEnd, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, unit: ::core::mem::ManuallyDrop, count: i32, actualcount: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.moveEnd(::core::mem::transmute(&unit), ::core::mem::transmute_copy(&count)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(actualcount, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn select, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.select().into() - } - unsafe extern "system" fn pasteHTML, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, html: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.pasteHTML(::core::mem::transmute(&html)).into() - } - unsafe extern "system" fn moveToElementText, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, element: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.moveToElementText(::core::mem::transmute(&element)).into() - } - unsafe extern "system" fn setEndPoint, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, how: ::core::mem::ManuallyDrop, sourcerange: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setEndPoint(::core::mem::transmute(&how), ::core::mem::transmute(&sourcerange)).into() - } - unsafe extern "system" fn compareEndPoints, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, how: ::core::mem::ManuallyDrop, sourcerange: *mut ::core::ffi::c_void, ret: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.compareEndPoints(::core::mem::transmute(&how), ::core::mem::transmute(&sourcerange)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn findText, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, string: ::core::mem::ManuallyDrop, count: i32, flags: i32, success: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.findText(::core::mem::transmute(&string), ::core::mem::transmute_copy(&count), ::core::mem::transmute_copy(&flags)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(success, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn moveToPoint, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.moveToPoint(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - unsafe extern "system" fn getBookmark, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, boolmark: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getBookmark() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(boolmark, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn moveToBookmark, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bookmark: ::core::mem::ManuallyDrop, success: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.moveToBookmark(::core::mem::transmute(&bookmark)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(success, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn queryCommandSupported, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandSupported(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn queryCommandEnabled, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandEnabled(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn queryCommandState, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandState(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn queryCommandIndeterm, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandIndeterm(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn queryCommandText, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pcmdtext: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandText(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pcmdtext, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn queryCommandValue, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pcmdvalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.queryCommandValue(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pcmdvalue, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn execCommand, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, showui: i16, value: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.execCommand(::core::mem::transmute(&cmdid), ::core::mem::transmute_copy(&showui), ::core::mem::transmute(&value)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn execCommandShowHelp, Impl: IHTMLTxtRange_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.execCommandShowHelp(::core::mem::transmute(&cmdid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - htmlText: htmlText::, - Settext: Settext::, - text: text::, - parentElement: parentElement::, - duplicate: duplicate::, - inRange: inRange::, - isEqual: isEqual::, - scrollIntoView: scrollIntoView::, - collapse: collapse::, - expand: expand::, - r#move: r#move::, - moveStart: moveStart::, - moveEnd: moveEnd::, - select: select::, - pasteHTML: pasteHTML::, - moveToElementText: moveToElementText::, - setEndPoint: setEndPoint::, - compareEndPoints: compareEndPoints::, - findText: findText::, - moveToPoint: moveToPoint::, - getBookmark: getBookmark::, - moveToBookmark: moveToBookmark::, - queryCommandSupported: queryCommandSupported::, - queryCommandEnabled: queryCommandEnabled::, - queryCommandState: queryCommandState::, - queryCommandIndeterm: queryCommandIndeterm::, - queryCommandText: queryCommandText::, - queryCommandValue: queryCommandValue::, - execCommand: execCommand::, - execCommandShowHelp: execCommandShowHelp::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLTxtRangeCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLTxtRangeCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLTxtRangeCollection_Vtbl { - pub const fn new, Impl: IHTMLTxtRangeCollection_Impl, const OFFSET: isize>() -> IHTMLTxtRangeCollection_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLTxtRangeCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn _newEnum, Impl: IHTMLTxtRangeCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this._newEnum() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLTxtRangeCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarindex: *const super::super::System::Com::VARIANT, pvarresult: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&pvarindex)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvarresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - _newEnum: _newEnum::, - item: item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLUListElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcompact(&self, v: i16) -> ::windows::core::Result<()>; - fn compact(&self) -> ::windows::core::Result; - fn Settype(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLUListElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLUListElement_Vtbl { - pub const fn new, Impl: IHTMLUListElement_Impl, const OFFSET: isize>() -> IHTMLUListElement_Vtbl { - unsafe extern "system" fn Setcompact, Impl: IHTMLUListElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcompact(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn compact, Impl: IHTMLUListElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.compact() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settype, Impl: IHTMLUListElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settype(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#type, Impl: IHTMLUListElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcompact: Setcompact::, - compact: compact::, - Settype: Settype::, - r#type: r#type::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLUniqueName_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn uniqueNumber(&self) -> ::windows::core::Result; - fn uniqueID(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLUniqueName {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLUniqueName_Vtbl { - pub const fn new, Impl: IHTMLUniqueName_Impl, const OFFSET: isize>() -> IHTMLUniqueName_Vtbl { - unsafe extern "system" fn uniqueNumber, Impl: IHTMLUniqueName_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.uniqueNumber() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn uniqueID, Impl: IHTMLUniqueName_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.uniqueID() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - uniqueNumber: uniqueNumber::, - uniqueID: uniqueID::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLUnknownElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLUnknownElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLUnknownElement_Vtbl { - pub const fn new, Impl: IHTMLUnknownElement_Impl, const OFFSET: isize>() -> IHTMLUnknownElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLUrnCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn item(&self, index: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLUrnCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLUrnCollection_Vtbl { - pub const fn new, Impl: IHTMLUrnCollection_Impl, const OFFSET: isize>() -> IHTMLUrnCollection_Vtbl { - unsafe extern "system" fn length, Impl: IHTMLUrnCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: IHTMLUrnCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppurn: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppurn, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - item: item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLUserDataOM_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn XMLDocument(&self) -> ::windows::core::Result; - fn save(&self, strname: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn load(&self, strname: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn getAttribute(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn setAttribute(&self, name: &super::super::Foundation::BSTR, value: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn removeAttribute(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn Setexpires(&self, bstr: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn expires(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLUserDataOM {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLUserDataOM_Vtbl { - pub const fn new, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>() -> IHTMLUserDataOM_Vtbl { - unsafe extern "system" fn XMLDocument, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.XMLDocument() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn save, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strname: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.save(::core::mem::transmute(&strname)).into() - } - unsafe extern "system" fn load, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strname: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.load(::core::mem::transmute(&strname)).into() - } - unsafe extern "system" fn getAttribute, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pvalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getAttribute(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvalue, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setAttribute, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, value: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setAttribute(::core::mem::transmute(&name), ::core::mem::transmute(&value)).into() - } - unsafe extern "system" fn removeAttribute, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.removeAttribute(::core::mem::transmute(&name)).into() - } - unsafe extern "system" fn Setexpires, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstr: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setexpires(::core::mem::transmute(&bstr)).into() - } - unsafe extern "system" fn expires, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstr: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.expires() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstr, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - XMLDocument: XMLDocument::, - save: save::, - load: load::, - getAttribute: getAttribute::, - setAttribute: setAttribute::, - removeAttribute: removeAttribute::, - Setexpires: Setexpires::, - expires: expires::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLVideoElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setwidth(&self, v: i32) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn Setheight(&self, v: i32) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; - fn videoWidth(&self) -> ::windows::core::Result; - fn videoHeight(&self) -> ::windows::core::Result; - fn Setposter(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn poster(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLVideoElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLVideoElement_Vtbl { - pub const fn new, Impl: IHTMLVideoElement_Impl, const OFFSET: isize>() -> IHTMLVideoElement_Vtbl { - unsafe extern "system" fn Setwidth, Impl: IHTMLVideoElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn width, Impl: IHTMLVideoElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setheight, Impl: IHTMLVideoElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheight(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn height, Impl: IHTMLVideoElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn videoWidth, Impl: IHTMLVideoElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.videoWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn videoHeight, Impl: IHTMLVideoElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.videoHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setposter, Impl: IHTMLVideoElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setposter(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn poster, Impl: IHTMLVideoElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.poster() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setwidth: Setwidth::, - width: width::, - Setheight: Setheight::, - height: height::, - videoWidth: videoWidth::, - videoHeight: videoHeight::, - Setposter: Setposter::, - poster: poster::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLWindow2_Impl: Sized + super::super::System::Com::IDispatch_Impl + IHTMLFramesCollection2_Impl { - fn frames(&self) -> ::windows::core::Result; - fn SetdefaultStatus(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn defaultStatus(&self) -> ::windows::core::Result; - fn Setstatus(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn status(&self) -> ::windows::core::Result; - fn setTimeout(&self, expression: &super::super::Foundation::BSTR, msec: i32, language: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn clearTimeout(&self, timerid: i32) -> ::windows::core::Result<()>; - fn alert(&self, message: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn confirm(&self, message: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn prompt(&self, message: &super::super::Foundation::BSTR, defstr: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn Image(&self) -> ::windows::core::Result; - fn location(&self) -> ::windows::core::Result; - fn history(&self) -> ::windows::core::Result; - fn close(&self) -> ::windows::core::Result<()>; - fn Setopener(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn opener(&self) -> ::windows::core::Result; - fn navigator(&self) -> ::windows::core::Result; - fn Setname(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn name(&self) -> ::windows::core::Result; - fn parent(&self) -> ::windows::core::Result; - fn open(&self, url: &super::super::Foundation::BSTR, name: &super::super::Foundation::BSTR, features: &super::super::Foundation::BSTR, replace: i16) -> ::windows::core::Result; - fn self_(&self) -> ::windows::core::Result; - fn top(&self) -> ::windows::core::Result; - fn window(&self) -> ::windows::core::Result; - fn navigate(&self, url: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn Setonfocus(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onfocus(&self) -> ::windows::core::Result; - fn Setonblur(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onblur(&self) -> ::windows::core::Result; - fn Setonload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onload(&self) -> ::windows::core::Result; - fn Setonbeforeunload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbeforeunload(&self) -> ::windows::core::Result; - fn Setonunload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onunload(&self) -> ::windows::core::Result; - fn Setonhelp(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onhelp(&self) -> ::windows::core::Result; - fn Setonerror(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onerror(&self) -> ::windows::core::Result; - fn Setonresize(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onresize(&self) -> ::windows::core::Result; - fn Setonscroll(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onscroll(&self) -> ::windows::core::Result; - fn document(&self) -> ::windows::core::Result; - fn event(&self) -> ::windows::core::Result; - fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn showModalDialog(&self, dialog: &super::super::Foundation::BSTR, varargin: *const super::super::System::Com::VARIANT, varoptions: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn showHelp(&self, helpurl: &super::super::Foundation::BSTR, helparg: &super::super::System::Com::VARIANT, features: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn screen(&self) -> ::windows::core::Result; - fn Option(&self) -> ::windows::core::Result; - fn focus(&self) -> ::windows::core::Result<()>; - fn closed(&self) -> ::windows::core::Result; - fn blur(&self) -> ::windows::core::Result<()>; - fn scroll(&self, x: i32, y: i32) -> ::windows::core::Result<()>; - fn clientInformation(&self) -> ::windows::core::Result; - fn setInterval(&self, expression: &super::super::Foundation::BSTR, msec: i32, language: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn clearInterval(&self, timerid: i32) -> ::windows::core::Result<()>; - fn SetoffscreenBuffering(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn offscreenBuffering(&self) -> ::windows::core::Result; - fn execScript(&self, code: &super::super::Foundation::BSTR, language: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn toString(&self) -> ::windows::core::Result; - fn scrollBy(&self, x: i32, y: i32) -> ::windows::core::Result<()>; - fn scrollTo(&self, x: i32, y: i32) -> ::windows::core::Result<()>; - fn moveTo(&self, x: i32, y: i32) -> ::windows::core::Result<()>; - fn moveBy(&self, x: i32, y: i32) -> ::windows::core::Result<()>; - fn resizeTo(&self, x: i32, y: i32) -> ::windows::core::Result<()>; - fn resizeBy(&self, x: i32, y: i32) -> ::windows::core::Result<()>; - fn external(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLWindow2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLWindow2_Vtbl { - pub const fn new, Impl: IHTMLWindow2_Impl, const OFFSET: isize>() -> IHTMLWindow2_Vtbl { - unsafe extern "system" fn frames, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.frames() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdefaultStatus, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdefaultStatus(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn defaultStatus, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.defaultStatus() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setstatus, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setstatus(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn status, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.status() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setTimeout, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, expression: ::core::mem::ManuallyDrop, msec: i32, language: *const super::super::System::Com::VARIANT, timerid: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.setTimeout(::core::mem::transmute(&expression), ::core::mem::transmute_copy(&msec), ::core::mem::transmute_copy(&language)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(timerid, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clearTimeout, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, timerid: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.clearTimeout(::core::mem::transmute_copy(&timerid)).into() - } - unsafe extern "system" fn alert, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, message: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.alert(::core::mem::transmute(&message)).into() - } - unsafe extern "system" fn confirm, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, message: ::core::mem::ManuallyDrop, confirmed: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.confirm(::core::mem::transmute(&message)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(confirmed, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn prompt, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, message: ::core::mem::ManuallyDrop, defstr: ::core::mem::ManuallyDrop, textdata: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.prompt(::core::mem::transmute(&message), ::core::mem::transmute(&defstr)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(textdata, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Image, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Image() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn location, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.location() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn history, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.history() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn close, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.close().into() - } - unsafe extern "system" fn Setopener, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setopener(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn opener, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.opener() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn navigator, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.navigator() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setname, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setname(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn name, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.name() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn parent, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.parent() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn open, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, url: ::core::mem::ManuallyDrop, name: ::core::mem::ManuallyDrop, features: ::core::mem::ManuallyDrop, replace: i16, pomwindowresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.open(::core::mem::transmute(&url), ::core::mem::transmute(&name), ::core::mem::transmute(&features), ::core::mem::transmute_copy(&replace)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pomwindowresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn self_, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.self_() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn top, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.top() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn window, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.window() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn navigate, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, url: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.navigate(::core::mem::transmute(&url)).into() - } - unsafe extern "system" fn Setonfocus, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonfocus(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onfocus, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onfocus() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonblur, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonblur(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onblur, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onblur() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonload, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onload, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonbeforeunload, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbeforeunload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbeforeunload, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbeforeunload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonunload, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonunload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onunload, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onunload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonhelp, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonhelp(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onhelp, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onhelp() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonerror, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonerror(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onerror, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onerror() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonresize, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonresize(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onresize, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onresize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonscroll, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonscroll(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onscroll, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onscroll() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn document, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.document() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn event, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.event() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn _newEnum, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this._newEnum() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn showModalDialog, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dialog: ::core::mem::ManuallyDrop, varargin: *const super::super::System::Com::VARIANT, varoptions: *const super::super::System::Com::VARIANT, varargout: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.showModalDialog(::core::mem::transmute(&dialog), ::core::mem::transmute_copy(&varargin), ::core::mem::transmute_copy(&varoptions)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(varargout, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn showHelp, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, helpurl: ::core::mem::ManuallyDrop, helparg: ::core::mem::ManuallyDrop, features: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.showHelp(::core::mem::transmute(&helpurl), ::core::mem::transmute(&helparg), ::core::mem::transmute(&features)).into() - } - unsafe extern "system" fn screen, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.screen() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Option, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Option() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn focus, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.focus().into() - } - unsafe extern "system" fn closed, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.closed() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn blur, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.blur().into() - } - unsafe extern "system" fn scroll, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.scroll(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - unsafe extern "system" fn clientInformation, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clientInformation() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setInterval, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, expression: ::core::mem::ManuallyDrop, msec: i32, language: *const super::super::System::Com::VARIANT, timerid: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.setInterval(::core::mem::transmute(&expression), ::core::mem::transmute_copy(&msec), ::core::mem::transmute_copy(&language)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(timerid, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clearInterval, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, timerid: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.clearInterval(::core::mem::transmute_copy(&timerid)).into() - } - unsafe extern "system" fn SetoffscreenBuffering, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetoffscreenBuffering(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn offscreenBuffering, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.offscreenBuffering() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn execScript, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, code: ::core::mem::ManuallyDrop, language: ::core::mem::ManuallyDrop, pvarret: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.execScript(::core::mem::transmute(&code), ::core::mem::transmute(&language)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvarret, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn toString, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toString() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(string, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scrollBy, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.scrollBy(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - unsafe extern "system" fn scrollTo, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.scrollTo(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - unsafe extern "system" fn moveTo, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.moveTo(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - unsafe extern "system" fn moveBy, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.moveBy(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - unsafe extern "system" fn resizeTo, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.resizeTo(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - unsafe extern "system" fn resizeBy, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.resizeBy(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - unsafe extern "system" fn external, Impl: IHTMLWindow2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.external() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: IHTMLFramesCollection2_Vtbl::new::(), - frames: frames::, - SetdefaultStatus: SetdefaultStatus::, - defaultStatus: defaultStatus::, - Setstatus: Setstatus::, - status: status::, - setTimeout: setTimeout::, - clearTimeout: clearTimeout::, - alert: alert::, - confirm: confirm::, - prompt: prompt::, - Image: Image::, - location: location::, - history: history::, - close: close::, - Setopener: Setopener::, - opener: opener::, - navigator: navigator::, - Setname: Setname::, - name: name::, - parent: parent::, - open: open::, - self_: self_::, - top: top::, - window: window::, - navigate: navigate::, - Setonfocus: Setonfocus::, - onfocus: onfocus::, - Setonblur: Setonblur::, - onblur: onblur::, - Setonload: Setonload::, - onload: onload::, - Setonbeforeunload: Setonbeforeunload::, - onbeforeunload: onbeforeunload::, - Setonunload: Setonunload::, - onunload: onunload::, - Setonhelp: Setonhelp::, - onhelp: onhelp::, - Setonerror: Setonerror::, - onerror: onerror::, - Setonresize: Setonresize::, - onresize: onresize::, - Setonscroll: Setonscroll::, - onscroll: onscroll::, - document: document::, - event: event::, - _newEnum: _newEnum::, - showModalDialog: showModalDialog::, - showHelp: showHelp::, - screen: screen::, - Option: Option::, - focus: focus::, - closed: closed::, - blur: blur::, - scroll: scroll::, - clientInformation: clientInformation::, - setInterval: setInterval::, - clearInterval: clearInterval::, - SetoffscreenBuffering: SetoffscreenBuffering::, - offscreenBuffering: offscreenBuffering::, - execScript: execScript::, - toString: toString::, - scrollBy: scrollBy::, - scrollTo: scrollTo::, - moveTo: moveTo::, - moveBy: moveBy::, - resizeTo: resizeTo::, - resizeBy: resizeBy::, - external: external::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLWindow3_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn screenLeft(&self) -> ::windows::core::Result; - fn screenTop(&self) -> ::windows::core::Result; - fn attachEvent(&self, event: &super::super::Foundation::BSTR, pdisp: &::core::option::Option) -> ::windows::core::Result; - fn detachEvent(&self, event: &super::super::Foundation::BSTR, pdisp: &::core::option::Option) -> ::windows::core::Result<()>; - fn setTimeout(&self, expression: *const super::super::System::Com::VARIANT, msec: i32, language: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn setInterval(&self, expression: *const super::super::System::Com::VARIANT, msec: i32, language: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn print(&self) -> ::windows::core::Result<()>; - fn Setonbeforeprint(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onbeforeprint(&self) -> ::windows::core::Result; - fn Setonafterprint(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onafterprint(&self) -> ::windows::core::Result; - fn clipboardData(&self) -> ::windows::core::Result; - fn showModelessDialog(&self, url: &super::super::Foundation::BSTR, varargin: *const super::super::System::Com::VARIANT, options: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLWindow3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLWindow3_Vtbl { - pub const fn new, Impl: IHTMLWindow3_Impl, const OFFSET: isize>() -> IHTMLWindow3_Vtbl { - unsafe extern "system" fn screenLeft, Impl: IHTMLWindow3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.screenLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn screenTop, Impl: IHTMLWindow3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.screenTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn attachEvent, Impl: IHTMLWindow3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, event: ::core::mem::ManuallyDrop, pdisp: *mut ::core::ffi::c_void, pfresult: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.attachEvent(::core::mem::transmute(&event), ::core::mem::transmute(&pdisp)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn detachEvent, Impl: IHTMLWindow3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, event: ::core::mem::ManuallyDrop, pdisp: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.detachEvent(::core::mem::transmute(&event), ::core::mem::transmute(&pdisp)).into() - } - unsafe extern "system" fn setTimeout, Impl: IHTMLWindow3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, expression: *const super::super::System::Com::VARIANT, msec: i32, language: *const super::super::System::Com::VARIANT, timerid: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.setTimeout(::core::mem::transmute_copy(&expression), ::core::mem::transmute_copy(&msec), ::core::mem::transmute_copy(&language)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(timerid, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setInterval, Impl: IHTMLWindow3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, expression: *const super::super::System::Com::VARIANT, msec: i32, language: *const super::super::System::Com::VARIANT, timerid: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.setInterval(::core::mem::transmute_copy(&expression), ::core::mem::transmute_copy(&msec), ::core::mem::transmute_copy(&language)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(timerid, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn print, Impl: IHTMLWindow3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.print().into() - } - unsafe extern "system" fn Setonbeforeprint, Impl: IHTMLWindow3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonbeforeprint(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onbeforeprint, Impl: IHTMLWindow3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onbeforeprint() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonafterprint, Impl: IHTMLWindow3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonafterprint(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onafterprint, Impl: IHTMLWindow3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onafterprint() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clipboardData, Impl: IHTMLWindow3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clipboardData() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn showModelessDialog, Impl: IHTMLWindow3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, url: ::core::mem::ManuallyDrop, varargin: *const super::super::System::Com::VARIANT, options: *const super::super::System::Com::VARIANT, pdialog: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.showModelessDialog(::core::mem::transmute(&url), ::core::mem::transmute_copy(&varargin), ::core::mem::transmute_copy(&options)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdialog, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - screenLeft: screenLeft::, - screenTop: screenTop::, - attachEvent: attachEvent::, - detachEvent: detachEvent::, - setTimeout: setTimeout::, - setInterval: setInterval::, - print: print::, - Setonbeforeprint: Setonbeforeprint::, - onbeforeprint: onbeforeprint::, - Setonafterprint: Setonafterprint::, - onafterprint: onafterprint::, - clipboardData: clipboardData::, - showModelessDialog: showModelessDialog::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLWindow4_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn createPopup(&self, varargin: *const super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn frameElement(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLWindow4 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLWindow4_Vtbl { - pub const fn new, Impl: IHTMLWindow4_Impl, const OFFSET: isize>() -> IHTMLWindow4_Vtbl { - unsafe extern "system" fn createPopup, Impl: IHTMLWindow4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, varargin: *const super::super::System::Com::VARIANT, pppopup: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createPopup(::core::mem::transmute_copy(&varargin)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pppopup, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn frameElement, Impl: IHTMLWindow4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.frameElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - createPopup: createPopup::, - frameElement: frameElement::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLWindow5_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetXMLHttpRequest(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn XMLHttpRequest(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLWindow5 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLWindow5_Vtbl { - pub const fn new, Impl: IHTMLWindow5_Impl, const OFFSET: isize>() -> IHTMLWindow5_Vtbl { - unsafe extern "system" fn SetXMLHttpRequest, Impl: IHTMLWindow5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetXMLHttpRequest(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn XMLHttpRequest, Impl: IHTMLWindow5_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.XMLHttpRequest() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetXMLHttpRequest: SetXMLHttpRequest::, - XMLHttpRequest: XMLHttpRequest::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLWindow6_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetXDomainRequest(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn XDomainRequest(&self) -> ::windows::core::Result; - fn sessionStorage(&self) -> ::windows::core::Result; - fn localStorage(&self) -> ::windows::core::Result; - fn Setonhashchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onhashchange(&self) -> ::windows::core::Result; - fn maxConnectionsPerServer(&self) -> ::windows::core::Result; - fn postMessage(&self, msg: &super::super::Foundation::BSTR, targetorigin: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn toStaticHTML(&self, bstrhtml: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn Setonmessage(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmessage(&self) -> ::windows::core::Result; - fn msWriteProfilerMark(&self, bstrprofilermarkname: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLWindow6 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLWindow6_Vtbl { - pub const fn new, Impl: IHTMLWindow6_Impl, const OFFSET: isize>() -> IHTMLWindow6_Vtbl { - unsafe extern "system" fn SetXDomainRequest, Impl: IHTMLWindow6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetXDomainRequest(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn XDomainRequest, Impl: IHTMLWindow6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.XDomainRequest() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn sessionStorage, Impl: IHTMLWindow6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.sessionStorage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn localStorage, Impl: IHTMLWindow6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.localStorage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonhashchange, Impl: IHTMLWindow6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonhashchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onhashchange, Impl: IHTMLWindow6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onhashchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn maxConnectionsPerServer, Impl: IHTMLWindow6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.maxConnectionsPerServer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn postMessage, Impl: IHTMLWindow6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, msg: ::core::mem::ManuallyDrop, targetorigin: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.postMessage(::core::mem::transmute(&msg), ::core::mem::transmute(&targetorigin)).into() - } - unsafe extern "system" fn toStaticHTML, Impl: IHTMLWindow6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrhtml: ::core::mem::ManuallyDrop, pbstrstatichtml: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toStaticHTML(::core::mem::transmute(&bstrhtml)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrstatichtml, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmessage, Impl: IHTMLWindow6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmessage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmessage, Impl: IHTMLWindow6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmessage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn msWriteProfilerMark, Impl: IHTMLWindow6_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrprofilermarkname: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.msWriteProfilerMark(::core::mem::transmute(&bstrprofilermarkname)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetXDomainRequest: SetXDomainRequest::, - XDomainRequest: XDomainRequest::, - sessionStorage: sessionStorage::, - localStorage: localStorage::, - Setonhashchange: Setonhashchange::, - onhashchange: onhashchange::, - maxConnectionsPerServer: maxConnectionsPerServer::, - postMessage: postMessage::, - toStaticHTML: toStaticHTML::, - Setonmessage: Setonmessage::, - onmessage: onmessage::, - msWriteProfilerMark: msWriteProfilerMark::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLWindow7_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn getSelection(&self) -> ::windows::core::Result; - fn getComputedStyle(&self, varargin: &::core::option::Option, bstrpseudoelt: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn styleMedia(&self) -> ::windows::core::Result; - fn Setperformance(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn performance(&self) -> ::windows::core::Result; - fn innerWidth(&self) -> ::windows::core::Result; - fn innerHeight(&self) -> ::windows::core::Result; - fn pageXOffset(&self) -> ::windows::core::Result; - fn pageYOffset(&self) -> ::windows::core::Result; - fn screenX(&self) -> ::windows::core::Result; - fn screenY(&self) -> ::windows::core::Result; - fn outerWidth(&self) -> ::windows::core::Result; - fn outerHeight(&self) -> ::windows::core::Result; - fn Setonabort(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onabort(&self) -> ::windows::core::Result; - fn Setoncanplay(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oncanplay(&self) -> ::windows::core::Result; - fn Setoncanplaythrough(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oncanplaythrough(&self) -> ::windows::core::Result; - fn Setonchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onchange(&self) -> ::windows::core::Result; - fn Setonclick(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onclick(&self) -> ::windows::core::Result; - fn Setoncontextmenu(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oncontextmenu(&self) -> ::windows::core::Result; - fn Setondblclick(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondblclick(&self) -> ::windows::core::Result; - fn Setondrag(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondrag(&self) -> ::windows::core::Result; - fn Setondragend(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondragend(&self) -> ::windows::core::Result; - fn Setondragenter(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondragenter(&self) -> ::windows::core::Result; - fn Setondragleave(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondragleave(&self) -> ::windows::core::Result; - fn Setondragover(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondragover(&self) -> ::windows::core::Result; - fn Setondragstart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondragstart(&self) -> ::windows::core::Result; - fn Setondrop(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondrop(&self) -> ::windows::core::Result; - fn Setondurationchange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ondurationchange(&self) -> ::windows::core::Result; - fn Setonfocusin(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onfocusin(&self) -> ::windows::core::Result; - fn Setonfocusout(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onfocusout(&self) -> ::windows::core::Result; - fn Setoninput(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn oninput(&self) -> ::windows::core::Result; - fn Setonemptied(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onemptied(&self) -> ::windows::core::Result; - fn Setonended(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onended(&self) -> ::windows::core::Result; - fn Setonkeydown(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onkeydown(&self) -> ::windows::core::Result; - fn Setonkeypress(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onkeypress(&self) -> ::windows::core::Result; - fn Setonkeyup(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onkeyup(&self) -> ::windows::core::Result; - fn Setonloadeddata(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onloadeddata(&self) -> ::windows::core::Result; - fn Setonloadedmetadata(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onloadedmetadata(&self) -> ::windows::core::Result; - fn Setonloadstart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onloadstart(&self) -> ::windows::core::Result; - fn Setonmousedown(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmousedown(&self) -> ::windows::core::Result; - fn Setonmouseenter(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmouseenter(&self) -> ::windows::core::Result; - fn Setonmouseleave(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmouseleave(&self) -> ::windows::core::Result; - fn Setonmousemove(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmousemove(&self) -> ::windows::core::Result; - fn Setonmouseout(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmouseout(&self) -> ::windows::core::Result; - fn Setonmouseover(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmouseover(&self) -> ::windows::core::Result; - fn Setonmouseup(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmouseup(&self) -> ::windows::core::Result; - fn Setonmousewheel(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmousewheel(&self) -> ::windows::core::Result; - fn Setonoffline(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onoffline(&self) -> ::windows::core::Result; - fn Setononline(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ononline(&self) -> ::windows::core::Result; - fn Setonprogress(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onprogress(&self) -> ::windows::core::Result; - fn Setonratechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onratechange(&self) -> ::windows::core::Result; - fn Setonreadystatechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onreadystatechange(&self) -> ::windows::core::Result; - fn Setonreset(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onreset(&self) -> ::windows::core::Result; - fn Setonseeked(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onseeked(&self) -> ::windows::core::Result; - fn Setonseeking(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onseeking(&self) -> ::windows::core::Result; - fn Setonselect(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onselect(&self) -> ::windows::core::Result; - fn Setonstalled(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onstalled(&self) -> ::windows::core::Result; - fn Setonstorage(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onstorage(&self) -> ::windows::core::Result; - fn Setonsubmit(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onsubmit(&self) -> ::windows::core::Result; - fn Setonsuspend(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onsuspend(&self) -> ::windows::core::Result; - fn Setontimeupdate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ontimeupdate(&self) -> ::windows::core::Result; - fn Setonpause(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onpause(&self) -> ::windows::core::Result; - fn Setonplay(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onplay(&self) -> ::windows::core::Result; - fn Setonplaying(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onplaying(&self) -> ::windows::core::Result; - fn Setonvolumechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onvolumechange(&self) -> ::windows::core::Result; - fn Setonwaiting(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onwaiting(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLWindow7 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLWindow7_Vtbl { - pub const fn new, Impl: IHTMLWindow7_Impl, const OFFSET: isize>() -> IHTMLWindow7_Vtbl { - unsafe extern "system" fn getSelection, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppihtmlselection: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getSelection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppihtmlselection, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getComputedStyle, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, varargin: *mut ::core::ffi::c_void, bstrpseudoelt: ::core::mem::ManuallyDrop, ppcomputedstyle: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getComputedStyle(::core::mem::transmute(&varargin), ::core::mem::transmute(&bstrpseudoelt)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppcomputedstyle, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn styleMedia, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.styleMedia() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setperformance, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setperformance(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn performance, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.performance() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn innerWidth, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.innerWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn innerHeight, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.innerHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn pageXOffset, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageXOffset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn pageYOffset, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageYOffset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn screenX, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.screenX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn screenY, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.screenY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn outerWidth, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outerWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn outerHeight, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.outerHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonabort, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonabort(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onabort, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onabort() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoncanplay, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoncanplay(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oncanplay, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oncanplay() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoncanplaythrough, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoncanplaythrough(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oncanplaythrough, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oncanplaythrough() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonchange, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onchange, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonclick, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonclick(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onclick, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onclick() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoncontextmenu, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoncontextmenu(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oncontextmenu, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oncontextmenu() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondblclick, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondblclick(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondblclick, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondblclick() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondrag, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondrag(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondrag, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondrag() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondragend, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondragend(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondragend, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondragend() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondragenter, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondragenter(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondragenter, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondragenter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondragleave, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondragleave(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondragleave, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondragleave() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondragover, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondragover(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondragover, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondragover() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondragstart, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondragstart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondragstart, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondragstart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondrop, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondrop(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondrop, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondrop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setondurationchange, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setondurationchange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ondurationchange, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ondurationchange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonfocusin, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonfocusin(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onfocusin, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onfocusin() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonfocusout, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonfocusout(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onfocusout, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onfocusout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setoninput, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setoninput(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn oninput, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.oninput() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonemptied, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonemptied(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onemptied, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onemptied() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonended, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonended(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onended, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onended() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonkeydown, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonkeydown(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onkeydown, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onkeydown() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonkeypress, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonkeypress(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onkeypress, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onkeypress() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonkeyup, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonkeyup(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onkeyup, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onkeyup() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonloadeddata, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonloadeddata(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onloadeddata, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onloadeddata() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonloadedmetadata, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonloadedmetadata(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onloadedmetadata, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onloadedmetadata() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonloadstart, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonloadstart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onloadstart, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onloadstart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmousedown, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmousedown(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmousedown, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmousedown() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmouseenter, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmouseenter(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmouseenter, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmouseenter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmouseleave, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmouseleave(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmouseleave, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmouseleave() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmousemove, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmousemove(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmousemove, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmousemove() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmouseout, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmouseout(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmouseout, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmouseout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmouseover, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmouseover(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmouseover, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmouseover() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmouseup, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmouseup(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmouseup, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmouseup() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmousewheel, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmousewheel(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmousewheel, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmousewheel() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonoffline, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonoffline(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onoffline, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onoffline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setononline, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setononline(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ononline, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ononline() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonprogress, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonprogress(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onprogress, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onprogress() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonratechange, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonratechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onratechange, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onratechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonreadystatechange, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonreadystatechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onreadystatechange, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onreadystatechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonreset, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonreset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onreset, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onreset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonseeked, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonseeked(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onseeked, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onseeked() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonseeking, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonseeking(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onseeking, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onseeking() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonselect, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonselect(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onselect, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onselect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonstalled, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonstalled(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onstalled, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onstalled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonstorage, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonstorage(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onstorage, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onstorage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonsubmit, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonsubmit(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onsubmit, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onsubmit() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonsuspend, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonsuspend(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onsuspend, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onsuspend() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setontimeupdate, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setontimeupdate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ontimeupdate, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ontimeupdate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonpause, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonpause(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onpause, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onpause() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonplay, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonplay(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onplay, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onplay() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonplaying, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonplaying(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onplaying, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onplaying() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonvolumechange, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonvolumechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onvolumechange, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onvolumechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonwaiting, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonwaiting(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onwaiting, Impl: IHTMLWindow7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onwaiting() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - getSelection: getSelection::, - getComputedStyle: getComputedStyle::, - styleMedia: styleMedia::, - Setperformance: Setperformance::, - performance: performance::, - innerWidth: innerWidth::, - innerHeight: innerHeight::, - pageXOffset: pageXOffset::, - pageYOffset: pageYOffset::, - screenX: screenX::, - screenY: screenY::, - outerWidth: outerWidth::, - outerHeight: outerHeight::, - Setonabort: Setonabort::, - onabort: onabort::, - Setoncanplay: Setoncanplay::, - oncanplay: oncanplay::, - Setoncanplaythrough: Setoncanplaythrough::, - oncanplaythrough: oncanplaythrough::, - Setonchange: Setonchange::, - onchange: onchange::, - Setonclick: Setonclick::, - onclick: onclick::, - Setoncontextmenu: Setoncontextmenu::, - oncontextmenu: oncontextmenu::, - Setondblclick: Setondblclick::, - ondblclick: ondblclick::, - Setondrag: Setondrag::, - ondrag: ondrag::, - Setondragend: Setondragend::, - ondragend: ondragend::, - Setondragenter: Setondragenter::, - ondragenter: ondragenter::, - Setondragleave: Setondragleave::, - ondragleave: ondragleave::, - Setondragover: Setondragover::, - ondragover: ondragover::, - Setondragstart: Setondragstart::, - ondragstart: ondragstart::, - Setondrop: Setondrop::, - ondrop: ondrop::, - Setondurationchange: Setondurationchange::, - ondurationchange: ondurationchange::, - Setonfocusin: Setonfocusin::, - onfocusin: onfocusin::, - Setonfocusout: Setonfocusout::, - onfocusout: onfocusout::, - Setoninput: Setoninput::, - oninput: oninput::, - Setonemptied: Setonemptied::, - onemptied: onemptied::, - Setonended: Setonended::, - onended: onended::, - Setonkeydown: Setonkeydown::, - onkeydown: onkeydown::, - Setonkeypress: Setonkeypress::, - onkeypress: onkeypress::, - Setonkeyup: Setonkeyup::, - onkeyup: onkeyup::, - Setonloadeddata: Setonloadeddata::, - onloadeddata: onloadeddata::, - Setonloadedmetadata: Setonloadedmetadata::, - onloadedmetadata: onloadedmetadata::, - Setonloadstart: Setonloadstart::, - onloadstart: onloadstart::, - Setonmousedown: Setonmousedown::, - onmousedown: onmousedown::, - Setonmouseenter: Setonmouseenter::, - onmouseenter: onmouseenter::, - Setonmouseleave: Setonmouseleave::, - onmouseleave: onmouseleave::, - Setonmousemove: Setonmousemove::, - onmousemove: onmousemove::, - Setonmouseout: Setonmouseout::, - onmouseout: onmouseout::, - Setonmouseover: Setonmouseover::, - onmouseover: onmouseover::, - Setonmouseup: Setonmouseup::, - onmouseup: onmouseup::, - Setonmousewheel: Setonmousewheel::, - onmousewheel: onmousewheel::, - Setonoffline: Setonoffline::, - onoffline: onoffline::, - Setononline: Setononline::, - ononline: ononline::, - Setonprogress: Setonprogress::, - onprogress: onprogress::, - Setonratechange: Setonratechange::, - onratechange: onratechange::, - Setonreadystatechange: Setonreadystatechange::, - onreadystatechange: onreadystatechange::, - Setonreset: Setonreset::, - onreset: onreset::, - Setonseeked: Setonseeked::, - onseeked: onseeked::, - Setonseeking: Setonseeking::, - onseeking: onseeking::, - Setonselect: Setonselect::, - onselect: onselect::, - Setonstalled: Setonstalled::, - onstalled: onstalled::, - Setonstorage: Setonstorage::, - onstorage: onstorage::, - Setonsubmit: Setonsubmit::, - onsubmit: onsubmit::, - Setonsuspend: Setonsuspend::, - onsuspend: onsuspend::, - Setontimeupdate: Setontimeupdate::, - ontimeupdate: ontimeupdate::, - Setonpause: Setonpause::, - onpause: onpause::, - Setonplay: Setonplay::, - onplay: onplay::, - Setonplaying: Setonplaying::, - onplaying: onplaying::, - Setonvolumechange: Setonvolumechange::, - onvolumechange: onvolumechange::, - Setonwaiting: Setonwaiting::, - onwaiting: onwaiting::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLWindow8_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setonmspointerdown(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointerdown(&self) -> ::windows::core::Result; - fn Setonmspointermove(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointermove(&self) -> ::windows::core::Result; - fn Setonmspointerup(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointerup(&self) -> ::windows::core::Result; - fn Setonmspointerover(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointerover(&self) -> ::windows::core::Result; - fn Setonmspointerout(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointerout(&self) -> ::windows::core::Result; - fn Setonmspointercancel(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointercancel(&self) -> ::windows::core::Result; - fn Setonmspointerhover(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmspointerhover(&self) -> ::windows::core::Result; - fn Setonmsgesturestart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgesturestart(&self) -> ::windows::core::Result; - fn Setonmsgesturechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgesturechange(&self) -> ::windows::core::Result; - fn Setonmsgestureend(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgestureend(&self) -> ::windows::core::Result; - fn Setonmsgesturehold(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgesturehold(&self) -> ::windows::core::Result; - fn Setonmsgesturetap(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgesturetap(&self) -> ::windows::core::Result; - fn Setonmsgesturedoubletap(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsgesturedoubletap(&self) -> ::windows::core::Result; - fn Setonmsinertiastart(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onmsinertiastart(&self) -> ::windows::core::Result; - fn applicationCache(&self) -> ::windows::core::Result; - fn Setonpopstate(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onpopstate(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLWindow8 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLWindow8_Vtbl { - pub const fn new, Impl: IHTMLWindow8_Impl, const OFFSET: isize>() -> IHTMLWindow8_Vtbl { - unsafe extern "system" fn Setonmspointerdown, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointerdown(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointerdown, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointerdown() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointermove, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointermove(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointermove, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointermove() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointerup, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointerup(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointerup, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointerup() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointerover, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointerover(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointerover, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointerover() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointerout, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointerout(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointerout, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointerout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointercancel, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointercancel(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointercancel, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointercancel() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmspointerhover, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmspointerhover(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmspointerhover, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmspointerhover() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgesturestart, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgesturestart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgesturestart, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgesturestart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgesturechange, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgesturechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgesturechange, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgesturechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgestureend, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgestureend(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgestureend, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgestureend() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgesturehold, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgesturehold(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgesturehold, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgesturehold() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgesturetap, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgesturetap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgesturetap, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgesturetap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsgesturedoubletap, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsgesturedoubletap(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsgesturedoubletap, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsgesturedoubletap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonmsinertiastart, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonmsinertiastart(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onmsinertiastart, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onmsinertiastart() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn applicationCache, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.applicationCache() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonpopstate, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonpopstate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onpopstate, Impl: IHTMLWindow8_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onpopstate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setonmspointerdown: Setonmspointerdown::, - onmspointerdown: onmspointerdown::, - Setonmspointermove: Setonmspointermove::, - onmspointermove: onmspointermove::, - Setonmspointerup: Setonmspointerup::, - onmspointerup: onmspointerup::, - Setonmspointerover: Setonmspointerover::, - onmspointerover: onmspointerover::, - Setonmspointerout: Setonmspointerout::, - onmspointerout: onmspointerout::, - Setonmspointercancel: Setonmspointercancel::, - onmspointercancel: onmspointercancel::, - Setonmspointerhover: Setonmspointerhover::, - onmspointerhover: onmspointerhover::, - Setonmsgesturestart: Setonmsgesturestart::, - onmsgesturestart: onmsgesturestart::, - Setonmsgesturechange: Setonmsgesturechange::, - onmsgesturechange: onmsgesturechange::, - Setonmsgestureend: Setonmsgestureend::, - onmsgestureend: onmsgestureend::, - Setonmsgesturehold: Setonmsgesturehold::, - onmsgesturehold: onmsgesturehold::, - Setonmsgesturetap: Setonmsgesturetap::, - onmsgesturetap: onmsgesturetap::, - Setonmsgesturedoubletap: Setonmsgesturedoubletap::, - onmsgesturedoubletap: onmsgesturedoubletap::, - Setonmsinertiastart: Setonmsinertiastart::, - onmsinertiastart: onmsinertiastart::, - applicationCache: applicationCache::, - Setonpopstate: Setonpopstate::, - onpopstate: onpopstate::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLXDomainRequest_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn responseText(&self) -> ::windows::core::Result; - fn Settimeout(&self, v: i32) -> ::windows::core::Result<()>; - fn timeout(&self) -> ::windows::core::Result; - fn contentType(&self) -> ::windows::core::Result; - fn Setonprogress(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onprogress(&self) -> ::windows::core::Result; - fn Setonerror(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onerror(&self) -> ::windows::core::Result; - fn Setontimeout(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ontimeout(&self) -> ::windows::core::Result; - fn Setonload(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onload(&self) -> ::windows::core::Result; - fn abort(&self) -> ::windows::core::Result<()>; - fn open(&self, bstrmethod: &super::super::Foundation::BSTR, bstrurl: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn send(&self, varbody: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLXDomainRequest {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLXDomainRequest_Vtbl { - pub const fn new, Impl: IHTMLXDomainRequest_Impl, const OFFSET: isize>() -> IHTMLXDomainRequest_Vtbl { - unsafe extern "system" fn responseText, Impl: IHTMLXDomainRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.responseText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settimeout, Impl: IHTMLXDomainRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settimeout(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn timeout, Impl: IHTMLXDomainRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.timeout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn contentType, Impl: IHTMLXDomainRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.contentType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonprogress, Impl: IHTMLXDomainRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonprogress(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onprogress, Impl: IHTMLXDomainRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onprogress() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonerror, Impl: IHTMLXDomainRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonerror(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onerror, Impl: IHTMLXDomainRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onerror() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setontimeout, Impl: IHTMLXDomainRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setontimeout(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ontimeout, Impl: IHTMLXDomainRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ontimeout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonload, Impl: IHTMLXDomainRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonload(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onload, Impl: IHTMLXDomainRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onload() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn abort, Impl: IHTMLXDomainRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.abort().into() - } - unsafe extern "system" fn open, Impl: IHTMLXDomainRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrmethod: ::core::mem::ManuallyDrop, bstrurl: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.open(::core::mem::transmute(&bstrmethod), ::core::mem::transmute(&bstrurl)).into() - } - unsafe extern "system" fn send, Impl: IHTMLXDomainRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, varbody: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.send(::core::mem::transmute(&varbody)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - responseText: responseText::, - Settimeout: Settimeout::, - timeout: timeout::, - contentType: contentType::, - Setonprogress: Setonprogress::, - onprogress: onprogress::, - Setonerror: Setonerror::, - onerror: onerror::, - Setontimeout: Setontimeout::, - ontimeout: ontimeout::, - Setonload: Setonload::, - onload: onload::, - abort: abort::, - open: open::, - send: send::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLXDomainRequestFactory_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn create(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLXDomainRequestFactory {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLXDomainRequestFactory_Vtbl { - pub const fn new, Impl: IHTMLXDomainRequestFactory_Impl, const OFFSET: isize>() -> IHTMLXDomainRequestFactory_Vtbl { - unsafe extern "system" fn create, Impl: IHTMLXDomainRequestFactory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, __midl__ihtmlxdomainrequestfactory0000: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.create() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(__midl__ihtmlxdomainrequestfactory0000, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), create: create:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLXMLHttpRequest_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn readyState(&self) -> ::windows::core::Result; - fn responseBody(&self) -> ::windows::core::Result; - fn responseText(&self) -> ::windows::core::Result; - fn responseXML(&self) -> ::windows::core::Result; - fn status(&self) -> ::windows::core::Result; - fn statusText(&self) -> ::windows::core::Result; - fn Setonreadystatechange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onreadystatechange(&self) -> ::windows::core::Result; - fn abort(&self) -> ::windows::core::Result<()>; - fn open(&self, bstrmethod: &super::super::Foundation::BSTR, bstrurl: &super::super::Foundation::BSTR, varasync: &super::super::System::Com::VARIANT, varuser: &super::super::System::Com::VARIANT, varpassword: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn send(&self, varbody: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn getAllResponseHeaders(&self) -> ::windows::core::Result; - fn getResponseHeader(&self, bstrheader: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn setRequestHeader(&self, bstrheader: &super::super::Foundation::BSTR, bstrvalue: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLXMLHttpRequest {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLXMLHttpRequest_Vtbl { - pub const fn new, Impl: IHTMLXMLHttpRequest_Impl, const OFFSET: isize>() -> IHTMLXMLHttpRequest_Vtbl { - unsafe extern "system" fn readyState, Impl: IHTMLXMLHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readyState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn responseBody, Impl: IHTMLXMLHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.responseBody() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn responseText, Impl: IHTMLXMLHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.responseText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn responseXML, Impl: IHTMLXMLHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.responseXML() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn status, Impl: IHTMLXMLHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.status() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn statusText, Impl: IHTMLXMLHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.statusText() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonreadystatechange, Impl: IHTMLXMLHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonreadystatechange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onreadystatechange, Impl: IHTMLXMLHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onreadystatechange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn abort, Impl: IHTMLXMLHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.abort().into() - } - unsafe extern "system" fn open, Impl: IHTMLXMLHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrmethod: ::core::mem::ManuallyDrop, bstrurl: ::core::mem::ManuallyDrop, varasync: ::core::mem::ManuallyDrop, varuser: ::core::mem::ManuallyDrop, varpassword: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.open(::core::mem::transmute(&bstrmethod), ::core::mem::transmute(&bstrurl), ::core::mem::transmute(&varasync), ::core::mem::transmute(&varuser), ::core::mem::transmute(&varpassword)).into() - } - unsafe extern "system" fn send, Impl: IHTMLXMLHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, varbody: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.send(::core::mem::transmute(&varbody)).into() - } - unsafe extern "system" fn getAllResponseHeaders, Impl: IHTMLXMLHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, __midl__ihtmlxmlhttprequest0000: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getAllResponseHeaders() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(__midl__ihtmlxmlhttprequest0000, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getResponseHeader, Impl: IHTMLXMLHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrheader: ::core::mem::ManuallyDrop, __midl__ihtmlxmlhttprequest0001: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getResponseHeader(::core::mem::transmute(&bstrheader)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(__midl__ihtmlxmlhttprequest0001, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setRequestHeader, Impl: IHTMLXMLHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrheader: ::core::mem::ManuallyDrop, bstrvalue: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setRequestHeader(::core::mem::transmute(&bstrheader), ::core::mem::transmute(&bstrvalue)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - readyState: readyState::, - responseBody: responseBody::, - responseText: responseText::, - responseXML: responseXML::, - status: status::, - statusText: statusText::, - Setonreadystatechange: Setonreadystatechange::, - onreadystatechange: onreadystatechange::, - abort: abort::, - open: open::, - send: send::, - getAllResponseHeaders: getAllResponseHeaders::, - getResponseHeader: getResponseHeader::, - setRequestHeader: setRequestHeader::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLXMLHttpRequest2_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Settimeout(&self, v: i32) -> ::windows::core::Result<()>; - fn timeout(&self) -> ::windows::core::Result; - fn Setontimeout(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn ontimeout(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLXMLHttpRequest2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLXMLHttpRequest2_Vtbl { - pub const fn new, Impl: IHTMLXMLHttpRequest2_Impl, const OFFSET: isize>() -> IHTMLXMLHttpRequest2_Vtbl { - unsafe extern "system" fn Settimeout, Impl: IHTMLXMLHttpRequest2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settimeout(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn timeout, Impl: IHTMLXMLHttpRequest2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.timeout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setontimeout, Impl: IHTMLXMLHttpRequest2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setontimeout(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ontimeout, Impl: IHTMLXMLHttpRequest2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ontimeout() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Settimeout: Settimeout::, - timeout: timeout::, - Setontimeout: Setontimeout::, - ontimeout: ontimeout::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHTMLXMLHttpRequestFactory_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn create(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHTMLXMLHttpRequestFactory {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHTMLXMLHttpRequestFactory_Vtbl { - pub const fn new, Impl: IHTMLXMLHttpRequestFactory_Impl, const OFFSET: isize>() -> IHTMLXMLHttpRequestFactory_Vtbl { - unsafe extern "system" fn create, Impl: IHTMLXMLHttpRequestFactory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, __midl__ihtmlxmlhttprequestfactory0000: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.create() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(__midl__ihtmlxmlhttprequestfactory0000, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), create: create:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHeaderFooter_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn htmlHead(&self) -> ::windows::core::Result; - fn htmlFoot(&self) -> ::windows::core::Result; - fn SettextHead(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textHead(&self) -> ::windows::core::Result; - fn SettextFoot(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn textFoot(&self) -> ::windows::core::Result; - fn Setpage(&self, v: u32) -> ::windows::core::Result<()>; - fn page(&self) -> ::windows::core::Result; - fn SetpageTotal(&self, v: u32) -> ::windows::core::Result<()>; - fn pageTotal(&self) -> ::windows::core::Result; - fn SetURL(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn URL(&self) -> ::windows::core::Result; - fn Settitle(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn title(&self) -> ::windows::core::Result; - fn SetdateShort(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dateShort(&self) -> ::windows::core::Result; - fn SetdateLong(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn dateLong(&self) -> ::windows::core::Result; - fn SettimeShort(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn timeShort(&self) -> ::windows::core::Result; - fn SettimeLong(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn timeLong(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHeaderFooter {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHeaderFooter_Vtbl { - pub const fn new, Impl: IHeaderFooter_Impl, const OFFSET: isize>() -> IHeaderFooter_Vtbl { - unsafe extern "system" fn htmlHead, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.htmlHead() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn htmlFoot, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.htmlFoot() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextHead, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextHead(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textHead, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textHead() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettextFoot, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettextFoot(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textFoot, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textFoot() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setpage, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setpage(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn page, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.page() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpageTotal, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpageTotal(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn pageTotal, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageTotal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetURL, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetURL(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn URL, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.URL() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Settitle, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settitle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn title, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.title() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdateShort, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdateShort(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dateShort, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dateShort() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetdateLong, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetdateLong(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dateLong, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dateLong() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettimeShort, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettimeShort(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn timeShort, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.timeShort() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettimeLong, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettimeLong(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn timeLong, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.timeLong() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - htmlHead: htmlHead::, - htmlFoot: htmlFoot::, - SettextHead: SettextHead::, - textHead: textHead::, - SettextFoot: SettextFoot::, - textFoot: textFoot::, - Setpage: Setpage::, - page: page::, - SetpageTotal: SetpageTotal::, - pageTotal: pageTotal::, - SetURL: SetURL::, - URL: URL::, - Settitle: Settitle::, - title: title::, - SetdateShort: SetdateShort::, - dateShort: dateShort::, - SetdateLong: SetdateLong::, - dateLong: dateLong::, - SettimeShort: SettimeShort::, - timeShort: timeShort::, - SettimeLong: SettimeLong::, - timeLong: timeLong::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHeaderFooter2_Impl: Sized + super::super::System::Com::IDispatch_Impl + IHeaderFooter_Impl { - fn Setfont(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn font(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHeaderFooter2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHeaderFooter2_Vtbl { - pub const fn new, Impl: IHeaderFooter2_Impl, const OFFSET: isize>() -> IHeaderFooter2_Vtbl { - unsafe extern "system" fn Setfont, Impl: IHeaderFooter2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setfont(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn font, Impl: IHeaderFooter2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.font() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: IHeaderFooter_Vtbl::new::(), Setfont: Setfont::, font: font:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_System_Com")] -pub trait IHighlightRenderingServices_Impl: Sized { - fn AddSegment(&self, pdisppointerstart: &::core::option::Option, pdisppointerend: &::core::option::Option, pirenderstyle: &::core::option::Option) -> ::windows::core::Result; - fn MoveSegmentToPointers(&self, pisegment: &::core::option::Option, pdisppointerstart: &::core::option::Option, pdisppointerend: &::core::option::Option) -> ::windows::core::Result<()>; - fn RemoveSegment(&self, pisegment: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_System_Com")] -impl ::windows::core::RuntimeName for IHighlightRenderingServices {} -#[cfg(feature = "Win32_System_Com")] -impl IHighlightRenderingServices_Vtbl { - pub const fn new, Impl: IHighlightRenderingServices_Impl, const OFFSET: isize>() -> IHighlightRenderingServices_Vtbl { - unsafe extern "system" fn AddSegment, Impl: IHighlightRenderingServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdisppointerstart: *mut ::core::ffi::c_void, pdisppointerend: *mut ::core::ffi::c_void, pirenderstyle: *mut ::core::ffi::c_void, ppisegment: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.AddSegment(::core::mem::transmute(&pdisppointerstart), ::core::mem::transmute(&pdisppointerend), ::core::mem::transmute(&pirenderstyle)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppisegment, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn MoveSegmentToPointers, Impl: IHighlightRenderingServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pisegment: *mut ::core::ffi::c_void, pdisppointerstart: *mut ::core::ffi::c_void, pdisppointerend: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveSegmentToPointers(::core::mem::transmute(&pisegment), ::core::mem::transmute(&pdisppointerstart), ::core::mem::transmute(&pdisppointerend)).into() - } - unsafe extern "system" fn RemoveSegment, Impl: IHighlightRenderingServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pisegment: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.RemoveSegment(::core::mem::transmute(&pisegment)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - AddSegment: AddSegment::, - MoveSegmentToPointers: MoveSegmentToPointers::, - RemoveSegment: RemoveSegment::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IHighlightSegment_Impl: Sized + ISegment_Impl {} -impl ::windows::core::RuntimeName for IHighlightSegment {} -impl IHighlightSegment_Vtbl { - pub const fn new, Impl: IHighlightSegment_Impl, const OFFSET: isize>() -> IHighlightSegment_Vtbl { - Self { base__: ISegment_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHomePage_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn navigateHomePage(&self) -> ::windows::core::Result<()>; - fn setHomePage(&self, bstrurl: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn isHomePage(&self, bstrurl: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHomePage {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHomePage_Vtbl { - pub const fn new, Impl: IHomePage_Impl, const OFFSET: isize>() -> IHomePage_Vtbl { - unsafe extern "system" fn navigateHomePage, Impl: IHomePage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.navigateHomePage().into() - } - unsafe extern "system" fn setHomePage, Impl: IHomePage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setHomePage(::core::mem::transmute(&bstrurl)).into() - } - unsafe extern "system" fn isHomePage, Impl: IHomePage_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.isHomePage(::core::mem::transmute(&bstrurl)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - navigateHomePage: navigateHomePage::, - setHomePage: setHomePage::, - isHomePage: isHomePage::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IHomePageSetting_Impl: Sized { - fn SetHomePage(&self, hwnd: super::super::Foundation::HWND, homepageuri: &::windows::core::PCWSTR, brandingmessage: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; - fn IsHomePage(&self, uri: &::windows::core::PCWSTR) -> ::windows::core::Result; - fn SetHomePageToBrowserDefault(&self) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IHomePageSetting {} -#[cfg(feature = "Win32_Foundation")] -impl IHomePageSetting_Vtbl { - pub const fn new, Impl: IHomePageSetting_Impl, const OFFSET: isize>() -> IHomePageSetting_Vtbl { - unsafe extern "system" fn SetHomePage, Impl: IHomePageSetting_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, hwnd: super::super::Foundation::HWND, homepageuri: ::windows::core::PCWSTR, brandingmessage: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetHomePage(::core::mem::transmute_copy(&hwnd), ::core::mem::transmute(&homepageuri), ::core::mem::transmute(&brandingmessage)).into() - } - unsafe extern "system" fn IsHomePage, Impl: IHomePageSetting_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, uri: ::windows::core::PCWSTR, isdefault: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsHomePage(::core::mem::transmute(&uri)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(isdefault, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetHomePageToBrowserDefault, Impl: IHomePageSetting_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetHomePageToBrowserDefault().into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - SetHomePage: SetHomePage::, - IsHomePage: IsHomePage::, - SetHomePageToBrowserDefault: SetHomePageToBrowserDefault::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IHostBehaviorInit_Impl: Sized { - fn PopulateNamespaceTable(&self) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IHostBehaviorInit {} -impl IHostBehaviorInit_Vtbl { - pub const fn new, Impl: IHostBehaviorInit_Impl, const OFFSET: isize>() -> IHostBehaviorInit_Vtbl { - unsafe extern "system" fn PopulateNamespaceTable, Impl: IHostBehaviorInit_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.PopulateNamespaceTable().into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), PopulateNamespaceTable: PopulateNamespaceTable:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHostDialogHelper_Impl: Sized { - fn ShowHTMLDialog(&self, hwndparent: super::super::Foundation::HWND, pmk: &::core::option::Option, pvarargin: *mut super::super::System::Com::VARIANT, pchoptions: &::windows::core::PCWSTR, pvarargout: *mut super::super::System::Com::VARIANT, punkhost: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHostDialogHelper {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHostDialogHelper_Vtbl { - pub const fn new, Impl: IHostDialogHelper_Impl, const OFFSET: isize>() -> IHostDialogHelper_Vtbl { - unsafe extern "system" fn ShowHTMLDialog, Impl: IHostDialogHelper_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, hwndparent: super::super::Foundation::HWND, pmk: *mut ::core::ffi::c_void, pvarargin: *mut super::super::System::Com::VARIANT, pchoptions: ::windows::core::PCWSTR, pvarargout: *mut super::super::System::Com::VARIANT, punkhost: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ShowHTMLDialog(::core::mem::transmute_copy(&hwndparent), ::core::mem::transmute(&pmk), ::core::mem::transmute_copy(&pvarargin), ::core::mem::transmute(&pchoptions), ::core::mem::transmute_copy(&pvarargout), ::core::mem::transmute(&punkhost)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), ShowHTMLDialog: ShowHTMLDialog:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IHtmlDlgSafeHelper_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn choosecolordlg(&self, initcolor: &super::super::System::Com::VARIANT) -> ::windows::core::Result; - fn getCharset(&self, fontname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn Fonts(&self) -> ::windows::core::Result; - fn BlockFormats(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IHtmlDlgSafeHelper {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IHtmlDlgSafeHelper_Vtbl { - pub const fn new, Impl: IHtmlDlgSafeHelper_Impl, const OFFSET: isize>() -> IHtmlDlgSafeHelper_Vtbl { - unsafe extern "system" fn choosecolordlg, Impl: IHtmlDlgSafeHelper_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, initcolor: ::core::mem::ManuallyDrop, rgbcolor: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.choosecolordlg(::core::mem::transmute(&initcolor)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(rgbcolor, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getCharset, Impl: IHtmlDlgSafeHelper_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fontname: ::core::mem::ManuallyDrop, charset: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getCharset(::core::mem::transmute(&fontname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(charset, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Fonts, Impl: IHtmlDlgSafeHelper_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Fonts() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn BlockFormats, Impl: IHtmlDlgSafeHelper_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.BlockFormats() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - choosecolordlg: choosecolordlg::, - getCharset: getCharset::, - Fonts: Fonts::, - BlockFormats: BlockFormats::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IICCSVGColor_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IICCSVGColor {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IICCSVGColor_Vtbl { - pub const fn new, Impl: IICCSVGColor_Impl, const OFFSET: isize>() -> IICCSVGColor_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IIE70DispatchEx_Impl: Sized + super::super::System::Com::IDispatch_Impl + super::super::System::Ole::IDispatchEx_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IIE70DispatchEx {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IIE70DispatchEx_Vtbl { - pub const fn new, Impl: IIE70DispatchEx_Impl, const OFFSET: isize>() -> IIE70DispatchEx_Vtbl { - Self { base__: super::super::System::Ole::IDispatchEx_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IIE80DispatchEx_Impl: Sized + super::super::System::Com::IDispatch_Impl + super::super::System::Ole::IDispatchEx_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IIE80DispatchEx {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IIE80DispatchEx_Vtbl { - pub const fn new, Impl: IIE80DispatchEx_Impl, const OFFSET: isize>() -> IIE80DispatchEx_Vtbl { - Self { base__: super::super::System::Ole::IDispatchEx_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IIEWebDriverManager_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn ExecuteCommand(&self, command: &::windows::core::PCWSTR) -> ::windows::core::Result<::windows::core::PWSTR>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IIEWebDriverManager {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IIEWebDriverManager_Vtbl { - pub const fn new, Impl: IIEWebDriverManager_Impl, const OFFSET: isize>() -> IIEWebDriverManager_Vtbl { - unsafe extern "system" fn ExecuteCommand, Impl: IIEWebDriverManager_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, command: ::windows::core::PCWSTR, response: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ExecuteCommand(::core::mem::transmute(&command)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(response, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), ExecuteCommand: ExecuteCommand:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IIEWebDriverSite_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn WindowOperation(&self, operationcode: u32, hwnd: u32) -> ::windows::core::Result<()>; - fn DetachWebdriver(&self, punkwd: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; - fn GetCapabilityValue(&self, punkwd: &::core::option::Option<::windows::core::IUnknown>, capname: &::windows::core::PCWSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IIEWebDriverSite {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IIEWebDriverSite_Vtbl { - pub const fn new, Impl: IIEWebDriverSite_Impl, const OFFSET: isize>() -> IIEWebDriverSite_Vtbl { - unsafe extern "system" fn WindowOperation, Impl: IIEWebDriverSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, operationcode: u32, hwnd: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.WindowOperation(::core::mem::transmute_copy(&operationcode), ::core::mem::transmute_copy(&hwnd)).into() - } - unsafe extern "system" fn DetachWebdriver, Impl: IIEWebDriverSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, punkwd: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.DetachWebdriver(::core::mem::transmute(&punkwd)).into() - } - unsafe extern "system" fn GetCapabilityValue, Impl: IIEWebDriverSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, punkwd: *mut ::core::ffi::c_void, capname: ::windows::core::PCWSTR, capvalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetCapabilityValue(::core::mem::transmute(&punkwd), ::core::mem::transmute(&capname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(capvalue, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - WindowOperation: WindowOperation::, - DetachWebdriver: DetachWebdriver::, - GetCapabilityValue: GetCapabilityValue::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_UI_Input_Ime")] -pub trait IIMEServices_Impl: Sized { - fn GetActiveIMM(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_UI_Input_Ime")] -impl ::windows::core::RuntimeName for IIMEServices {} -#[cfg(feature = "Win32_UI_Input_Ime")] -impl IIMEServices_Vtbl { - pub const fn new, Impl: IIMEServices_Impl, const OFFSET: isize>() -> IIMEServices_Vtbl { - unsafe extern "system" fn GetActiveIMM, Impl: IIMEServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppactiveimm: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetActiveIMM() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppactiveimm, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), GetActiveIMM: GetActiveIMM:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IImageDecodeEventSink_Impl: Sized { - fn GetSurface(&self, nwidth: i32, nheight: i32, bfid: *const ::windows::core::GUID, npasses: u32, dwhints: u32) -> ::windows::core::Result<::windows::core::IUnknown>; - fn OnBeginDecode(&self, pdwevents: *mut u32, pnformats: *mut u32, ppformats: *mut *mut ::windows::core::GUID) -> ::windows::core::Result<()>; - fn OnBitsComplete(&self) -> ::windows::core::Result<()>; - fn OnDecodeComplete(&self, hrstatus: ::windows::core::HRESULT) -> ::windows::core::Result<()>; - fn OnPalette(&self) -> ::windows::core::Result<()>; - fn OnProgress(&self, pbounds: *const super::super::Foundation::RECT, bcomplete: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IImageDecodeEventSink {} -#[cfg(feature = "Win32_Foundation")] -impl IImageDecodeEventSink_Vtbl { - pub const fn new, Impl: IImageDecodeEventSink_Impl, const OFFSET: isize>() -> IImageDecodeEventSink_Vtbl { - unsafe extern "system" fn GetSurface, Impl: IImageDecodeEventSink_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, nwidth: i32, nheight: i32, bfid: *const ::windows::core::GUID, npasses: u32, dwhints: u32, ppsurface: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetSurface(::core::mem::transmute_copy(&nwidth), ::core::mem::transmute_copy(&nheight), ::core::mem::transmute_copy(&bfid), ::core::mem::transmute_copy(&npasses), ::core::mem::transmute_copy(&dwhints)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppsurface, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn OnBeginDecode, Impl: IImageDecodeEventSink_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdwevents: *mut u32, pnformats: *mut u32, ppformats: *mut *mut ::windows::core::GUID) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnBeginDecode(::core::mem::transmute_copy(&pdwevents), ::core::mem::transmute_copy(&pnformats), ::core::mem::transmute_copy(&ppformats)).into() - } - unsafe extern "system" fn OnBitsComplete, Impl: IImageDecodeEventSink_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnBitsComplete().into() - } - unsafe extern "system" fn OnDecodeComplete, Impl: IImageDecodeEventSink_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, hrstatus: ::windows::core::HRESULT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnDecodeComplete(::core::mem::transmute_copy(&hrstatus)).into() - } - unsafe extern "system" fn OnPalette, Impl: IImageDecodeEventSink_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnPalette().into() - } - unsafe extern "system" fn OnProgress, Impl: IImageDecodeEventSink_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbounds: *const super::super::Foundation::RECT, bcomplete: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnProgress(::core::mem::transmute_copy(&pbounds), ::core::mem::transmute_copy(&bcomplete)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - GetSurface: GetSurface::, - OnBeginDecode: OnBeginDecode::, - OnBitsComplete: OnBitsComplete::, - OnDecodeComplete: OnDecodeComplete::, - OnPalette: OnPalette::, - OnProgress: OnProgress::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IImageDecodeEventSink2_Impl: Sized + IImageDecodeEventSink_Impl { - fn IsAlphaPremultRequired(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IImageDecodeEventSink2 {} -#[cfg(feature = "Win32_Foundation")] -impl IImageDecodeEventSink2_Vtbl { - pub const fn new, Impl: IImageDecodeEventSink2_Impl, const OFFSET: isize>() -> IImageDecodeEventSink2_Vtbl { - unsafe extern "system" fn IsAlphaPremultRequired, Impl: IImageDecodeEventSink2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfpremultalpha: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsAlphaPremultRequired() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfpremultalpha, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: IImageDecodeEventSink_Vtbl::new::(), IsAlphaPremultRequired: IsAlphaPremultRequired:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_System_Com")] -pub trait IImageDecodeFilter_Impl: Sized { - fn Initialize(&self, peventsink: &::core::option::Option) -> ::windows::core::Result<()>; - fn Process(&self, pstream: &::core::option::Option) -> ::windows::core::Result<()>; - fn Terminate(&self, hrstatus: ::windows::core::HRESULT) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_System_Com")] -impl ::windows::core::RuntimeName for IImageDecodeFilter {} -#[cfg(feature = "Win32_System_Com")] -impl IImageDecodeFilter_Vtbl { - pub const fn new, Impl: IImageDecodeFilter_Impl, const OFFSET: isize>() -> IImageDecodeFilter_Vtbl { - unsafe extern "system" fn Initialize, Impl: IImageDecodeFilter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, peventsink: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Initialize(::core::mem::transmute(&peventsink)).into() - } - unsafe extern "system" fn Process, Impl: IImageDecodeFilter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pstream: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Process(::core::mem::transmute(&pstream)).into() - } - unsafe extern "system" fn Terminate, Impl: IImageDecodeFilter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, hrstatus: ::windows::core::HRESULT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Terminate(::core::mem::transmute_copy(&hrstatus)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - Initialize: Initialize::, - Process: Process::, - Terminate: Terminate::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IIntelliForms_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn enabled(&self) -> ::windows::core::Result; - fn Setenabled(&self, bval: i16) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IIntelliForms {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IIntelliForms_Vtbl { - pub const fn new, Impl: IIntelliForms_Impl, const OFFSET: isize>() -> IIntelliForms_Vtbl { - unsafe extern "system" fn enabled, Impl: IIntelliForms_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pval: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.enabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pval, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setenabled, Impl: IIntelliForms_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bval: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setenabled(::core::mem::transmute_copy(&bval)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - enabled: enabled::, - Setenabled: Setenabled::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -pub trait IInternetExplorerManager_Impl: Sized { - fn CreateObject(&self, dwconfig: u32, pszurl: &::windows::core::PCWSTR, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IInternetExplorerManager {} -impl IInternetExplorerManager_Vtbl { - pub const fn new, Impl: IInternetExplorerManager_Impl, const OFFSET: isize>() -> IInternetExplorerManager_Vtbl { - unsafe extern "system" fn CreateObject, Impl: IInternetExplorerManager_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwconfig: u32, pszurl: ::windows::core::PCWSTR, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.CreateObject(::core::mem::transmute_copy(&dwconfig), ::core::mem::transmute(&pszurl), ::core::mem::transmute_copy(&riid), ::core::mem::transmute_copy(&ppv)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), CreateObject: CreateObject:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IInternetExplorerManager2_Impl: Sized { - fn EnumFrameWindows(&self) -> ::windows::core::Result; -} -impl ::windows::core::RuntimeName for IInternetExplorerManager2 {} -impl IInternetExplorerManager2_Vtbl { - pub const fn new, Impl: IInternetExplorerManager2_Impl, const OFFSET: isize>() -> IInternetExplorerManager2_Vtbl { - unsafe extern "system" fn EnumFrameWindows, Impl: IInternetExplorerManager2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.EnumFrameWindows() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppenum, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), EnumFrameWindows: EnumFrameWindows:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ILayoutRect_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetnextRect(&self, bstrelementid: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn nextRect(&self) -> ::windows::core::Result; - fn SetcontentSrc(&self, varcontentsrc: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn contentSrc(&self) -> ::windows::core::Result; - fn SethonorPageBreaks(&self, v: i16) -> ::windows::core::Result<()>; - fn honorPageBreaks(&self) -> ::windows::core::Result; - fn SethonorPageRules(&self, v: i16) -> ::windows::core::Result<()>; - fn honorPageRules(&self) -> ::windows::core::Result; - fn SetnextRectElement(&self, pelem: &::core::option::Option) -> ::windows::core::Result<()>; - fn nextRectElement(&self) -> ::windows::core::Result; - fn contentDocument(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ILayoutRect {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ILayoutRect_Vtbl { - pub const fn new, Impl: ILayoutRect_Impl, const OFFSET: isize>() -> ILayoutRect_Vtbl { - unsafe extern "system" fn SetnextRect, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrelementid: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnextRect(::core::mem::transmute(&bstrelementid)).into() - } - unsafe extern "system" fn nextRect, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstrelementid: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nextRect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrelementid, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcontentSrc, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, varcontentsrc: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcontentSrc(::core::mem::transmute(&varcontentsrc)).into() - } - unsafe extern "system" fn contentSrc, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvarcontentsrc: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.contentSrc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvarcontentsrc, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SethonorPageBreaks, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SethonorPageBreaks(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn honorPageBreaks, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.honorPageBreaks() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SethonorPageRules, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SethonorPageRules(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn honorPageRules, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.honorPageRules() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetnextRectElement, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pelem: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnextRectElement(::core::mem::transmute(&pelem)).into() - } - unsafe extern "system" fn nextRectElement, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppelem: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nextRectElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppelem, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn contentDocument, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdoc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.contentDocument() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdoc, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetnextRect: SetnextRect::, - nextRect: nextRect::, - SetcontentSrc: SetcontentSrc::, - contentSrc: contentSrc::, - SethonorPageBreaks: SethonorPageBreaks::, - honorPageBreaks: honorPageBreaks::, - SethonorPageRules: SethonorPageRules::, - honorPageRules: honorPageRules::, - SetnextRectElement: SetnextRectElement::, - nextRectElement: nextRectElement::, - contentDocument: contentDocument::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -pub trait ILineInfo_Impl: Sized { - fn x(&self) -> ::windows::core::Result; - fn baseLine(&self) -> ::windows::core::Result; - fn textDescent(&self) -> ::windows::core::Result; - fn textHeight(&self) -> ::windows::core::Result; - fn lineDirection(&self) -> ::windows::core::Result; -} -impl ::windows::core::RuntimeName for ILineInfo {} -impl ILineInfo_Vtbl { - pub const fn new, Impl: ILineInfo_Impl, const OFFSET: isize>() -> ILineInfo_Vtbl { - unsafe extern "system" fn x, Impl: ILineInfo_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn baseLine, Impl: ILineInfo_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.baseLine() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn textDescent, Impl: ILineInfo_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textDescent() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn textHeight, Impl: ILineInfo_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn lineDirection, Impl: ILineInfo_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lineDirection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - x: x::, - baseLine: baseLine::, - textDescent: textDescent::, - textHeight: textHeight::, - lineDirection: lineDirection::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IMapMIMEToCLSID_Impl: Sized { - fn EnableDefaultMappings(&self, benable: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; - fn MapMIMEToCLSID(&self, pszmimetype: &::windows::core::PCWSTR, pclsid: *const ::windows::core::GUID) -> ::windows::core::Result<()>; - fn SetMapping(&self, pszmimetype: &::windows::core::PCWSTR, dwmapmode: u32, clsid: *const ::windows::core::GUID) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IMapMIMEToCLSID {} -#[cfg(feature = "Win32_Foundation")] -impl IMapMIMEToCLSID_Vtbl { - pub const fn new, Impl: IMapMIMEToCLSID_Impl, const OFFSET: isize>() -> IMapMIMEToCLSID_Vtbl { - unsafe extern "system" fn EnableDefaultMappings, Impl: IMapMIMEToCLSID_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, benable: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.EnableDefaultMappings(::core::mem::transmute_copy(&benable)).into() - } - unsafe extern "system" fn MapMIMEToCLSID, Impl: IMapMIMEToCLSID_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pszmimetype: ::windows::core::PCWSTR, pclsid: *const ::windows::core::GUID) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MapMIMEToCLSID(::core::mem::transmute(&pszmimetype), ::core::mem::transmute_copy(&pclsid)).into() - } - unsafe extern "system" fn SetMapping, Impl: IMapMIMEToCLSID_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pszmimetype: ::windows::core::PCWSTR, dwmapmode: u32, clsid: *const ::windows::core::GUID) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetMapping(::core::mem::transmute(&pszmimetype), ::core::mem::transmute_copy(&dwmapmode), ::core::mem::transmute_copy(&clsid)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - EnableDefaultMappings: EnableDefaultMappings::, - MapMIMEToCLSID: MapMIMEToCLSID::, - SetMapping: SetMapping::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_System_Com")] -pub trait IMarkupContainer_Impl: Sized { - fn OwningDoc(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_System_Com")] -impl ::windows::core::RuntimeName for IMarkupContainer {} -#[cfg(feature = "Win32_System_Com")] -impl IMarkupContainer_Vtbl { - pub const fn new, Impl: IMarkupContainer_Impl, const OFFSET: isize>() -> IMarkupContainer_Vtbl { - unsafe extern "system" fn OwningDoc, Impl: IMarkupContainer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppdoc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.OwningDoc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppdoc, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), OwningDoc: OwningDoc:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IMarkupContainer2_Impl: Sized + IMarkupContainer_Impl { - fn CreateChangeLog(&self, pchangesink: &::core::option::Option, ppchangelog: *mut ::core::option::Option, fforward: super::super::Foundation::BOOL, fbackward: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; - fn RegisterForDirtyRange(&self, pchangesink: &::core::option::Option) -> ::windows::core::Result; - fn UnRegisterForDirtyRange(&self, dwcookie: u32) -> ::windows::core::Result<()>; - fn GetAndClearDirtyRange(&self, dwcookie: u32, pipointerbegin: &::core::option::Option, pipointerend: &::core::option::Option) -> ::windows::core::Result<()>; - fn GetVersionNumber(&self) -> i32; - fn GetMasterElement(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IMarkupContainer2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IMarkupContainer2_Vtbl { - pub const fn new, Impl: IMarkupContainer2_Impl, const OFFSET: isize>() -> IMarkupContainer2_Vtbl { - unsafe extern "system" fn CreateChangeLog, Impl: IMarkupContainer2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pchangesink: *mut ::core::ffi::c_void, ppchangelog: *mut *mut ::core::ffi::c_void, fforward: super::super::Foundation::BOOL, fbackward: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.CreateChangeLog(::core::mem::transmute(&pchangesink), ::core::mem::transmute_copy(&ppchangelog), ::core::mem::transmute_copy(&fforward), ::core::mem::transmute_copy(&fbackward)).into() - } - unsafe extern "system" fn RegisterForDirtyRange, Impl: IMarkupContainer2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pchangesink: *mut ::core::ffi::c_void, pdwcookie: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.RegisterForDirtyRange(::core::mem::transmute(&pchangesink)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdwcookie, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn UnRegisterForDirtyRange, Impl: IMarkupContainer2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwcookie: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.UnRegisterForDirtyRange(::core::mem::transmute_copy(&dwcookie)).into() - } - unsafe extern "system" fn GetAndClearDirtyRange, Impl: IMarkupContainer2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwcookie: u32, pipointerbegin: *mut ::core::ffi::c_void, pipointerend: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetAndClearDirtyRange(::core::mem::transmute_copy(&dwcookie), ::core::mem::transmute(&pipointerbegin), ::core::mem::transmute(&pipointerend)).into() - } - unsafe extern "system" fn GetVersionNumber, Impl: IMarkupContainer2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> i32 { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetVersionNumber() - } - unsafe extern "system" fn GetMasterElement, Impl: IMarkupContainer2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppelementmaster: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetMasterElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppelementmaster, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: IMarkupContainer_Vtbl::new::(), - CreateChangeLog: CreateChangeLog::, - RegisterForDirtyRange: RegisterForDirtyRange::, - UnRegisterForDirtyRange: UnRegisterForDirtyRange::, - GetAndClearDirtyRange: GetAndClearDirtyRange::, - GetVersionNumber: GetVersionNumber::, - GetMasterElement: GetMasterElement::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IMarkupPointer_Impl: Sized { - fn OwningDoc(&self) -> ::windows::core::Result; - fn Gravity(&self) -> ::windows::core::Result; - fn SetGravity(&self, gravity: POINTER_GRAVITY) -> ::windows::core::Result<()>; - fn Cling(&self) -> ::windows::core::Result; - fn SetCling(&self, fcling: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; - fn Unposition(&self) -> ::windows::core::Result<()>; - fn IsPositioned(&self) -> ::windows::core::Result; - fn GetContainer(&self) -> ::windows::core::Result; - fn MoveAdjacentToElement(&self, pelement: &::core::option::Option, eadj: ELEMENT_ADJACENCY) -> ::windows::core::Result<()>; - fn MoveToPointer(&self, ppointer: &::core::option::Option) -> ::windows::core::Result<()>; - fn MoveToContainer(&self, pcontainer: &::core::option::Option, fatstart: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; - fn Left(&self, fmove: super::super::Foundation::BOOL, pcontext: *mut MARKUP_CONTEXT_TYPE, ppelement: *mut ::core::option::Option, pcch: *mut i32, pchtext: ::windows::core::PWSTR) -> ::windows::core::Result<()>; - fn Right(&self, fmove: super::super::Foundation::BOOL, pcontext: *mut MARKUP_CONTEXT_TYPE, ppelement: *mut ::core::option::Option, pcch: *mut i32, pchtext: ::windows::core::PWSTR) -> ::windows::core::Result<()>; - fn CurrentScope(&self) -> ::windows::core::Result; - fn IsLeftOf(&self, ppointerthat: &::core::option::Option) -> ::windows::core::Result; - fn IsLeftOfOrEqualTo(&self, ppointerthat: &::core::option::Option) -> ::windows::core::Result; - fn IsRightOf(&self, ppointerthat: &::core::option::Option) -> ::windows::core::Result; - fn IsRightOfOrEqualTo(&self, ppointerthat: &::core::option::Option) -> ::windows::core::Result; - fn IsEqualTo(&self, ppointerthat: &::core::option::Option) -> ::windows::core::Result; - fn MoveUnit(&self, muaction: MOVEUNIT_ACTION) -> ::windows::core::Result<()>; - fn FindText(&self, pchfindtext: &::windows::core::PCWSTR, dwflags: u32, piendmatch: &::core::option::Option, piendsearch: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IMarkupPointer {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IMarkupPointer_Vtbl { - pub const fn new, Impl: IMarkupPointer_Impl, const OFFSET: isize>() -> IMarkupPointer_Vtbl { - unsafe extern "system" fn OwningDoc, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppdoc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.OwningDoc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppdoc, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Gravity, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pgravity: *mut POINTER_GRAVITY) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Gravity() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pgravity, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetGravity, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, gravity: POINTER_GRAVITY) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetGravity(::core::mem::transmute_copy(&gravity)).into() - } - unsafe extern "system" fn Cling, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfcling: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Cling() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfcling, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetCling, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fcling: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetCling(::core::mem::transmute_copy(&fcling)).into() - } - unsafe extern "system" fn Unposition, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Unposition().into() - } - unsafe extern "system" fn IsPositioned, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfpositioned: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsPositioned() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfpositioned, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetContainer, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppcontainer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetContainer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppcontainer, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn MoveAdjacentToElement, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pelement: *mut ::core::ffi::c_void, eadj: ELEMENT_ADJACENCY) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveAdjacentToElement(::core::mem::transmute(&pelement), ::core::mem::transmute_copy(&eadj)).into() - } - unsafe extern "system" fn MoveToPointer, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppointer: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveToPointer(::core::mem::transmute(&ppointer)).into() - } - unsafe extern "system" fn MoveToContainer, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pcontainer: *mut ::core::ffi::c_void, fatstart: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveToContainer(::core::mem::transmute(&pcontainer), ::core::mem::transmute_copy(&fatstart)).into() - } - unsafe extern "system" fn Left, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fmove: super::super::Foundation::BOOL, pcontext: *mut MARKUP_CONTEXT_TYPE, ppelement: *mut *mut ::core::ffi::c_void, pcch: *mut i32, pchtext: ::windows::core::PWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Left(::core::mem::transmute_copy(&fmove), ::core::mem::transmute_copy(&pcontext), ::core::mem::transmute_copy(&ppelement), ::core::mem::transmute_copy(&pcch), ::core::mem::transmute_copy(&pchtext)).into() - } - unsafe extern "system" fn Right, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fmove: super::super::Foundation::BOOL, pcontext: *mut MARKUP_CONTEXT_TYPE, ppelement: *mut *mut ::core::ffi::c_void, pcch: *mut i32, pchtext: ::windows::core::PWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Right(::core::mem::transmute_copy(&fmove), ::core::mem::transmute_copy(&pcontext), ::core::mem::transmute_copy(&ppelement), ::core::mem::transmute_copy(&pcch), ::core::mem::transmute_copy(&pchtext)).into() - } - unsafe extern "system" fn CurrentScope, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppelemcurrent: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CurrentScope() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppelemcurrent, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn IsLeftOf, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppointerthat: *mut ::core::ffi::c_void, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsLeftOf(::core::mem::transmute(&ppointerthat)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn IsLeftOfOrEqualTo, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppointerthat: *mut ::core::ffi::c_void, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsLeftOfOrEqualTo(::core::mem::transmute(&ppointerthat)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn IsRightOf, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppointerthat: *mut ::core::ffi::c_void, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsRightOf(::core::mem::transmute(&ppointerthat)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn IsRightOfOrEqualTo, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppointerthat: *mut ::core::ffi::c_void, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsRightOfOrEqualTo(::core::mem::transmute(&ppointerthat)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn IsEqualTo, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppointerthat: *mut ::core::ffi::c_void, pfareequal: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsEqualTo(::core::mem::transmute(&ppointerthat)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfareequal, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn MoveUnit, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, muaction: MOVEUNIT_ACTION) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveUnit(::core::mem::transmute_copy(&muaction)).into() - } - unsafe extern "system" fn FindText, Impl: IMarkupPointer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pchfindtext: ::windows::core::PCWSTR, dwflags: u32, piendmatch: *mut ::core::ffi::c_void, piendsearch: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.FindText(::core::mem::transmute(&pchfindtext), ::core::mem::transmute_copy(&dwflags), ::core::mem::transmute(&piendmatch), ::core::mem::transmute(&piendsearch)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - OwningDoc: OwningDoc::, - Gravity: Gravity::, - SetGravity: SetGravity::, - Cling: Cling::, - SetCling: SetCling::, - Unposition: Unposition::, - IsPositioned: IsPositioned::, - GetContainer: GetContainer::, - MoveAdjacentToElement: MoveAdjacentToElement::, - MoveToPointer: MoveToPointer::, - MoveToContainer: MoveToContainer::, - Left: Left::, - Right: Right::, - CurrentScope: CurrentScope::, - IsLeftOf: IsLeftOf::, - IsLeftOfOrEqualTo: IsLeftOfOrEqualTo::, - IsRightOf: IsRightOf::, - IsRightOfOrEqualTo: IsRightOfOrEqualTo::, - IsEqualTo: IsEqualTo::, - MoveUnit: MoveUnit::, - FindText: FindText::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IMarkupPointer2_Impl: Sized + IMarkupPointer_Impl { - fn IsAtWordBreak(&self) -> ::windows::core::Result; - fn GetMarkupPosition(&self) -> ::windows::core::Result; - fn MoveToMarkupPosition(&self, pcontainer: &::core::option::Option, lmp: i32) -> ::windows::core::Result<()>; - fn MoveUnitBounded(&self, muaction: MOVEUNIT_ACTION, piboundary: &::core::option::Option) -> ::windows::core::Result<()>; - fn IsInsideURL(&self, pright: &::core::option::Option) -> ::windows::core::Result; - fn MoveToContent(&self, pielement: &::core::option::Option, fatstart: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IMarkupPointer2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IMarkupPointer2_Vtbl { - pub const fn new, Impl: IMarkupPointer2_Impl, const OFFSET: isize>() -> IMarkupPointer2_Vtbl { - unsafe extern "system" fn IsAtWordBreak, Impl: IMarkupPointer2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfatbreak: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsAtWordBreak() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfatbreak, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetMarkupPosition, Impl: IMarkupPointer2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, plmp: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetMarkupPosition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(plmp, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn MoveToMarkupPosition, Impl: IMarkupPointer2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pcontainer: *mut ::core::ffi::c_void, lmp: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveToMarkupPosition(::core::mem::transmute(&pcontainer), ::core::mem::transmute_copy(&lmp)).into() - } - unsafe extern "system" fn MoveUnitBounded, Impl: IMarkupPointer2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, muaction: MOVEUNIT_ACTION, piboundary: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveUnitBounded(::core::mem::transmute_copy(&muaction), ::core::mem::transmute(&piboundary)).into() - } - unsafe extern "system" fn IsInsideURL, Impl: IMarkupPointer2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pright: *mut ::core::ffi::c_void, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsInsideURL(::core::mem::transmute(&pright)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn MoveToContent, Impl: IMarkupPointer2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pielement: *mut ::core::ffi::c_void, fatstart: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveToContent(::core::mem::transmute(&pielement), ::core::mem::transmute_copy(&fatstart)).into() - } - Self { - base__: IMarkupPointer_Vtbl::new::(), - IsAtWordBreak: IsAtWordBreak::, - GetMarkupPosition: GetMarkupPosition::, - MoveToMarkupPosition: MoveToMarkupPosition::, - MoveUnitBounded: MoveUnitBounded::, - IsInsideURL: IsInsideURL::, - MoveToContent: MoveToContent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IMarkupServices_Impl: Sized { - fn CreateMarkupPointer(&self) -> ::windows::core::Result; - fn CreateMarkupContainer(&self) -> ::windows::core::Result; - fn CreateElement(&self, tagid: ELEMENT_TAG_ID, pchattributes: &::windows::core::PCWSTR) -> ::windows::core::Result; - fn CloneElement(&self, pelemclonethis: &::core::option::Option) -> ::windows::core::Result; - fn InsertElement(&self, pelementinsert: &::core::option::Option, ppointerstart: &::core::option::Option, ppointerfinish: &::core::option::Option) -> ::windows::core::Result<()>; - fn RemoveElement(&self, pelementremove: &::core::option::Option) -> ::windows::core::Result<()>; - fn Remove(&self, ppointerstart: &::core::option::Option, ppointerfinish: &::core::option::Option) -> ::windows::core::Result<()>; - fn Copy(&self, ppointersourcestart: &::core::option::Option, ppointersourcefinish: &::core::option::Option, ppointertarget: &::core::option::Option) -> ::windows::core::Result<()>; - fn Move(&self, ppointersourcestart: &::core::option::Option, ppointersourcefinish: &::core::option::Option, ppointertarget: &::core::option::Option) -> ::windows::core::Result<()>; - fn InsertText(&self, pchtext: &::windows::core::PCWSTR, cch: i32, ppointertarget: &::core::option::Option) -> ::windows::core::Result<()>; - fn ParseString(&self, pchhtml: &::windows::core::PCWSTR, dwflags: u32, ppcontainerresult: *mut ::core::option::Option, pppointerstart: &::core::option::Option, pppointerfinish: &::core::option::Option) -> ::windows::core::Result<()>; - fn ParseGlobal(&self, hglobalhtml: isize, dwflags: u32, ppcontainerresult: *mut ::core::option::Option, ppointerstart: &::core::option::Option, ppointerfinish: &::core::option::Option) -> ::windows::core::Result<()>; - fn IsScopedElement(&self, pelement: &::core::option::Option) -> ::windows::core::Result; - fn GetElementTagId(&self, pelement: &::core::option::Option) -> ::windows::core::Result; - fn GetTagIDForName(&self, bstrname: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn GetNameForTagID(&self, tagid: ELEMENT_TAG_ID) -> ::windows::core::Result; - fn MovePointersToRange(&self, pirange: &::core::option::Option, ppointerstart: &::core::option::Option, ppointerfinish: &::core::option::Option) -> ::windows::core::Result<()>; - fn MoveRangeToPointers(&self, ppointerstart: &::core::option::Option, ppointerfinish: &::core::option::Option, pirange: &::core::option::Option) -> ::windows::core::Result<()>; - fn BeginUndoUnit(&self, pchtitle: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; - fn EndUndoUnit(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IMarkupServices {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IMarkupServices_Vtbl { - pub const fn new, Impl: IMarkupServices_Impl, const OFFSET: isize>() -> IMarkupServices_Vtbl { - unsafe extern "system" fn CreateMarkupPointer, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pppointer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CreateMarkupPointer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pppointer, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn CreateMarkupContainer, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppmarkupcontainer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CreateMarkupContainer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppmarkupcontainer, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn CreateElement, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, tagid: ELEMENT_TAG_ID, pchattributes: ::windows::core::PCWSTR, ppelement: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CreateElement(::core::mem::transmute_copy(&tagid), ::core::mem::transmute(&pchattributes)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppelement, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn CloneElement, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pelemclonethis: *mut ::core::ffi::c_void, ppelementtheclone: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CloneElement(::core::mem::transmute(&pelemclonethis)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppelementtheclone, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn InsertElement, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pelementinsert: *mut ::core::ffi::c_void, ppointerstart: *mut ::core::ffi::c_void, ppointerfinish: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.InsertElement(::core::mem::transmute(&pelementinsert), ::core::mem::transmute(&ppointerstart), ::core::mem::transmute(&ppointerfinish)).into() - } - unsafe extern "system" fn RemoveElement, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pelementremove: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.RemoveElement(::core::mem::transmute(&pelementremove)).into() - } - unsafe extern "system" fn Remove, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppointerstart: *mut ::core::ffi::c_void, ppointerfinish: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Remove(::core::mem::transmute(&ppointerstart), ::core::mem::transmute(&ppointerfinish)).into() - } - unsafe extern "system" fn Copy, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppointersourcestart: *mut ::core::ffi::c_void, ppointersourcefinish: *mut ::core::ffi::c_void, ppointertarget: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Copy(::core::mem::transmute(&ppointersourcestart), ::core::mem::transmute(&ppointersourcefinish), ::core::mem::transmute(&ppointertarget)).into() - } - unsafe extern "system" fn Move, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppointersourcestart: *mut ::core::ffi::c_void, ppointersourcefinish: *mut ::core::ffi::c_void, ppointertarget: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Move(::core::mem::transmute(&ppointersourcestart), ::core::mem::transmute(&ppointersourcefinish), ::core::mem::transmute(&ppointertarget)).into() - } - unsafe extern "system" fn InsertText, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pchtext: ::windows::core::PCWSTR, cch: i32, ppointertarget: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.InsertText(::core::mem::transmute(&pchtext), ::core::mem::transmute_copy(&cch), ::core::mem::transmute(&ppointertarget)).into() - } - unsafe extern "system" fn ParseString, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pchhtml: ::windows::core::PCWSTR, dwflags: u32, ppcontainerresult: *mut *mut ::core::ffi::c_void, pppointerstart: *mut ::core::ffi::c_void, pppointerfinish: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ParseString(::core::mem::transmute(&pchhtml), ::core::mem::transmute_copy(&dwflags), ::core::mem::transmute_copy(&ppcontainerresult), ::core::mem::transmute(&pppointerstart), ::core::mem::transmute(&pppointerfinish)).into() - } - unsafe extern "system" fn ParseGlobal, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, hglobalhtml: isize, dwflags: u32, ppcontainerresult: *mut *mut ::core::ffi::c_void, ppointerstart: *mut ::core::ffi::c_void, ppointerfinish: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ParseGlobal(::core::mem::transmute_copy(&hglobalhtml), ::core::mem::transmute_copy(&dwflags), ::core::mem::transmute_copy(&ppcontainerresult), ::core::mem::transmute(&ppointerstart), ::core::mem::transmute(&ppointerfinish)).into() - } - unsafe extern "system" fn IsScopedElement, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pelement: *mut ::core::ffi::c_void, pfscoped: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsScopedElement(::core::mem::transmute(&pelement)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfscoped, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetElementTagId, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pelement: *mut ::core::ffi::c_void, ptagid: *mut ELEMENT_TAG_ID) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetElementTagId(::core::mem::transmute(&pelement)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ptagid, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetTagIDForName, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, ptagid: *mut ELEMENT_TAG_ID) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetTagIDForName(::core::mem::transmute(&bstrname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ptagid, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetNameForTagID, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, tagid: ELEMENT_TAG_ID, pbstrname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetNameForTagID(::core::mem::transmute_copy(&tagid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrname, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn MovePointersToRange, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pirange: *mut ::core::ffi::c_void, ppointerstart: *mut ::core::ffi::c_void, ppointerfinish: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MovePointersToRange(::core::mem::transmute(&pirange), ::core::mem::transmute(&ppointerstart), ::core::mem::transmute(&ppointerfinish)).into() - } - unsafe extern "system" fn MoveRangeToPointers, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppointerstart: *mut ::core::ffi::c_void, ppointerfinish: *mut ::core::ffi::c_void, pirange: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.MoveRangeToPointers(::core::mem::transmute(&ppointerstart), ::core::mem::transmute(&ppointerfinish), ::core::mem::transmute(&pirange)).into() - } - unsafe extern "system" fn BeginUndoUnit, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pchtitle: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.BeginUndoUnit(::core::mem::transmute(&pchtitle)).into() - } - unsafe extern "system" fn EndUndoUnit, Impl: IMarkupServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.EndUndoUnit().into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - CreateMarkupPointer: CreateMarkupPointer::, - CreateMarkupContainer: CreateMarkupContainer::, - CreateElement: CreateElement::, - CloneElement: CloneElement::, - InsertElement: InsertElement::, - RemoveElement: RemoveElement::, - Remove: Remove::, - Copy: Copy::, - Move: Move::, - InsertText: InsertText::, - ParseString: ParseString::, - ParseGlobal: ParseGlobal::, - IsScopedElement: IsScopedElement::, - GetElementTagId: GetElementTagId::, - GetTagIDForName: GetTagIDForName::, - GetNameForTagID: GetNameForTagID::, - MovePointersToRange: MovePointersToRange::, - MoveRangeToPointers: MoveRangeToPointers::, - BeginUndoUnit: BeginUndoUnit::, - EndUndoUnit: EndUndoUnit::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IMarkupServices2_Impl: Sized + IMarkupServices_Impl { - fn ParseGlobalEx(&self, hglobalhtml: isize, dwflags: u32, pcontext: &::core::option::Option, ppcontainerresult: *mut ::core::option::Option, ppointerstart: &::core::option::Option, ppointerfinish: &::core::option::Option) -> ::windows::core::Result<()>; - fn ValidateElements(&self, ppointerstart: &::core::option::Option, ppointerfinish: &::core::option::Option, ppointertarget: &::core::option::Option, ppointerstatus: &::core::option::Option, ppelemfailbottom: *mut ::core::option::Option, ppelemfailtop: *mut ::core::option::Option) -> ::windows::core::Result<()>; - fn SaveSegmentsToClipboard(&self, psegmentlist: &::core::option::Option, dwflags: u32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IMarkupServices2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IMarkupServices2_Vtbl { - pub const fn new, Impl: IMarkupServices2_Impl, const OFFSET: isize>() -> IMarkupServices2_Vtbl { - unsafe extern "system" fn ParseGlobalEx, Impl: IMarkupServices2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, hglobalhtml: isize, dwflags: u32, pcontext: *mut ::core::ffi::c_void, ppcontainerresult: *mut *mut ::core::ffi::c_void, ppointerstart: *mut ::core::ffi::c_void, ppointerfinish: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ParseGlobalEx(::core::mem::transmute_copy(&hglobalhtml), ::core::mem::transmute_copy(&dwflags), ::core::mem::transmute(&pcontext), ::core::mem::transmute_copy(&ppcontainerresult), ::core::mem::transmute(&ppointerstart), ::core::mem::transmute(&ppointerfinish)).into() - } - unsafe extern "system" fn ValidateElements, Impl: IMarkupServices2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppointerstart: *mut ::core::ffi::c_void, ppointerfinish: *mut ::core::ffi::c_void, ppointertarget: *mut ::core::ffi::c_void, ppointerstatus: *mut ::core::ffi::c_void, ppelemfailbottom: *mut *mut ::core::ffi::c_void, ppelemfailtop: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ValidateElements(::core::mem::transmute(&ppointerstart), ::core::mem::transmute(&ppointerfinish), ::core::mem::transmute(&ppointertarget), ::core::mem::transmute(&ppointerstatus), ::core::mem::transmute_copy(&ppelemfailbottom), ::core::mem::transmute_copy(&ppelemfailtop)).into() - } - unsafe extern "system" fn SaveSegmentsToClipboard, Impl: IMarkupServices2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, psegmentlist: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SaveSegmentsToClipboard(::core::mem::transmute(&psegmentlist), ::core::mem::transmute_copy(&dwflags)).into() - } - Self { - base__: IMarkupServices_Vtbl::new::(), - ParseGlobalEx: ParseGlobalEx::, - ValidateElements: ValidateElements::, - SaveSegmentsToClipboard: SaveSegmentsToClipboard::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IMarkupTextFrags_Impl: Sized { - fn GetTextFragCount(&self) -> ::windows::core::Result; - fn GetTextFrag(&self, ifrag: i32, pbstrfrag: *mut super::super::Foundation::BSTR, ppointerfrag: &::core::option::Option) -> ::windows::core::Result<()>; - fn RemoveTextFrag(&self, ifrag: i32) -> ::windows::core::Result<()>; - fn InsertTextFrag(&self, ifrag: i32, bstrinsert: &super::super::Foundation::BSTR, ppointerinsert: &::core::option::Option) -> ::windows::core::Result<()>; - fn FindTextFragFromMarkupPointer(&self, ppointerfind: &::core::option::Option, pifrag: *mut i32, pffragfound: *mut super::super::Foundation::BOOL) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IMarkupTextFrags {} -#[cfg(feature = "Win32_Foundation")] -impl IMarkupTextFrags_Vtbl { - pub const fn new, Impl: IMarkupTextFrags_Impl, const OFFSET: isize>() -> IMarkupTextFrags_Vtbl { - unsafe extern "system" fn GetTextFragCount, Impl: IMarkupTextFrags_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pcfrags: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetTextFragCount() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pcfrags, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetTextFrag, Impl: IMarkupTextFrags_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ifrag: i32, pbstrfrag: *mut super::super::Foundation::BSTR, ppointerfrag: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetTextFrag(::core::mem::transmute_copy(&ifrag), ::core::mem::transmute_copy(&pbstrfrag), ::core::mem::transmute(&ppointerfrag)).into() - } - unsafe extern "system" fn RemoveTextFrag, Impl: IMarkupTextFrags_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ifrag: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.RemoveTextFrag(::core::mem::transmute_copy(&ifrag)).into() - } - unsafe extern "system" fn InsertTextFrag, Impl: IMarkupTextFrags_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ifrag: i32, bstrinsert: ::core::mem::ManuallyDrop, ppointerinsert: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.InsertTextFrag(::core::mem::transmute_copy(&ifrag), ::core::mem::transmute(&bstrinsert), ::core::mem::transmute(&ppointerinsert)).into() - } - unsafe extern "system" fn FindTextFragFromMarkupPointer, Impl: IMarkupTextFrags_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppointerfind: *mut ::core::ffi::c_void, pifrag: *mut i32, pffragfound: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.FindTextFragFromMarkupPointer(::core::mem::transmute(&ppointerfind), ::core::mem::transmute_copy(&pifrag), ::core::mem::transmute_copy(&pffragfound)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - GetTextFragCount: GetTextFragCount::, - GetTextFrag: GetTextFrag::, - RemoveTextFrag: RemoveTextFrag::, - InsertTextFrag: InsertTextFrag::, - FindTextFragFromMarkupPointer: FindTextFragFromMarkupPointer::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IMediaActivityNotifySite_Impl: Sized { - fn OnMediaActivityStarted(&self, mediaactivitytype: MediaActivityNotifyType) -> ::windows::core::Result<()>; - fn OnMediaActivityStopped(&self, mediaactivitytype: MediaActivityNotifyType) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IMediaActivityNotifySite {} -impl IMediaActivityNotifySite_Vtbl { - pub const fn new, Impl: IMediaActivityNotifySite_Impl, const OFFSET: isize>() -> IMediaActivityNotifySite_Vtbl { - unsafe extern "system" fn OnMediaActivityStarted, Impl: IMediaActivityNotifySite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, mediaactivitytype: MediaActivityNotifyType) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnMediaActivityStarted(::core::mem::transmute_copy(&mediaactivitytype)).into() - } - unsafe extern "system" fn OnMediaActivityStopped, Impl: IMediaActivityNotifySite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, mediaactivitytype: MediaActivityNotifyType) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnMediaActivityStopped(::core::mem::transmute_copy(&mediaactivitytype)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - OnMediaActivityStarted: OnMediaActivityStarted::, - OnMediaActivityStopped: OnMediaActivityStopped::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait INavigatorDoNotTrack_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn msDoNotTrack(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for INavigatorDoNotTrack {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl INavigatorDoNotTrack_Vtbl { - pub const fn new, Impl: INavigatorDoNotTrack_Impl, const OFFSET: isize>() -> INavigatorDoNotTrack_Vtbl { - unsafe extern "system" fn msDoNotTrack, Impl: INavigatorDoNotTrack_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.msDoNotTrack() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), msDoNotTrack: msDoNotTrack:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait INavigatorGeolocation_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn geolocation(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for INavigatorGeolocation {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl INavigatorGeolocation_Vtbl { - pub const fn new, Impl: INavigatorGeolocation_Impl, const OFFSET: isize>() -> INavigatorGeolocation_Vtbl { - unsafe extern "system" fn geolocation, Impl: INavigatorGeolocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.geolocation() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), geolocation: geolocation:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IOmHistory_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn back(&self, pvargdistance: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn forward(&self, pvargdistance: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn go(&self, pvargdistance: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IOmHistory {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IOmHistory_Vtbl { - pub const fn new, Impl: IOmHistory_Impl, const OFFSET: isize>() -> IOmHistory_Vtbl { - unsafe extern "system" fn length, Impl: IOmHistory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn back, Impl: IOmHistory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvargdistance: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.back(::core::mem::transmute_copy(&pvargdistance)).into() - } - unsafe extern "system" fn forward, Impl: IOmHistory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvargdistance: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.forward(::core::mem::transmute_copy(&pvargdistance)).into() - } - unsafe extern "system" fn go, Impl: IOmHistory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvargdistance: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.go(::core::mem::transmute_copy(&pvargdistance)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - back: back::, - forward: forward::, - go: go::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IOmNavigator_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn appCodeName(&self) -> ::windows::core::Result; - fn appName(&self) -> ::windows::core::Result; - fn appVersion(&self) -> ::windows::core::Result; - fn userAgent(&self) -> ::windows::core::Result; - fn javaEnabled(&self) -> ::windows::core::Result; - fn taintEnabled(&self) -> ::windows::core::Result; - fn mimeTypes(&self) -> ::windows::core::Result; - fn plugins(&self) -> ::windows::core::Result; - fn cookieEnabled(&self) -> ::windows::core::Result; - fn opsProfile(&self) -> ::windows::core::Result; - fn toString(&self) -> ::windows::core::Result; - fn cpuClass(&self) -> ::windows::core::Result; - fn systemLanguage(&self) -> ::windows::core::Result; - fn browserLanguage(&self) -> ::windows::core::Result; - fn userLanguage(&self) -> ::windows::core::Result; - fn platform(&self) -> ::windows::core::Result; - fn appMinorVersion(&self) -> ::windows::core::Result; - fn connectionSpeed(&self) -> ::windows::core::Result; - fn onLine(&self) -> ::windows::core::Result; - fn userProfile(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IOmNavigator {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IOmNavigator_Vtbl { - pub const fn new, Impl: IOmNavigator_Impl, const OFFSET: isize>() -> IOmNavigator_Vtbl { - unsafe extern "system" fn appCodeName, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.appCodeName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn appName, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.appName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn appVersion, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.appVersion() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn userAgent, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.userAgent() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn javaEnabled, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, enabled: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.javaEnabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(enabled, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn taintEnabled, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, enabled: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.taintEnabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(enabled, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn mimeTypes, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.mimeTypes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn plugins, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.plugins() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn cookieEnabled, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cookieEnabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn opsProfile, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.opsProfile() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn toString, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.toString() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(string, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn cpuClass, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cpuClass() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn systemLanguage, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.systemLanguage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn browserLanguage, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.browserLanguage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn userLanguage, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.userLanguage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn platform, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.platform() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn appMinorVersion, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.appMinorVersion() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn connectionSpeed, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.connectionSpeed() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn onLine, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onLine() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn userProfile, Impl: IOmNavigator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.userProfile() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - appCodeName: appCodeName::, - appName: appName::, - appVersion: appVersion::, - userAgent: userAgent::, - javaEnabled: javaEnabled::, - taintEnabled: taintEnabled::, - mimeTypes: mimeTypes::, - plugins: plugins::, - cookieEnabled: cookieEnabled::, - opsProfile: opsProfile::, - toString: toString::, - cpuClass: cpuClass::, - systemLanguage: systemLanguage::, - browserLanguage: browserLanguage::, - userLanguage: userLanguage::, - platform: platform::, - appMinorVersion: appMinorVersion::, - connectionSpeed: connectionSpeed::, - onLine: onLine::, - userProfile: userProfile::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IOpenService_Impl: Sized { - fn IsDefault(&self) -> ::windows::core::Result; - fn SetDefault(&self, fdefault: super::super::Foundation::BOOL, hwnd: super::super::Foundation::HWND) -> ::windows::core::Result<()>; - fn GetID(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IOpenService {} -#[cfg(feature = "Win32_Foundation")] -impl IOpenService_Vtbl { - pub const fn new, Impl: IOpenService_Impl, const OFFSET: isize>() -> IOpenService_Vtbl { - unsafe extern "system" fn IsDefault, Impl: IOpenService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfisdefault: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsDefault() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfisdefault, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetDefault, Impl: IOpenService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fdefault: super::super::Foundation::BOOL, hwnd: super::super::Foundation::HWND) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetDefault(::core::mem::transmute_copy(&fdefault), ::core::mem::transmute_copy(&hwnd)).into() - } - unsafe extern "system" fn GetID, Impl: IOpenService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstrid: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetID() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrid, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - IsDefault: IsDefault::, - SetDefault: SetDefault::, - GetID: GetID::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] -pub trait IOpenServiceActivity_Impl: Sized + IOpenService_Impl { - fn Execute(&self, pinput: &::core::option::Option, poutput: &::core::option::Option) -> ::windows::core::Result<()>; - fn CanExecute(&self, pinput: &::core::option::Option, poutput: &::core::option::Option) -> ::windows::core::Result; - fn CanExecuteType(&self, r#type: OpenServiceActivityContentType) -> ::windows::core::Result; - fn Preview(&self, pinput: &::core::option::Option, poutput: &::core::option::Option) -> ::windows::core::Result<()>; - fn CanPreview(&self, pinput: &::core::option::Option, poutput: &::core::option::Option) -> ::windows::core::Result; - fn CanPreviewType(&self, r#type: OpenServiceActivityContentType) -> ::windows::core::Result; - fn GetStatusText(&self, pinput: &::core::option::Option) -> ::windows::core::Result; - fn GetHomepageUrl(&self) -> ::windows::core::Result; - fn GetDisplayName(&self) -> ::windows::core::Result; - fn GetDescription(&self) -> ::windows::core::Result; - fn GetCategoryName(&self) -> ::windows::core::Result; - fn GetIconPath(&self) -> ::windows::core::Result; - fn GetIcon(&self, fsmallicon: super::super::Foundation::BOOL) -> ::windows::core::Result; - fn GetDescriptionFilePath(&self) -> ::windows::core::Result; - fn GetDownloadUrl(&self) -> ::windows::core::Result; - fn GetInstallUrl(&self) -> ::windows::core::Result; - fn IsEnabled(&self) -> ::windows::core::Result; - fn SetEnabled(&self, fenable: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] -impl ::windows::core::RuntimeName for IOpenServiceActivity {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] -impl IOpenServiceActivity_Vtbl { - pub const fn new, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>() -> IOpenServiceActivity_Vtbl { - unsafe extern "system" fn Execute, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pinput: *mut ::core::ffi::c_void, poutput: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Execute(::core::mem::transmute(&pinput), ::core::mem::transmute(&poutput)).into() - } - unsafe extern "system" fn CanExecute, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pinput: *mut ::core::ffi::c_void, poutput: *mut ::core::ffi::c_void, pfcanexecute: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CanExecute(::core::mem::transmute(&pinput), ::core::mem::transmute(&poutput)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfcanexecute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn CanExecuteType, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, r#type: OpenServiceActivityContentType, pfcanexecute: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CanExecuteType(::core::mem::transmute_copy(&r#type)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfcanexecute, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Preview, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pinput: *mut ::core::ffi::c_void, poutput: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Preview(::core::mem::transmute(&pinput), ::core::mem::transmute(&poutput)).into() - } - unsafe extern "system" fn CanPreview, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pinput: *mut ::core::ffi::c_void, poutput: *mut ::core::ffi::c_void, pfcanpreview: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CanPreview(::core::mem::transmute(&pinput), ::core::mem::transmute(&poutput)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfcanpreview, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn CanPreviewType, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, r#type: OpenServiceActivityContentType, pfcanpreview: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CanPreviewType(::core::mem::transmute_copy(&r#type)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfcanpreview, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetStatusText, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pinput: *mut ::core::ffi::c_void, pbstrstatustext: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetStatusText(::core::mem::transmute(&pinput)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrstatustext, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetHomepageUrl, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstrhomepageurl: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetHomepageUrl() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrhomepageurl, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetDisplayName, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstrdisplayname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetDisplayName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrdisplayname, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetDescription, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstrdescription: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetDescription() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrdescription, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetCategoryName, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstrcategoryname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetCategoryName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrcategoryname, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetIconPath, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstriconpath: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetIconPath() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstriconpath, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetIcon, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fsmallicon: super::super::Foundation::BOOL, phicon: *mut super::super::UI::WindowsAndMessaging::HICON) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetIcon(::core::mem::transmute_copy(&fsmallicon)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(phicon, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetDescriptionFilePath, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstrxmlpath: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetDescriptionFilePath() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrxmlpath, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetDownloadUrl, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstrxmluri: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetDownloadUrl() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrxmluri, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetInstallUrl, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstrinstalluri: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetInstallUrl() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrinstalluri, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn IsEnabled, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfisenabled: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsEnabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfisenabled, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetEnabled, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fenable: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetEnabled(::core::mem::transmute_copy(&fenable)).into() - } - Self { - base__: IOpenService_Vtbl::new::(), - Execute: Execute::, - CanExecute: CanExecute::, - CanExecuteType: CanExecuteType::, - Preview: Preview::, - CanPreview: CanPreview::, - CanPreviewType: CanPreviewType::, - GetStatusText: GetStatusText::, - GetHomepageUrl: GetHomepageUrl::, - GetDisplayName: GetDisplayName::, - GetDescription: GetDescription::, - GetCategoryName: GetCategoryName::, - GetIconPath: GetIconPath::, - GetIcon: GetIcon::, - GetDescriptionFilePath: GetDescriptionFilePath::, - GetDownloadUrl: GetDownloadUrl::, - GetInstallUrl: GetInstallUrl::, - IsEnabled: IsEnabled::, - SetEnabled: SetEnabled::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IOpenServiceActivityCategory_Impl: Sized { - fn HasDefaultActivity(&self) -> ::windows::core::Result; - fn GetDefaultActivity(&self) -> ::windows::core::Result; - fn SetDefaultActivity(&self, pactivity: &::core::option::Option, hwnd: super::super::Foundation::HWND) -> ::windows::core::Result<()>; - fn GetName(&self) -> ::windows::core::Result; - fn GetActivityEnumerator(&self, pinput: &::core::option::Option, poutput: &::core::option::Option) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IOpenServiceActivityCategory {} -#[cfg(feature = "Win32_Foundation")] -impl IOpenServiceActivityCategory_Vtbl { - pub const fn new, Impl: IOpenServiceActivityCategory_Impl, const OFFSET: isize>() -> IOpenServiceActivityCategory_Vtbl { - unsafe extern "system" fn HasDefaultActivity, Impl: IOpenServiceActivityCategory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfhasdefaultactivity: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HasDefaultActivity() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfhasdefaultactivity, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetDefaultActivity, Impl: IOpenServiceActivityCategory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppdefaultactivity: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetDefaultActivity() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppdefaultactivity, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetDefaultActivity, Impl: IOpenServiceActivityCategory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pactivity: *mut ::core::ffi::c_void, hwnd: super::super::Foundation::HWND) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetDefaultActivity(::core::mem::transmute(&pactivity), ::core::mem::transmute_copy(&hwnd)).into() - } - unsafe extern "system" fn GetName, Impl: IOpenServiceActivityCategory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstrname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrname, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetActivityEnumerator, Impl: IOpenServiceActivityCategory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pinput: *mut ::core::ffi::c_void, poutput: *mut ::core::ffi::c_void, ppenumactivity: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetActivityEnumerator(::core::mem::transmute(&pinput), ::core::mem::transmute(&poutput)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppenumactivity, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - HasDefaultActivity: HasDefaultActivity::, - GetDefaultActivity: GetDefaultActivity::, - SetDefaultActivity: SetDefaultActivity::, - GetName: GetName::, - GetActivityEnumerator: GetActivityEnumerator::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IOpenServiceActivityInput_Impl: Sized { - fn GetVariable(&self, pwzvariablename: &::windows::core::PCWSTR, pwzvariabletype: &::windows::core::PCWSTR) -> ::windows::core::Result; - fn HasVariable(&self, pwzvariablename: &::windows::core::PCWSTR, pwzvariabletype: &::windows::core::PCWSTR) -> ::windows::core::Result; - fn GetType(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IOpenServiceActivityInput {} -#[cfg(feature = "Win32_Foundation")] -impl IOpenServiceActivityInput_Vtbl { - pub const fn new, Impl: IOpenServiceActivityInput_Impl, const OFFSET: isize>() -> IOpenServiceActivityInput_Vtbl { - unsafe extern "system" fn GetVariable, Impl: IOpenServiceActivityInput_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pwzvariablename: ::windows::core::PCWSTR, pwzvariabletype: ::windows::core::PCWSTR, pbstrvariablecontent: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetVariable(::core::mem::transmute(&pwzvariablename), ::core::mem::transmute(&pwzvariabletype)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrvariablecontent, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn HasVariable, Impl: IOpenServiceActivityInput_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pwzvariablename: ::windows::core::PCWSTR, pwzvariabletype: ::windows::core::PCWSTR, pfhasvariable: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.HasVariable(::core::mem::transmute(&pwzvariablename), ::core::mem::transmute(&pwzvariabletype)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfhasvariable, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetType, Impl: IOpenServiceActivityInput_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ptype: *mut OpenServiceActivityContentType) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ptype, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - GetVariable: GetVariable::, - HasVariable: HasVariable::, - GetType: GetType::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IOpenServiceActivityManager_Impl: Sized { - fn GetCategoryEnumerator(&self, etype: OpenServiceActivityContentType) -> ::windows::core::Result; - fn GetActivityByID(&self, pwzactivityid: &::windows::core::PCWSTR) -> ::windows::core::Result; - fn GetActivityByHomepageAndCategory(&self, pwzhomepage: &::windows::core::PCWSTR, pwzcategory: &::windows::core::PCWSTR) -> ::windows::core::Result; - fn GetVersionCookie(&self) -> ::windows::core::Result; -} -impl ::windows::core::RuntimeName for IOpenServiceActivityManager {} -impl IOpenServiceActivityManager_Vtbl { - pub const fn new, Impl: IOpenServiceActivityManager_Impl, const OFFSET: isize>() -> IOpenServiceActivityManager_Vtbl { - unsafe extern "system" fn GetCategoryEnumerator, Impl: IOpenServiceActivityManager_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, etype: OpenServiceActivityContentType, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetCategoryEnumerator(::core::mem::transmute_copy(&etype)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppenum, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetActivityByID, Impl: IOpenServiceActivityManager_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pwzactivityid: ::windows::core::PCWSTR, ppactivity: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetActivityByID(::core::mem::transmute(&pwzactivityid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppactivity, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetActivityByHomepageAndCategory, Impl: IOpenServiceActivityManager_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pwzhomepage: ::windows::core::PCWSTR, pwzcategory: ::windows::core::PCWSTR, ppactivity: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetActivityByHomepageAndCategory(::core::mem::transmute(&pwzhomepage), ::core::mem::transmute(&pwzcategory)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppactivity, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetVersionCookie, Impl: IOpenServiceActivityManager_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdwversioncookie: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetVersionCookie() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdwversioncookie, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - GetCategoryEnumerator: GetCategoryEnumerator::, - GetActivityByID: GetActivityByID::, - GetActivityByHomepageAndCategory: GetActivityByHomepageAndCategory::, - GetVersionCookie: GetVersionCookie::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IOpenServiceActivityOutputContext_Impl: Sized { - fn Navigate(&self, pwzuri: &::windows::core::PCWSTR, pwzmethod: &::windows::core::PCWSTR, pwzheaders: &::windows::core::PCWSTR, ppostdata: &::core::option::Option) -> ::windows::core::Result<()>; - fn CanNavigate(&self, pwzuri: &::windows::core::PCWSTR, pwzmethod: &::windows::core::PCWSTR, pwzheaders: &::windows::core::PCWSTR, ppostdata: &::core::option::Option) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IOpenServiceActivityOutputContext {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IOpenServiceActivityOutputContext_Vtbl { - pub const fn new, Impl: IOpenServiceActivityOutputContext_Impl, const OFFSET: isize>() -> IOpenServiceActivityOutputContext_Vtbl { - unsafe extern "system" fn Navigate, Impl: IOpenServiceActivityOutputContext_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pwzuri: ::windows::core::PCWSTR, pwzmethod: ::windows::core::PCWSTR, pwzheaders: ::windows::core::PCWSTR, ppostdata: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Navigate(::core::mem::transmute(&pwzuri), ::core::mem::transmute(&pwzmethod), ::core::mem::transmute(&pwzheaders), ::core::mem::transmute(&ppostdata)).into() - } - unsafe extern "system" fn CanNavigate, Impl: IOpenServiceActivityOutputContext_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pwzuri: ::windows::core::PCWSTR, pwzmethod: ::windows::core::PCWSTR, pwzheaders: ::windows::core::PCWSTR, ppostdata: *mut ::core::ffi::c_void, pfcannavigate: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CanNavigate(::core::mem::transmute(&pwzuri), ::core::mem::transmute(&pwzmethod), ::core::mem::transmute(&pwzheaders), ::core::mem::transmute(&ppostdata)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfcannavigate, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - Navigate: Navigate::, - CanNavigate: CanNavigate::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IOpenServiceManager_Impl: Sized { - fn InstallService(&self, pwzserviceurl: &::windows::core::PCWSTR) -> ::windows::core::Result; - fn UninstallService(&self, pservice: &::core::option::Option) -> ::windows::core::Result<()>; - fn GetServiceByID(&self, pwzid: &::windows::core::PCWSTR) -> ::windows::core::Result; -} -impl ::windows::core::RuntimeName for IOpenServiceManager {} -impl IOpenServiceManager_Vtbl { - pub const fn new, Impl: IOpenServiceManager_Impl, const OFFSET: isize>() -> IOpenServiceManager_Vtbl { - unsafe extern "system" fn InstallService, Impl: IOpenServiceManager_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pwzserviceurl: ::windows::core::PCWSTR, ppservice: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.InstallService(::core::mem::transmute(&pwzserviceurl)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppservice, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn UninstallService, Impl: IOpenServiceManager_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pservice: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.UninstallService(::core::mem::transmute(&pservice)).into() - } - unsafe extern "system" fn GetServiceByID, Impl: IOpenServiceManager_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pwzid: ::windows::core::PCWSTR, ppservice: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetServiceByID(::core::mem::transmute(&pwzid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppservice, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - InstallService: InstallService::, - UninstallService: UninstallService::, - GetServiceByID: GetServiceByID::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IPeerFactory_Impl: Sized {} -impl ::windows::core::RuntimeName for IPeerFactory {} -impl IPeerFactory_Vtbl { - pub const fn new, Impl: IPeerFactory_Impl, const OFFSET: isize>() -> IPeerFactory_Vtbl { - Self { base__: ::windows::core::IUnknownVtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_System_Com")] -pub trait IPersistHistory_Impl: Sized + super::super::System::Com::IPersist_Impl { - fn LoadHistory(&self, pstream: &::core::option::Option, pbc: &::core::option::Option) -> ::windows::core::Result<()>; - fn SaveHistory(&self, pstream: &::core::option::Option) -> ::windows::core::Result<()>; - fn SetPositionCookie(&self, dwpositioncookie: u32) -> ::windows::core::Result<()>; - fn GetPositionCookie(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_System_Com")] -impl ::windows::core::RuntimeName for IPersistHistory {} -#[cfg(feature = "Win32_System_Com")] -impl IPersistHistory_Vtbl { - pub const fn new, Impl: IPersistHistory_Impl, const OFFSET: isize>() -> IPersistHistory_Vtbl { - unsafe extern "system" fn LoadHistory, Impl: IPersistHistory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pstream: *mut ::core::ffi::c_void, pbc: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.LoadHistory(::core::mem::transmute(&pstream), ::core::mem::transmute(&pbc)).into() - } - unsafe extern "system" fn SaveHistory, Impl: IPersistHistory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pstream: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SaveHistory(::core::mem::transmute(&pstream)).into() - } - unsafe extern "system" fn SetPositionCookie, Impl: IPersistHistory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwpositioncookie: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetPositionCookie(::core::mem::transmute_copy(&dwpositioncookie)).into() - } - unsafe extern "system" fn GetPositionCookie, Impl: IPersistHistory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdwpositioncookie: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetPositionCookie() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdwpositioncookie, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IPersist_Vtbl::new::(), - LoadHistory: LoadHistory::, - SaveHistory: SaveHistory::, - SetPositionCookie: SetPositionCookie::, - GetPositionCookie: GetPositionCookie::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IPrintManagerTemplatePrinter_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn startPrint(&self) -> ::windows::core::Result<()>; - fn drawPreviewPage(&self, pelemdisp: &::core::option::Option, npage: i32) -> ::windows::core::Result<()>; - fn setPageCount(&self, npage: i32) -> ::windows::core::Result<()>; - fn invalidatePreview(&self) -> ::windows::core::Result<()>; - fn getPrintTaskOptionValue(&self, bstrkey: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn endPrint(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IPrintManagerTemplatePrinter {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IPrintManagerTemplatePrinter_Vtbl { - pub const fn new, Impl: IPrintManagerTemplatePrinter_Impl, const OFFSET: isize>() -> IPrintManagerTemplatePrinter_Vtbl { - unsafe extern "system" fn startPrint, Impl: IPrintManagerTemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.startPrint().into() - } - unsafe extern "system" fn drawPreviewPage, Impl: IPrintManagerTemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pelemdisp: *mut ::core::ffi::c_void, npage: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.drawPreviewPage(::core::mem::transmute(&pelemdisp), ::core::mem::transmute_copy(&npage)).into() - } - unsafe extern "system" fn setPageCount, Impl: IPrintManagerTemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, npage: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setPageCount(::core::mem::transmute_copy(&npage)).into() - } - unsafe extern "system" fn invalidatePreview, Impl: IPrintManagerTemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.invalidatePreview().into() - } - unsafe extern "system" fn getPrintTaskOptionValue, Impl: IPrintManagerTemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrkey: ::core::mem::ManuallyDrop, pvarin: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getPrintTaskOptionValue(::core::mem::transmute(&bstrkey)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvarin, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn endPrint, Impl: IPrintManagerTemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.endPrint().into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - startPrint: startPrint::, - drawPreviewPage: drawPreviewPage::, - setPageCount: setPageCount::, - invalidatePreview: invalidatePreview::, - getPrintTaskOptionValue: getPrintTaskOptionValue::, - endPrint: endPrint::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IPrintManagerTemplatePrinter2_Impl: Sized + super::super::System::Com::IDispatch_Impl + IPrintManagerTemplatePrinter_Impl { - fn showHeaderFooter(&self) -> ::windows::core::Result; - fn shrinkToFit(&self) -> ::windows::core::Result; - fn percentScale(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IPrintManagerTemplatePrinter2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IPrintManagerTemplatePrinter2_Vtbl { - pub const fn new, Impl: IPrintManagerTemplatePrinter2_Impl, const OFFSET: isize>() -> IPrintManagerTemplatePrinter2_Vtbl { - unsafe extern "system" fn showHeaderFooter, Impl: IPrintManagerTemplatePrinter2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.showHeaderFooter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn shrinkToFit, Impl: IPrintManagerTemplatePrinter2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.shrinkToFit() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn percentScale, Impl: IPrintManagerTemplatePrinter2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.percentScale() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: IPrintManagerTemplatePrinter_Vtbl::new::(), - showHeaderFooter: showHeaderFooter::, - shrinkToFit: shrinkToFit::, - percentScale: percentScale::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID - } -} -pub trait IPrintTaskRequestFactory_Impl: Sized { - fn CreatePrintTaskRequest(&self, pprinttaskrequesthandler: &::core::option::Option) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IPrintTaskRequestFactory {} -impl IPrintTaskRequestFactory_Vtbl { - pub const fn new, Impl: IPrintTaskRequestFactory_Impl, const OFFSET: isize>() -> IPrintTaskRequestFactory_Vtbl { - unsafe extern "system" fn CreatePrintTaskRequest, Impl: IPrintTaskRequestFactory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pprinttaskrequesthandler: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.CreatePrintTaskRequest(::core::mem::transmute(&pprinttaskrequesthandler)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), CreatePrintTaskRequest: CreatePrintTaskRequest:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IPrintTaskRequestHandler_Impl: Sized { - fn HandlePrintTaskRequest(&self, pprinttaskrequest: &::core::option::Option<::windows::core::IInspectable>) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IPrintTaskRequestHandler {} -impl IPrintTaskRequestHandler_Vtbl { - pub const fn new, Impl: IPrintTaskRequestHandler_Impl, const OFFSET: isize>() -> IPrintTaskRequestHandler_Vtbl { - unsafe extern "system" fn HandlePrintTaskRequest, Impl: IPrintTaskRequestHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pprinttaskrequest: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.HandlePrintTaskRequest(::core::mem::transmute(&pprinttaskrequest)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), HandlePrintTaskRequest: HandlePrintTaskRequest:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IRangeException_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcode(&self, v: i32) -> ::windows::core::Result<()>; - fn code(&self) -> ::windows::core::Result; - fn message(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IRangeException {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IRangeException_Vtbl { - pub const fn new, Impl: IRangeException_Impl, const OFFSET: isize>() -> IRangeException_Vtbl { - unsafe extern "system" fn Setcode, Impl: IRangeException_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcode(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn code, Impl: IRangeException_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.code() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn message, Impl: IRangeException_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.message() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcode: Setcode::, - code: code::, - message: message::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IRulesApplied_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn element(&self) -> ::windows::core::Result; - fn inlineStyles(&self) -> ::windows::core::Result; - fn appliedRules(&self) -> ::windows::core::Result; - fn propertyIsInline(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn propertyIsInheritable(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn hasInheritableProperty(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IRulesApplied {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IRulesApplied_Vtbl { - pub const fn new, Impl: IRulesApplied_Impl, const OFFSET: isize>() -> IRulesApplied_Vtbl { - unsafe extern "system" fn element, Impl: IRulesApplied_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.element() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn inlineStyles, Impl: IRulesApplied_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.inlineStyles() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn appliedRules, Impl: IRulesApplied_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.appliedRules() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn propertyIsInline, Impl: IRulesApplied_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.propertyIsInline(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn propertyIsInheritable, Impl: IRulesApplied_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.propertyIsInheritable(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn hasInheritableProperty, Impl: IRulesApplied_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasInheritableProperty() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - element: element::, - inlineStyles: inlineStyles::, - appliedRules: appliedRules::, - propertyIsInline: propertyIsInline::, - propertyIsInheritable: propertyIsInheritable::, - hasInheritableProperty: hasInheritableProperty::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IRulesAppliedCollection_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn item(&self, index: i32) -> ::windows::core::Result; - fn length(&self) -> ::windows::core::Result; - fn element(&self) -> ::windows::core::Result; - fn propertyInheritedFrom(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn propertyCount(&self) -> ::windows::core::Result; - fn property(&self, index: i32) -> ::windows::core::Result; - fn propertyInheritedTrace(&self, name: &super::super::Foundation::BSTR, index: i32) -> ::windows::core::Result; - fn propertyInheritedTraceLength(&self, name: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IRulesAppliedCollection {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IRulesAppliedCollection_Vtbl { - pub const fn new, Impl: IRulesAppliedCollection_Impl, const OFFSET: isize>() -> IRulesAppliedCollection_Vtbl { - unsafe extern "system" fn item, Impl: IRulesAppliedCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, pprulesapplied: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pprulesapplied, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn length, Impl: IRulesAppliedCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn element, Impl: IRulesAppliedCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.element() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn propertyInheritedFrom, Impl: IRulesAppliedCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pprulesapplied: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.propertyInheritedFrom(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pprulesapplied, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn propertyCount, Impl: IRulesAppliedCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.propertyCount() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn property, Impl: IRulesAppliedCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, pbstrproperty: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.property(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrproperty, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn propertyInheritedTrace, Impl: IRulesAppliedCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, index: i32, pprulesapplied: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.propertyInheritedTrace(::core::mem::transmute(&name), ::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pprulesapplied, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn propertyInheritedTraceLength, Impl: IRulesAppliedCollection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, plength: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.propertyInheritedTraceLength(::core::mem::transmute(&name)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(plength, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - item: item::, - length: length::, - element: element::, - propertyInheritedFrom: propertyInheritedFrom::, - propertyCount: propertyCount::, - property: property::, - propertyInheritedTrace: propertyInheritedTrace::, - propertyInheritedTraceLength: propertyInheritedTraceLength::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGAElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_target(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn target(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGAElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGAElement_Vtbl { - pub const fn new, Impl: ISVGAElement_Impl, const OFFSET: isize>() -> ISVGAElement_Vtbl { - unsafe extern "system" fn putref_target, Impl: ISVGAElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_target(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn target, Impl: ISVGAElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.target() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_target: putref_target::, - target: target::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGAngle_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetunitType(&self, v: i16) -> ::windows::core::Result<()>; - fn unitType(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: f32) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn SetvalueInSpecifiedUnits(&self, v: f32) -> ::windows::core::Result<()>; - fn valueInSpecifiedUnits(&self) -> ::windows::core::Result; - fn SetvalueAsString(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn valueAsString(&self) -> ::windows::core::Result; - fn newValueSpecifiedUnits(&self, unittype: i16, valueinspecifiedunits: f32) -> ::windows::core::Result<()>; - fn convertToSpecifiedUnits(&self, unittype: i16) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGAngle {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGAngle_Vtbl { - pub const fn new, Impl: ISVGAngle_Impl, const OFFSET: isize>() -> ISVGAngle_Vtbl { - unsafe extern "system" fn SetunitType, Impl: ISVGAngle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetunitType(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn unitType, Impl: ISVGAngle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.unitType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: ISVGAngle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn value, Impl: ISVGAngle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetvalueInSpecifiedUnits, Impl: ISVGAngle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetvalueInSpecifiedUnits(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn valueInSpecifiedUnits, Impl: ISVGAngle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.valueInSpecifiedUnits() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetvalueAsString, Impl: ISVGAngle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetvalueAsString(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn valueAsString, Impl: ISVGAngle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.valueAsString() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn newValueSpecifiedUnits, Impl: ISVGAngle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, unittype: i16, valueinspecifiedunits: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.newValueSpecifiedUnits(::core::mem::transmute_copy(&unittype), ::core::mem::transmute_copy(&valueinspecifiedunits)).into() - } - unsafe extern "system" fn convertToSpecifiedUnits, Impl: ISVGAngle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, unittype: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.convertToSpecifiedUnits(::core::mem::transmute_copy(&unittype)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetunitType: SetunitType::, - unitType: unitType::, - Setvalue: Setvalue::, - value: value::, - SetvalueInSpecifiedUnits: SetvalueInSpecifiedUnits::, - valueInSpecifiedUnits: valueInSpecifiedUnits::, - SetvalueAsString: SetvalueAsString::, - valueAsString: valueAsString::, - newValueSpecifiedUnits: newValueSpecifiedUnits::, - convertToSpecifiedUnits: convertToSpecifiedUnits::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGAnimatedAngle_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_baseVal(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn baseVal(&self) -> ::windows::core::Result; - fn putref_animVal(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn animVal(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGAnimatedAngle {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGAnimatedAngle_Vtbl { - pub const fn new, Impl: ISVGAnimatedAngle_Impl, const OFFSET: isize>() -> ISVGAnimatedAngle_Vtbl { - unsafe extern "system" fn putref_baseVal, Impl: ISVGAnimatedAngle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_baseVal(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn baseVal, Impl: ISVGAnimatedAngle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.baseVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_animVal, Impl: ISVGAnimatedAngle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_animVal(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animVal, Impl: ISVGAnimatedAngle_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_baseVal: putref_baseVal::, - baseVal: baseVal::, - putref_animVal: putref_animVal::, - animVal: animVal::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGAnimatedBoolean_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetbaseVal(&self, v: i16) -> ::windows::core::Result<()>; - fn baseVal(&self) -> ::windows::core::Result; - fn SetanimVal(&self, v: i16) -> ::windows::core::Result<()>; - fn animVal(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGAnimatedBoolean {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGAnimatedBoolean_Vtbl { - pub const fn new, Impl: ISVGAnimatedBoolean_Impl, const OFFSET: isize>() -> ISVGAnimatedBoolean_Vtbl { - unsafe extern "system" fn SetbaseVal, Impl: ISVGAnimatedBoolean_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbaseVal(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn baseVal, Impl: ISVGAnimatedBoolean_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.baseVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetanimVal, Impl: ISVGAnimatedBoolean_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetanimVal(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn animVal, Impl: ISVGAnimatedBoolean_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetbaseVal: SetbaseVal::, - baseVal: baseVal::, - SetanimVal: SetanimVal::, - animVal: animVal::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGAnimatedEnumeration_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetbaseVal(&self, v: u16) -> ::windows::core::Result<()>; - fn baseVal(&self) -> ::windows::core::Result; - fn SetanimVal(&self, v: u16) -> ::windows::core::Result<()>; - fn animVal(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGAnimatedEnumeration {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGAnimatedEnumeration_Vtbl { - pub const fn new, Impl: ISVGAnimatedEnumeration_Impl, const OFFSET: isize>() -> ISVGAnimatedEnumeration_Vtbl { - unsafe extern "system" fn SetbaseVal, Impl: ISVGAnimatedEnumeration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbaseVal(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn baseVal, Impl: ISVGAnimatedEnumeration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.baseVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetanimVal, Impl: ISVGAnimatedEnumeration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetanimVal(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn animVal, Impl: ISVGAnimatedEnumeration_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetbaseVal: SetbaseVal::, - baseVal: baseVal::, - SetanimVal: SetanimVal::, - animVal: animVal::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGAnimatedInteger_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetbaseVal(&self, v: i32) -> ::windows::core::Result<()>; - fn baseVal(&self) -> ::windows::core::Result; - fn SetanimVal(&self, v: i32) -> ::windows::core::Result<()>; - fn animVal(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGAnimatedInteger {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGAnimatedInteger_Vtbl { - pub const fn new, Impl: ISVGAnimatedInteger_Impl, const OFFSET: isize>() -> ISVGAnimatedInteger_Vtbl { - unsafe extern "system" fn SetbaseVal, Impl: ISVGAnimatedInteger_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbaseVal(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn baseVal, Impl: ISVGAnimatedInteger_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.baseVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetanimVal, Impl: ISVGAnimatedInteger_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetanimVal(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn animVal, Impl: ISVGAnimatedInteger_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetbaseVal: SetbaseVal::, - baseVal: baseVal::, - SetanimVal: SetanimVal::, - animVal: animVal::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGAnimatedLength_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_baseVal(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn baseVal(&self) -> ::windows::core::Result; - fn putref_animVal(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn animVal(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGAnimatedLength {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGAnimatedLength_Vtbl { - pub const fn new, Impl: ISVGAnimatedLength_Impl, const OFFSET: isize>() -> ISVGAnimatedLength_Vtbl { - unsafe extern "system" fn putref_baseVal, Impl: ISVGAnimatedLength_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_baseVal(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn baseVal, Impl: ISVGAnimatedLength_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.baseVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_animVal, Impl: ISVGAnimatedLength_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_animVal(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animVal, Impl: ISVGAnimatedLength_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_baseVal: putref_baseVal::, - baseVal: baseVal::, - putref_animVal: putref_animVal::, - animVal: animVal::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGAnimatedLengthList_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_baseVal(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn baseVal(&self) -> ::windows::core::Result; - fn putref_animVal(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn animVal(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGAnimatedLengthList {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGAnimatedLengthList_Vtbl { - pub const fn new, Impl: ISVGAnimatedLengthList_Impl, const OFFSET: isize>() -> ISVGAnimatedLengthList_Vtbl { - unsafe extern "system" fn putref_baseVal, Impl: ISVGAnimatedLengthList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_baseVal(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn baseVal, Impl: ISVGAnimatedLengthList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.baseVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_animVal, Impl: ISVGAnimatedLengthList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_animVal(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animVal, Impl: ISVGAnimatedLengthList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_baseVal: putref_baseVal::, - baseVal: baseVal::, - putref_animVal: putref_animVal::, - animVal: animVal::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGAnimatedNumber_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetbaseVal(&self, v: f32) -> ::windows::core::Result<()>; - fn baseVal(&self) -> ::windows::core::Result; - fn SetanimVal(&self, v: f32) -> ::windows::core::Result<()>; - fn animVal(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGAnimatedNumber {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGAnimatedNumber_Vtbl { - pub const fn new, Impl: ISVGAnimatedNumber_Impl, const OFFSET: isize>() -> ISVGAnimatedNumber_Vtbl { - unsafe extern "system" fn SetbaseVal, Impl: ISVGAnimatedNumber_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbaseVal(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn baseVal, Impl: ISVGAnimatedNumber_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.baseVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetanimVal, Impl: ISVGAnimatedNumber_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetanimVal(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn animVal, Impl: ISVGAnimatedNumber_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetbaseVal: SetbaseVal::, - baseVal: baseVal::, - SetanimVal: SetanimVal::, - animVal: animVal::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGAnimatedNumberList_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_baseVal(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn baseVal(&self) -> ::windows::core::Result; - fn putref_animVal(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn animVal(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGAnimatedNumberList {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGAnimatedNumberList_Vtbl { - pub const fn new, Impl: ISVGAnimatedNumberList_Impl, const OFFSET: isize>() -> ISVGAnimatedNumberList_Vtbl { - unsafe extern "system" fn putref_baseVal, Impl: ISVGAnimatedNumberList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_baseVal(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn baseVal, Impl: ISVGAnimatedNumberList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.baseVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_animVal, Impl: ISVGAnimatedNumberList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_animVal(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animVal, Impl: ISVGAnimatedNumberList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_baseVal: putref_baseVal::, - baseVal: baseVal::, - putref_animVal: putref_animVal::, - animVal: animVal::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGAnimatedPathData_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_pathSegList(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn pathSegList(&self) -> ::windows::core::Result; - fn putref_normalizedPathSegList(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn normalizedPathSegList(&self) -> ::windows::core::Result; - fn putref_animatedPathSegList(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn animatedPathSegList(&self) -> ::windows::core::Result; - fn putref_animatedNormalizedPathSegList(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn animatedNormalizedPathSegList(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGAnimatedPathData {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGAnimatedPathData_Vtbl { - pub const fn new, Impl: ISVGAnimatedPathData_Impl, const OFFSET: isize>() -> ISVGAnimatedPathData_Vtbl { - unsafe extern "system" fn putref_pathSegList, Impl: ISVGAnimatedPathData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_pathSegList(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn pathSegList, Impl: ISVGAnimatedPathData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pathSegList() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_normalizedPathSegList, Impl: ISVGAnimatedPathData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_normalizedPathSegList(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn normalizedPathSegList, Impl: ISVGAnimatedPathData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.normalizedPathSegList() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_animatedPathSegList, Impl: ISVGAnimatedPathData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_animatedPathSegList(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animatedPathSegList, Impl: ISVGAnimatedPathData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animatedPathSegList() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_animatedNormalizedPathSegList, Impl: ISVGAnimatedPathData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_animatedNormalizedPathSegList(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animatedNormalizedPathSegList, Impl: ISVGAnimatedPathData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animatedNormalizedPathSegList() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_pathSegList: putref_pathSegList::, - pathSegList: pathSegList::, - putref_normalizedPathSegList: putref_normalizedPathSegList::, - normalizedPathSegList: normalizedPathSegList::, - putref_animatedPathSegList: putref_animatedPathSegList::, - animatedPathSegList: animatedPathSegList::, - putref_animatedNormalizedPathSegList: putref_animatedNormalizedPathSegList::, - animatedNormalizedPathSegList: animatedNormalizedPathSegList::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGAnimatedPoints_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_points(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn points(&self) -> ::windows::core::Result; - fn putref_animatedPoints(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn animatedPoints(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGAnimatedPoints {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGAnimatedPoints_Vtbl { - pub const fn new, Impl: ISVGAnimatedPoints_Impl, const OFFSET: isize>() -> ISVGAnimatedPoints_Vtbl { - unsafe extern "system" fn putref_points, Impl: ISVGAnimatedPoints_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_points(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn points, Impl: ISVGAnimatedPoints_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.points() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_animatedPoints, Impl: ISVGAnimatedPoints_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_animatedPoints(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animatedPoints, Impl: ISVGAnimatedPoints_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animatedPoints() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_points: putref_points::, - points: points::, - putref_animatedPoints: putref_animatedPoints::, - animatedPoints: animatedPoints::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGAnimatedPreserveAspectRatio_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_baseVal(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn baseVal(&self) -> ::windows::core::Result; - fn putref_animVal(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn animVal(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGAnimatedPreserveAspectRatio {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGAnimatedPreserveAspectRatio_Vtbl { - pub const fn new, Impl: ISVGAnimatedPreserveAspectRatio_Impl, const OFFSET: isize>() -> ISVGAnimatedPreserveAspectRatio_Vtbl { - unsafe extern "system" fn putref_baseVal, Impl: ISVGAnimatedPreserveAspectRatio_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_baseVal(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn baseVal, Impl: ISVGAnimatedPreserveAspectRatio_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.baseVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_animVal, Impl: ISVGAnimatedPreserveAspectRatio_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_animVal(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animVal, Impl: ISVGAnimatedPreserveAspectRatio_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_baseVal: putref_baseVal::, - baseVal: baseVal::, - putref_animVal: putref_animVal::, - animVal: animVal::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGAnimatedRect_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_baseVal(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn baseVal(&self) -> ::windows::core::Result; - fn putref_animVal(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn animVal(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGAnimatedRect {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGAnimatedRect_Vtbl { - pub const fn new, Impl: ISVGAnimatedRect_Impl, const OFFSET: isize>() -> ISVGAnimatedRect_Vtbl { - unsafe extern "system" fn putref_baseVal, Impl: ISVGAnimatedRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_baseVal(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn baseVal, Impl: ISVGAnimatedRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.baseVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_animVal, Impl: ISVGAnimatedRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_animVal(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animVal, Impl: ISVGAnimatedRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_baseVal: putref_baseVal::, - baseVal: baseVal::, - putref_animVal: putref_animVal::, - animVal: animVal::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGAnimatedString_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetbaseVal(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn baseVal(&self) -> ::windows::core::Result; - fn animVal(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGAnimatedString {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGAnimatedString_Vtbl { - pub const fn new, Impl: ISVGAnimatedString_Impl, const OFFSET: isize>() -> ISVGAnimatedString_Vtbl { - unsafe extern "system" fn SetbaseVal, Impl: ISVGAnimatedString_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetbaseVal(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn baseVal, Impl: ISVGAnimatedString_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.baseVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn animVal, Impl: ISVGAnimatedString_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetbaseVal: SetbaseVal::, - baseVal: baseVal::, - animVal: animVal::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGAnimatedTransformList_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_baseVal(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn baseVal(&self) -> ::windows::core::Result; - fn putref_animVal(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn animVal(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGAnimatedTransformList {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGAnimatedTransformList_Vtbl { - pub const fn new, Impl: ISVGAnimatedTransformList_Impl, const OFFSET: isize>() -> ISVGAnimatedTransformList_Vtbl { - unsafe extern "system" fn putref_baseVal, Impl: ISVGAnimatedTransformList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_baseVal(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn baseVal, Impl: ISVGAnimatedTransformList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.baseVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_animVal, Impl: ISVGAnimatedTransformList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_animVal(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animVal, Impl: ISVGAnimatedTransformList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animVal() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_baseVal: putref_baseVal::, - baseVal: baseVal::, - putref_animVal: putref_animVal::, - animVal: animVal::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGCircleElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_cx(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn cx(&self) -> ::windows::core::Result; - fn putref_cy(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn cy(&self) -> ::windows::core::Result; - fn putref_r(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn r(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGCircleElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGCircleElement_Vtbl { - pub const fn new, Impl: ISVGCircleElement_Impl, const OFFSET: isize>() -> ISVGCircleElement_Vtbl { - unsafe extern "system" fn putref_cx, Impl: ISVGCircleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_cx(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cx, Impl: ISVGCircleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cx() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_cy, Impl: ISVGCircleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_cy(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cy, Impl: ISVGCircleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cy() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_r, Impl: ISVGCircleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_r(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r, Impl: ISVGCircleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_cx: putref_cx::, - cx: cx::, - putref_cy: putref_cy::, - cy: cy::, - putref_r: putref_r::, - r: r::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGClipPathElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_clipPathUnits(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn clipPathUnits(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGClipPathElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGClipPathElement_Vtbl { - pub const fn new, Impl: ISVGClipPathElement_Impl, const OFFSET: isize>() -> ISVGClipPathElement_Vtbl { - unsafe extern "system" fn putref_clipPathUnits, Impl: ISVGClipPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_clipPathUnits(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn clipPathUnits, Impl: ISVGClipPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.clipPathUnits() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_clipPathUnits: putref_clipPathUnits::, - clipPathUnits: clipPathUnits::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGDefsElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGDefsElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGDefsElement_Vtbl { - pub const fn new, Impl: ISVGDefsElement_Impl, const OFFSET: isize>() -> ISVGDefsElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGDescElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGDescElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGDescElement_Vtbl { - pub const fn new, Impl: ISVGDescElement_Impl, const OFFSET: isize>() -> ISVGDescElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGDocument_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn rootElement(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGDocument {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGDocument_Vtbl { - pub const fn new, Impl: ISVGDocument_Impl, const OFFSET: isize>() -> ISVGDocument_Vtbl { - unsafe extern "system" fn rootElement, Impl: ISVGDocument_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rootElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), rootElement: rootElement:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setxmlbase(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn xmlbase(&self) -> ::windows::core::Result; - fn putref_ownerSVGElement(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn ownerSVGElement(&self) -> ::windows::core::Result; - fn putref_viewportElement(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn viewportElement(&self) -> ::windows::core::Result; - fn putref_focusable(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn focusable(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGElement_Vtbl { - pub const fn new, Impl: ISVGElement_Impl, const OFFSET: isize>() -> ISVGElement_Vtbl { - unsafe extern "system" fn Setxmlbase, Impl: ISVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setxmlbase(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn xmlbase, Impl: ISVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.xmlbase() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_ownerSVGElement, Impl: ISVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_ownerSVGElement(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ownerSVGElement, Impl: ISVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ownerSVGElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_viewportElement, Impl: ISVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_viewportElement(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn viewportElement, Impl: ISVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.viewportElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_focusable, Impl: ISVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_focusable(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn focusable, Impl: ISVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.focusable() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setxmlbase: Setxmlbase::, - xmlbase: xmlbase::, - putref_ownerSVGElement: putref_ownerSVGElement::, - ownerSVGElement: ownerSVGElement::, - putref_viewportElement: putref_viewportElement::, - viewportElement: viewportElement::, - putref_focusable: putref_focusable::, - focusable: focusable::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGElementInstance_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn correspondingElement(&self) -> ::windows::core::Result; - fn correspondingUseElement(&self) -> ::windows::core::Result; - fn parentNode(&self) -> ::windows::core::Result; - fn childNodes(&self) -> ::windows::core::Result; - fn firstChild(&self) -> ::windows::core::Result; - fn lastChild(&self) -> ::windows::core::Result; - fn previousSibling(&self) -> ::windows::core::Result; - fn nextSibling(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGElementInstance {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGElementInstance_Vtbl { - pub const fn new, Impl: ISVGElementInstance_Impl, const OFFSET: isize>() -> ISVGElementInstance_Vtbl { - unsafe extern "system" fn correspondingElement, Impl: ISVGElementInstance_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.correspondingElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn correspondingUseElement, Impl: ISVGElementInstance_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.correspondingUseElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn parentNode, Impl: ISVGElementInstance_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.parentNode() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn childNodes, Impl: ISVGElementInstance_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.childNodes() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn firstChild, Impl: ISVGElementInstance_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.firstChild() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn lastChild, Impl: ISVGElementInstance_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lastChild() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn previousSibling, Impl: ISVGElementInstance_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.previousSibling() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn nextSibling, Impl: ISVGElementInstance_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nextSibling() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - correspondingElement: correspondingElement::, - correspondingUseElement: correspondingUseElement::, - parentNode: parentNode::, - childNodes: childNodes::, - firstChild: firstChild::, - lastChild: lastChild::, - previousSibling: previousSibling::, - nextSibling: nextSibling::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGElementInstanceList_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn length(&self) -> ::windows::core::Result; - fn item(&self, index: i32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGElementInstanceList {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGElementInstanceList_Vtbl { - pub const fn new, Impl: ISVGElementInstanceList_Impl, const OFFSET: isize>() -> ISVGElementInstanceList_Vtbl { - unsafe extern "system" fn length, Impl: ISVGElementInstanceList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.length() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn item, Impl: ISVGElementInstanceList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.item(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - length: length::, - item: item::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGEllipseElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_cx(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn cx(&self) -> ::windows::core::Result; - fn putref_cy(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn cy(&self) -> ::windows::core::Result; - fn putref_rx(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn rx(&self) -> ::windows::core::Result; - fn putref_ry(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn ry(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGEllipseElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGEllipseElement_Vtbl { - pub const fn new, Impl: ISVGEllipseElement_Impl, const OFFSET: isize>() -> ISVGEllipseElement_Vtbl { - unsafe extern "system" fn putref_cx, Impl: ISVGEllipseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_cx(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cx, Impl: ISVGEllipseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cx() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_cy, Impl: ISVGEllipseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_cy(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cy, Impl: ISVGEllipseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cy() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_rx, Impl: ISVGEllipseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_rx(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rx, Impl: ISVGEllipseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rx() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_ry, Impl: ISVGEllipseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_ry(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ry, Impl: ISVGEllipseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ry() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_cx: putref_cx::, - cx: cx::, - putref_cy: putref_cy::, - cy: cy::, - putref_rx: putref_rx::, - rx: rx::, - putref_ry: putref_ry::, - ry: ry::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGException_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setcode(&self, v: i32) -> ::windows::core::Result<()>; - fn code(&self) -> ::windows::core::Result; - fn message(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGException {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGException_Vtbl { - pub const fn new, Impl: ISVGException_Impl, const OFFSET: isize>() -> ISVGException_Vtbl { - unsafe extern "system" fn Setcode, Impl: ISVGException_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcode(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn code, Impl: ISVGException_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.code() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn message, Impl: ISVGException_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.message() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setcode: Setcode::, - code: code::, - message: message::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGExternalResourcesRequired_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn externalResourcesRequired(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGExternalResourcesRequired {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGExternalResourcesRequired_Vtbl { - pub const fn new, Impl: ISVGExternalResourcesRequired_Impl, const OFFSET: isize>() -> ISVGExternalResourcesRequired_Vtbl { - unsafe extern "system" fn externalResourcesRequired, Impl: ISVGExternalResourcesRequired_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.externalResourcesRequired() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - externalResourcesRequired: externalResourcesRequired::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGFitToViewBox_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn viewBox(&self) -> ::windows::core::Result; - fn putref_preserveAspectRatio(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn preserveAspectRatio(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGFitToViewBox {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGFitToViewBox_Vtbl { - pub const fn new, Impl: ISVGFitToViewBox_Impl, const OFFSET: isize>() -> ISVGFitToViewBox_Vtbl { - unsafe extern "system" fn viewBox, Impl: ISVGFitToViewBox_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.viewBox() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_preserveAspectRatio, Impl: ISVGFitToViewBox_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_preserveAspectRatio(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn preserveAspectRatio, Impl: ISVGFitToViewBox_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.preserveAspectRatio() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - viewBox: viewBox::, - putref_preserveAspectRatio: putref_preserveAspectRatio::, - preserveAspectRatio: preserveAspectRatio::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGGElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGGElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGGElement_Vtbl { - pub const fn new, Impl: ISVGGElement_Impl, const OFFSET: isize>() -> ISVGGElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGGradientElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_gradientUnits(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn gradientUnits(&self) -> ::windows::core::Result; - fn putref_gradientTransform(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn gradientTransform(&self) -> ::windows::core::Result; - fn putref_spreadMethod(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn spreadMethod(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGGradientElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGGradientElement_Vtbl { - pub const fn new, Impl: ISVGGradientElement_Impl, const OFFSET: isize>() -> ISVGGradientElement_Vtbl { - unsafe extern "system" fn putref_gradientUnits, Impl: ISVGGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_gradientUnits(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn gradientUnits, Impl: ISVGGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.gradientUnits() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_gradientTransform, Impl: ISVGGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_gradientTransform(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn gradientTransform, Impl: ISVGGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.gradientTransform() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_spreadMethod, Impl: ISVGGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_spreadMethod(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn spreadMethod, Impl: ISVGGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.spreadMethod() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_gradientUnits: putref_gradientUnits::, - gradientUnits: gradientUnits::, - putref_gradientTransform: putref_gradientTransform::, - gradientTransform: gradientTransform::, - putref_spreadMethod: putref_spreadMethod::, - spreadMethod: spreadMethod::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGImageElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_x(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn putref_y(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn putref_width(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn putref_height(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGImageElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGImageElement_Vtbl { - pub const fn new, Impl: ISVGImageElement_Impl, const OFFSET: isize>() -> ISVGImageElement_Vtbl { - unsafe extern "system" fn putref_x, Impl: ISVGImageElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_x(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGImageElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_y, Impl: ISVGImageElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_y(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGImageElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_width, Impl: ISVGImageElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_width(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: ISVGImageElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_height, Impl: ISVGImageElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_height(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn height, Impl: ISVGImageElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_x: putref_x::, - x: x::, - putref_y: putref_y::, - y: y::, - putref_width: putref_width::, - width: width::, - putref_height: putref_height::, - height: height::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGLangSpace_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setxmllang(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn xmllang(&self) -> ::windows::core::Result; - fn Setxmlspace(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn xmlspace(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGLangSpace {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGLangSpace_Vtbl { - pub const fn new, Impl: ISVGLangSpace_Impl, const OFFSET: isize>() -> ISVGLangSpace_Vtbl { - unsafe extern "system" fn Setxmllang, Impl: ISVGLangSpace_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setxmllang(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn xmllang, Impl: ISVGLangSpace_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.xmllang() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setxmlspace, Impl: ISVGLangSpace_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setxmlspace(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn xmlspace, Impl: ISVGLangSpace_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.xmlspace() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setxmllang: Setxmllang::, - xmllang: xmllang::, - Setxmlspace: Setxmlspace::, - xmlspace: xmlspace::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGLength_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetunitType(&self, v: i16) -> ::windows::core::Result<()>; - fn unitType(&self) -> ::windows::core::Result; - fn Setvalue(&self, v: f32) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; - fn SetvalueInSpecifiedUnits(&self, v: f32) -> ::windows::core::Result<()>; - fn valueInSpecifiedUnits(&self) -> ::windows::core::Result; - fn SetvalueAsString(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn valueAsString(&self) -> ::windows::core::Result; - fn newValueSpecifiedUnits(&self, unittype: i16, valueinspecifiedunits: f32) -> ::windows::core::Result<()>; - fn convertToSpecifiedUnits(&self, unittype: i16) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGLength {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGLength_Vtbl { - pub const fn new, Impl: ISVGLength_Impl, const OFFSET: isize>() -> ISVGLength_Vtbl { - unsafe extern "system" fn SetunitType, Impl: ISVGLength_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetunitType(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn unitType, Impl: ISVGLength_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.unitType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setvalue, Impl: ISVGLength_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn value, Impl: ISVGLength_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetvalueInSpecifiedUnits, Impl: ISVGLength_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetvalueInSpecifiedUnits(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn valueInSpecifiedUnits, Impl: ISVGLength_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.valueInSpecifiedUnits() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetvalueAsString, Impl: ISVGLength_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetvalueAsString(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn valueAsString, Impl: ISVGLength_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.valueAsString() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn newValueSpecifiedUnits, Impl: ISVGLength_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, unittype: i16, valueinspecifiedunits: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.newValueSpecifiedUnits(::core::mem::transmute_copy(&unittype), ::core::mem::transmute_copy(&valueinspecifiedunits)).into() - } - unsafe extern "system" fn convertToSpecifiedUnits, Impl: ISVGLength_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, unittype: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.convertToSpecifiedUnits(::core::mem::transmute_copy(&unittype)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetunitType: SetunitType::, - unitType: unitType::, - Setvalue: Setvalue::, - value: value::, - SetvalueInSpecifiedUnits: SetvalueInSpecifiedUnits::, - valueInSpecifiedUnits: valueInSpecifiedUnits::, - SetvalueAsString: SetvalueAsString::, - valueAsString: valueAsString::, - newValueSpecifiedUnits: newValueSpecifiedUnits::, - convertToSpecifiedUnits: convertToSpecifiedUnits::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGLengthList_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetnumberOfItems(&self, v: i32) -> ::windows::core::Result<()>; - fn numberOfItems(&self) -> ::windows::core::Result; - fn clear(&self) -> ::windows::core::Result<()>; - fn initialize(&self, newitem: &::core::option::Option) -> ::windows::core::Result; - fn getItem(&self, index: i32) -> ::windows::core::Result; - fn insertItemBefore(&self, newitem: &::core::option::Option, index: i32) -> ::windows::core::Result; - fn replaceItem(&self, newitem: &::core::option::Option, index: i32) -> ::windows::core::Result; - fn removeItem(&self, index: i32) -> ::windows::core::Result; - fn appendItem(&self, newitem: &::core::option::Option) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGLengthList {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGLengthList_Vtbl { - pub const fn new, Impl: ISVGLengthList_Impl, const OFFSET: isize>() -> ISVGLengthList_Vtbl { - unsafe extern "system" fn SetnumberOfItems, Impl: ISVGLengthList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnumberOfItems(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn numberOfItems, Impl: ISVGLengthList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.numberOfItems() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clear, Impl: ISVGLengthList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.clear().into() - } - unsafe extern "system" fn initialize, Impl: ISVGLengthList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.initialize(::core::mem::transmute(&newitem)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getItem, Impl: ISVGLengthList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getItem(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertItemBefore, Impl: ISVGLengthList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertItemBefore(::core::mem::transmute(&newitem), ::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn replaceItem, Impl: ISVGLengthList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.replaceItem(::core::mem::transmute(&newitem), ::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeItem, Impl: ISVGLengthList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeItem(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn appendItem, Impl: ISVGLengthList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.appendItem(::core::mem::transmute(&newitem)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetnumberOfItems: SetnumberOfItems::, - numberOfItems: numberOfItems::, - clear: clear::, - initialize: initialize::, - getItem: getItem::, - insertItemBefore: insertItemBefore::, - replaceItem: replaceItem::, - removeItem: removeItem::, - appendItem: appendItem::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGLineElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_x1(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn x1(&self) -> ::windows::core::Result; - fn putref_y1(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn y1(&self) -> ::windows::core::Result; - fn putref_x2(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn x2(&self) -> ::windows::core::Result; - fn putref_y2(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn y2(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGLineElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGLineElement_Vtbl { - pub const fn new, Impl: ISVGLineElement_Impl, const OFFSET: isize>() -> ISVGLineElement_Vtbl { - unsafe extern "system" fn putref_x1, Impl: ISVGLineElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_x1(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn x1, Impl: ISVGLineElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x1() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_y1, Impl: ISVGLineElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_y1(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn y1, Impl: ISVGLineElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y1() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_x2, Impl: ISVGLineElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_x2(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn x2, Impl: ISVGLineElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x2() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_y2, Impl: ISVGLineElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_y2(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn y2, Impl: ISVGLineElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y2() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_x1: putref_x1::, - x1: x1::, - putref_y1: putref_y1::, - y1: y1::, - putref_x2: putref_x2::, - x2: x2::, - putref_y2: putref_y2::, - y2: y2::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGLinearGradientElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_x1(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn x1(&self) -> ::windows::core::Result; - fn putref_y1(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn y1(&self) -> ::windows::core::Result; - fn putref_x2(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn x2(&self) -> ::windows::core::Result; - fn putref_y2(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn y2(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGLinearGradientElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGLinearGradientElement_Vtbl { - pub const fn new, Impl: ISVGLinearGradientElement_Impl, const OFFSET: isize>() -> ISVGLinearGradientElement_Vtbl { - unsafe extern "system" fn putref_x1, Impl: ISVGLinearGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_x1(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn x1, Impl: ISVGLinearGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x1() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_y1, Impl: ISVGLinearGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_y1(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn y1, Impl: ISVGLinearGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y1() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_x2, Impl: ISVGLinearGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_x2(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn x2, Impl: ISVGLinearGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x2() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_y2, Impl: ISVGLinearGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_y2(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn y2, Impl: ISVGLinearGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y2() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_x1: putref_x1::, - x1: x1::, - putref_y1: putref_y1::, - y1: y1::, - putref_x2: putref_x2::, - x2: x2::, - putref_y2: putref_y2::, - y2: y2::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGLocatable_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn nearestViewportElement(&self) -> ::windows::core::Result; - fn farthestViewportElement(&self) -> ::windows::core::Result; - fn getBBox(&self) -> ::windows::core::Result; - fn getCTM(&self) -> ::windows::core::Result; - fn getScreenCTM(&self) -> ::windows::core::Result; - fn getTransformToElement(&self, pelement: &::core::option::Option) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGLocatable {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGLocatable_Vtbl { - pub const fn new, Impl: ISVGLocatable_Impl, const OFFSET: isize>() -> ISVGLocatable_Vtbl { - unsafe extern "system" fn nearestViewportElement, Impl: ISVGLocatable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.nearestViewportElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn farthestViewportElement, Impl: ISVGLocatable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.farthestViewportElement() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getBBox, Impl: ISVGLocatable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getBBox() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getCTM, Impl: ISVGLocatable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getCTM() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getScreenCTM, Impl: ISVGLocatable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getScreenCTM() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getTransformToElement, Impl: ISVGLocatable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pelement: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getTransformToElement(::core::mem::transmute(&pelement)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - nearestViewportElement: nearestViewportElement::, - farthestViewportElement: farthestViewportElement::, - getBBox: getBBox::, - getCTM: getCTM::, - getScreenCTM: getScreenCTM::, - getTransformToElement: getTransformToElement::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGMarkerElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_refX(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn refX(&self) -> ::windows::core::Result; - fn putref_refY(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn refY(&self) -> ::windows::core::Result; - fn putref_markerUnits(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn markerUnits(&self) -> ::windows::core::Result; - fn putref_markerWidth(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn markerWidth(&self) -> ::windows::core::Result; - fn putref_markerHeight(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn markerHeight(&self) -> ::windows::core::Result; - fn putref_orientType(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn orientType(&self) -> ::windows::core::Result; - fn putref_orientAngle(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn orientAngle(&self) -> ::windows::core::Result; - fn setOrientToAuto(&self) -> ::windows::core::Result<()>; - fn setOrientToAngle(&self, psvgangle: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGMarkerElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGMarkerElement_Vtbl { - pub const fn new, Impl: ISVGMarkerElement_Impl, const OFFSET: isize>() -> ISVGMarkerElement_Vtbl { - unsafe extern "system" fn putref_refX, Impl: ISVGMarkerElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_refX(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn refX, Impl: ISVGMarkerElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.refX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_refY, Impl: ISVGMarkerElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_refY(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn refY, Impl: ISVGMarkerElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.refY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_markerUnits, Impl: ISVGMarkerElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_markerUnits(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn markerUnits, Impl: ISVGMarkerElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.markerUnits() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_markerWidth, Impl: ISVGMarkerElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_markerWidth(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn markerWidth, Impl: ISVGMarkerElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.markerWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_markerHeight, Impl: ISVGMarkerElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_markerHeight(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn markerHeight, Impl: ISVGMarkerElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.markerHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_orientType, Impl: ISVGMarkerElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_orientType(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn orientType, Impl: ISVGMarkerElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.orientType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_orientAngle, Impl: ISVGMarkerElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_orientAngle(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn orientAngle, Impl: ISVGMarkerElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.orientAngle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setOrientToAuto, Impl: ISVGMarkerElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setOrientToAuto().into() - } - unsafe extern "system" fn setOrientToAngle, Impl: ISVGMarkerElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, psvgangle: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setOrientToAngle(::core::mem::transmute(&psvgangle)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_refX: putref_refX::, - refX: refX::, - putref_refY: putref_refY::, - refY: refY::, - putref_markerUnits: putref_markerUnits::, - markerUnits: markerUnits::, - putref_markerWidth: putref_markerWidth::, - markerWidth: markerWidth::, - putref_markerHeight: putref_markerHeight::, - markerHeight: markerHeight::, - putref_orientType: putref_orientType::, - orientType: orientType::, - putref_orientAngle: putref_orientAngle::, - orientAngle: orientAngle::, - setOrientToAuto: setOrientToAuto::, - setOrientToAngle: setOrientToAngle::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGMaskElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_maskUnits(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn maskUnits(&self) -> ::windows::core::Result; - fn putref_maskContentUnits(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn maskContentUnits(&self) -> ::windows::core::Result; - fn putref_x(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn putref_y(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn putref_width(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn putref_height(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGMaskElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGMaskElement_Vtbl { - pub const fn new, Impl: ISVGMaskElement_Impl, const OFFSET: isize>() -> ISVGMaskElement_Vtbl { - unsafe extern "system" fn putref_maskUnits, Impl: ISVGMaskElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_maskUnits(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn maskUnits, Impl: ISVGMaskElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.maskUnits() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_maskContentUnits, Impl: ISVGMaskElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_maskContentUnits(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn maskContentUnits, Impl: ISVGMaskElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.maskContentUnits() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_x, Impl: ISVGMaskElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_x(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGMaskElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_y, Impl: ISVGMaskElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_y(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGMaskElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_width, Impl: ISVGMaskElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_width(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: ISVGMaskElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_height, Impl: ISVGMaskElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_height(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn height, Impl: ISVGMaskElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_maskUnits: putref_maskUnits::, - maskUnits: maskUnits::, - putref_maskContentUnits: putref_maskContentUnits::, - maskContentUnits: maskContentUnits::, - putref_x: putref_x::, - x: x::, - putref_y: putref_y::, - y: y::, - putref_width: putref_width::, - width: width::, - putref_height: putref_height::, - height: height::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGMatrix_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Seta(&self, v: f32) -> ::windows::core::Result<()>; - fn a(&self) -> ::windows::core::Result; - fn Setb(&self, v: f32) -> ::windows::core::Result<()>; - fn b(&self) -> ::windows::core::Result; - fn Setc(&self, v: f32) -> ::windows::core::Result<()>; - fn c(&self) -> ::windows::core::Result; - fn Setd(&self, v: f32) -> ::windows::core::Result<()>; - fn d(&self) -> ::windows::core::Result; - fn Sete(&self, v: f32) -> ::windows::core::Result<()>; - fn e(&self) -> ::windows::core::Result; - fn Setf(&self, v: f32) -> ::windows::core::Result<()>; - fn f(&self) -> ::windows::core::Result; - fn multiply(&self, secondmatrix: &::core::option::Option) -> ::windows::core::Result; - fn inverse(&self) -> ::windows::core::Result; - fn translate(&self, x: f32, y: f32) -> ::windows::core::Result; - fn scale(&self, scalefactor: f32) -> ::windows::core::Result; - fn scaleNonUniform(&self, scalefactorx: f32, scalefactory: f32) -> ::windows::core::Result; - fn rotate(&self, angle: f32) -> ::windows::core::Result; - fn rotateFromVector(&self, x: f32, y: f32) -> ::windows::core::Result; - fn flipX(&self) -> ::windows::core::Result; - fn flipY(&self) -> ::windows::core::Result; - fn skewX(&self, angle: f32) -> ::windows::core::Result; - fn skewY(&self, angle: f32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGMatrix {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGMatrix_Vtbl { - pub const fn new, Impl: ISVGMatrix_Impl, const OFFSET: isize>() -> ISVGMatrix_Vtbl { - unsafe extern "system" fn Seta, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Seta(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn a, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.a() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setb, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setb(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn b, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.b() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setc, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setc(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn c, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.c() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setd, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setd(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn d, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.d() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sete, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sete(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn e, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.e() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setf, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setf(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn f, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.f() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn multiply, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, secondmatrix: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.multiply(::core::mem::transmute(&secondmatrix)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn inverse, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.inverse() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn translate, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.translate(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scale, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, scalefactor: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scale(::core::mem::transmute_copy(&scalefactor)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn scaleNonUniform, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, scalefactorx: f32, scalefactory: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scaleNonUniform(::core::mem::transmute_copy(&scalefactorx), ::core::mem::transmute_copy(&scalefactory)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn rotate, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, angle: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rotate(::core::mem::transmute_copy(&angle)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn rotateFromVector, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rotateFromVector(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn flipX, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.flipX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn flipY, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.flipY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn skewX, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, angle: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.skewX(::core::mem::transmute_copy(&angle)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn skewY, Impl: ISVGMatrix_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, angle: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.skewY(::core::mem::transmute_copy(&angle)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Seta: Seta::, - a: a::, - Setb: Setb::, - b: b::, - Setc: Setc::, - c: c::, - Setd: Setd::, - d: d::, - Sete: Sete::, - e: e::, - Setf: Setf::, - f: f::, - multiply: multiply::, - inverse: inverse::, - translate: translate::, - scale: scale::, - scaleNonUniform: scaleNonUniform::, - rotate: rotate::, - rotateFromVector: rotateFromVector::, - flipX: flipX::, - flipY: flipY::, - skewX: skewX::, - skewY: skewY::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGMetadataElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGMetadataElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGMetadataElement_Vtbl { - pub const fn new, Impl: ISVGMetadataElement_Impl, const OFFSET: isize>() -> ISVGMetadataElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGNumber_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setvalue(&self, v: f32) -> ::windows::core::Result<()>; - fn value(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGNumber {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGNumber_Vtbl { - pub const fn new, Impl: ISVGNumber_Impl, const OFFSET: isize>() -> ISVGNumber_Vtbl { - unsafe extern "system" fn Setvalue, Impl: ISVGNumber_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setvalue(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn value, Impl: ISVGNumber_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.value() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setvalue: Setvalue::, - value: value::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGNumberList_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetnumberOfItems(&self, v: i32) -> ::windows::core::Result<()>; - fn numberOfItems(&self) -> ::windows::core::Result; - fn clear(&self) -> ::windows::core::Result<()>; - fn initialize(&self, newitem: &::core::option::Option) -> ::windows::core::Result; - fn getItem(&self, index: i32) -> ::windows::core::Result; - fn insertItemBefore(&self, newitem: &::core::option::Option, index: i32) -> ::windows::core::Result; - fn replaceItem(&self, newitem: &::core::option::Option, index: i32) -> ::windows::core::Result; - fn removeItem(&self, index: i32) -> ::windows::core::Result; - fn appendItem(&self, newitem: &::core::option::Option) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGNumberList {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGNumberList_Vtbl { - pub const fn new, Impl: ISVGNumberList_Impl, const OFFSET: isize>() -> ISVGNumberList_Vtbl { - unsafe extern "system" fn SetnumberOfItems, Impl: ISVGNumberList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnumberOfItems(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn numberOfItems, Impl: ISVGNumberList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.numberOfItems() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clear, Impl: ISVGNumberList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.clear().into() - } - unsafe extern "system" fn initialize, Impl: ISVGNumberList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.initialize(::core::mem::transmute(&newitem)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getItem, Impl: ISVGNumberList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getItem(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertItemBefore, Impl: ISVGNumberList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertItemBefore(::core::mem::transmute(&newitem), ::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn replaceItem, Impl: ISVGNumberList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.replaceItem(::core::mem::transmute(&newitem), ::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeItem, Impl: ISVGNumberList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeItem(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn appendItem, Impl: ISVGNumberList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.appendItem(::core::mem::transmute(&newitem)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetnumberOfItems: SetnumberOfItems::, - numberOfItems: numberOfItems::, - clear: clear::, - initialize: initialize::, - getItem: getItem::, - insertItemBefore: insertItemBefore::, - replaceItem: replaceItem::, - removeItem: removeItem::, - appendItem: appendItem::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPaint_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPaint {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPaint_Vtbl { - pub const fn new, Impl: ISVGPaint_Impl, const OFFSET: isize>() -> ISVGPaint_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_pathLength(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn pathLength(&self) -> ::windows::core::Result; - fn getTotalLength(&self) -> ::windows::core::Result; - fn getPointAtLength(&self, fltdistance: f32) -> ::windows::core::Result; - fn getPathSegAtLength(&self, fltdistance: f32) -> ::windows::core::Result; - fn createSVGPathSegClosePath(&self) -> ::windows::core::Result; - fn createSVGPathSegMovetoAbs(&self, x: f32, y: f32) -> ::windows::core::Result; - fn createSVGPathSegMovetoRel(&self, x: f32, y: f32) -> ::windows::core::Result; - fn createSVGPathSegLinetoAbs(&self, x: f32, y: f32) -> ::windows::core::Result; - fn createSVGPathSegLinetoRel(&self, x: f32, y: f32) -> ::windows::core::Result; - fn createSVGPathSegCurvetoCubicAbs(&self, x: f32, y: f32, x1: f32, y1: f32, x2: f32, y2: f32) -> ::windows::core::Result; - fn createSVGPathSegCurvetoCubicRel(&self, x: f32, y: f32, x1: f32, y1: f32, x2: f32, y2: f32) -> ::windows::core::Result; - fn createSVGPathSegCurvetoQuadraticAbs(&self, x: f32, y: f32, x1: f32, y1: f32) -> ::windows::core::Result; - fn createSVGPathSegCurvetoQuadraticRel(&self, x: f32, y: f32, x1: f32, y1: f32) -> ::windows::core::Result; - fn createSVGPathSegArcAbs(&self, x: f32, y: f32, r1: f32, r2: f32, angle: f32, largearcflag: i16, sweepflag: i16) -> ::windows::core::Result; - fn createSVGPathSegArcRel(&self, x: f32, y: f32, r1: f32, r2: f32, angle: f32, largearcflag: i16, sweepflag: i16) -> ::windows::core::Result; - fn createSVGPathSegLinetoHorizontalAbs(&self, x: f32) -> ::windows::core::Result; - fn createSVGPathSegLinetoHorizontalRel(&self, x: f32) -> ::windows::core::Result; - fn createSVGPathSegLinetoVerticalAbs(&self, y: f32) -> ::windows::core::Result; - fn createSVGPathSegLinetoVerticalRel(&self, y: f32) -> ::windows::core::Result; - fn createSVGPathSegCurvetoCubicSmoothAbs(&self, x: f32, y: f32, x2: f32, y2: f32) -> ::windows::core::Result; - fn createSVGPathSegCurvetoCubicSmoothRel(&self, x: f32, y: f32, x2: f32, y2: f32) -> ::windows::core::Result; - fn createSVGPathSegCurvetoQuadraticSmoothAbs(&self, x: f32, y: f32) -> ::windows::core::Result; - fn createSVGPathSegCurvetoQuadraticSmoothRel(&self, x: f32, y: f32) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathElement_Vtbl { - pub const fn new, Impl: ISVGPathElement_Impl, const OFFSET: isize>() -> ISVGPathElement_Vtbl { - unsafe extern "system" fn putref_pathLength, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_pathLength(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn pathLength, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pathLength() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getTotalLength, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfltresult: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getTotalLength() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfltresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getPointAtLength, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fltdistance: f32, pppointresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getPointAtLength(::core::mem::transmute_copy(&fltdistance)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pppointresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getPathSegAtLength, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fltdistance: f32, plresult: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getPathSegAtLength(::core::mem::transmute_copy(&fltdistance)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(plresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegClosePath, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegClosePath() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegMovetoAbs, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegMovetoAbs(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegMovetoRel, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegMovetoRel(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegLinetoAbs, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegLinetoAbs(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegLinetoRel, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegLinetoRel(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegCurvetoCubicAbs, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, x1: f32, y1: f32, x2: f32, y2: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegCurvetoCubicAbs(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y), ::core::mem::transmute_copy(&x1), ::core::mem::transmute_copy(&y1), ::core::mem::transmute_copy(&x2), ::core::mem::transmute_copy(&y2)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegCurvetoCubicRel, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, x1: f32, y1: f32, x2: f32, y2: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegCurvetoCubicRel(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y), ::core::mem::transmute_copy(&x1), ::core::mem::transmute_copy(&y1), ::core::mem::transmute_copy(&x2), ::core::mem::transmute_copy(&y2)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegCurvetoQuadraticAbs, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, x1: f32, y1: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegCurvetoQuadraticAbs(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y), ::core::mem::transmute_copy(&x1), ::core::mem::transmute_copy(&y1)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegCurvetoQuadraticRel, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, x1: f32, y1: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegCurvetoQuadraticRel(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y), ::core::mem::transmute_copy(&x1), ::core::mem::transmute_copy(&y1)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegArcAbs, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, r1: f32, r2: f32, angle: f32, largearcflag: i16, sweepflag: i16, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegArcAbs(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y), ::core::mem::transmute_copy(&r1), ::core::mem::transmute_copy(&r2), ::core::mem::transmute_copy(&angle), ::core::mem::transmute_copy(&largearcflag), ::core::mem::transmute_copy(&sweepflag)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegArcRel, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, r1: f32, r2: f32, angle: f32, largearcflag: i16, sweepflag: i16, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegArcRel(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y), ::core::mem::transmute_copy(&r1), ::core::mem::transmute_copy(&r2), ::core::mem::transmute_copy(&angle), ::core::mem::transmute_copy(&largearcflag), ::core::mem::transmute_copy(&sweepflag)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegLinetoHorizontalAbs, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegLinetoHorizontalAbs(::core::mem::transmute_copy(&x)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegLinetoHorizontalRel, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegLinetoHorizontalRel(::core::mem::transmute_copy(&x)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegLinetoVerticalAbs, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegLinetoVerticalAbs(::core::mem::transmute_copy(&y)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegLinetoVerticalRel, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegLinetoVerticalRel(::core::mem::transmute_copy(&y)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegCurvetoCubicSmoothAbs, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, x2: f32, y2: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegCurvetoCubicSmoothAbs(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y), ::core::mem::transmute_copy(&x2), ::core::mem::transmute_copy(&y2)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegCurvetoCubicSmoothRel, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, x2: f32, y2: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegCurvetoCubicSmoothRel(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y), ::core::mem::transmute_copy(&x2), ::core::mem::transmute_copy(&y2)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegCurvetoQuadraticSmoothAbs, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegCurvetoQuadraticSmoothAbs(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPathSegCurvetoQuadraticSmoothRel, Impl: ISVGPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: f32, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPathSegCurvetoQuadraticSmoothRel(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_pathLength: putref_pathLength::, - pathLength: pathLength::, - getTotalLength: getTotalLength::, - getPointAtLength: getPointAtLength::, - getPathSegAtLength: getPathSegAtLength::, - createSVGPathSegClosePath: createSVGPathSegClosePath::, - createSVGPathSegMovetoAbs: createSVGPathSegMovetoAbs::, - createSVGPathSegMovetoRel: createSVGPathSegMovetoRel::, - createSVGPathSegLinetoAbs: createSVGPathSegLinetoAbs::, - createSVGPathSegLinetoRel: createSVGPathSegLinetoRel::, - createSVGPathSegCurvetoCubicAbs: createSVGPathSegCurvetoCubicAbs::, - createSVGPathSegCurvetoCubicRel: createSVGPathSegCurvetoCubicRel::, - createSVGPathSegCurvetoQuadraticAbs: createSVGPathSegCurvetoQuadraticAbs::, - createSVGPathSegCurvetoQuadraticRel: createSVGPathSegCurvetoQuadraticRel::, - createSVGPathSegArcAbs: createSVGPathSegArcAbs::, - createSVGPathSegArcRel: createSVGPathSegArcRel::, - createSVGPathSegLinetoHorizontalAbs: createSVGPathSegLinetoHorizontalAbs::, - createSVGPathSegLinetoHorizontalRel: createSVGPathSegLinetoHorizontalRel::, - createSVGPathSegLinetoVerticalAbs: createSVGPathSegLinetoVerticalAbs::, - createSVGPathSegLinetoVerticalRel: createSVGPathSegLinetoVerticalRel::, - createSVGPathSegCurvetoCubicSmoothAbs: createSVGPathSegCurvetoCubicSmoothAbs::, - createSVGPathSegCurvetoCubicSmoothRel: createSVGPathSegCurvetoCubicSmoothRel::, - createSVGPathSegCurvetoQuadraticSmoothAbs: createSVGPathSegCurvetoQuadraticSmoothAbs::, - createSVGPathSegCurvetoQuadraticSmoothRel: createSVGPathSegCurvetoQuadraticSmoothRel::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSeg_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetpathSegType(&self, v: i16) -> ::windows::core::Result<()>; - fn pathSegType(&self) -> ::windows::core::Result; - fn pathSegTypeAsLetter(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSeg {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSeg_Vtbl { - pub const fn new, Impl: ISVGPathSeg_Impl, const OFFSET: isize>() -> ISVGPathSeg_Vtbl { - unsafe extern "system" fn SetpathSegType, Impl: ISVGPathSeg_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpathSegType(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn pathSegType, Impl: ISVGPathSeg_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pathSegType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn pathSegTypeAsLetter, Impl: ISVGPathSeg_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pathSegTypeAsLetter() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetpathSegType: SetpathSegType::, - pathSegType: pathSegType::, - pathSegTypeAsLetter: pathSegTypeAsLetter::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegArcAbs_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn Setr1(&self, v: f32) -> ::windows::core::Result<()>; - fn r1(&self) -> ::windows::core::Result; - fn Setr2(&self, v: f32) -> ::windows::core::Result<()>; - fn r2(&self) -> ::windows::core::Result; - fn Setangle(&self, v: f32) -> ::windows::core::Result<()>; - fn angle(&self) -> ::windows::core::Result; - fn SetlargeArcFlag(&self, v: i16) -> ::windows::core::Result<()>; - fn largeArcFlag(&self) -> ::windows::core::Result; - fn SetsweepFlag(&self, v: i16) -> ::windows::core::Result<()>; - fn sweepFlag(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegArcAbs {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegArcAbs_Vtbl { - pub const fn new, Impl: ISVGPathSegArcAbs_Impl, const OFFSET: isize>() -> ISVGPathSegArcAbs_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGPathSegArcAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPathSegArcAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety, Impl: ISVGPathSegArcAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPathSegArcAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setr1, Impl: ISVGPathSegArcAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setr1(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn r1, Impl: ISVGPathSegArcAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r1() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setr2, Impl: ISVGPathSegArcAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setr2(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn r2, Impl: ISVGPathSegArcAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r2() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setangle, Impl: ISVGPathSegArcAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setangle(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn angle, Impl: ISVGPathSegArcAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.angle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlargeArcFlag, Impl: ISVGPathSegArcAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlargeArcFlag(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn largeArcFlag, Impl: ISVGPathSegArcAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.largeArcFlag() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetsweepFlag, Impl: ISVGPathSegArcAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetsweepFlag(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn sweepFlag, Impl: ISVGPathSegArcAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.sweepFlag() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - Sety: Sety::, - y: y::, - Setr1: Setr1::, - r1: r1::, - Setr2: Setr2::, - r2: r2::, - Setangle: Setangle::, - angle: angle::, - SetlargeArcFlag: SetlargeArcFlag::, - largeArcFlag: largeArcFlag::, - SetsweepFlag: SetsweepFlag::, - sweepFlag: sweepFlag::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegArcRel_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn Setr1(&self, v: f32) -> ::windows::core::Result<()>; - fn r1(&self) -> ::windows::core::Result; - fn Setr2(&self, v: f32) -> ::windows::core::Result<()>; - fn r2(&self) -> ::windows::core::Result; - fn Setangle(&self, v: f32) -> ::windows::core::Result<()>; - fn angle(&self) -> ::windows::core::Result; - fn SetlargeArcFlag(&self, v: i16) -> ::windows::core::Result<()>; - fn largeArcFlag(&self) -> ::windows::core::Result; - fn SetsweepFlag(&self, v: i16) -> ::windows::core::Result<()>; - fn sweepFlag(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegArcRel {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegArcRel_Vtbl { - pub const fn new, Impl: ISVGPathSegArcRel_Impl, const OFFSET: isize>() -> ISVGPathSegArcRel_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGPathSegArcRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPathSegArcRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety, Impl: ISVGPathSegArcRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPathSegArcRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setr1, Impl: ISVGPathSegArcRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setr1(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn r1, Impl: ISVGPathSegArcRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r1() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setr2, Impl: ISVGPathSegArcRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setr2(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn r2, Impl: ISVGPathSegArcRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r2() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setangle, Impl: ISVGPathSegArcRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setangle(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn angle, Impl: ISVGPathSegArcRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.angle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetlargeArcFlag, Impl: ISVGPathSegArcRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetlargeArcFlag(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn largeArcFlag, Impl: ISVGPathSegArcRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.largeArcFlag() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetsweepFlag, Impl: ISVGPathSegArcRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetsweepFlag(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn sweepFlag, Impl: ISVGPathSegArcRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.sweepFlag() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - Sety: Sety::, - y: y::, - Setr1: Setr1::, - r1: r1::, - Setr2: Setr2::, - r2: r2::, - Setangle: Setangle::, - angle: angle::, - SetlargeArcFlag: SetlargeArcFlag::, - largeArcFlag: largeArcFlag::, - SetsweepFlag: SetsweepFlag::, - sweepFlag: sweepFlag::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegClosePath_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegClosePath {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegClosePath_Vtbl { - pub const fn new, Impl: ISVGPathSegClosePath_Impl, const OFFSET: isize>() -> ISVGPathSegClosePath_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegCurvetoCubicAbs_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn Setx1(&self, v: f32) -> ::windows::core::Result<()>; - fn x1(&self) -> ::windows::core::Result; - fn Sety1(&self, v: f32) -> ::windows::core::Result<()>; - fn y1(&self) -> ::windows::core::Result; - fn Setx2(&self, v: f32) -> ::windows::core::Result<()>; - fn x2(&self) -> ::windows::core::Result; - fn Sety2(&self, v: f32) -> ::windows::core::Result<()>; - fn y2(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegCurvetoCubicAbs {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegCurvetoCubicAbs_Vtbl { - pub const fn new, Impl: ISVGPathSegCurvetoCubicAbs_Impl, const OFFSET: isize>() -> ISVGPathSegCurvetoCubicAbs_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGPathSegCurvetoCubicAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPathSegCurvetoCubicAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety, Impl: ISVGPathSegCurvetoCubicAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPathSegCurvetoCubicAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setx1, Impl: ISVGPathSegCurvetoCubicAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx1(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x1, Impl: ISVGPathSegCurvetoCubicAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x1() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety1, Impl: ISVGPathSegCurvetoCubicAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety1(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y1, Impl: ISVGPathSegCurvetoCubicAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y1() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setx2, Impl: ISVGPathSegCurvetoCubicAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx2(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x2, Impl: ISVGPathSegCurvetoCubicAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x2() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety2, Impl: ISVGPathSegCurvetoCubicAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety2(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y2, Impl: ISVGPathSegCurvetoCubicAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y2() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - Sety: Sety::, - y: y::, - Setx1: Setx1::, - x1: x1::, - Sety1: Sety1::, - y1: y1::, - Setx2: Setx2::, - x2: x2::, - Sety2: Sety2::, - y2: y2::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegCurvetoCubicRel_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn Setx1(&self, v: f32) -> ::windows::core::Result<()>; - fn x1(&self) -> ::windows::core::Result; - fn Sety1(&self, v: f32) -> ::windows::core::Result<()>; - fn y1(&self) -> ::windows::core::Result; - fn Setx2(&self, v: f32) -> ::windows::core::Result<()>; - fn x2(&self) -> ::windows::core::Result; - fn Sety2(&self, v: f32) -> ::windows::core::Result<()>; - fn y2(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegCurvetoCubicRel {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegCurvetoCubicRel_Vtbl { - pub const fn new, Impl: ISVGPathSegCurvetoCubicRel_Impl, const OFFSET: isize>() -> ISVGPathSegCurvetoCubicRel_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGPathSegCurvetoCubicRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPathSegCurvetoCubicRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety, Impl: ISVGPathSegCurvetoCubicRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPathSegCurvetoCubicRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setx1, Impl: ISVGPathSegCurvetoCubicRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx1(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x1, Impl: ISVGPathSegCurvetoCubicRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x1() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety1, Impl: ISVGPathSegCurvetoCubicRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety1(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y1, Impl: ISVGPathSegCurvetoCubicRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y1() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setx2, Impl: ISVGPathSegCurvetoCubicRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx2(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x2, Impl: ISVGPathSegCurvetoCubicRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x2() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety2, Impl: ISVGPathSegCurvetoCubicRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety2(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y2, Impl: ISVGPathSegCurvetoCubicRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y2() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - Sety: Sety::, - y: y::, - Setx1: Setx1::, - x1: x1::, - Sety1: Sety1::, - y1: y1::, - Setx2: Setx2::, - x2: x2::, - Sety2: Sety2::, - y2: y2::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegCurvetoCubicSmoothAbs_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn Setx2(&self, v: f32) -> ::windows::core::Result<()>; - fn x2(&self) -> ::windows::core::Result; - fn Sety2(&self, v: f32) -> ::windows::core::Result<()>; - fn y2(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegCurvetoCubicSmoothAbs {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegCurvetoCubicSmoothAbs_Vtbl { - pub const fn new, Impl: ISVGPathSegCurvetoCubicSmoothAbs_Impl, const OFFSET: isize>() -> ISVGPathSegCurvetoCubicSmoothAbs_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGPathSegCurvetoCubicSmoothAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPathSegCurvetoCubicSmoothAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety, Impl: ISVGPathSegCurvetoCubicSmoothAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPathSegCurvetoCubicSmoothAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setx2, Impl: ISVGPathSegCurvetoCubicSmoothAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx2(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x2, Impl: ISVGPathSegCurvetoCubicSmoothAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x2() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety2, Impl: ISVGPathSegCurvetoCubicSmoothAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety2(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y2, Impl: ISVGPathSegCurvetoCubicSmoothAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y2() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - Sety: Sety::, - y: y::, - Setx2: Setx2::, - x2: x2::, - Sety2: Sety2::, - y2: y2::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegCurvetoCubicSmoothRel_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn Setx2(&self, v: f32) -> ::windows::core::Result<()>; - fn x2(&self) -> ::windows::core::Result; - fn Sety2(&self, v: f32) -> ::windows::core::Result<()>; - fn y2(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegCurvetoCubicSmoothRel {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegCurvetoCubicSmoothRel_Vtbl { - pub const fn new, Impl: ISVGPathSegCurvetoCubicSmoothRel_Impl, const OFFSET: isize>() -> ISVGPathSegCurvetoCubicSmoothRel_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGPathSegCurvetoCubicSmoothRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPathSegCurvetoCubicSmoothRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety, Impl: ISVGPathSegCurvetoCubicSmoothRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPathSegCurvetoCubicSmoothRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setx2, Impl: ISVGPathSegCurvetoCubicSmoothRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx2(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x2, Impl: ISVGPathSegCurvetoCubicSmoothRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x2() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety2, Impl: ISVGPathSegCurvetoCubicSmoothRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety2(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y2, Impl: ISVGPathSegCurvetoCubicSmoothRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y2() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - Sety: Sety::, - y: y::, - Setx2: Setx2::, - x2: x2::, - Sety2: Sety2::, - y2: y2::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegCurvetoQuadraticAbs_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn Setx1(&self, v: f32) -> ::windows::core::Result<()>; - fn x1(&self) -> ::windows::core::Result; - fn Sety1(&self, v: f32) -> ::windows::core::Result<()>; - fn y1(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegCurvetoQuadraticAbs {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegCurvetoQuadraticAbs_Vtbl { - pub const fn new, Impl: ISVGPathSegCurvetoQuadraticAbs_Impl, const OFFSET: isize>() -> ISVGPathSegCurvetoQuadraticAbs_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGPathSegCurvetoQuadraticAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPathSegCurvetoQuadraticAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety, Impl: ISVGPathSegCurvetoQuadraticAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPathSegCurvetoQuadraticAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setx1, Impl: ISVGPathSegCurvetoQuadraticAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx1(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x1, Impl: ISVGPathSegCurvetoQuadraticAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x1() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety1, Impl: ISVGPathSegCurvetoQuadraticAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety1(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y1, Impl: ISVGPathSegCurvetoQuadraticAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y1() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - Sety: Sety::, - y: y::, - Setx1: Setx1::, - x1: x1::, - Sety1: Sety1::, - y1: y1::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegCurvetoQuadraticRel_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn Setx1(&self, v: f32) -> ::windows::core::Result<()>; - fn x1(&self) -> ::windows::core::Result; - fn Sety1(&self, v: f32) -> ::windows::core::Result<()>; - fn y1(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegCurvetoQuadraticRel {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegCurvetoQuadraticRel_Vtbl { - pub const fn new, Impl: ISVGPathSegCurvetoQuadraticRel_Impl, const OFFSET: isize>() -> ISVGPathSegCurvetoQuadraticRel_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGPathSegCurvetoQuadraticRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPathSegCurvetoQuadraticRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety, Impl: ISVGPathSegCurvetoQuadraticRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPathSegCurvetoQuadraticRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setx1, Impl: ISVGPathSegCurvetoQuadraticRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx1(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x1, Impl: ISVGPathSegCurvetoQuadraticRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x1() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety1, Impl: ISVGPathSegCurvetoQuadraticRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety1(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y1, Impl: ISVGPathSegCurvetoQuadraticRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y1() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - Sety: Sety::, - y: y::, - Setx1: Setx1::, - x1: x1::, - Sety1: Sety1::, - y1: y1::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegCurvetoQuadraticSmoothAbs_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegCurvetoQuadraticSmoothAbs {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegCurvetoQuadraticSmoothAbs_Vtbl { - pub const fn new, Impl: ISVGPathSegCurvetoQuadraticSmoothAbs_Impl, const OFFSET: isize>() -> ISVGPathSegCurvetoQuadraticSmoothAbs_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGPathSegCurvetoQuadraticSmoothAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPathSegCurvetoQuadraticSmoothAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety, Impl: ISVGPathSegCurvetoQuadraticSmoothAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPathSegCurvetoQuadraticSmoothAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - Sety: Sety::, - y: y::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegCurvetoQuadraticSmoothRel_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegCurvetoQuadraticSmoothRel {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegCurvetoQuadraticSmoothRel_Vtbl { - pub const fn new, Impl: ISVGPathSegCurvetoQuadraticSmoothRel_Impl, const OFFSET: isize>() -> ISVGPathSegCurvetoQuadraticSmoothRel_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGPathSegCurvetoQuadraticSmoothRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPathSegCurvetoQuadraticSmoothRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety, Impl: ISVGPathSegCurvetoQuadraticSmoothRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPathSegCurvetoQuadraticSmoothRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - Sety: Sety::, - y: y::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegLinetoAbs_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegLinetoAbs {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegLinetoAbs_Vtbl { - pub const fn new, Impl: ISVGPathSegLinetoAbs_Impl, const OFFSET: isize>() -> ISVGPathSegLinetoAbs_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGPathSegLinetoAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPathSegLinetoAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety, Impl: ISVGPathSegLinetoAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPathSegLinetoAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - Sety: Sety::, - y: y::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegLinetoHorizontalAbs_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegLinetoHorizontalAbs {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegLinetoHorizontalAbs_Vtbl { - pub const fn new, Impl: ISVGPathSegLinetoHorizontalAbs_Impl, const OFFSET: isize>() -> ISVGPathSegLinetoHorizontalAbs_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGPathSegLinetoHorizontalAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPathSegLinetoHorizontalAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegLinetoHorizontalRel_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegLinetoHorizontalRel {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegLinetoHorizontalRel_Vtbl { - pub const fn new, Impl: ISVGPathSegLinetoHorizontalRel_Impl, const OFFSET: isize>() -> ISVGPathSegLinetoHorizontalRel_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGPathSegLinetoHorizontalRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPathSegLinetoHorizontalRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegLinetoRel_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegLinetoRel {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegLinetoRel_Vtbl { - pub const fn new, Impl: ISVGPathSegLinetoRel_Impl, const OFFSET: isize>() -> ISVGPathSegLinetoRel_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGPathSegLinetoRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPathSegLinetoRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety, Impl: ISVGPathSegLinetoRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPathSegLinetoRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - Sety: Sety::, - y: y::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegLinetoVerticalAbs_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegLinetoVerticalAbs {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegLinetoVerticalAbs_Vtbl { - pub const fn new, Impl: ISVGPathSegLinetoVerticalAbs_Impl, const OFFSET: isize>() -> ISVGPathSegLinetoVerticalAbs_Vtbl { - unsafe extern "system" fn Sety, Impl: ISVGPathSegLinetoVerticalAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPathSegLinetoVerticalAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Sety: Sety::, - y: y::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegLinetoVerticalRel_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegLinetoVerticalRel {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegLinetoVerticalRel_Vtbl { - pub const fn new, Impl: ISVGPathSegLinetoVerticalRel_Impl, const OFFSET: isize>() -> ISVGPathSegLinetoVerticalRel_Vtbl { - unsafe extern "system" fn Sety, Impl: ISVGPathSegLinetoVerticalRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPathSegLinetoVerticalRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Sety: Sety::, - y: y::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegList_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetnumberOfItems(&self, v: i32) -> ::windows::core::Result<()>; - fn numberOfItems(&self) -> ::windows::core::Result; - fn clear(&self) -> ::windows::core::Result<()>; - fn initialize(&self, newitem: &::core::option::Option) -> ::windows::core::Result; - fn getItem(&self, index: i32) -> ::windows::core::Result; - fn insertItemBefore(&self, newitem: &::core::option::Option, index: i32) -> ::windows::core::Result; - fn replaceItem(&self, newitem: &::core::option::Option, index: i32) -> ::windows::core::Result; - fn removeItem(&self, index: i32) -> ::windows::core::Result; - fn appendItem(&self, newitem: &::core::option::Option) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegList {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegList_Vtbl { - pub const fn new, Impl: ISVGPathSegList_Impl, const OFFSET: isize>() -> ISVGPathSegList_Vtbl { - unsafe extern "system" fn SetnumberOfItems, Impl: ISVGPathSegList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnumberOfItems(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn numberOfItems, Impl: ISVGPathSegList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.numberOfItems() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clear, Impl: ISVGPathSegList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.clear().into() - } - unsafe extern "system" fn initialize, Impl: ISVGPathSegList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.initialize(::core::mem::transmute(&newitem)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getItem, Impl: ISVGPathSegList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getItem(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertItemBefore, Impl: ISVGPathSegList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertItemBefore(::core::mem::transmute(&newitem), ::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn replaceItem, Impl: ISVGPathSegList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.replaceItem(::core::mem::transmute(&newitem), ::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeItem, Impl: ISVGPathSegList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeItem(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn appendItem, Impl: ISVGPathSegList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.appendItem(::core::mem::transmute(&newitem)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetnumberOfItems: SetnumberOfItems::, - numberOfItems: numberOfItems::, - clear: clear::, - initialize: initialize::, - getItem: getItem::, - insertItemBefore: insertItemBefore::, - replaceItem: replaceItem::, - removeItem: removeItem::, - appendItem: appendItem::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegMovetoAbs_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegMovetoAbs {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegMovetoAbs_Vtbl { - pub const fn new, Impl: ISVGPathSegMovetoAbs_Impl, const OFFSET: isize>() -> ISVGPathSegMovetoAbs_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGPathSegMovetoAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPathSegMovetoAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety, Impl: ISVGPathSegMovetoAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPathSegMovetoAbs_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - Sety: Sety::, - y: y::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPathSegMovetoRel_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPathSegMovetoRel {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPathSegMovetoRel_Vtbl { - pub const fn new, Impl: ISVGPathSegMovetoRel_Impl, const OFFSET: isize>() -> ISVGPathSegMovetoRel_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGPathSegMovetoRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPathSegMovetoRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety, Impl: ISVGPathSegMovetoRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPathSegMovetoRel_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - Sety: Sety::, - y: y::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPatternElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_patternUnits(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn patternUnits(&self) -> ::windows::core::Result; - fn putref_patternContentUnits(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn patternContentUnits(&self) -> ::windows::core::Result; - fn putref_patternTransform(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn patternTransform(&self) -> ::windows::core::Result; - fn putref_x(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn putref_y(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn putref_width(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn putref_height(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPatternElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPatternElement_Vtbl { - pub const fn new, Impl: ISVGPatternElement_Impl, const OFFSET: isize>() -> ISVGPatternElement_Vtbl { - unsafe extern "system" fn putref_patternUnits, Impl: ISVGPatternElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_patternUnits(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn patternUnits, Impl: ISVGPatternElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.patternUnits() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_patternContentUnits, Impl: ISVGPatternElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_patternContentUnits(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn patternContentUnits, Impl: ISVGPatternElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.patternContentUnits() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_patternTransform, Impl: ISVGPatternElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_patternTransform(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn patternTransform, Impl: ISVGPatternElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.patternTransform() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_x, Impl: ISVGPatternElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_x(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPatternElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_y, Impl: ISVGPatternElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_y(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPatternElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_width, Impl: ISVGPatternElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_width(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: ISVGPatternElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_height, Impl: ISVGPatternElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_height(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn height, Impl: ISVGPatternElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_patternUnits: putref_patternUnits::, - patternUnits: patternUnits::, - putref_patternContentUnits: putref_patternContentUnits::, - patternContentUnits: patternContentUnits::, - putref_patternTransform: putref_patternTransform::, - patternTransform: patternTransform::, - putref_x: putref_x::, - x: x::, - putref_y: putref_y::, - y: y::, - putref_width: putref_width::, - width: width::, - putref_height: putref_height::, - height: height::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPoint_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn matrixTransform(&self, pmatrix: &::core::option::Option) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPoint {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPoint_Vtbl { - pub const fn new, Impl: ISVGPoint_Impl, const OFFSET: isize>() -> ISVGPoint_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGPoint_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGPoint_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety, Impl: ISVGPoint_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGPoint_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn matrixTransform, Impl: ISVGPoint_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pmatrix: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.matrixTransform(::core::mem::transmute(&pmatrix)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - Sety: Sety::, - y: y::, - matrixTransform: matrixTransform::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPointList_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetnumberOfItems(&self, v: i32) -> ::windows::core::Result<()>; - fn numberOfItems(&self) -> ::windows::core::Result; - fn clear(&self) -> ::windows::core::Result<()>; - fn initialize(&self, pnewitem: &::core::option::Option) -> ::windows::core::Result; - fn getItem(&self, index: i32) -> ::windows::core::Result; - fn insertItemBefore(&self, pnewitem: &::core::option::Option, index: i32) -> ::windows::core::Result; - fn replaceItem(&self, pnewitem: &::core::option::Option, index: i32) -> ::windows::core::Result; - fn removeItem(&self, index: i32) -> ::windows::core::Result; - fn appendItem(&self, pnewitem: &::core::option::Option) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPointList {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPointList_Vtbl { - pub const fn new, Impl: ISVGPointList_Impl, const OFFSET: isize>() -> ISVGPointList_Vtbl { - unsafe extern "system" fn SetnumberOfItems, Impl: ISVGPointList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnumberOfItems(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn numberOfItems, Impl: ISVGPointList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.numberOfItems() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clear, Impl: ISVGPointList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.clear().into() - } - unsafe extern "system" fn initialize, Impl: ISVGPointList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pnewitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.initialize(::core::mem::transmute(&pnewitem)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getItem, Impl: ISVGPointList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getItem(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertItemBefore, Impl: ISVGPointList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pnewitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertItemBefore(::core::mem::transmute(&pnewitem), ::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn replaceItem, Impl: ISVGPointList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pnewitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.replaceItem(::core::mem::transmute(&pnewitem), ::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeItem, Impl: ISVGPointList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeItem(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn appendItem, Impl: ISVGPointList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pnewitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.appendItem(::core::mem::transmute(&pnewitem)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetnumberOfItems: SetnumberOfItems::, - numberOfItems: numberOfItems::, - clear: clear::, - initialize: initialize::, - getItem: getItem::, - insertItemBefore: insertItemBefore::, - replaceItem: replaceItem::, - removeItem: removeItem::, - appendItem: appendItem::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPolygonElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPolygonElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPolygonElement_Vtbl { - pub const fn new, Impl: ISVGPolygonElement_Impl, const OFFSET: isize>() -> ISVGPolygonElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPolylineElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPolylineElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPolylineElement_Vtbl { - pub const fn new, Impl: ISVGPolylineElement_Impl, const OFFSET: isize>() -> ISVGPolylineElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGPreserveAspectRatio_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setalign(&self, v: i16) -> ::windows::core::Result<()>; - fn align(&self) -> ::windows::core::Result; - fn SetmeetOrSlice(&self, v: i16) -> ::windows::core::Result<()>; - fn meetOrSlice(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGPreserveAspectRatio {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGPreserveAspectRatio_Vtbl { - pub const fn new, Impl: ISVGPreserveAspectRatio_Impl, const OFFSET: isize>() -> ISVGPreserveAspectRatio_Vtbl { - unsafe extern "system" fn Setalign, Impl: ISVGPreserveAspectRatio_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setalign(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn align, Impl: ISVGPreserveAspectRatio_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.align() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmeetOrSlice, Impl: ISVGPreserveAspectRatio_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmeetOrSlice(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn meetOrSlice, Impl: ISVGPreserveAspectRatio_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.meetOrSlice() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setalign: Setalign::, - align: align::, - SetmeetOrSlice: SetmeetOrSlice::, - meetOrSlice: meetOrSlice::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGRadialGradientElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_cx(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn cx(&self) -> ::windows::core::Result; - fn putref_cy(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn cy(&self) -> ::windows::core::Result; - fn putref_r(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn r(&self) -> ::windows::core::Result; - fn putref_fx(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn fx(&self) -> ::windows::core::Result; - fn putref_fy(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn fy(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGRadialGradientElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGRadialGradientElement_Vtbl { - pub const fn new, Impl: ISVGRadialGradientElement_Impl, const OFFSET: isize>() -> ISVGRadialGradientElement_Vtbl { - unsafe extern "system" fn putref_cx, Impl: ISVGRadialGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_cx(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cx, Impl: ISVGRadialGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cx() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_cy, Impl: ISVGRadialGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_cy(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn cy, Impl: ISVGRadialGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.cy() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_r, Impl: ISVGRadialGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_r(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r, Impl: ISVGRadialGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_fx, Impl: ISVGRadialGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_fx(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fx, Impl: ISVGRadialGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fx() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_fy, Impl: ISVGRadialGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_fy(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn fy, Impl: ISVGRadialGradientElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.fy() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_cx: putref_cx::, - cx: cx::, - putref_cy: putref_cy::, - cy: cy::, - putref_r: putref_r::, - r: r::, - putref_fx: putref_fx::, - fx: fx::, - putref_fy: putref_fy::, - fy: fy::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGRect_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Setx(&self, v: f32) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn Sety(&self, v: f32) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn Setwidth(&self, v: f32) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn Setheight(&self, v: f32) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGRect {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGRect_Vtbl { - pub const fn new, Impl: ISVGRect_Impl, const OFFSET: isize>() -> ISVGRect_Vtbl { - unsafe extern "system" fn Setx, Impl: ISVGRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setx(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Sety, Impl: ISVGRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Sety(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setwidth, Impl: ISVGRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setwidth(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn width, Impl: ISVGRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setheight, Impl: ISVGRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheight(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn height, Impl: ISVGRect_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Setx: Setx::, - x: x::, - Sety: Sety::, - y: y::, - Setwidth: Setwidth::, - width: width::, - Setheight: Setheight::, - height: height::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGRectElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_x(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn putref_y(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn putref_width(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn putref_height(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; - fn putref_rx(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn rx(&self) -> ::windows::core::Result; - fn putref_ry(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn ry(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGRectElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGRectElement_Vtbl { - pub const fn new, Impl: ISVGRectElement_Impl, const OFFSET: isize>() -> ISVGRectElement_Vtbl { - unsafe extern "system" fn putref_x, Impl: ISVGRectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_x(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGRectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_y, Impl: ISVGRectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_y(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGRectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_width, Impl: ISVGRectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_width(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: ISVGRectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_height, Impl: ISVGRectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_height(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn height, Impl: ISVGRectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_rx, Impl: ISVGRectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_rx(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rx, Impl: ISVGRectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rx() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_ry, Impl: ISVGRectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_ry(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn ry, Impl: ISVGRectElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ry() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_x: putref_x::, - x: x::, - putref_y: putref_y::, - y: y::, - putref_width: putref_width::, - width: width::, - putref_height: putref_height::, - height: height::, - putref_rx: putref_rx::, - rx: rx::, - putref_ry: putref_ry::, - ry: ry::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGSVGElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_x(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn putref_y(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn putref_width(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn putref_height(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; - fn SetcontentScriptType(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn contentScriptType(&self) -> ::windows::core::Result; - fn SetcontentStyleType(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn contentStyleType(&self) -> ::windows::core::Result; - fn putref_viewport(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn viewport(&self) -> ::windows::core::Result; - fn SetpixelUnitToMillimeterX(&self, v: f32) -> ::windows::core::Result<()>; - fn pixelUnitToMillimeterX(&self) -> ::windows::core::Result; - fn SetpixelUnitToMillimeterY(&self, v: f32) -> ::windows::core::Result<()>; - fn pixelUnitToMillimeterY(&self) -> ::windows::core::Result; - fn SetscreenPixelToMillimeterX(&self, v: f32) -> ::windows::core::Result<()>; - fn screenPixelToMillimeterX(&self) -> ::windows::core::Result; - fn SetscreenPixelToMillimeterY(&self, v: f32) -> ::windows::core::Result<()>; - fn screenPixelToMillimeterY(&self) -> ::windows::core::Result; - fn SetuseCurrentView(&self, v: i16) -> ::windows::core::Result<()>; - fn useCurrentView(&self) -> ::windows::core::Result; - fn putref_currentView(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn currentView(&self) -> ::windows::core::Result; - fn SetcurrentScale(&self, v: f32) -> ::windows::core::Result<()>; - fn currentScale(&self) -> ::windows::core::Result; - fn putref_currentTranslate(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn currentTranslate(&self) -> ::windows::core::Result; - fn suspendRedraw(&self, maxwaitmilliseconds: u32) -> ::windows::core::Result; - fn unsuspendRedraw(&self, suspendhandeid: u32) -> ::windows::core::Result<()>; - fn unsuspendRedrawAll(&self) -> ::windows::core::Result<()>; - fn forceRedraw(&self) -> ::windows::core::Result<()>; - fn pauseAnimations(&self) -> ::windows::core::Result<()>; - fn unpauseAnimations(&self) -> ::windows::core::Result<()>; - fn animationsPaused(&self) -> ::windows::core::Result; - fn getCurrentTime(&self) -> ::windows::core::Result; - fn setCurrentTime(&self, seconds: f32) -> ::windows::core::Result<()>; - fn getIntersectionList(&self, rect: &::core::option::Option, referenceelement: &::core::option::Option) -> ::windows::core::Result; - fn getEnclosureList(&self, rect: &::core::option::Option, referenceelement: &::core::option::Option) -> ::windows::core::Result; - fn checkIntersection(&self, element: &::core::option::Option, rect: &::core::option::Option) -> ::windows::core::Result; - fn checkEnclosure(&self, element: &::core::option::Option, rect: &::core::option::Option) -> ::windows::core::Result; - fn deselectAll(&self) -> ::windows::core::Result<()>; - fn createSVGNumber(&self) -> ::windows::core::Result; - fn createSVGLength(&self) -> ::windows::core::Result; - fn createSVGAngle(&self) -> ::windows::core::Result; - fn createSVGPoint(&self) -> ::windows::core::Result; - fn createSVGMatrix(&self) -> ::windows::core::Result; - fn createSVGRect(&self) -> ::windows::core::Result; - fn createSVGTransform(&self) -> ::windows::core::Result; - fn createSVGTransformFromMatrix(&self, matrix: &::core::option::Option) -> ::windows::core::Result; - fn getElementById(&self, elementid: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGSVGElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGSVGElement_Vtbl { - pub const fn new, Impl: ISVGSVGElement_Impl, const OFFSET: isize>() -> ISVGSVGElement_Vtbl { - unsafe extern "system" fn putref_x, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_x(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_y, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_y(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_width, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_width(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_height, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_height(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn height, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcontentScriptType, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcontentScriptType(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn contentScriptType, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.contentScriptType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcontentStyleType, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcontentStyleType(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn contentStyleType, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.contentStyleType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_viewport, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_viewport(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn viewport, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.viewport() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpixelUnitToMillimeterX, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpixelUnitToMillimeterX(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn pixelUnitToMillimeterX, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pixelUnitToMillimeterX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpixelUnitToMillimeterY, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpixelUnitToMillimeterY(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn pixelUnitToMillimeterY, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pixelUnitToMillimeterY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscreenPixelToMillimeterX, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscreenPixelToMillimeterX(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn screenPixelToMillimeterX, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.screenPixelToMillimeterX() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetscreenPixelToMillimeterY, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetscreenPixelToMillimeterY(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn screenPixelToMillimeterY, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.screenPixelToMillimeterY() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetuseCurrentView, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetuseCurrentView(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn useCurrentView, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.useCurrentView() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_currentView, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_currentView(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn currentView, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.currentView() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcurrentScale, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcurrentScale(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn currentScale, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.currentScale() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_currentTranslate, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_currentTranslate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn currentTranslate, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.currentTranslate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn suspendRedraw, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, maxwaitmilliseconds: u32, presult: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.suspendRedraw(::core::mem::transmute_copy(&maxwaitmilliseconds)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn unsuspendRedraw, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, suspendhandeid: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.unsuspendRedraw(::core::mem::transmute_copy(&suspendhandeid)).into() - } - unsafe extern "system" fn unsuspendRedrawAll, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.unsuspendRedrawAll().into() - } - unsafe extern "system" fn forceRedraw, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.forceRedraw().into() - } - unsafe extern "system" fn pauseAnimations, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.pauseAnimations().into() - } - unsafe extern "system" fn unpauseAnimations, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.unpauseAnimations().into() - } - unsafe extern "system" fn animationsPaused, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, presult: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animationsPaused() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getCurrentTime, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, presult: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getCurrentTime() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setCurrentTime, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, seconds: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setCurrentTime(::core::mem::transmute_copy(&seconds)).into() - } - unsafe extern "system" fn getIntersectionList, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, rect: *mut ::core::ffi::c_void, referenceelement: *mut ::core::ffi::c_void, presult: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getIntersectionList(::core::mem::transmute(&rect), ::core::mem::transmute(&referenceelement)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getEnclosureList, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, rect: *mut ::core::ffi::c_void, referenceelement: *mut ::core::ffi::c_void, presult: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getEnclosureList(::core::mem::transmute(&rect), ::core::mem::transmute(&referenceelement)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn checkIntersection, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, element: *mut ::core::ffi::c_void, rect: *mut ::core::ffi::c_void, presult: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.checkIntersection(::core::mem::transmute(&element), ::core::mem::transmute(&rect)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn checkEnclosure, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, element: *mut ::core::ffi::c_void, rect: *mut ::core::ffi::c_void, presult: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.checkEnclosure(::core::mem::transmute(&element), ::core::mem::transmute(&rect)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deselectAll, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.deselectAll().into() - } - unsafe extern "system" fn createSVGNumber, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGNumber() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGLength, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGLength() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGAngle, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGAngle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGPoint, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGPoint() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGMatrix, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGMatrix() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGRect, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGRect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGTransform, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGTransform() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGTransformFromMatrix, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, matrix: *mut ::core::ffi::c_void, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGTransformFromMatrix(::core::mem::transmute(&matrix)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getElementById, Impl: ISVGSVGElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, elementid: ::core::mem::ManuallyDrop, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getElementById(::core::mem::transmute(&elementid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_x: putref_x::, - x: x::, - putref_y: putref_y::, - y: y::, - putref_width: putref_width::, - width: width::, - putref_height: putref_height::, - height: height::, - SetcontentScriptType: SetcontentScriptType::, - contentScriptType: contentScriptType::, - SetcontentStyleType: SetcontentStyleType::, - contentStyleType: contentStyleType::, - putref_viewport: putref_viewport::, - viewport: viewport::, - SetpixelUnitToMillimeterX: SetpixelUnitToMillimeterX::, - pixelUnitToMillimeterX: pixelUnitToMillimeterX::, - SetpixelUnitToMillimeterY: SetpixelUnitToMillimeterY::, - pixelUnitToMillimeterY: pixelUnitToMillimeterY::, - SetscreenPixelToMillimeterX: SetscreenPixelToMillimeterX::, - screenPixelToMillimeterX: screenPixelToMillimeterX::, - SetscreenPixelToMillimeterY: SetscreenPixelToMillimeterY::, - screenPixelToMillimeterY: screenPixelToMillimeterY::, - SetuseCurrentView: SetuseCurrentView::, - useCurrentView: useCurrentView::, - putref_currentView: putref_currentView::, - currentView: currentView::, - SetcurrentScale: SetcurrentScale::, - currentScale: currentScale::, - putref_currentTranslate: putref_currentTranslate::, - currentTranslate: currentTranslate::, - suspendRedraw: suspendRedraw::, - unsuspendRedraw: unsuspendRedraw::, - unsuspendRedrawAll: unsuspendRedrawAll::, - forceRedraw: forceRedraw::, - pauseAnimations: pauseAnimations::, - unpauseAnimations: unpauseAnimations::, - animationsPaused: animationsPaused::, - getCurrentTime: getCurrentTime::, - setCurrentTime: setCurrentTime::, - getIntersectionList: getIntersectionList::, - getEnclosureList: getEnclosureList::, - checkIntersection: checkIntersection::, - checkEnclosure: checkEnclosure::, - deselectAll: deselectAll::, - createSVGNumber: createSVGNumber::, - createSVGLength: createSVGLength::, - createSVGAngle: createSVGAngle::, - createSVGPoint: createSVGPoint::, - createSVGMatrix: createSVGMatrix::, - createSVGRect: createSVGRect::, - createSVGTransform: createSVGTransform::, - createSVGTransformFromMatrix: createSVGTransformFromMatrix::, - getElementById: getElementById::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGScriptElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Settype(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGScriptElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGScriptElement_Vtbl { - pub const fn new, Impl: ISVGScriptElement_Impl, const OFFSET: isize>() -> ISVGScriptElement_Vtbl { - unsafe extern "system" fn Settype, Impl: ISVGScriptElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settype(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#type, Impl: ISVGScriptElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Settype: Settype::, - r#type: r#type::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGStopElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_offset(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn offset(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGStopElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGStopElement_Vtbl { - pub const fn new, Impl: ISVGStopElement_Impl, const OFFSET: isize>() -> ISVGStopElement_Vtbl { - unsafe extern "system" fn putref_offset, Impl: ISVGStopElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_offset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn offset, Impl: ISVGStopElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.offset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_offset: putref_offset::, - offset: offset::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGStringList_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetnumberOfItems(&self, v: i32) -> ::windows::core::Result<()>; - fn numberOfItems(&self) -> ::windows::core::Result; - fn clear(&self) -> ::windows::core::Result<()>; - fn initialize(&self, newitem: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn getItem(&self, index: i32) -> ::windows::core::Result; - fn insertItemBefore(&self, newitem: &super::super::Foundation::BSTR, index: i32) -> ::windows::core::Result; - fn replaceItem(&self, newitem: &super::super::Foundation::BSTR, index: i32) -> ::windows::core::Result; - fn removeItem(&self, index: i32) -> ::windows::core::Result; - fn appendItem(&self, newitem: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGStringList {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGStringList_Vtbl { - pub const fn new, Impl: ISVGStringList_Impl, const OFFSET: isize>() -> ISVGStringList_Vtbl { - unsafe extern "system" fn SetnumberOfItems, Impl: ISVGStringList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnumberOfItems(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn numberOfItems, Impl: ISVGStringList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.numberOfItems() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clear, Impl: ISVGStringList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.clear().into() - } - unsafe extern "system" fn initialize, Impl: ISVGStringList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: ::core::mem::ManuallyDrop, ppresult: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.initialize(::core::mem::transmute(&newitem)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getItem, Impl: ISVGStringList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getItem(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertItemBefore, Impl: ISVGStringList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: ::core::mem::ManuallyDrop, index: i32, ppresult: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertItemBefore(::core::mem::transmute(&newitem), ::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn replaceItem, Impl: ISVGStringList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: ::core::mem::ManuallyDrop, index: i32, ppresult: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.replaceItem(::core::mem::transmute(&newitem), ::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeItem, Impl: ISVGStringList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeItem(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn appendItem, Impl: ISVGStringList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: ::core::mem::ManuallyDrop, ppresult: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.appendItem(::core::mem::transmute(&newitem)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetnumberOfItems: SetnumberOfItems::, - numberOfItems: numberOfItems::, - clear: clear::, - initialize: initialize::, - getItem: getItem::, - insertItemBefore: insertItemBefore::, - replaceItem: replaceItem::, - removeItem: removeItem::, - appendItem: appendItem::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGStylable_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn className(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGStylable {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGStylable_Vtbl { - pub const fn new, Impl: ISVGStylable_Impl, const OFFSET: isize>() -> ISVGStylable_Vtbl { - unsafe extern "system" fn className, Impl: ISVGStylable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.className() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), className: className:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGStyleElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Settype(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; - fn Setmedia(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn media(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGStyleElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGStyleElement_Vtbl { - pub const fn new, Impl: ISVGStyleElement_Impl, const OFFSET: isize>() -> ISVGStyleElement_Vtbl { - unsafe extern "system" fn Settype, Impl: ISVGStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settype(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn r#type, Impl: ISVGStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setmedia, Impl: ISVGStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setmedia(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn media, Impl: ISVGStyleElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.media() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Settype: Settype::, - r#type: r#type::, - Setmedia: Setmedia::, - media: media::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGSwitchElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGSwitchElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGSwitchElement_Vtbl { - pub const fn new, Impl: ISVGSwitchElement_Impl, const OFFSET: isize>() -> ISVGSwitchElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGSymbolElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGSymbolElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGSymbolElement_Vtbl { - pub const fn new, Impl: ISVGSymbolElement_Impl, const OFFSET: isize>() -> ISVGSymbolElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGTSpanElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGTSpanElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGTSpanElement_Vtbl { - pub const fn new, Impl: ISVGTSpanElement_Impl, const OFFSET: isize>() -> ISVGTSpanElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGTests_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn requiredFeatures(&self) -> ::windows::core::Result; - fn requiredExtensions(&self) -> ::windows::core::Result; - fn systemLanguage(&self) -> ::windows::core::Result; - fn hasExtension(&self, extension: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGTests {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGTests_Vtbl { - pub const fn new, Impl: ISVGTests_Impl, const OFFSET: isize>() -> ISVGTests_Vtbl { - unsafe extern "system" fn requiredFeatures, Impl: ISVGTests_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.requiredFeatures() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn requiredExtensions, Impl: ISVGTests_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.requiredExtensions() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn systemLanguage, Impl: ISVGTests_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.systemLanguage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn hasExtension, Impl: ISVGTests_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, extension: ::core::mem::ManuallyDrop, presult: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.hasExtension(::core::mem::transmute(&extension)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - requiredFeatures: requiredFeatures::, - requiredExtensions: requiredExtensions::, - systemLanguage: systemLanguage::, - hasExtension: hasExtension::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGTextContentElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_textLength(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn textLength(&self) -> ::windows::core::Result; - fn putref_lengthAdjust(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn lengthAdjust(&self) -> ::windows::core::Result; - fn getNumberOfChars(&self) -> ::windows::core::Result; - fn getComputedTextLength(&self) -> ::windows::core::Result; - fn getSubStringLength(&self, charnum: i32, nchars: i32) -> ::windows::core::Result; - fn getStartPositionOfChar(&self, charnum: i32) -> ::windows::core::Result; - fn getEndPositionOfChar(&self, charnum: i32) -> ::windows::core::Result; - fn getExtentOfChar(&self, charnum: i32) -> ::windows::core::Result; - fn getRotationOfChar(&self, charnum: i32) -> ::windows::core::Result; - fn getCharNumAtPosition(&self, point: &::core::option::Option) -> ::windows::core::Result; - fn selectSubString(&self, charnum: i32, nchars: i32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGTextContentElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGTextContentElement_Vtbl { - pub const fn new, Impl: ISVGTextContentElement_Impl, const OFFSET: isize>() -> ISVGTextContentElement_Vtbl { - unsafe extern "system" fn putref_textLength, Impl: ISVGTextContentElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_textLength(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn textLength, Impl: ISVGTextContentElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.textLength() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_lengthAdjust, Impl: ISVGTextContentElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_lengthAdjust(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn lengthAdjust, Impl: ISVGTextContentElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.lengthAdjust() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getNumberOfChars, Impl: ISVGTextContentElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, presult: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getNumberOfChars() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getComputedTextLength, Impl: ISVGTextContentElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, presult: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getComputedTextLength() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getSubStringLength, Impl: ISVGTextContentElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, charnum: i32, nchars: i32, presult: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getSubStringLength(::core::mem::transmute_copy(&charnum), ::core::mem::transmute_copy(&nchars)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getStartPositionOfChar, Impl: ISVGTextContentElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, charnum: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getStartPositionOfChar(::core::mem::transmute_copy(&charnum)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getEndPositionOfChar, Impl: ISVGTextContentElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, charnum: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getEndPositionOfChar(::core::mem::transmute_copy(&charnum)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getExtentOfChar, Impl: ISVGTextContentElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, charnum: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getExtentOfChar(::core::mem::transmute_copy(&charnum)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getRotationOfChar, Impl: ISVGTextContentElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, charnum: i32, presult: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getRotationOfChar(::core::mem::transmute_copy(&charnum)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getCharNumAtPosition, Impl: ISVGTextContentElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, point: *mut ::core::ffi::c_void, presult: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getCharNumAtPosition(::core::mem::transmute(&point)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(presult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn selectSubString, Impl: ISVGTextContentElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, charnum: i32, nchars: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.selectSubString(::core::mem::transmute_copy(&charnum), ::core::mem::transmute_copy(&nchars)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_textLength: putref_textLength::, - textLength: textLength::, - putref_lengthAdjust: putref_lengthAdjust::, - lengthAdjust: lengthAdjust::, - getNumberOfChars: getNumberOfChars::, - getComputedTextLength: getComputedTextLength::, - getSubStringLength: getSubStringLength::, - getStartPositionOfChar: getStartPositionOfChar::, - getEndPositionOfChar: getEndPositionOfChar::, - getExtentOfChar: getExtentOfChar::, - getRotationOfChar: getRotationOfChar::, - getCharNumAtPosition: getCharNumAtPosition::, - selectSubString: selectSubString::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGTextElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGTextElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGTextElement_Vtbl { - pub const fn new, Impl: ISVGTextElement_Impl, const OFFSET: isize>() -> ISVGTextElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGTextPathElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_startOffset(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn startOffset(&self) -> ::windows::core::Result; - fn putref_method(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn method(&self) -> ::windows::core::Result; - fn putref_spacing(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn spacing(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGTextPathElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGTextPathElement_Vtbl { - pub const fn new, Impl: ISVGTextPathElement_Impl, const OFFSET: isize>() -> ISVGTextPathElement_Vtbl { - unsafe extern "system" fn putref_startOffset, Impl: ISVGTextPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_startOffset(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn startOffset, Impl: ISVGTextPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.startOffset() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_method, Impl: ISVGTextPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_method(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn method, Impl: ISVGTextPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.method() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_spacing, Impl: ISVGTextPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_spacing(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn spacing, Impl: ISVGTextPathElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.spacing() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_startOffset: putref_startOffset::, - startOffset: startOffset::, - putref_method: putref_method::, - method: method::, - putref_spacing: putref_spacing::, - spacing: spacing::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGTextPositioningElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_x(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn putref_y(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn putref_dx(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn dx(&self) -> ::windows::core::Result; - fn putref_dy(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn dy(&self) -> ::windows::core::Result; - fn putref_rotate(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn rotate(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGTextPositioningElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGTextPositioningElement_Vtbl { - pub const fn new, Impl: ISVGTextPositioningElement_Impl, const OFFSET: isize>() -> ISVGTextPositioningElement_Vtbl { - unsafe extern "system" fn putref_x, Impl: ISVGTextPositioningElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_x(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGTextPositioningElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_y, Impl: ISVGTextPositioningElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_y(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGTextPositioningElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_dx, Impl: ISVGTextPositioningElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_dx(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dx, Impl: ISVGTextPositioningElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dx() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_dy, Impl: ISVGTextPositioningElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_dy(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn dy, Impl: ISVGTextPositioningElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.dy() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_rotate, Impl: ISVGTextPositioningElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_rotate(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn rotate, Impl: ISVGTextPositioningElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.rotate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_x: putref_x::, - x: x::, - putref_y: putref_y::, - y: y::, - putref_dx: putref_dx::, - dx: dx::, - putref_dy: putref_dy::, - dy: dy::, - putref_rotate: putref_rotate::, - rotate: rotate::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGTitleElement_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGTitleElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGTitleElement_Vtbl { - pub const fn new, Impl: ISVGTitleElement_Impl, const OFFSET: isize>() -> ISVGTitleElement_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGTransform_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn Settype(&self, v: i16) -> ::windows::core::Result<()>; - fn r#type(&self) -> ::windows::core::Result; - fn putref_matrix(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn matrix(&self) -> ::windows::core::Result; - fn Setangle(&self, v: f32) -> ::windows::core::Result<()>; - fn angle(&self) -> ::windows::core::Result; - fn setMatrix(&self, matrix: &::core::option::Option) -> ::windows::core::Result<()>; - fn setTranslate(&self, tx: f32, ty: f32) -> ::windows::core::Result<()>; - fn setScale(&self, sx: f32, sy: f32) -> ::windows::core::Result<()>; - fn setRotate(&self, angle: f32, cx: f32, cy: f32) -> ::windows::core::Result<()>; - fn setSkewX(&self, angle: f32) -> ::windows::core::Result<()>; - fn setSkewY(&self, angle: f32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGTransform {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGTransform_Vtbl { - pub const fn new, Impl: ISVGTransform_Impl, const OFFSET: isize>() -> ISVGTransform_Vtbl { - unsafe extern "system" fn Settype, Impl: ISVGTransform_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Settype(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn r#type, Impl: ISVGTransform_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.r#type() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_matrix, Impl: ISVGTransform_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_matrix(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn matrix, Impl: ISVGTransform_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.matrix() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setangle, Impl: ISVGTransform_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setangle(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn angle, Impl: ISVGTransform_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.angle() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn setMatrix, Impl: ISVGTransform_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, matrix: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setMatrix(::core::mem::transmute(&matrix)).into() - } - unsafe extern "system" fn setTranslate, Impl: ISVGTransform_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, tx: f32, ty: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setTranslate(::core::mem::transmute_copy(&tx), ::core::mem::transmute_copy(&ty)).into() - } - unsafe extern "system" fn setScale, Impl: ISVGTransform_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, sx: f32, sy: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setScale(::core::mem::transmute_copy(&sx), ::core::mem::transmute_copy(&sy)).into() - } - unsafe extern "system" fn setRotate, Impl: ISVGTransform_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, angle: f32, cx: f32, cy: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setRotate(::core::mem::transmute_copy(&angle), ::core::mem::transmute_copy(&cx), ::core::mem::transmute_copy(&cy)).into() - } - unsafe extern "system" fn setSkewX, Impl: ISVGTransform_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, angle: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setSkewX(::core::mem::transmute_copy(&angle)).into() - } - unsafe extern "system" fn setSkewY, Impl: ISVGTransform_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, angle: f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setSkewY(::core::mem::transmute_copy(&angle)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - Settype: Settype::, - r#type: r#type::, - putref_matrix: putref_matrix::, - matrix: matrix::, - Setangle: Setangle::, - angle: angle::, - setMatrix: setMatrix::, - setTranslate: setTranslate::, - setScale: setScale::, - setRotate: setRotate::, - setSkewX: setSkewX::, - setSkewY: setSkewY::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGTransformList_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetnumberOfItems(&self, v: i32) -> ::windows::core::Result<()>; - fn numberOfItems(&self) -> ::windows::core::Result; - fn clear(&self) -> ::windows::core::Result<()>; - fn initialize(&self, newitem: &::core::option::Option) -> ::windows::core::Result; - fn getItem(&self, index: i32) -> ::windows::core::Result; - fn insertItemBefore(&self, newitem: &::core::option::Option, index: i32) -> ::windows::core::Result; - fn replaceItem(&self, newitem: &::core::option::Option, index: i32) -> ::windows::core::Result; - fn removeItem(&self, index: i32) -> ::windows::core::Result; - fn appendItem(&self, newitem: &::core::option::Option) -> ::windows::core::Result; - fn createSVGTransformFromMatrix(&self, newitem: &::core::option::Option) -> ::windows::core::Result; - fn consolidate(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGTransformList {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGTransformList_Vtbl { - pub const fn new, Impl: ISVGTransformList_Impl, const OFFSET: isize>() -> ISVGTransformList_Vtbl { - unsafe extern "system" fn SetnumberOfItems, Impl: ISVGTransformList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetnumberOfItems(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn numberOfItems, Impl: ISVGTransformList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.numberOfItems() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clear, Impl: ISVGTransformList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.clear().into() - } - unsafe extern "system" fn initialize, Impl: ISVGTransformList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.initialize(::core::mem::transmute(&newitem)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getItem, Impl: ISVGTransformList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getItem(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn insertItemBefore, Impl: ISVGTransformList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.insertItemBefore(::core::mem::transmute(&newitem), ::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn replaceItem, Impl: ISVGTransformList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.replaceItem(::core::mem::transmute(&newitem), ::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn removeItem, Impl: ISVGTransformList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.removeItem(::core::mem::transmute_copy(&index)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn appendItem, Impl: ISVGTransformList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.appendItem(::core::mem::transmute(&newitem)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn createSVGTransformFromMatrix, Impl: ISVGTransformList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.createSVGTransformFromMatrix(::core::mem::transmute(&newitem)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn consolidate, Impl: ISVGTransformList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.consolidate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppresult, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetnumberOfItems: SetnumberOfItems::, - numberOfItems: numberOfItems::, - clear: clear::, - initialize: initialize::, - getItem: getItem::, - insertItemBefore: insertItemBefore::, - replaceItem: replaceItem::, - removeItem: removeItem::, - appendItem: appendItem::, - createSVGTransformFromMatrix: createSVGTransformFromMatrix::, - consolidate: consolidate::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGTransformable_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn transform(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGTransformable {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGTransformable_Vtbl { - pub const fn new, Impl: ISVGTransformable_Impl, const OFFSET: isize>() -> ISVGTransformable_Vtbl { - unsafe extern "system" fn transform, Impl: ISVGTransformable_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.transform() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), transform: transform:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGURIReference_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn href(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGURIReference {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGURIReference_Vtbl { - pub const fn new, Impl: ISVGURIReference_Impl, const OFFSET: isize>() -> ISVGURIReference_Vtbl { - unsafe extern "system" fn href, Impl: ISVGURIReference_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.href() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), href: href:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGUseElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_x(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn x(&self) -> ::windows::core::Result; - fn putref_y(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn y(&self) -> ::windows::core::Result; - fn putref_width(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn width(&self) -> ::windows::core::Result; - fn putref_height(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn height(&self) -> ::windows::core::Result; - fn putref_instanceRoot(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn instanceRoot(&self) -> ::windows::core::Result; - fn putref_animatedInstanceRoot(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn animatedInstanceRoot(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGUseElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGUseElement_Vtbl { - pub const fn new, Impl: ISVGUseElement_Impl, const OFFSET: isize>() -> ISVGUseElement_Vtbl { - unsafe extern "system" fn putref_x, Impl: ISVGUseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_x(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn x, Impl: ISVGUseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.x() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_y, Impl: ISVGUseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_y(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn y, Impl: ISVGUseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.y() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_width, Impl: ISVGUseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_width(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn width, Impl: ISVGUseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.width() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_height, Impl: ISVGUseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_height(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn height, Impl: ISVGUseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.height() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_instanceRoot, Impl: ISVGUseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_instanceRoot(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn instanceRoot, Impl: ISVGUseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.instanceRoot() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn putref_animatedInstanceRoot, Impl: ISVGUseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_animatedInstanceRoot(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn animatedInstanceRoot, Impl: ISVGUseElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.animatedInstanceRoot() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_x: putref_x::, - x: x::, - putref_y: putref_y::, - y: y::, - putref_width: putref_width::, - width: width::, - putref_height: putref_height::, - height: height::, - putref_instanceRoot: putref_instanceRoot::, - instanceRoot: instanceRoot::, - putref_animatedInstanceRoot: putref_animatedInstanceRoot::, - animatedInstanceRoot: animatedInstanceRoot::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGViewElement_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn putref_viewTarget(&self, v: &::core::option::Option) -> ::windows::core::Result<()>; - fn viewTarget(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGViewElement {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGViewElement_Vtbl { - pub const fn new, Impl: ISVGViewElement_Impl, const OFFSET: isize>() -> ISVGViewElement_Vtbl { - unsafe extern "system" fn putref_viewTarget, Impl: ISVGViewElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.putref_viewTarget(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn viewTarget, Impl: ISVGViewElement_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.viewTarget() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - putref_viewTarget: putref_viewTarget::, - viewTarget: viewTarget::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGViewSpec_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGViewSpec {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGViewSpec_Vtbl { - pub const fn new, Impl: ISVGViewSpec_Impl, const OFFSET: isize>() -> ISVGViewSpec_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGZoomAndPan_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn zoomAndPan(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGZoomAndPan {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGZoomAndPan_Vtbl { - pub const fn new, Impl: ISVGZoomAndPan_Impl, const OFFSET: isize>() -> ISVGZoomAndPan_Vtbl { - unsafe extern "system" fn zoomAndPan, Impl: ISVGZoomAndPan_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.zoomAndPan() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), zoomAndPan: zoomAndPan:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ISVGZoomEvent_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn zoomRectScreen(&self) -> ::windows::core::Result; - fn previousScale(&self) -> ::windows::core::Result; - fn previousTranslate(&self) -> ::windows::core::Result; - fn newScale(&self) -> ::windows::core::Result; - fn newTranslate(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ISVGZoomEvent {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ISVGZoomEvent_Vtbl { - pub const fn new, Impl: ISVGZoomEvent_Impl, const OFFSET: isize>() -> ISVGZoomEvent_Vtbl { - unsafe extern "system" fn zoomRectScreen, Impl: ISVGZoomEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.zoomRectScreen() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn previousScale, Impl: ISVGZoomEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.previousScale() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn previousTranslate, Impl: ISVGZoomEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.previousTranslate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn newScale, Impl: ISVGZoomEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.newScale() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn newTranslate, Impl: ISVGZoomEvent_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.newTranslate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - zoomRectScreen: zoomRectScreen::, - previousScale: previousScale::, - previousTranslate: previousTranslate::, - newScale: newScale::, - newTranslate: newTranslate::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub trait IScriptEventHandler_Impl: Sized { - fn FunctionName(&self) -> ::windows::core::Result; - fn DebugDocumentContext(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn EventHandlerDispatch(&self) -> ::windows::core::Result; - fn UsesCapture(&self) -> ::windows::core::Result; - fn Cookie(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::windows::core::RuntimeName for IScriptEventHandler {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl IScriptEventHandler_Vtbl { - pub const fn new, Impl: IScriptEventHandler_Impl, const OFFSET: isize>() -> IScriptEventHandler_Vtbl { - unsafe extern "system" fn FunctionName, Impl: IScriptEventHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstrfunctionname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.FunctionName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrfunctionname, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn DebugDocumentContext, Impl: IScriptEventHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppdebugdocumentcontext: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.DebugDocumentContext() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppdebugdocumentcontext, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn EventHandlerDispatch, Impl: IScriptEventHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppdisphandler: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.EventHandlerDispatch() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppdisphandler, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn UsesCapture, Impl: IScriptEventHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfusescapture: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.UsesCapture() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfusescapture, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Cookie, Impl: IScriptEventHandler_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pullcookie: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Cookie() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pullcookie, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - FunctionName: FunctionName::, - DebugDocumentContext: DebugDocumentContext::, - EventHandlerDispatch: EventHandlerDispatch::, - UsesCapture: UsesCapture::, - Cookie: Cookie::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IScriptEventHandlerSourceInfo_Impl: Sized { - fn GetSourceInfo(&self, pbstrfunctionname: *mut super::super::Foundation::BSTR, line: *mut u32, column: *mut u32, cchlength: *mut u32) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IScriptEventHandlerSourceInfo {} -#[cfg(feature = "Win32_Foundation")] -impl IScriptEventHandlerSourceInfo_Vtbl { - pub const fn new, Impl: IScriptEventHandlerSourceInfo_Impl, const OFFSET: isize>() -> IScriptEventHandlerSourceInfo_Vtbl { - unsafe extern "system" fn GetSourceInfo, Impl: IScriptEventHandlerSourceInfo_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstrfunctionname: *mut super::super::Foundation::BSTR, line: *mut u32, column: *mut u32, cchlength: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetSourceInfo(::core::mem::transmute_copy(&pbstrfunctionname), ::core::mem::transmute_copy(&line), ::core::mem::transmute_copy(&column), ::core::mem::transmute_copy(&cchlength)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), GetSourceInfo: GetSourceInfo:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IScrollableContextMenu_Impl: Sized { - fn AddItem(&self, itemtext: &::windows::core::PCWSTR, cmdid: u32) -> ::windows::core::Result<()>; - fn ShowModal(&self, x: i32, y: i32) -> ::windows::core::Result; -} -impl ::windows::core::RuntimeName for IScrollableContextMenu {} -impl IScrollableContextMenu_Vtbl { - pub const fn new, Impl: IScrollableContextMenu_Impl, const OFFSET: isize>() -> IScrollableContextMenu_Vtbl { - unsafe extern "system" fn AddItem, Impl: IScrollableContextMenu_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, itemtext: ::windows::core::PCWSTR, cmdid: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.AddItem(::core::mem::transmute(&itemtext), ::core::mem::transmute_copy(&cmdid)).into() - } - unsafe extern "system" fn ShowModal, Impl: IScrollableContextMenu_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: i32, y: i32, cmdid: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ShowModal(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(cmdid, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - AddItem: AddItem::, - ShowModal: ShowModal::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IScrollableContextMenu2_Impl: Sized + IScrollableContextMenu_Impl { - fn AddSeparator(&self) -> ::windows::core::Result<()>; - fn SetPlacement(&self, scmp: SCROLLABLECONTEXTMENU_PLACEMENT) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IScrollableContextMenu2 {} -impl IScrollableContextMenu2_Vtbl { - pub const fn new, Impl: IScrollableContextMenu2_Impl, const OFFSET: isize>() -> IScrollableContextMenu2_Vtbl { - unsafe extern "system" fn AddSeparator, Impl: IScrollableContextMenu2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.AddSeparator().into() - } - unsafe extern "system" fn SetPlacement, Impl: IScrollableContextMenu2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, scmp: SCROLLABLECONTEXTMENU_PLACEMENT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetPlacement(::core::mem::transmute_copy(&scmp)).into() - } - Self { - base__: IScrollableContextMenu_Vtbl::new::(), - AddSeparator: AddSeparator::, - SetPlacement: SetPlacement::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait ISecureUrlHost_Impl: Sized { - fn ValidateSecureUrl(&self, pfallow: *mut super::super::Foundation::BOOL, pchurlinquestion: &::windows::core::PCWSTR, dwflags: u32) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for ISecureUrlHost {} -#[cfg(feature = "Win32_Foundation")] -impl ISecureUrlHost_Vtbl { - pub const fn new, Impl: ISecureUrlHost_Impl, const OFFSET: isize>() -> ISecureUrlHost_Vtbl { - unsafe extern "system" fn ValidateSecureUrl, Impl: ISecureUrlHost_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfallow: *mut super::super::Foundation::BOOL, pchurlinquestion: ::windows::core::PCWSTR, dwflags: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ValidateSecureUrl(::core::mem::transmute_copy(&pfallow), ::core::mem::transmute(&pchurlinquestion), ::core::mem::transmute_copy(&dwflags)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), ValidateSecureUrl: ValidateSecureUrl:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait ISegment_Impl: Sized { - fn GetPointers(&self, pistart: &::core::option::Option, piend: &::core::option::Option) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for ISegment {} -impl ISegment_Vtbl { - pub const fn new, Impl: ISegment_Impl, const OFFSET: isize>() -> ISegment_Vtbl { - unsafe extern "system" fn GetPointers, Impl: ISegment_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pistart: *mut ::core::ffi::c_void, piend: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetPointers(::core::mem::transmute(&pistart), ::core::mem::transmute(&piend)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), GetPointers: GetPointers:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait ISegmentList_Impl: Sized { - fn CreateIterator(&self) -> ::windows::core::Result; - fn GetType(&self) -> ::windows::core::Result; - fn IsEmpty(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for ISegmentList {} -#[cfg(feature = "Win32_Foundation")] -impl ISegmentList_Vtbl { - pub const fn new, Impl: ISegmentList_Impl, const OFFSET: isize>() -> ISegmentList_Vtbl { - unsafe extern "system" fn CreateIterator, Impl: ISegmentList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppiiter: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CreateIterator() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppiiter, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetType, Impl: ISegmentList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, petype: *mut SELECTION_TYPE) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetType() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(petype, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn IsEmpty, Impl: ISegmentList_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfempty: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsEmpty() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfempty, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - CreateIterator: CreateIterator::, - GetType: GetType::, - IsEmpty: IsEmpty::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait ISegmentListIterator_Impl: Sized { - fn Current(&self) -> ::windows::core::Result; - fn First(&self) -> ::windows::core::Result<()>; - fn IsDone(&self) -> ::windows::core::Result<()>; - fn Advance(&self) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for ISegmentListIterator {} -impl ISegmentListIterator_Vtbl { - pub const fn new, Impl: ISegmentListIterator_Impl, const OFFSET: isize>() -> ISegmentListIterator_Vtbl { - unsafe extern "system" fn Current, Impl: ISegmentListIterator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppisegment: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Current() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppisegment, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn First, Impl: ISegmentListIterator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.First().into() - } - unsafe extern "system" fn IsDone, Impl: ISegmentListIterator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.IsDone().into() - } - unsafe extern "system" fn Advance, Impl: ISegmentListIterator_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Advance().into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - Current: Current::, - First: First::, - IsDone: IsDone::, - Advance: Advance::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_System_Com")] -pub trait ISelectionServices_Impl: Sized { - fn SetSelectionType(&self, etype: SELECTION_TYPE, pilistener: &::core::option::Option) -> ::windows::core::Result<()>; - fn GetMarkupContainer(&self) -> ::windows::core::Result; - fn AddSegment(&self, pistart: &::core::option::Option, piend: &::core::option::Option) -> ::windows::core::Result; - fn AddElementSegment(&self, pielement: &::core::option::Option) -> ::windows::core::Result; - fn RemoveSegment(&self, pisegment: &::core::option::Option) -> ::windows::core::Result<()>; - fn GetSelectionServicesListener(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_System_Com")] -impl ::windows::core::RuntimeName for ISelectionServices {} -#[cfg(feature = "Win32_System_Com")] -impl ISelectionServices_Vtbl { - pub const fn new, Impl: ISelectionServices_Impl, const OFFSET: isize>() -> ISelectionServices_Vtbl { - unsafe extern "system" fn SetSelectionType, Impl: ISelectionServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, etype: SELECTION_TYPE, pilistener: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetSelectionType(::core::mem::transmute_copy(&etype), ::core::mem::transmute(&pilistener)).into() - } - unsafe extern "system" fn GetMarkupContainer, Impl: ISelectionServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppicontainer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetMarkupContainer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppicontainer, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn AddSegment, Impl: ISelectionServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pistart: *mut ::core::ffi::c_void, piend: *mut ::core::ffi::c_void, ppisegmentadded: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.AddSegment(::core::mem::transmute(&pistart), ::core::mem::transmute(&piend)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppisegmentadded, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn AddElementSegment, Impl: ISelectionServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pielement: *mut ::core::ffi::c_void, ppisegmentadded: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.AddElementSegment(::core::mem::transmute(&pielement)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppisegmentadded, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn RemoveSegment, Impl: ISelectionServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pisegment: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.RemoveSegment(::core::mem::transmute(&pisegment)).into() - } - unsafe extern "system" fn GetSelectionServicesListener, Impl: ISelectionServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppiselectionserviceslistener: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetSelectionServicesListener() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppiselectionserviceslistener, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - SetSelectionType: SetSelectionType::, - GetMarkupContainer: GetMarkupContainer::, - AddSegment: AddSegment::, - AddElementSegment: AddElementSegment::, - RemoveSegment: RemoveSegment::, - GetSelectionServicesListener: GetSelectionServicesListener::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait ISelectionServicesListener_Impl: Sized { - fn BeginSelectionUndo(&self) -> ::windows::core::Result<()>; - fn EndSelectionUndo(&self) -> ::windows::core::Result<()>; - fn OnSelectedElementExit(&self, pielementstart: &::core::option::Option, pielementend: &::core::option::Option, pielementcontentstart: &::core::option::Option, pielementcontentend: &::core::option::Option) -> ::windows::core::Result<()>; - fn OnChangeType(&self, etype: SELECTION_TYPE, pilistener: &::core::option::Option) -> ::windows::core::Result<()>; - fn GetTypeDetail(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for ISelectionServicesListener {} -#[cfg(feature = "Win32_Foundation")] -impl ISelectionServicesListener_Vtbl { - pub const fn new, Impl: ISelectionServicesListener_Impl, const OFFSET: isize>() -> ISelectionServicesListener_Vtbl { - unsafe extern "system" fn BeginSelectionUndo, Impl: ISelectionServicesListener_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.BeginSelectionUndo().into() - } - unsafe extern "system" fn EndSelectionUndo, Impl: ISelectionServicesListener_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.EndSelectionUndo().into() - } - unsafe extern "system" fn OnSelectedElementExit, Impl: ISelectionServicesListener_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pielementstart: *mut ::core::ffi::c_void, pielementend: *mut ::core::ffi::c_void, pielementcontentstart: *mut ::core::ffi::c_void, pielementcontentend: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnSelectedElementExit(::core::mem::transmute(&pielementstart), ::core::mem::transmute(&pielementend), ::core::mem::transmute(&pielementcontentstart), ::core::mem::transmute(&pielementcontentend)).into() - } - unsafe extern "system" fn OnChangeType, Impl: ISelectionServicesListener_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, etype: SELECTION_TYPE, pilistener: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnChangeType(::core::mem::transmute_copy(&etype), ::core::mem::transmute(&pilistener)).into() - } - unsafe extern "system" fn GetTypeDetail, Impl: ISelectionServicesListener_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ptypedetail: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetTypeDetail() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ptypedetail, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - BeginSelectionUndo: BeginSelectionUndo::, - EndSelectionUndo: EndSelectionUndo::, - OnSelectedElementExit: OnSelectedElementExit::, - OnChangeType: OnChangeType::, - GetTypeDetail: GetTypeDetail::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait ISequenceNumber_Impl: Sized { - fn GetSequenceNumber(&self, ncurrent: i32) -> ::windows::core::Result; -} -impl ::windows::core::RuntimeName for ISequenceNumber {} -impl ISequenceNumber_Vtbl { - pub const fn new, Impl: ISequenceNumber_Impl, const OFFSET: isize>() -> ISequenceNumber_Vtbl { - unsafe extern "system" fn GetSequenceNumber, Impl: ISequenceNumber_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ncurrent: i32, pnnew: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetSequenceNumber(::core::mem::transmute_copy(&ncurrent)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pnnew, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), GetSequenceNumber: GetSequenceNumber:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_System_Com")] -pub trait ISniffStream_Impl: Sized { - fn Init(&self, pstream: &::core::option::Option) -> ::windows::core::Result<()>; - fn Peek(&self, pbuffer: *mut ::core::ffi::c_void, nbytes: u32, pnbytesread: *mut u32) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_System_Com")] -impl ::windows::core::RuntimeName for ISniffStream {} -#[cfg(feature = "Win32_System_Com")] -impl ISniffStream_Vtbl { - pub const fn new, Impl: ISniffStream_Impl, const OFFSET: isize>() -> ISniffStream_Vtbl { - unsafe extern "system" fn Init, Impl: ISniffStream_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pstream: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Init(::core::mem::transmute(&pstream)).into() - } - unsafe extern "system" fn Peek, Impl: ISniffStream_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbuffer: *mut ::core::ffi::c_void, nbytes: u32, pnbytesread: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Peek(::core::mem::transmute_copy(&pbuffer), ::core::mem::transmute_copy(&nbytes), ::core::mem::transmute_copy(&pnbytesread)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), Init: Init::, Peek: Peek:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait ISurfacePresenter_Impl: Sized { - fn Present(&self, ubuffer: u32, pdirty: *const super::super::Foundation::RECT) -> ::windows::core::Result<()>; - fn GetBuffer(&self, backbufferindex: u32, riid: *const ::windows::core::GUID, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; - fn IsCurrent(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for ISurfacePresenter {} -#[cfg(feature = "Win32_Foundation")] -impl ISurfacePresenter_Vtbl { - pub const fn new, Impl: ISurfacePresenter_Impl, const OFFSET: isize>() -> ISurfacePresenter_Vtbl { - unsafe extern "system" fn Present, Impl: ISurfacePresenter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ubuffer: u32, pdirty: *const super::super::Foundation::RECT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Present(::core::mem::transmute_copy(&ubuffer), ::core::mem::transmute_copy(&pdirty)).into() - } - unsafe extern "system" fn GetBuffer, Impl: ISurfacePresenter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, backbufferindex: u32, riid: *const ::windows::core::GUID, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetBuffer(::core::mem::transmute_copy(&backbufferindex), ::core::mem::transmute_copy(&riid), ::core::mem::transmute_copy(&ppbuffer)).into() - } - unsafe extern "system" fn IsCurrent, Impl: ISurfacePresenter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, piscurrent: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsCurrent() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(piscurrent, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - Present: Present::, - GetBuffer: GetBuffer::, - IsCurrent: IsCurrent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait ISurfacePresenterFlip_Impl: Sized { - fn Present(&self) -> ::windows::core::Result<()>; - fn GetBuffer(&self, backbufferindex: u32, riid: *const ::windows::core::GUID, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for ISurfacePresenterFlip {} -impl ISurfacePresenterFlip_Vtbl { - pub const fn new, Impl: ISurfacePresenterFlip_Impl, const OFFSET: isize>() -> ISurfacePresenterFlip_Vtbl { - unsafe extern "system" fn Present, Impl: ISurfacePresenterFlip_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Present().into() - } - unsafe extern "system" fn GetBuffer, Impl: ISurfacePresenterFlip_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, backbufferindex: u32, riid: *const ::windows::core::GUID, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetBuffer(::core::mem::transmute_copy(&backbufferindex), ::core::mem::transmute_copy(&riid), ::core::mem::transmute_copy(&ppbuffer)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - Present: Present::, - GetBuffer: GetBuffer::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -pub trait ISurfacePresenterFlip2_Impl: Sized { - fn SetRotation(&self, dxgirotation: super::super::Graphics::Dxgi::Common::DXGI_MODE_ROTATION) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::windows::core::RuntimeName for ISurfacePresenterFlip2 {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ISurfacePresenterFlip2_Vtbl { - pub const fn new, Impl: ISurfacePresenterFlip2_Impl, const OFFSET: isize>() -> ISurfacePresenterFlip2_Vtbl { - unsafe extern "system" fn SetRotation, Impl: ISurfacePresenterFlip2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dxgirotation: super::super::Graphics::Dxgi::Common::DXGI_MODE_ROTATION) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetRotation(::core::mem::transmute_copy(&dxgirotation)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), SetRotation: SetRotation:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait ISurfacePresenterFlipBuffer_Impl: Sized { - fn BeginDraw(&self, riid: *const ::windows::core::GUID, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; - fn EndDraw(&self) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for ISurfacePresenterFlipBuffer {} -impl ISurfacePresenterFlipBuffer_Vtbl { - pub const fn new, Impl: ISurfacePresenterFlipBuffer_Impl, const OFFSET: isize>() -> ISurfacePresenterFlipBuffer_Vtbl { - unsafe extern "system" fn BeginDraw, Impl: ISurfacePresenterFlipBuffer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, riid: *const ::windows::core::GUID, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.BeginDraw(::core::mem::transmute_copy(&riid), ::core::mem::transmute_copy(&ppbuffer)).into() - } - unsafe extern "system" fn EndDraw, Impl: ISurfacePresenterFlipBuffer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.EndDraw().into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - BeginDraw: BeginDraw::, - EndDraw: EndDraw::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_System_Ole")] -pub trait ITargetContainer_Impl: Sized { - fn GetFrameUrl(&self) -> ::windows::core::Result<::windows::core::PWSTR>; - fn GetFramesContainer(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_System_Ole")] -impl ::windows::core::RuntimeName for ITargetContainer {} -#[cfg(feature = "Win32_System_Ole")] -impl ITargetContainer_Vtbl { - pub const fn new, Impl: ITargetContainer_Impl, const OFFSET: isize>() -> ITargetContainer_Vtbl { - unsafe extern "system" fn GetFrameUrl, Impl: ITargetContainer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppszframesrc: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetFrameUrl() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppszframesrc, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetFramesContainer, Impl: ITargetContainer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppcontainer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetFramesContainer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppcontainer, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - GetFrameUrl: GetFrameUrl::, - GetFramesContainer: GetFramesContainer::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait ITargetEmbedding_Impl: Sized { - fn GetTargetFrame(&self) -> ::windows::core::Result; -} -impl ::windows::core::RuntimeName for ITargetEmbedding {} -impl ITargetEmbedding_Vtbl { - pub const fn new, Impl: ITargetEmbedding_Impl, const OFFSET: isize>() -> ITargetEmbedding_Vtbl { - unsafe extern "system" fn GetTargetFrame, Impl: ITargetEmbedding_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pptargetframe: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetTargetFrame() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pptargetframe, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), GetTargetFrame: GetTargetFrame:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_System_Ole")] -pub trait ITargetFrame_Impl: Sized { - fn SetFrameName(&self, pszframename: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; - fn GetFrameName(&self) -> ::windows::core::Result<::windows::core::PWSTR>; - fn GetParentFrame(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn FindFrame(&self, psztargetname: &::windows::core::PCWSTR, ppunkcontextframe: &::core::option::Option<::windows::core::IUnknown>, dwflags: u32) -> ::windows::core::Result<::windows::core::IUnknown>; - fn SetFrameSrc(&self, pszframesrc: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; - fn GetFrameSrc(&self) -> ::windows::core::Result<::windows::core::PWSTR>; - fn GetFramesContainer(&self) -> ::windows::core::Result; - fn SetFrameOptions(&self, dwflags: u32) -> ::windows::core::Result<()>; - fn GetFrameOptions(&self) -> ::windows::core::Result; - fn SetFrameMargins(&self, dwwidth: u32, dwheight: u32) -> ::windows::core::Result<()>; - fn GetFrameMargins(&self, pdwwidth: *mut u32, pdwheight: *mut u32) -> ::windows::core::Result<()>; - fn RemoteNavigate(&self, clength: u32, puldata: *const u32) -> ::windows::core::Result<()>; - fn OnChildFrameActivate(&self, punkchildframe: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; - fn OnChildFrameDeactivate(&self, punkchildframe: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_System_Ole")] -impl ::windows::core::RuntimeName for ITargetFrame {} -#[cfg(feature = "Win32_System_Ole")] -impl ITargetFrame_Vtbl { - pub const fn new, Impl: ITargetFrame_Impl, const OFFSET: isize>() -> ITargetFrame_Vtbl { - unsafe extern "system" fn SetFrameName, Impl: ITargetFrame_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pszframename: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetFrameName(::core::mem::transmute(&pszframename)).into() - } - unsafe extern "system" fn GetFrameName, Impl: ITargetFrame_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppszframename: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetFrameName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppszframename, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetParentFrame, Impl: ITargetFrame_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppunkparent: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetParentFrame() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppunkparent, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn FindFrame, Impl: ITargetFrame_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, psztargetname: ::windows::core::PCWSTR, ppunkcontextframe: *mut ::core::ffi::c_void, dwflags: u32, ppunktargetframe: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.FindFrame(::core::mem::transmute(&psztargetname), ::core::mem::transmute(&ppunkcontextframe), ::core::mem::transmute_copy(&dwflags)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppunktargetframe, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetFrameSrc, Impl: ITargetFrame_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pszframesrc: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetFrameSrc(::core::mem::transmute(&pszframesrc)).into() - } - unsafe extern "system" fn GetFrameSrc, Impl: ITargetFrame_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppszframesrc: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetFrameSrc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppszframesrc, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetFramesContainer, Impl: ITargetFrame_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppcontainer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetFramesContainer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppcontainer, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetFrameOptions, Impl: ITargetFrame_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetFrameOptions(::core::mem::transmute_copy(&dwflags)).into() - } - unsafe extern "system" fn GetFrameOptions, Impl: ITargetFrame_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdwflags: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetFrameOptions() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdwflags, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetFrameMargins, Impl: ITargetFrame_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwwidth: u32, dwheight: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetFrameMargins(::core::mem::transmute_copy(&dwwidth), ::core::mem::transmute_copy(&dwheight)).into() - } - unsafe extern "system" fn GetFrameMargins, Impl: ITargetFrame_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdwwidth: *mut u32, pdwheight: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetFrameMargins(::core::mem::transmute_copy(&pdwwidth), ::core::mem::transmute_copy(&pdwheight)).into() - } - unsafe extern "system" fn RemoteNavigate, Impl: ITargetFrame_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, clength: u32, puldata: *const u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.RemoteNavigate(::core::mem::transmute_copy(&clength), ::core::mem::transmute_copy(&puldata)).into() - } - unsafe extern "system" fn OnChildFrameActivate, Impl: ITargetFrame_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, punkchildframe: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnChildFrameActivate(::core::mem::transmute(&punkchildframe)).into() - } - unsafe extern "system" fn OnChildFrameDeactivate, Impl: ITargetFrame_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, punkchildframe: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnChildFrameDeactivate(::core::mem::transmute(&punkchildframe)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - SetFrameName: SetFrameName::, - GetFrameName: GetFrameName::, - GetParentFrame: GetParentFrame::, - FindFrame: FindFrame::, - SetFrameSrc: SetFrameSrc::, - GetFrameSrc: GetFrameSrc::, - GetFramesContainer: GetFramesContainer::, - SetFrameOptions: SetFrameOptions::, - GetFrameOptions: GetFrameOptions::, - SetFrameMargins: SetFrameMargins::, - GetFrameMargins: GetFrameMargins::, - RemoteNavigate: RemoteNavigate::, - OnChildFrameActivate: OnChildFrameActivate::, - OnChildFrameDeactivate: OnChildFrameDeactivate::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_System_Ole")] -pub trait ITargetFrame2_Impl: Sized { - fn SetFrameName(&self, pszframename: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; - fn GetFrameName(&self) -> ::windows::core::Result<::windows::core::PWSTR>; - fn GetParentFrame(&self) -> ::windows::core::Result<::windows::core::IUnknown>; - fn SetFrameSrc(&self, pszframesrc: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; - fn GetFrameSrc(&self) -> ::windows::core::Result<::windows::core::PWSTR>; - fn GetFramesContainer(&self) -> ::windows::core::Result; - fn SetFrameOptions(&self, dwflags: u32) -> ::windows::core::Result<()>; - fn GetFrameOptions(&self) -> ::windows::core::Result; - fn SetFrameMargins(&self, dwwidth: u32, dwheight: u32) -> ::windows::core::Result<()>; - fn GetFrameMargins(&self, pdwwidth: *mut u32, pdwheight: *mut u32) -> ::windows::core::Result<()>; - fn FindFrame(&self, psztargetname: &::windows::core::PCWSTR, dwflags: u32) -> ::windows::core::Result<::windows::core::IUnknown>; - fn GetTargetAlias(&self, psztargetname: &::windows::core::PCWSTR) -> ::windows::core::Result<::windows::core::PWSTR>; -} -#[cfg(feature = "Win32_System_Ole")] -impl ::windows::core::RuntimeName for ITargetFrame2 {} -#[cfg(feature = "Win32_System_Ole")] -impl ITargetFrame2_Vtbl { - pub const fn new, Impl: ITargetFrame2_Impl, const OFFSET: isize>() -> ITargetFrame2_Vtbl { - unsafe extern "system" fn SetFrameName, Impl: ITargetFrame2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pszframename: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetFrameName(::core::mem::transmute(&pszframename)).into() - } - unsafe extern "system" fn GetFrameName, Impl: ITargetFrame2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppszframename: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetFrameName() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppszframename, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetParentFrame, Impl: ITargetFrame2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppunkparent: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetParentFrame() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppunkparent, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetFrameSrc, Impl: ITargetFrame2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pszframesrc: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetFrameSrc(::core::mem::transmute(&pszframesrc)).into() - } - unsafe extern "system" fn GetFrameSrc, Impl: ITargetFrame2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppszframesrc: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetFrameSrc() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppszframesrc, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetFramesContainer, Impl: ITargetFrame2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppcontainer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetFramesContainer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppcontainer, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetFrameOptions, Impl: ITargetFrame2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetFrameOptions(::core::mem::transmute_copy(&dwflags)).into() - } - unsafe extern "system" fn GetFrameOptions, Impl: ITargetFrame2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdwflags: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetFrameOptions() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdwflags, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetFrameMargins, Impl: ITargetFrame2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwwidth: u32, dwheight: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetFrameMargins(::core::mem::transmute_copy(&dwwidth), ::core::mem::transmute_copy(&dwheight)).into() - } - unsafe extern "system" fn GetFrameMargins, Impl: ITargetFrame2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdwwidth: *mut u32, pdwheight: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetFrameMargins(::core::mem::transmute_copy(&pdwwidth), ::core::mem::transmute_copy(&pdwheight)).into() - } - unsafe extern "system" fn FindFrame, Impl: ITargetFrame2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, psztargetname: ::windows::core::PCWSTR, dwflags: u32, ppunktargetframe: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.FindFrame(::core::mem::transmute(&psztargetname), ::core::mem::transmute_copy(&dwflags)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppunktargetframe, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetTargetAlias, Impl: ITargetFrame2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, psztargetname: ::windows::core::PCWSTR, ppsztargetalias: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetTargetAlias(::core::mem::transmute(&psztargetname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppsztargetalias, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - SetFrameName: SetFrameName::, - GetFrameName: GetFrameName::, - GetParentFrame: GetParentFrame::, - SetFrameSrc: SetFrameSrc::, - GetFrameSrc: GetFrameSrc::, - GetFramesContainer: GetFramesContainer::, - SetFrameOptions: SetFrameOptions::, - GetFrameOptions: GetFrameOptions::, - SetFrameMargins: SetFrameMargins::, - GetFrameMargins: GetFrameMargins::, - FindFrame: FindFrame::, - GetTargetAlias: GetTargetAlias::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_System_Com")] -pub trait ITargetFramePriv_Impl: Sized { - fn FindFrameDownwards(&self, psztargetname: &::windows::core::PCWSTR, dwflags: u32) -> ::windows::core::Result<::windows::core::IUnknown>; - fn FindFrameInContext(&self, psztargetname: &::windows::core::PCWSTR, punkcontextframe: &::core::option::Option<::windows::core::IUnknown>, dwflags: u32) -> ::windows::core::Result<::windows::core::IUnknown>; - fn OnChildFrameActivate(&self, punkchildframe: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; - fn OnChildFrameDeactivate(&self, punkchildframe: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; - fn NavigateHack(&self, grfhlnf: u32, pbc: &::core::option::Option, pibsc: &::core::option::Option, psztargetname: &::windows::core::PCWSTR, pszurl: &::windows::core::PCWSTR, pszlocation: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; - fn FindBrowserByIndex(&self, dwid: u32) -> ::windows::core::Result<::windows::core::IUnknown>; -} -#[cfg(feature = "Win32_System_Com")] -impl ::windows::core::RuntimeName for ITargetFramePriv {} -#[cfg(feature = "Win32_System_Com")] -impl ITargetFramePriv_Vtbl { - pub const fn new, Impl: ITargetFramePriv_Impl, const OFFSET: isize>() -> ITargetFramePriv_Vtbl { - unsafe extern "system" fn FindFrameDownwards, Impl: ITargetFramePriv_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, psztargetname: ::windows::core::PCWSTR, dwflags: u32, ppunktargetframe: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.FindFrameDownwards(::core::mem::transmute(&psztargetname), ::core::mem::transmute_copy(&dwflags)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppunktargetframe, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn FindFrameInContext, Impl: ITargetFramePriv_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, psztargetname: ::windows::core::PCWSTR, punkcontextframe: *mut ::core::ffi::c_void, dwflags: u32, ppunktargetframe: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.FindFrameInContext(::core::mem::transmute(&psztargetname), ::core::mem::transmute(&punkcontextframe), ::core::mem::transmute_copy(&dwflags)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppunktargetframe, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn OnChildFrameActivate, Impl: ITargetFramePriv_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, punkchildframe: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnChildFrameActivate(::core::mem::transmute(&punkchildframe)).into() - } - unsafe extern "system" fn OnChildFrameDeactivate, Impl: ITargetFramePriv_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, punkchildframe: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnChildFrameDeactivate(::core::mem::transmute(&punkchildframe)).into() - } - unsafe extern "system" fn NavigateHack, Impl: ITargetFramePriv_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, grfhlnf: u32, pbc: *mut ::core::ffi::c_void, pibsc: *mut ::core::ffi::c_void, psztargetname: ::windows::core::PCWSTR, pszurl: ::windows::core::PCWSTR, pszlocation: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.NavigateHack(::core::mem::transmute_copy(&grfhlnf), ::core::mem::transmute(&pbc), ::core::mem::transmute(&pibsc), ::core::mem::transmute(&psztargetname), ::core::mem::transmute(&pszurl), ::core::mem::transmute(&pszlocation)).into() - } - unsafe extern "system" fn FindBrowserByIndex, Impl: ITargetFramePriv_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwid: u32, ppunkbrowser: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.FindBrowserByIndex(::core::mem::transmute_copy(&dwid)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppunkbrowser, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - FindFrameDownwards: FindFrameDownwards::, - FindFrameInContext: FindFrameInContext::, - OnChildFrameActivate: OnChildFrameActivate::, - OnChildFrameDeactivate: OnChildFrameDeactivate::, - NavigateHack: NavigateHack::, - FindBrowserByIndex: FindBrowserByIndex::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_System_Com")] -pub trait ITargetFramePriv2_Impl: Sized + ITargetFramePriv_Impl { - fn AggregatedNavigation2(&self, grfhlnf: u32, pbc: &::core::option::Option, pibsc: &::core::option::Option, psztargetname: &::windows::core::PCWSTR, puri: &::core::option::Option, pszlocation: &::windows::core::PCWSTR) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_System_Com")] -impl ::windows::core::RuntimeName for ITargetFramePriv2 {} -#[cfg(feature = "Win32_System_Com")] -impl ITargetFramePriv2_Vtbl { - pub const fn new, Impl: ITargetFramePriv2_Impl, const OFFSET: isize>() -> ITargetFramePriv2_Vtbl { - unsafe extern "system" fn AggregatedNavigation2, Impl: ITargetFramePriv2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, grfhlnf: u32, pbc: *mut ::core::ffi::c_void, pibsc: *mut ::core::ffi::c_void, psztargetname: ::windows::core::PCWSTR, puri: *mut ::core::ffi::c_void, pszlocation: ::windows::core::PCWSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.AggregatedNavigation2(::core::mem::transmute_copy(&grfhlnf), ::core::mem::transmute(&pbc), ::core::mem::transmute(&pibsc), ::core::mem::transmute(&psztargetname), ::core::mem::transmute(&puri), ::core::mem::transmute(&pszlocation)).into() - } - Self { base__: ITargetFramePriv_Vtbl::new::(), AggregatedNavigation2: AggregatedNavigation2:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -pub trait ITargetNotify_Impl: Sized { - fn OnCreate(&self, punkdestination: &::core::option::Option<::windows::core::IUnknown>, cbcookie: u32) -> ::windows::core::Result<()>; - fn OnReuse(&self, punkdestination: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for ITargetNotify {} -impl ITargetNotify_Vtbl { - pub const fn new, Impl: ITargetNotify_Impl, const OFFSET: isize>() -> ITargetNotify_Vtbl { - unsafe extern "system" fn OnCreate, Impl: ITargetNotify_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, punkdestination: *mut ::core::ffi::c_void, cbcookie: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnCreate(::core::mem::transmute(&punkdestination), ::core::mem::transmute_copy(&cbcookie)).into() - } - unsafe extern "system" fn OnReuse, Impl: ITargetNotify_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, punkdestination: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnReuse(::core::mem::transmute(&punkdestination)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - OnCreate: OnCreate::, - OnReuse: OnReuse::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait ITargetNotify2_Impl: Sized + ITargetNotify_Impl { - fn GetOptionString(&self, pbstroptions: *mut super::super::Foundation::BSTR) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for ITargetNotify2 {} -#[cfg(feature = "Win32_Foundation")] -impl ITargetNotify2_Vtbl { - pub const fn new, Impl: ITargetNotify2_Impl, const OFFSET: isize>() -> ITargetNotify2_Vtbl { - unsafe extern "system" fn GetOptionString, Impl: ITargetNotify2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbstroptions: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetOptionString(::core::mem::transmute_copy(&pbstroptions)).into() - } - Self { base__: ITargetNotify_Vtbl::new::(), GetOptionString: GetOptionString:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ITemplatePrinter_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn startDoc(&self, bstrtitle: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn stopDoc(&self) -> ::windows::core::Result<()>; - fn printBlankPage(&self) -> ::windows::core::Result<()>; - fn printPage(&self, pelemdisp: &::core::option::Option) -> ::windows::core::Result<()>; - fn ensurePrintDialogDefaults(&self) -> ::windows::core::Result; - fn showPrintDialog(&self) -> ::windows::core::Result; - fn showPageSetupDialog(&self) -> ::windows::core::Result; - fn printNonNative(&self, pmarkup: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result; - fn printNonNativeFrames(&self, pmarkup: &::core::option::Option<::windows::core::IUnknown>, factiveframe: i16) -> ::windows::core::Result<()>; - fn SetframesetDocument(&self, v: i16) -> ::windows::core::Result<()>; - fn framesetDocument(&self) -> ::windows::core::Result; - fn SetframeActive(&self, v: i16) -> ::windows::core::Result<()>; - fn frameActive(&self) -> ::windows::core::Result; - fn SetframeAsShown(&self, v: i16) -> ::windows::core::Result<()>; - fn frameAsShown(&self) -> ::windows::core::Result; - fn Setselection(&self, v: i16) -> ::windows::core::Result<()>; - fn selection(&self) -> ::windows::core::Result; - fn SetselectedPages(&self, v: i16) -> ::windows::core::Result<()>; - fn selectedPages(&self) -> ::windows::core::Result; - fn SetcurrentPage(&self, v: i16) -> ::windows::core::Result<()>; - fn currentPage(&self) -> ::windows::core::Result; - fn SetcurrentPageAvail(&self, v: i16) -> ::windows::core::Result<()>; - fn currentPageAvail(&self) -> ::windows::core::Result; - fn Setcollate(&self, v: i16) -> ::windows::core::Result<()>; - fn collate(&self) -> ::windows::core::Result; - fn duplex(&self) -> ::windows::core::Result; - fn Setcopies(&self, v: u16) -> ::windows::core::Result<()>; - fn copies(&self) -> ::windows::core::Result; - fn SetpageFrom(&self, v: u16) -> ::windows::core::Result<()>; - fn pageFrom(&self) -> ::windows::core::Result; - fn SetpageTo(&self, v: u16) -> ::windows::core::Result<()>; - fn pageTo(&self) -> ::windows::core::Result; - fn SettableOfLinks(&self, v: i16) -> ::windows::core::Result<()>; - fn tableOfLinks(&self) -> ::windows::core::Result; - fn SetallLinkedDocuments(&self, v: i16) -> ::windows::core::Result<()>; - fn allLinkedDocuments(&self) -> ::windows::core::Result; - fn Setheader(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn header(&self) -> ::windows::core::Result; - fn Setfooter(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn footer(&self) -> ::windows::core::Result; - fn SetmarginLeft(&self, v: i32) -> ::windows::core::Result<()>; - fn marginLeft(&self) -> ::windows::core::Result; - fn SetmarginRight(&self, v: i32) -> ::windows::core::Result<()>; - fn marginRight(&self) -> ::windows::core::Result; - fn SetmarginTop(&self, v: i32) -> ::windows::core::Result<()>; - fn marginTop(&self) -> ::windows::core::Result; - fn SetmarginBottom(&self, v: i32) -> ::windows::core::Result<()>; - fn marginBottom(&self) -> ::windows::core::Result; - fn pageWidth(&self) -> ::windows::core::Result; - fn pageHeight(&self) -> ::windows::core::Result; - fn unprintableLeft(&self) -> ::windows::core::Result; - fn unprintableTop(&self) -> ::windows::core::Result; - fn unprintableRight(&self) -> ::windows::core::Result; - fn unprintableBottom(&self) -> ::windows::core::Result; - fn updatePageStatus(&self, p: *const i32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ITemplatePrinter {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ITemplatePrinter_Vtbl { - pub const fn new, Impl: ITemplatePrinter_Impl, const OFFSET: isize>() -> ITemplatePrinter_Vtbl { - unsafe extern "system" fn startDoc, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrtitle: ::core::mem::ManuallyDrop, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.startDoc(::core::mem::transmute(&bstrtitle)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn stopDoc, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.stopDoc().into() - } - unsafe extern "system" fn printBlankPage, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.printBlankPage().into() - } - unsafe extern "system" fn printPage, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pelemdisp: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.printPage(::core::mem::transmute(&pelemdisp)).into() - } - unsafe extern "system" fn ensurePrintDialogDefaults, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.ensurePrintDialogDefaults() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn showPrintDialog, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.showPrintDialog() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn showPageSetupDialog, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.showPageSetupDialog() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn printNonNative, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pmarkup: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.printNonNative(::core::mem::transmute(&pmarkup)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn printNonNativeFrames, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pmarkup: *mut ::core::ffi::c_void, factiveframe: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.printNonNativeFrames(::core::mem::transmute(&pmarkup), ::core::mem::transmute_copy(&factiveframe)).into() - } - unsafe extern "system" fn SetframesetDocument, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetframesetDocument(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn framesetDocument, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.framesetDocument() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetframeActive, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetframeActive(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn frameActive, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.frameActive() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetframeAsShown, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetframeAsShown(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn frameAsShown, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.frameAsShown() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setselection, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setselection(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn selection, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.selection() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetselectedPages, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetselectedPages(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn selectedPages, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.selectedPages() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcurrentPage, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcurrentPage(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn currentPage, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.currentPage() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetcurrentPageAvail, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetcurrentPageAvail(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn currentPageAvail, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.currentPageAvail() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcollate, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcollate(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn collate, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.collate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn duplex, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.duplex() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setcopies, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setcopies(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn copies, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.copies() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpageFrom, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpageFrom(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn pageFrom, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageFrom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetpageTo, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetpageTo(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn pageTo, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageTo() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SettableOfLinks, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SettableOfLinks(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn tableOfLinks, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.tableOfLinks() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetallLinkedDocuments, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetallLinkedDocuments(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn allLinkedDocuments, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.allLinkedDocuments() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setheader, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setheader(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn header, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.header() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setfooter, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setfooter(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn footer, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.footer() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginLeft, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginLeft(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn marginLeft, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginRight, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginRight(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn marginRight, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginTop, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginTop(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn marginTop, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetmarginBottom, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetmarginBottom(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn marginBottom, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.marginBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn pageWidth, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageWidth() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn pageHeight, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.pageHeight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn unprintableLeft, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.unprintableLeft() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn unprintableTop, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.unprintableTop() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn unprintableRight, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.unprintableRight() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn unprintableBottom, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.unprintableBottom() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn updatePageStatus, Impl: ITemplatePrinter_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *const i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.updatePageStatus(::core::mem::transmute_copy(&p)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - startDoc: startDoc::, - stopDoc: stopDoc::, - printBlankPage: printBlankPage::, - printPage: printPage::, - ensurePrintDialogDefaults: ensurePrintDialogDefaults::, - showPrintDialog: showPrintDialog::, - showPageSetupDialog: showPageSetupDialog::, - printNonNative: printNonNative::, - printNonNativeFrames: printNonNativeFrames::, - SetframesetDocument: SetframesetDocument::, - framesetDocument: framesetDocument::, - SetframeActive: SetframeActive::, - frameActive: frameActive::, - SetframeAsShown: SetframeAsShown::, - frameAsShown: frameAsShown::, - Setselection: Setselection::, - selection: selection::, - SetselectedPages: SetselectedPages::, - selectedPages: selectedPages::, - SetcurrentPage: SetcurrentPage::, - currentPage: currentPage::, - SetcurrentPageAvail: SetcurrentPageAvail::, - currentPageAvail: currentPageAvail::, - Setcollate: Setcollate::, - collate: collate::, - duplex: duplex::, - Setcopies: Setcopies::, - copies: copies::, - SetpageFrom: SetpageFrom::, - pageFrom: pageFrom::, - SetpageTo: SetpageTo::, - pageTo: pageTo::, - SettableOfLinks: SettableOfLinks::, - tableOfLinks: tableOfLinks::, - SetallLinkedDocuments: SetallLinkedDocuments::, - allLinkedDocuments: allLinkedDocuments::, - Setheader: Setheader::, - header: header::, - Setfooter: Setfooter::, - footer: footer::, - SetmarginLeft: SetmarginLeft::, - marginLeft: marginLeft::, - SetmarginRight: SetmarginRight::, - marginRight: marginRight::, - SetmarginTop: SetmarginTop::, - marginTop: marginTop::, - SetmarginBottom: SetmarginBottom::, - marginBottom: marginBottom::, - pageWidth: pageWidth::, - pageHeight: pageHeight::, - unprintableLeft: unprintableLeft::, - unprintableTop: unprintableTop::, - unprintableRight: unprintableRight::, - unprintableBottom: unprintableBottom::, - updatePageStatus: updatePageStatus::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ITemplatePrinter2_Impl: Sized + super::super::System::Com::IDispatch_Impl + ITemplatePrinter_Impl { - fn SetselectionEnabled(&self, v: i16) -> ::windows::core::Result<()>; - fn selectionEnabled(&self) -> ::windows::core::Result; - fn SetframeActiveEnabled(&self, v: i16) -> ::windows::core::Result<()>; - fn frameActiveEnabled(&self) -> ::windows::core::Result; - fn Setorientation(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn orientation(&self) -> ::windows::core::Result; - fn SetusePrinterCopyCollate(&self, v: i16) -> ::windows::core::Result<()>; - fn usePrinterCopyCollate(&self) -> ::windows::core::Result; - fn deviceSupports(&self, bstrproperty: &super::super::Foundation::BSTR) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ITemplatePrinter2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ITemplatePrinter2_Vtbl { - pub const fn new, Impl: ITemplatePrinter2_Impl, const OFFSET: isize>() -> ITemplatePrinter2_Vtbl { - unsafe extern "system" fn SetselectionEnabled, Impl: ITemplatePrinter2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetselectionEnabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn selectionEnabled, Impl: ITemplatePrinter2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.selectionEnabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetframeActiveEnabled, Impl: ITemplatePrinter2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetframeActiveEnabled(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn frameActiveEnabled, Impl: ITemplatePrinter2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.frameActiveEnabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setorientation, Impl: ITemplatePrinter2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setorientation(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn orientation, Impl: ITemplatePrinter2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.orientation() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetusePrinterCopyCollate, Impl: ITemplatePrinter2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetusePrinterCopyCollate(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn usePrinterCopyCollate, Impl: ITemplatePrinter2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.usePrinterCopyCollate() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn deviceSupports, Impl: ITemplatePrinter2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrproperty: ::core::mem::ManuallyDrop, pvar: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.deviceSupports(::core::mem::transmute(&bstrproperty)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvar, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ITemplatePrinter_Vtbl::new::(), - SetselectionEnabled: SetselectionEnabled::, - selectionEnabled: selectionEnabled::, - SetframeActiveEnabled: SetframeActiveEnabled::, - frameActiveEnabled: frameActiveEnabled::, - Setorientation: Setorientation::, - orientation: orientation::, - SetusePrinterCopyCollate: SetusePrinterCopyCollate::, - usePrinterCopyCollate: usePrinterCopyCollate::, - deviceSupports: deviceSupports::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ITemplatePrinter3_Impl: Sized + super::super::System::Com::IDispatch_Impl + ITemplatePrinter_Impl + ITemplatePrinter2_Impl { - fn SetheaderFooterFont(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn headerFooterFont(&self) -> ::windows::core::Result; - fn getPageMarginTop(&self, pagerule: &::core::option::Option, pagewidth: i32, pageheight: i32) -> ::windows::core::Result; - fn getPageMarginRight(&self, pagerule: &::core::option::Option, pagewidth: i32, pageheight: i32) -> ::windows::core::Result; - fn getPageMarginBottom(&self, pagerule: &::core::option::Option, pagewidth: i32, pageheight: i32) -> ::windows::core::Result; - fn getPageMarginLeft(&self, pagerule: &::core::option::Option, pagewidth: i32, pageheight: i32) -> ::windows::core::Result; - fn getPageMarginTopImportant(&self, pagerule: &::core::option::Option) -> ::windows::core::Result; - fn getPageMarginRightImportant(&self, pagerule: &::core::option::Option) -> ::windows::core::Result; - fn getPageMarginBottomImportant(&self, pagerule: &::core::option::Option) -> ::windows::core::Result; - fn getPageMarginLeftImportant(&self, pagerule: &::core::option::Option) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ITemplatePrinter3 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ITemplatePrinter3_Vtbl { - pub const fn new, Impl: ITemplatePrinter3_Impl, const OFFSET: isize>() -> ITemplatePrinter3_Vtbl { - unsafe extern "system" fn SetheaderFooterFont, Impl: ITemplatePrinter3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetheaderFooterFont(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn headerFooterFont, Impl: ITemplatePrinter3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.headerFooterFont() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getPageMarginTop, Impl: ITemplatePrinter3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pagerule: *mut ::core::ffi::c_void, pagewidth: i32, pageheight: i32, pmargin: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getPageMarginTop(::core::mem::transmute(&pagerule), ::core::mem::transmute_copy(&pagewidth), ::core::mem::transmute_copy(&pageheight)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pmargin, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getPageMarginRight, Impl: ITemplatePrinter3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pagerule: *mut ::core::ffi::c_void, pagewidth: i32, pageheight: i32, pmargin: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getPageMarginRight(::core::mem::transmute(&pagerule), ::core::mem::transmute_copy(&pagewidth), ::core::mem::transmute_copy(&pageheight)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pmargin, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getPageMarginBottom, Impl: ITemplatePrinter3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pagerule: *mut ::core::ffi::c_void, pagewidth: i32, pageheight: i32, pmargin: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getPageMarginBottom(::core::mem::transmute(&pagerule), ::core::mem::transmute_copy(&pagewidth), ::core::mem::transmute_copy(&pageheight)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pmargin, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getPageMarginLeft, Impl: ITemplatePrinter3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pagerule: *mut ::core::ffi::c_void, pagewidth: i32, pageheight: i32, pmargin: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getPageMarginLeft(::core::mem::transmute(&pagerule), ::core::mem::transmute_copy(&pagewidth), ::core::mem::transmute_copy(&pageheight)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pmargin, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getPageMarginTopImportant, Impl: ITemplatePrinter3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pagerule: *mut ::core::ffi::c_void, pbimportant: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getPageMarginTopImportant(::core::mem::transmute(&pagerule)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbimportant, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getPageMarginRightImportant, Impl: ITemplatePrinter3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pagerule: *mut ::core::ffi::c_void, pbimportant: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getPageMarginRightImportant(::core::mem::transmute(&pagerule)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbimportant, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getPageMarginBottomImportant, Impl: ITemplatePrinter3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pagerule: *mut ::core::ffi::c_void, pbimportant: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getPageMarginBottomImportant(::core::mem::transmute(&pagerule)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbimportant, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn getPageMarginLeftImportant, Impl: ITemplatePrinter3_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pagerule: *mut ::core::ffi::c_void, pbimportant: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.getPageMarginLeftImportant(::core::mem::transmute(&pagerule)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbimportant, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ITemplatePrinter2_Vtbl::new::(), - SetheaderFooterFont: SetheaderFooterFont::, - headerFooterFont: headerFooterFont::, - getPageMarginTop: getPageMarginTop::, - getPageMarginRight: getPageMarginRight::, - getPageMarginBottom: getPageMarginBottom::, - getPageMarginLeft: getPageMarginLeft::, - getPageMarginTopImportant: getPageMarginTopImportant::, - getPageMarginRightImportant: getPageMarginRightImportant::, - getPageMarginBottomImportant: getPageMarginBottomImportant::, - getPageMarginLeftImportant: getPageMarginLeftImportant::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ITimer_Impl: Sized { - fn Advise(&self, vtimemin: &super::super::System::Com::VARIANT, vtimemax: &super::super::System::Com::VARIANT, vtimeinterval: &super::super::System::Com::VARIANT, dwflags: u32, ptimersink: &::core::option::Option) -> ::windows::core::Result; - fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()>; - fn Freeze(&self, ffreeze: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; - fn GetTime(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ITimer {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ITimer_Vtbl { - pub const fn new, Impl: ITimer_Impl, const OFFSET: isize>() -> ITimer_Vtbl { - unsafe extern "system" fn Advise, Impl: ITimer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, vtimemin: ::core::mem::ManuallyDrop, vtimemax: ::core::mem::ManuallyDrop, vtimeinterval: ::core::mem::ManuallyDrop, dwflags: u32, ptimersink: *mut ::core::ffi::c_void, pdwcookie: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Advise(::core::mem::transmute(&vtimemin), ::core::mem::transmute(&vtimemax), ::core::mem::transmute(&vtimeinterval), ::core::mem::transmute_copy(&dwflags), ::core::mem::transmute(&ptimersink)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdwcookie, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Unadvise, Impl: ITimer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwcookie: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Unadvise(::core::mem::transmute_copy(&dwcookie)).into() - } - unsafe extern "system" fn Freeze, Impl: ITimer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ffreeze: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Freeze(::core::mem::transmute_copy(&ffreeze)).into() - } - unsafe extern "system" fn GetTime, Impl: ITimer_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvtime: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetTime() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pvtime, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - Advise: Advise::, - Unadvise: Unadvise::, - Freeze: Freeze::, - GetTime: GetTime::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ITimerEx_Impl: Sized + ITimer_Impl { - fn SetMode(&self, dwmode: u32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ITimerEx {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ITimerEx_Vtbl { - pub const fn new, Impl: ITimerEx_Impl, const OFFSET: isize>() -> ITimerEx_Vtbl { - unsafe extern "system" fn SetMode, Impl: ITimerEx_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwmode: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetMode(::core::mem::transmute_copy(&dwmode)).into() - } - Self { base__: ITimer_Vtbl::new::(), SetMode: SetMode:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -pub trait ITimerService_Impl: Sized { - fn CreateTimer(&self, preferencetimer: &::core::option::Option) -> ::windows::core::Result; - fn GetNamedTimer(&self, rguidname: *const ::windows::core::GUID) -> ::windows::core::Result; - fn SetNamedTimerReference(&self, rguidname: *const ::windows::core::GUID, preferencetimer: &::core::option::Option) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for ITimerService {} -impl ITimerService_Vtbl { - pub const fn new, Impl: ITimerService_Impl, const OFFSET: isize>() -> ITimerService_Vtbl { - unsafe extern "system" fn CreateTimer, Impl: ITimerService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, preferencetimer: *mut ::core::ffi::c_void, ppnewtimer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CreateTimer(::core::mem::transmute(&preferencetimer)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppnewtimer, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetNamedTimer, Impl: ITimerService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, rguidname: *const ::windows::core::GUID, pptimer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetNamedTimer(::core::mem::transmute_copy(&rguidname)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pptimer, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetNamedTimerReference, Impl: ITimerService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, rguidname: *const ::windows::core::GUID, preferencetimer: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetNamedTimerReference(::core::mem::transmute_copy(&rguidname), ::core::mem::transmute(&preferencetimer)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - CreateTimer: CreateTimer::, - GetNamedTimer: GetNamedTimer::, - SetNamedTimerReference: SetNamedTimerReference::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait ITimerSink_Impl: Sized { - fn OnTimer(&self, vtimeadvise: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for ITimerSink {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ITimerSink_Vtbl { - pub const fn new, Impl: ITimerSink_Impl, const OFFSET: isize>() -> ITimerSink_Vtbl { - unsafe extern "system" fn OnTimer, Impl: ITimerSink_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, vtimeadvise: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnTimer(::core::mem::transmute(&vtimeadvise)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), OnTimer: OnTimer:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait ITrackingProtection_Impl: Sized { - fn EvaluateUrl(&self, bstrurl: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn GetEnabled(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for ITrackingProtection {} -#[cfg(feature = "Win32_Foundation")] -impl ITrackingProtection_Vtbl { - pub const fn new, Impl: ITrackingProtection_Impl, const OFFSET: isize>() -> ITrackingProtection_Vtbl { - unsafe extern "system" fn EvaluateUrl, Impl: ITrackingProtection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, pfallowed: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.EvaluateUrl(::core::mem::transmute(&bstrurl)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfallowed, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetEnabled, Impl: ITrackingProtection_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfenabled: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetEnabled() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfenabled, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - EvaluateUrl: EvaluateUrl::, - GetEnabled: GetEnabled::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait ITridentTouchInput_Impl: Sized { - fn OnPointerMessage(&self, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for ITridentTouchInput {} -#[cfg(feature = "Win32_Foundation")] -impl ITridentTouchInput_Vtbl { - pub const fn new, Impl: ITridentTouchInput_Impl, const OFFSET: isize>() -> ITridentTouchInput_Vtbl { - unsafe extern "system" fn OnPointerMessage, Impl: ITridentTouchInput_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, pfallowmanipulations: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.OnPointerMessage(::core::mem::transmute_copy(&msg), ::core::mem::transmute_copy(&wparam), ::core::mem::transmute_copy(&lparam)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfallowmanipulations, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), OnPointerMessage: OnPointerMessage:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait ITridentTouchInputSite_Impl: Sized { - fn SetManipulationMode(&self, mstouchaction: styleMsTouchAction) -> ::windows::core::Result<()>; - fn ZoomToPoint(&self, x: i32, y: i32) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for ITridentTouchInputSite {} -impl ITridentTouchInputSite_Vtbl { - pub const fn new, Impl: ITridentTouchInputSite_Impl, const OFFSET: isize>() -> ITridentTouchInputSite_Vtbl { - unsafe extern "system" fn SetManipulationMode, Impl: ITridentTouchInputSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, mstouchaction: styleMsTouchAction) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetManipulationMode(::core::mem::transmute_copy(&mstouchaction)).into() - } - unsafe extern "system" fn ZoomToPoint, Impl: ITridentTouchInputSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ZoomToPoint(::core::mem::transmute_copy(&x), ::core::mem::transmute_copy(&y)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - SetManipulationMode: SetManipulationMode::, - ZoomToPoint: ZoomToPoint::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IUrlHistoryNotify_Impl: Sized + super::super::System::Ole::IOleCommandTarget_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IUrlHistoryNotify {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IUrlHistoryNotify_Vtbl { - pub const fn new, Impl: IUrlHistoryNotify_Impl, const OFFSET: isize>() -> IUrlHistoryNotify_Vtbl { - Self { base__: super::super::System::Ole::IOleCommandTarget_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IUrlHistoryStg_Impl: Sized { - fn AddUrl(&self, pocsurl: &::windows::core::PCWSTR, pocstitle: &::windows::core::PCWSTR, dwflags: u32) -> ::windows::core::Result<()>; - fn DeleteUrl(&self, pocsurl: &::windows::core::PCWSTR, dwflags: u32) -> ::windows::core::Result<()>; - fn QueryUrl(&self, pocsurl: &::windows::core::PCWSTR, dwflags: u32, lpstaturl: *mut STATURL) -> ::windows::core::Result<()>; - fn BindToObject(&self, pocsurl: &::windows::core::PCWSTR, riid: *const ::windows::core::GUID, ppvout: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; - fn EnumUrls(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IUrlHistoryStg {} -#[cfg(feature = "Win32_Foundation")] -impl IUrlHistoryStg_Vtbl { - pub const fn new, Impl: IUrlHistoryStg_Impl, const OFFSET: isize>() -> IUrlHistoryStg_Vtbl { - unsafe extern "system" fn AddUrl, Impl: IUrlHistoryStg_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pocsurl: ::windows::core::PCWSTR, pocstitle: ::windows::core::PCWSTR, dwflags: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.AddUrl(::core::mem::transmute(&pocsurl), ::core::mem::transmute(&pocstitle), ::core::mem::transmute_copy(&dwflags)).into() - } - unsafe extern "system" fn DeleteUrl, Impl: IUrlHistoryStg_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pocsurl: ::windows::core::PCWSTR, dwflags: u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.DeleteUrl(::core::mem::transmute(&pocsurl), ::core::mem::transmute_copy(&dwflags)).into() - } - unsafe extern "system" fn QueryUrl, Impl: IUrlHistoryStg_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pocsurl: ::windows::core::PCWSTR, dwflags: u32, lpstaturl: *mut STATURL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.QueryUrl(::core::mem::transmute(&pocsurl), ::core::mem::transmute_copy(&dwflags), ::core::mem::transmute_copy(&lpstaturl)).into() - } - unsafe extern "system" fn BindToObject, Impl: IUrlHistoryStg_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pocsurl: ::windows::core::PCWSTR, riid: *const ::windows::core::GUID, ppvout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.BindToObject(::core::mem::transmute(&pocsurl), ::core::mem::transmute_copy(&riid), ::core::mem::transmute_copy(&ppvout)).into() - } - unsafe extern "system" fn EnumUrls, Impl: IUrlHistoryStg_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.EnumUrls() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppenum, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - AddUrl: AddUrl::, - DeleteUrl: DeleteUrl::, - QueryUrl: QueryUrl::, - BindToObject: BindToObject::, - EnumUrls: EnumUrls::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] -pub trait IUrlHistoryStg2_Impl: Sized + IUrlHistoryStg_Impl { - fn AddUrlAndNotify(&self, pocsurl: &::windows::core::PCWSTR, pocstitle: &::windows::core::PCWSTR, dwflags: u32, fwritehistory: super::super::Foundation::BOOL, poctnotify: &::core::option::Option, punkisfolder: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; - fn ClearHistory(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IUrlHistoryStg2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] -impl IUrlHistoryStg2_Vtbl { - pub const fn new, Impl: IUrlHistoryStg2_Impl, const OFFSET: isize>() -> IUrlHistoryStg2_Vtbl { - unsafe extern "system" fn AddUrlAndNotify, Impl: IUrlHistoryStg2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pocsurl: ::windows::core::PCWSTR, pocstitle: ::windows::core::PCWSTR, dwflags: u32, fwritehistory: super::super::Foundation::BOOL, poctnotify: *mut ::core::ffi::c_void, punkisfolder: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.AddUrlAndNotify(::core::mem::transmute(&pocsurl), ::core::mem::transmute(&pocstitle), ::core::mem::transmute_copy(&dwflags), ::core::mem::transmute_copy(&fwritehistory), ::core::mem::transmute(&poctnotify), ::core::mem::transmute(&punkisfolder)).into() - } - unsafe extern "system" fn ClearHistory, Impl: IUrlHistoryStg2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ClearHistory().into() - } - Self { - base__: IUrlHistoryStg_Vtbl::new::(), - AddUrlAndNotify: AddUrlAndNotify::, - ClearHistory: ClearHistory::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IViewObjectPresentFlip_Impl: Sized { - fn NotifyRender(&self, frecreatepresenter: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; - fn RenderObjectToBitmap(&self, pbitmap: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; - fn RenderObjectToSharedBuffer(&self, pbuffer: &::core::option::Option) -> ::windows::core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IViewObjectPresentFlip {} -#[cfg(feature = "Win32_Foundation")] -impl IViewObjectPresentFlip_Vtbl { - pub const fn new, Impl: IViewObjectPresentFlip_Impl, const OFFSET: isize>() -> IViewObjectPresentFlip_Vtbl { - unsafe extern "system" fn NotifyRender, Impl: IViewObjectPresentFlip_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, frecreatepresenter: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.NotifyRender(::core::mem::transmute_copy(&frecreatepresenter)).into() - } - unsafe extern "system" fn RenderObjectToBitmap, Impl: IViewObjectPresentFlip_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbitmap: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.RenderObjectToBitmap(::core::mem::transmute(&pbitmap)).into() - } - unsafe extern "system" fn RenderObjectToSharedBuffer, Impl: IViewObjectPresentFlip_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbuffer: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.RenderObjectToSharedBuffer(::core::mem::transmute(&pbuffer)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - NotifyRender: NotifyRender::, - RenderObjectToBitmap: RenderObjectToBitmap::, - RenderObjectToSharedBuffer: RenderObjectToSharedBuffer::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IViewObjectPresentFlip2_Impl: Sized { - fn NotifyLeavingView(&self) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IViewObjectPresentFlip2 {} -impl IViewObjectPresentFlip2_Vtbl { - pub const fn new, Impl: IViewObjectPresentFlip2_Impl, const OFFSET: isize>() -> IViewObjectPresentFlip2_Vtbl { - unsafe extern "system" fn NotifyLeavingView, Impl: IViewObjectPresentFlip2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.NotifyLeavingView().into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), NotifyLeavingView: NotifyLeavingView:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -pub trait IViewObjectPresentFlipSite_Impl: Sized { - fn CreateSurfacePresenterFlip(&self, pdevice: &::core::option::Option<::windows::core::IUnknown>, width: u32, height: u32, backbuffercount: u32, format: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, mode: VIEW_OBJECT_ALPHA_MODE) -> ::windows::core::Result; - fn GetDeviceLuid(&self) -> ::windows::core::Result; - fn EnterFullScreen(&self) -> ::windows::core::Result<()>; - fn ExitFullScreen(&self) -> ::windows::core::Result<()>; - fn IsFullScreen(&self) -> ::windows::core::Result; - fn GetBoundingRect(&self) -> ::windows::core::Result; - fn GetMetrics(&self, ppos: *mut super::super::Foundation::POINT, psize: *mut super::super::Foundation::SIZE, pscalex: *mut f32, pscaley: *mut f32) -> ::windows::core::Result<()>; - fn GetFullScreenSize(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::windows::core::RuntimeName for IViewObjectPresentFlipSite {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl IViewObjectPresentFlipSite_Vtbl { - pub const fn new, Impl: IViewObjectPresentFlipSite_Impl, const OFFSET: isize>() -> IViewObjectPresentFlipSite_Vtbl { - unsafe extern "system" fn CreateSurfacePresenterFlip, Impl: IViewObjectPresentFlipSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdevice: *mut ::core::ffi::c_void, width: u32, height: u32, backbuffercount: u32, format: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, mode: VIEW_OBJECT_ALPHA_MODE, ppspflip: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CreateSurfacePresenterFlip(::core::mem::transmute(&pdevice), ::core::mem::transmute_copy(&width), ::core::mem::transmute_copy(&height), ::core::mem::transmute_copy(&backbuffercount), ::core::mem::transmute_copy(&format), ::core::mem::transmute_copy(&mode)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppspflip, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetDeviceLuid, Impl: IViewObjectPresentFlipSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pluid: *mut super::super::Foundation::LUID) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetDeviceLuid() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pluid, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn EnterFullScreen, Impl: IViewObjectPresentFlipSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.EnterFullScreen().into() - } - unsafe extern "system" fn ExitFullScreen, Impl: IViewObjectPresentFlipSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.ExitFullScreen().into() - } - unsafe extern "system" fn IsFullScreen, Impl: IViewObjectPresentFlipSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pffullscreen: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsFullScreen() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pffullscreen, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetBoundingRect, Impl: IViewObjectPresentFlipSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, prect: *mut super::super::Foundation::RECT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetBoundingRect() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(prect, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetMetrics, Impl: IViewObjectPresentFlipSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppos: *mut super::super::Foundation::POINT, psize: *mut super::super::Foundation::SIZE, pscalex: *mut f32, pscaley: *mut f32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.GetMetrics(::core::mem::transmute_copy(&ppos), ::core::mem::transmute_copy(&psize), ::core::mem::transmute_copy(&pscalex), ::core::mem::transmute_copy(&pscaley)).into() - } - unsafe extern "system" fn GetFullScreenSize, Impl: IViewObjectPresentFlipSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, psize: *mut super::super::Foundation::SIZE) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetFullScreenSize() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(psize, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - CreateSurfacePresenterFlip: CreateSurfacePresenterFlip::, - GetDeviceLuid: GetDeviceLuid::, - EnterFullScreen: EnterFullScreen::, - ExitFullScreen: ExitFullScreen::, - IsFullScreen: IsFullScreen::, - GetBoundingRect: GetBoundingRect::, - GetMetrics: GetMetrics::, - GetFullScreenSize: GetFullScreenSize::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -pub trait IViewObjectPresentFlipSite2_Impl: Sized { - fn GetRotationForCurrentOutput(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::windows::core::RuntimeName for IViewObjectPresentFlipSite2 {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl IViewObjectPresentFlipSite2_Vtbl { - pub const fn new, Impl: IViewObjectPresentFlipSite2_Impl, const OFFSET: isize>() -> IViewObjectPresentFlipSite2_Vtbl { - unsafe extern "system" fn GetRotationForCurrentOutput, Impl: IViewObjectPresentFlipSite2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdxgirotation: *mut super::super::Graphics::Dxgi::Common::DXGI_MODE_ROTATION) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetRotationForCurrentOutput() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdxgirotation, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - GetRotationForCurrentOutput: GetRotationForCurrentOutput::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IViewObjectPresentNotify_Impl: Sized { - fn OnPreRender(&self) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IViewObjectPresentNotify {} -impl IViewObjectPresentNotify_Vtbl { - pub const fn new, Impl: IViewObjectPresentNotify_Impl, const OFFSET: isize>() -> IViewObjectPresentNotify_Vtbl { - unsafe extern "system" fn OnPreRender, Impl: IViewObjectPresentNotify_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.OnPreRender().into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), OnPreRender: OnPreRender:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -pub trait IViewObjectPresentNotifySite_Impl: Sized + IViewObjectPresentSite_Impl { - fn RequestFrame(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::windows::core::RuntimeName for IViewObjectPresentNotifySite {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl IViewObjectPresentNotifySite_Vtbl { - pub const fn new, Impl: IViewObjectPresentNotifySite_Impl, const OFFSET: isize>() -> IViewObjectPresentNotifySite_Vtbl { - unsafe extern "system" fn RequestFrame, Impl: IViewObjectPresentNotifySite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.RequestFrame().into() - } - Self { base__: IViewObjectPresentSite_Vtbl::new::(), RequestFrame: RequestFrame:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -pub trait IViewObjectPresentSite_Impl: Sized { - fn CreateSurfacePresenter(&self, pdevice: &::core::option::Option<::windows::core::IUnknown>, width: u32, height: u32, backbuffercount: u32, format: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, mode: VIEW_OBJECT_ALPHA_MODE) -> ::windows::core::Result; - fn IsHardwareComposition(&self) -> ::windows::core::Result; - fn SetCompositionMode(&self, mode: VIEW_OBJECT_COMPOSITION_MODE) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::windows::core::RuntimeName for IViewObjectPresentSite {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl IViewObjectPresentSite_Vtbl { - pub const fn new, Impl: IViewObjectPresentSite_Impl, const OFFSET: isize>() -> IViewObjectPresentSite_Vtbl { - unsafe extern "system" fn CreateSurfacePresenter, Impl: IViewObjectPresentSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdevice: *mut ::core::ffi::c_void, width: u32, height: u32, backbuffercount: u32, format: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, mode: VIEW_OBJECT_ALPHA_MODE, ppqueue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.CreateSurfacePresenter(::core::mem::transmute(&pdevice), ::core::mem::transmute_copy(&width), ::core::mem::transmute_copy(&height), ::core::mem::transmute_copy(&backbuffercount), ::core::mem::transmute_copy(&format), ::core::mem::transmute_copy(&mode)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppqueue, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn IsHardwareComposition, Impl: IViewObjectPresentSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pishardwarecomposition: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.IsHardwareComposition() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pishardwarecomposition, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetCompositionMode, Impl: IViewObjectPresentSite_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, mode: VIEW_OBJECT_COMPOSITION_MODE) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetCompositionMode(::core::mem::transmute_copy(&mode)).into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - CreateSurfacePresenter: CreateSurfacePresenter::, - IsHardwareComposition: IsHardwareComposition::, - SetCompositionMode: SetCompositionMode::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -pub trait IViewObjectPrint_Impl: Sized { - fn GetPrintBitmap(&self) -> ::windows::core::Result<::windows::core::IUnknown>; -} -impl ::windows::core::RuntimeName for IViewObjectPrint {} -impl IViewObjectPrint_Vtbl { - pub const fn new, Impl: IViewObjectPrint_Impl, const OFFSET: isize>() -> IViewObjectPrint_Vtbl { - unsafe extern "system" fn GetPrintBitmap, Impl: IViewObjectPrint_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, ppprintbitmap: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetPrintBitmap() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(ppprintbitmap, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), GetPrintBitmap: GetPrintBitmap:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IWBScriptControl_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn raiseEvent(&self, name: &super::super::Foundation::BSTR, eventdata: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn bubbleEvent(&self) -> ::windows::core::Result<()>; - fn setContextMenu(&self, menuitempairs: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn SetselectableContent(&self, v: i16) -> ::windows::core::Result<()>; - fn selectableContent(&self) -> ::windows::core::Result; - fn frozen(&self) -> ::windows::core::Result; - fn Setscrollbar(&self, v: i16) -> ::windows::core::Result<()>; - fn scrollbar(&self) -> ::windows::core::Result; - fn version(&self) -> ::windows::core::Result; - fn visibility(&self) -> ::windows::core::Result; - fn Setonvisibilitychange(&self, v: &super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; - fn onvisibilitychange(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IWBScriptControl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IWBScriptControl_Vtbl { - pub const fn new, Impl: IWBScriptControl_Impl, const OFFSET: isize>() -> IWBScriptControl_Vtbl { - unsafe extern "system" fn raiseEvent, Impl: IWBScriptControl_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, eventdata: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.raiseEvent(::core::mem::transmute(&name), ::core::mem::transmute(&eventdata)).into() - } - unsafe extern "system" fn bubbleEvent, Impl: IWBScriptControl_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.bubbleEvent().into() - } - unsafe extern "system" fn setContextMenu, Impl: IWBScriptControl_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, menuitempairs: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.setContextMenu(::core::mem::transmute(&menuitempairs)).into() - } - unsafe extern "system" fn SetselectableContent, Impl: IWBScriptControl_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetselectableContent(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn selectableContent, Impl: IWBScriptControl_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.selectableContent() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn frozen, Impl: IWBScriptControl_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.frozen() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setscrollbar, Impl: IWBScriptControl_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setscrollbar(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn scrollbar, Impl: IWBScriptControl_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.scrollbar() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn version, Impl: IWBScriptControl_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.version() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn visibility, Impl: IWBScriptControl_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.visibility() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setonvisibilitychange, Impl: IWBScriptControl_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setonvisibilitychange(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn onvisibilitychange, Impl: IWBScriptControl_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.onvisibilitychange() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - raiseEvent: raiseEvent::, - bubbleEvent: bubbleEvent::, - setContextMenu: setContextMenu::, - SetselectableContent: SetselectableContent::, - selectableContent: selectableContent::, - frozen: frozen::, - Setscrollbar: Setscrollbar::, - scrollbar: scrollbar::, - version: version::, - visibility: visibility::, - Setonvisibilitychange: Setonvisibilitychange::, - onvisibilitychange: onvisibilitychange::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IWPCBlockedUrls_Impl: Sized { - fn GetCount(&self) -> ::windows::core::Result; - fn GetUrl(&self, dwidx: u32) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IWPCBlockedUrls {} -#[cfg(feature = "Win32_Foundation")] -impl IWPCBlockedUrls_Vtbl { - pub const fn new, Impl: IWPCBlockedUrls_Impl, const OFFSET: isize>() -> IWPCBlockedUrls_Vtbl { - unsafe extern "system" fn GetCount, Impl: IWPCBlockedUrls_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pdwcount: *mut u32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetCount() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pdwcount, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn GetUrl, Impl: IWPCBlockedUrls_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwidx: u32, pbstrurl: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetUrl(::core::mem::transmute_copy(&dwidx)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrurl, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - GetCount: GetCount::, - GetUrl: GetUrl::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IWebBridge_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn SetURL(&self, v: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; - fn URL(&self) -> ::windows::core::Result; - fn SetScrollbar(&self, v: i16) -> ::windows::core::Result<()>; - fn Scrollbar(&self) -> ::windows::core::Result; - fn Setembed(&self, v: i16) -> ::windows::core::Result<()>; - fn embed(&self) -> ::windows::core::Result; - fn event(&self) -> ::windows::core::Result; - fn readyState(&self) -> ::windows::core::Result; - fn AboutBox(&self) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IWebBridge {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IWebBridge_Vtbl { - pub const fn new, Impl: IWebBridge_Impl, const OFFSET: isize>() -> IWebBridge_Vtbl { - unsafe extern "system" fn SetURL, Impl: IWebBridge_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetURL(::core::mem::transmute(&v)).into() - } - unsafe extern "system" fn URL, Impl: IWebBridge_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.URL() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn SetScrollbar, Impl: IWebBridge_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetScrollbar(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn Scrollbar, Impl: IWebBridge_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.Scrollbar() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn Setembed, Impl: IWebBridge_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.Setembed(::core::mem::transmute_copy(&v)).into() - } - unsafe extern "system" fn embed, Impl: IWebBridge_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.embed() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn event, Impl: IWebBridge_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.event() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn readyState, Impl: IWebBridge_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.readyState() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn AboutBox, Impl: IWebBridge_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.AboutBox().into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - SetURL: SetURL::, - URL: URL::, - SetScrollbar: SetScrollbar::, - Scrollbar: Scrollbar::, - Setembed: Setembed::, - embed: embed::, - event: event::, - readyState: readyState::, - AboutBox: AboutBox::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -pub trait IWebBrowserEventsService_Impl: Sized { - fn FireBeforeNavigate2Event(&self) -> ::windows::core::Result; - fn FireNavigateComplete2Event(&self) -> ::windows::core::Result<()>; - fn FireDownloadBeginEvent(&self) -> ::windows::core::Result<()>; - fn FireDownloadCompleteEvent(&self) -> ::windows::core::Result<()>; - fn FireDocumentCompleteEvent(&self) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IWebBrowserEventsService {} -impl IWebBrowserEventsService_Vtbl { - pub const fn new, Impl: IWebBrowserEventsService_Impl, const OFFSET: isize>() -> IWebBrowserEventsService_Vtbl { - unsafe extern "system" fn FireBeforeNavigate2Event, Impl: IWebBrowserEventsService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pfcancel: *mut i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.FireBeforeNavigate2Event() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pfcancel, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn FireNavigateComplete2Event, Impl: IWebBrowserEventsService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.FireNavigateComplete2Event().into() - } - unsafe extern "system" fn FireDownloadBeginEvent, Impl: IWebBrowserEventsService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.FireDownloadBeginEvent().into() - } - unsafe extern "system" fn FireDownloadCompleteEvent, Impl: IWebBrowserEventsService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.FireDownloadCompleteEvent().into() - } - unsafe extern "system" fn FireDocumentCompleteEvent, Impl: IWebBrowserEventsService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.FireDocumentCompleteEvent().into() - } - Self { - base__: ::windows::core::IUnknownVtbl::new::(), - FireBeforeNavigate2Event: FireBeforeNavigate2Event::, - FireNavigateComplete2Event: FireNavigateComplete2Event::, - FireDownloadBeginEvent: FireDownloadBeginEvent::, - FireDownloadCompleteEvent: FireDownloadCompleteEvent::, - FireDocumentCompleteEvent: FireDocumentCompleteEvent::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IWebBrowserEventsUrlService_Impl: Sized { - fn GetUrlForEvents(&self) -> ::windows::core::Result; -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows::core::RuntimeName for IWebBrowserEventsUrlService {} -#[cfg(feature = "Win32_Foundation")] -impl IWebBrowserEventsUrlService_Vtbl { - pub const fn new, Impl: IWebBrowserEventsUrlService_Impl, const OFFSET: isize>() -> IWebBrowserEventsUrlService_Vtbl { - unsafe extern "system" fn GetUrlForEvents, Impl: IWebBrowserEventsUrlService_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, purl: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.GetUrlForEvents() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(purl, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), GetUrlForEvents: GetUrlForEvents:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IWebGeocoordinates_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn latitude(&self) -> ::windows::core::Result; - fn longitude(&self) -> ::windows::core::Result; - fn altitude(&self) -> ::windows::core::Result; - fn accuracy(&self) -> ::windows::core::Result; - fn altitudeAccuracy(&self) -> ::windows::core::Result; - fn heading(&self) -> ::windows::core::Result; - fn speed(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IWebGeocoordinates {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IWebGeocoordinates_Vtbl { - pub const fn new, Impl: IWebGeocoordinates_Impl, const OFFSET: isize>() -> IWebGeocoordinates_Vtbl { - unsafe extern "system" fn latitude, Impl: IWebGeocoordinates_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.latitude() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn longitude, Impl: IWebGeocoordinates_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.longitude() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn altitude, Impl: IWebGeocoordinates_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.altitude() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn accuracy, Impl: IWebGeocoordinates_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.accuracy() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn altitudeAccuracy, Impl: IWebGeocoordinates_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.altitudeAccuracy() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn heading, Impl: IWebGeocoordinates_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.heading() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn speed, Impl: IWebGeocoordinates_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.speed() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - latitude: latitude::, - longitude: longitude::, - altitude: altitude::, - accuracy: accuracy::, - altitudeAccuracy: altitudeAccuracy::, - heading: heading::, - speed: speed::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IWebGeolocation_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn getCurrentPosition(&self, successcallback: &::core::option::Option, errorcallback: &::core::option::Option, options: &::core::option::Option) -> ::windows::core::Result<()>; - fn watchPosition(&self, successcallback: &::core::option::Option, errorcallback: &::core::option::Option, options: &::core::option::Option) -> ::windows::core::Result; - fn clearWatch(&self, watchid: i32) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IWebGeolocation {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IWebGeolocation_Vtbl { - pub const fn new, Impl: IWebGeolocation_Impl, const OFFSET: isize>() -> IWebGeolocation_Vtbl { - unsafe extern "system" fn getCurrentPosition, Impl: IWebGeolocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, successcallback: *mut ::core::ffi::c_void, errorcallback: *mut ::core::ffi::c_void, options: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.getCurrentPosition(::core::mem::transmute(&successcallback), ::core::mem::transmute(&errorcallback), ::core::mem::transmute(&options)).into() - } - unsafe extern "system" fn watchPosition, Impl: IWebGeolocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, successcallback: *mut ::core::ffi::c_void, errorcallback: *mut ::core::ffi::c_void, options: *mut ::core::ffi::c_void, watchid: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.watchPosition(::core::mem::transmute(&successcallback), ::core::mem::transmute(&errorcallback), ::core::mem::transmute(&options)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(watchid, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn clearWatch, Impl: IWebGeolocation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, watchid: i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.clearWatch(::core::mem::transmute_copy(&watchid)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - getCurrentPosition: getCurrentPosition::, - watchPosition: watchPosition::, - clearWatch: clearWatch::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IWebGeoposition_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn coords(&self) -> ::windows::core::Result; - fn timestamp(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IWebGeoposition {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IWebGeoposition_Vtbl { - pub const fn new, Impl: IWebGeoposition_Impl, const OFFSET: isize>() -> IWebGeoposition_Vtbl { - unsafe extern "system" fn coords, Impl: IWebGeoposition_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.coords() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn timestamp, Impl: IWebGeoposition_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.timestamp() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - coords: coords::, - timestamp: timestamp::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IWebGeopositionError_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn code(&self) -> ::windows::core::Result; - fn message(&self) -> ::windows::core::Result; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IWebGeopositionError {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IWebGeopositionError_Vtbl { - pub const fn new, Impl: IWebGeopositionError_Impl, const OFFSET: isize>() -> IWebGeopositionError_Vtbl { - unsafe extern "system" fn code, Impl: IWebGeopositionError_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.code() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn message, Impl: IWebGeopositionError_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.message() { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(p, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - code: code::, - message: message::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -pub trait IXMLGenericParse_Impl: Sized { - fn SetGenericParse(&self, fdogeneric: i16) -> ::windows::core::Result<()>; -} -impl ::windows::core::RuntimeName for IXMLGenericParse {} -impl IXMLGenericParse_Vtbl { - pub const fn new, Impl: IXMLGenericParse_Impl, const OFFSET: isize>() -> IXMLGenericParse_Vtbl { - unsafe extern "system" fn SetGenericParse, Impl: IXMLGenericParse_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fdogeneric: i16) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.SetGenericParse(::core::mem::transmute_copy(&fdogeneric)).into() - } - Self { base__: ::windows::core::IUnknownVtbl::new::(), SetGenericParse: SetGenericParse:: } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait IXMLHttpRequestEventTarget_Impl: Sized + super::super::System::Com::IDispatch_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for IXMLHttpRequestEventTarget {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IXMLHttpRequestEventTarget_Vtbl { - pub const fn new, Impl: IXMLHttpRequestEventTarget_Impl, const OFFSET: isize>() -> IXMLHttpRequestEventTarget_Vtbl { - Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub trait Iwfolders_Impl: Sized + super::super::System::Com::IDispatch_Impl { - fn navigate(&self, bstrurl: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn navigateFrame(&self, bstrurl: &super::super::Foundation::BSTR, bstrtargetframe: &super::super::Foundation::BSTR) -> ::windows::core::Result; - fn navigateNoSite(&self, bstrurl: &super::super::Foundation::BSTR, bstrtargetframe: &super::super::Foundation::BSTR, dwhwnd: u32, pwb: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::windows::core::RuntimeName for Iwfolders {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl Iwfolders_Vtbl { - pub const fn new, Impl: Iwfolders_Impl, const OFFSET: isize>() -> Iwfolders_Vtbl { - unsafe extern "system" fn navigate, Impl: Iwfolders_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, pbstrretval: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.navigate(::core::mem::transmute(&bstrurl)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrretval, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn navigateFrame, Impl: Iwfolders_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, bstrtargetframe: ::core::mem::ManuallyDrop, pbstrretval: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match this.navigateFrame(::core::mem::transmute(&bstrurl), ::core::mem::transmute(&bstrtargetframe)) { - ::core::result::Result::Ok(ok__) => { - ::core::ptr::write(pbstrretval, ::core::mem::transmute(ok__)); - ::windows::core::HRESULT(0) - } - ::core::result::Result::Err(err) => err.into(), - } - } - unsafe extern "system" fn navigateNoSite, Impl: Iwfolders_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, bstrtargetframe: ::core::mem::ManuallyDrop, dwhwnd: u32, pwb: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.navigateNoSite(::core::mem::transmute(&bstrurl), ::core::mem::transmute(&bstrtargetframe), ::core::mem::transmute_copy(&dwhwnd), ::core::mem::transmute(&pwb)).into() - } - Self { - base__: super::super::System::Com::IDispatch_Vtbl::new::(), - navigate: navigate::, - navigateFrame: navigateFrame::, - navigateNoSite: navigateNoSite::, - } - } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &::IID || iid == &::IID - } -} diff --git a/crates/libs/windows/src/Windows/Win32/Web/MsHtml/mod.rs b/crates/libs/windows/src/Windows/Win32/Web/MsHtml/mod.rs deleted file mode 100644 index 5d68310367..0000000000 --- a/crates/libs/windows/src/Windows/Win32/Web/MsHtml/mod.rs +++ /dev/null @@ -1,135998 +0,0 @@ -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ADDRESSBAND: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct ADDURL_FLAG(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ADDURL_FIRST: ADDURL_FLAG = ADDURL_FLAG(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ADDURL_ADDTOHISTORYANDCACHE: ADDURL_FLAG = ADDURL_FLAG(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ADDURL_ADDTOCACHE: ADDURL_FLAG = ADDURL_FLAG(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ADDURL_Max: ADDURL_FLAG = ADDURL_FLAG(2147483647i32); -impl ::core::marker::Copy for ADDURL_FLAG {} -impl ::core::clone::Clone for ADDURL_FLAG { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for ADDURL_FLAG { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for ADDURL_FLAG { - type Abi = Self; -} -impl ::core::fmt::Debug for ADDURL_FLAG { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ADDURL_FLAG").field(&self.0).finish() - } -} -pub const AnchorClick: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x13d5413c_33b9_11d2_95a7_00c04f8ecb02); -pub const ApplicationCache: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510829_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct BEHAVIOR_EVENT(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENT_FIRST: BEHAVIOR_EVENT = BEHAVIOR_EVENT(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENT_CONTENTREADY: BEHAVIOR_EVENT = BEHAVIOR_EVENT(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENT_DOCUMENTREADY: BEHAVIOR_EVENT = BEHAVIOR_EVENT(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENT_APPLYSTYLE: BEHAVIOR_EVENT = BEHAVIOR_EVENT(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENT_DOCUMENTCONTEXTCHANGE: BEHAVIOR_EVENT = BEHAVIOR_EVENT(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENT_CONTENTSAVE: BEHAVIOR_EVENT = BEHAVIOR_EVENT(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENT_LAST: BEHAVIOR_EVENT = BEHAVIOR_EVENT(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_EVENT_Max: BEHAVIOR_EVENT = BEHAVIOR_EVENT(2147483647i32); -impl ::core::marker::Copy for BEHAVIOR_EVENT {} -impl ::core::clone::Clone for BEHAVIOR_EVENT { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for BEHAVIOR_EVENT { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for BEHAVIOR_EVENT { - type Abi = Self; -} -impl ::core::fmt::Debug for BEHAVIOR_EVENT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BEHAVIOR_EVENT").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct BEHAVIOR_EVENT_FLAGS(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENTFLAGS_BUBBLE: BEHAVIOR_EVENT_FLAGS = BEHAVIOR_EVENT_FLAGS(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOREVENTFLAGS_STANDARDADDITIVE: BEHAVIOR_EVENT_FLAGS = BEHAVIOR_EVENT_FLAGS(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_EVENT_FLAGS_Max: BEHAVIOR_EVENT_FLAGS = BEHAVIOR_EVENT_FLAGS(2147483647i32); -impl ::core::marker::Copy for BEHAVIOR_EVENT_FLAGS {} -impl ::core::clone::Clone for BEHAVIOR_EVENT_FLAGS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for BEHAVIOR_EVENT_FLAGS { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for BEHAVIOR_EVENT_FLAGS { - type Abi = Self; -} -impl ::core::fmt::Debug for BEHAVIOR_EVENT_FLAGS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BEHAVIOR_EVENT_FLAGS").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct BEHAVIOR_LAYOUT_INFO(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORLAYOUTINFO_FULLDELEGATION: BEHAVIOR_LAYOUT_INFO = BEHAVIOR_LAYOUT_INFO(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORLAYOUTINFO_MODIFYNATURAL: BEHAVIOR_LAYOUT_INFO = BEHAVIOR_LAYOUT_INFO(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORLAYOUTINFO_MAPSIZE: BEHAVIOR_LAYOUT_INFO = BEHAVIOR_LAYOUT_INFO(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_LAYOUT_INFO_Max: BEHAVIOR_LAYOUT_INFO = BEHAVIOR_LAYOUT_INFO(2147483647i32); -impl ::core::marker::Copy for BEHAVIOR_LAYOUT_INFO {} -impl ::core::clone::Clone for BEHAVIOR_LAYOUT_INFO { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for BEHAVIOR_LAYOUT_INFO { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for BEHAVIOR_LAYOUT_INFO { - type Abi = Self; -} -impl ::core::fmt::Debug for BEHAVIOR_LAYOUT_INFO { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BEHAVIOR_LAYOUT_INFO").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct BEHAVIOR_LAYOUT_MODE(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORLAYOUTMODE_NATURAL: BEHAVIOR_LAYOUT_MODE = BEHAVIOR_LAYOUT_MODE(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORLAYOUTMODE_MINWIDTH: BEHAVIOR_LAYOUT_MODE = BEHAVIOR_LAYOUT_MODE(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORLAYOUTMODE_MAXWIDTH: BEHAVIOR_LAYOUT_MODE = BEHAVIOR_LAYOUT_MODE(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORLAYOUTMODE_MEDIA_RESOLUTION: BEHAVIOR_LAYOUT_MODE = BEHAVIOR_LAYOUT_MODE(16384i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORLAYOUTMODE_FINAL_PERCENT: BEHAVIOR_LAYOUT_MODE = BEHAVIOR_LAYOUT_MODE(32768i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_LAYOUT_MODE_Max: BEHAVIOR_LAYOUT_MODE = BEHAVIOR_LAYOUT_MODE(2147483647i32); -impl ::core::marker::Copy for BEHAVIOR_LAYOUT_MODE {} -impl ::core::clone::Clone for BEHAVIOR_LAYOUT_MODE { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for BEHAVIOR_LAYOUT_MODE { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for BEHAVIOR_LAYOUT_MODE { - type Abi = Self; -} -impl ::core::fmt::Debug for BEHAVIOR_LAYOUT_MODE { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BEHAVIOR_LAYOUT_MODE").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct BEHAVIOR_RELATION(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_FIRSTRELATION: BEHAVIOR_RELATION = BEHAVIOR_RELATION(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_SAMEELEMENT: BEHAVIOR_RELATION = BEHAVIOR_RELATION(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_PARENT: BEHAVIOR_RELATION = BEHAVIOR_RELATION(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_CHILD: BEHAVIOR_RELATION = BEHAVIOR_RELATION(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_SIBLING: BEHAVIOR_RELATION = BEHAVIOR_RELATION(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_LASTRELATION: BEHAVIOR_RELATION = BEHAVIOR_RELATION(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_RELATION_Max: BEHAVIOR_RELATION = BEHAVIOR_RELATION(2147483647i32); -impl ::core::marker::Copy for BEHAVIOR_RELATION {} -impl ::core::clone::Clone for BEHAVIOR_RELATION { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for BEHAVIOR_RELATION { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for BEHAVIOR_RELATION { - type Abi = Self; -} -impl ::core::fmt::Debug for BEHAVIOR_RELATION { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BEHAVIOR_RELATION").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct BEHAVIOR_RENDER_INFO(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_BEFOREBACKGROUND: BEHAVIOR_RENDER_INFO = BEHAVIOR_RENDER_INFO(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_AFTERBACKGROUND: BEHAVIOR_RENDER_INFO = BEHAVIOR_RENDER_INFO(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_BEFORECONTENT: BEHAVIOR_RENDER_INFO = BEHAVIOR_RENDER_INFO(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_AFTERCONTENT: BEHAVIOR_RENDER_INFO = BEHAVIOR_RENDER_INFO(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_AFTERFOREGROUND: BEHAVIOR_RENDER_INFO = BEHAVIOR_RENDER_INFO(32i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_ABOVECONTENT: BEHAVIOR_RENDER_INFO = BEHAVIOR_RENDER_INFO(40i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_ALLLAYERS: BEHAVIOR_RENDER_INFO = BEHAVIOR_RENDER_INFO(255i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_DISABLEBACKGROUND: BEHAVIOR_RENDER_INFO = BEHAVIOR_RENDER_INFO(256i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_DISABLENEGATIVEZ: BEHAVIOR_RENDER_INFO = BEHAVIOR_RENDER_INFO(512i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_DISABLECONTENT: BEHAVIOR_RENDER_INFO = BEHAVIOR_RENDER_INFO(1024i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_DISABLEPOSITIVEZ: BEHAVIOR_RENDER_INFO = BEHAVIOR_RENDER_INFO(2048i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_DISABLEALLLAYERS: BEHAVIOR_RENDER_INFO = BEHAVIOR_RENDER_INFO(3840i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_HITTESTING: BEHAVIOR_RENDER_INFO = BEHAVIOR_RENDER_INFO(4096i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_SURFACE: BEHAVIOR_RENDER_INFO = BEHAVIOR_RENDER_INFO(1048576i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIORRENDERINFO_3DSURFACE: BEHAVIOR_RENDER_INFO = BEHAVIOR_RENDER_INFO(2097152i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BEHAVIOR_RENDER_INFO_Max: BEHAVIOR_RENDER_INFO = BEHAVIOR_RENDER_INFO(2147483647i32); -impl ::core::marker::Copy for BEHAVIOR_RENDER_INFO {} -impl ::core::clone::Clone for BEHAVIOR_RENDER_INFO { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for BEHAVIOR_RENDER_INFO { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for BEHAVIOR_RENDER_INFO { - type Abi = Self; -} -impl ::core::fmt::Debug for BEHAVIOR_RENDER_INFO { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BEHAVIOR_RENDER_INFO").field(&self.0).finish() - } -} -pub const BlockFormats: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f831_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct BoolValue(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const True: BoolValue = BoolValue(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const False: BoolValue = BoolValue(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const BoolValue_Max: BoolValue = BoolValue(2147483647i32); -impl ::core::marker::Copy for BoolValue {} -impl ::core::clone::Clone for BoolValue { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for BoolValue { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for BoolValue { - type Abi = Self; -} -impl ::core::fmt::Debug for BoolValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BoolValue").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct CARET_DIRECTION(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CARET_DIRECTION_INDETERMINATE: CARET_DIRECTION = CARET_DIRECTION(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CARET_DIRECTION_SAME: CARET_DIRECTION = CARET_DIRECTION(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CARET_DIRECTION_BACKWARD: CARET_DIRECTION = CARET_DIRECTION(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CARET_DIRECTION_FORWARD: CARET_DIRECTION = CARET_DIRECTION(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CARET_DIRECTION_Max: CARET_DIRECTION = CARET_DIRECTION(2147483647i32); -impl ::core::marker::Copy for CARET_DIRECTION {} -impl ::core::clone::Clone for CARET_DIRECTION { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for CARET_DIRECTION { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for CARET_DIRECTION { - type Abi = Self; -} -impl ::core::fmt::Debug for CARET_DIRECTION { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CARET_DIRECTION").field(&self.0).finish() - } -} -pub const CATID_MSOfficeAntiVirus: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x56ffcc30_d398_11d0_b2ae_00a0c908fa49); -pub const CClientCaps: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x7e8bc44e_aeff_11d1_89c2_00c04fb6bfc4); -pub const CDeviceRect: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6d4_98b5_11cf_bb82_00aa00bdce0b); -pub const CDownloadBehavior: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5be_98b5_11cf_bb82_00aa00bdce0b); -pub const CEventObj: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f48a_98b5_11cf_bb82_00aa00bdce0b); -pub const CGID_DocHostCommandHandler: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xf38bc242_b950_11d1_8918_00c04fc2c836); -pub const CGID_EditStateCommands: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4b6_98b5_11cf_bb82_00aa00bdce0b); -pub const CHeaderFooter: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6cd_98b5_11cf_bb82_00aa00bdce0b); -pub const CLayoutRect: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f664_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_HOSTCONTEXT_URL: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_ALLOWRECOVERY: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_BASEIURI: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_HTMLDLGTRUST: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_IURI: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_NAMESPACE: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_SECSTATE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_SECURITY_WINDOW: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_SID: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_TRUSTEDDOC: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMDID_SCRIPTSITE_URL: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMD_ZOOM_FIT: i32 = -5i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMD_ZOOM_ONEPAGE: i32 = -2i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMD_ZOOM_PAGEWIDTH: i32 = -1i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMD_ZOOM_SELECTION: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CMD_ZOOM_TWOPAGES: i32 = -3i32; -pub const CMimeTypes: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3fe_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COLOR_NO_TRANSPARENT: u32 = 4294967295u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_ANCHOR: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_CONTROL: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_DEBUG: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_DEFAULT: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_DISABLEDFLASH: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_ENTITY: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_HSCROLL: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_IMAGE: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_IMGDYNSRC: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_MEDIA: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_PDF: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_TABLE: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_TEXTSELECT: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_UNKNOWN: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_MENU_VSCROLL: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COOKIEACTION_ACCEPT: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COOKIEACTION_DOWNGRADE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COOKIEACTION_LEASH: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COOKIEACTION_NONE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COOKIEACTION_READ: u32 = 32u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COOKIEACTION_REJECT: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COOKIEACTION_SUPPRESS: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct COORD_SYSTEM(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COORD_SYSTEM_GLOBAL: COORD_SYSTEM = COORD_SYSTEM(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COORD_SYSTEM_PARENT: COORD_SYSTEM = COORD_SYSTEM(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COORD_SYSTEM_CONTAINER: COORD_SYSTEM = COORD_SYSTEM(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COORD_SYSTEM_CONTENT: COORD_SYSTEM = COORD_SYSTEM(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COORD_SYSTEM_FRAME: COORD_SYSTEM = COORD_SYSTEM(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COORD_SYSTEM_CLIENT: COORD_SYSTEM = COORD_SYSTEM(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const COORD_SYSTEM_Max: COORD_SYSTEM = COORD_SYSTEM(2147483647i32); -impl ::core::marker::Copy for COORD_SYSTEM {} -impl ::core::clone::Clone for COORD_SYSTEM { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for COORD_SYSTEM { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for COORD_SYSTEM { - type Abi = Self; -} -impl ::core::fmt::Debug for COORD_SYSTEM { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("COORD_SYSTEM").field(&self.0).finish() - } -} -pub const COpsProfile: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f402_98b5_11cf_bb82_00aa00bdce0b); -pub const CPersistDataPeer: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f487_98b5_11cf_bb82_00aa00bdce0b); -pub const CPersistHistory: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4c8_98b5_11cf_bb82_00aa00bdce0b); -pub const CPersistShortcut: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4c6_98b5_11cf_bb82_00aa00bdce0b); -pub const CPersistSnapshot: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4c9_98b5_11cf_bb82_00aa00bdce0b); -pub const CPersistUserData: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f48e_98b5_11cf_bb82_00aa00bdce0b); -pub const CPlugins: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3ff_98b5_11cf_bb82_00aa00bdce0b); -pub const CPrintManagerTemplatePrinter: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x63619f54_9d71_4c23_a08d_50d7f18db2e9); -pub const CTemplatePrinter: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6b3_98b5_11cf_bb82_00aa00bdce0b); -pub const CanvasGradient: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510715_98b5_11cf_bb82_00aa00bdce0b); -pub const CanvasImageData: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051071b_98b5_11cf_bb82_00aa00bdce0b); -pub const CanvasPattern: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510717_98b5_11cf_bb82_00aa00bdce0b); -pub const CanvasRenderingContext2D: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510700_98b5_11cf_bb82_00aa00bdce0b); -pub const CanvasTextMetrics: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510719_98b5_11cf_bb82_00aa00bdce0b); -pub const CoDitherToRGB8: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa860ce50_3910_11d0_86fc_00a0c913f750); -pub const CoMapMIMEToCLSID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30c3b080_30fb_11d0_b724_00aa006c1a01); -pub const CoSniffStream: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6a01fda0_30df_11d0_b724_00aa006c1a01); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Graphics_Gdi\"`*"] -#[cfg(feature = "Win32_Graphics_Gdi")] -#[inline] -pub unsafe fn ComputeInvCMAP(prgbcolors: *const super::super::Graphics::Gdi::RGBQUAD, ncolors: u32, pinvtable: *mut u8, cbtable: u32) -> ::windows::core::Result<()> { - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn ComputeInvCMAP(prgbcolors: *const super::super::Graphics::Gdi::RGBQUAD, ncolors: u32, pinvtable: *mut u8, cbtable: u32) -> ::windows::core::HRESULT; - } - ComputeInvCMAP(::core::mem::transmute(prgbcolors), ncolors, ::core::mem::transmute(pinvtable), cbtable).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`*"] -#[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] -#[inline] -pub unsafe fn CreateDDrawSurfaceOnDIB<'a, P0>(hbmdib: P0) -> ::windows::core::Result -where - P0: ::std::convert::Into, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn CreateDDrawSurfaceOnDIB(hbmdib: super::super::Graphics::Gdi::HBITMAP, ppsurface: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; - } - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - CreateDDrawSurfaceOnDIB(hbmdib.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[inline] -pub unsafe fn CreateMIMEMap() -> ::windows::core::Result { - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn CreateMIMEMap(ppmap: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; - } - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - CreateMIMEMap(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEBUGCALLBACKNOTIFICATION_ANIMATIONFRAME: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEBUGCALLBACKNOTIFICATION_DOMEVENT: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEBUGCALLBACKNOTIFICATION_IMMEDIATE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEBUGCALLBACKNOTIFICATION_INTERVAL: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEBUGCALLBACKNOTIFICATION_TIMEOUT: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEBUGDOMEVENTPROPAGATIONSTATUS_DEFAULTCANCELED: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEBUGDOMEVENTPROPAGATIONSTATUS_STOPIMMEDIATEPROPAGATION: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEBUGDOMEVENTPROPAGATIONSTATUS_STOPPROPAGATION: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DEV_CONSOLE_MESSAGE_LEVEL(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DCML_INFORMATIONAL: DEV_CONSOLE_MESSAGE_LEVEL = DEV_CONSOLE_MESSAGE_LEVEL(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DCML_WARNING: DEV_CONSOLE_MESSAGE_LEVEL = DEV_CONSOLE_MESSAGE_LEVEL(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DCML_ERROR: DEV_CONSOLE_MESSAGE_LEVEL = DEV_CONSOLE_MESSAGE_LEVEL(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEV_CONSOLE_MESSAGE_LEVEL_Max: DEV_CONSOLE_MESSAGE_LEVEL = DEV_CONSOLE_MESSAGE_LEVEL(2147483647i32); -impl ::core::marker::Copy for DEV_CONSOLE_MESSAGE_LEVEL {} -impl ::core::clone::Clone for DEV_CONSOLE_MESSAGE_LEVEL { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for DEV_CONSOLE_MESSAGE_LEVEL { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for DEV_CONSOLE_MESSAGE_LEVEL { - type Abi = Self; -} -impl ::core::fmt::Debug for DEV_CONSOLE_MESSAGE_LEVEL { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DEV_CONSOLE_MESSAGE_LEVEL").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISP10_IE10_XMSARIAFLOWFROM: u32 = 66835u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_1D: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_2D: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AAHEADER: u32 = 70793u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ACTIVEXFILTERINGENABLED: u32 = 61u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ACTIVEX_EXPANDO_BASE: u32 = 72536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ACTIVEX_EXPANDO_MAX: u32 = 73535u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDCHANNEL: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDDESKTOPCOMPONENT: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDFAVORITE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDSEARCHPROVIDER: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDSERVICE: u32 = 30u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDSITEMODE: u32 = 49u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDTHUMBNAILBUTTONS: u32 = 48u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDTOFAVORITESBAR: u32 = 32u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADDTRACKINGPROTECTIONLIST: u32 = 57u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADVANCEERROR: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ADVISEDATASRCCHANGEEVENT: i32 = -3901i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AMBIENT_DLCONTROL: i32 = -5512i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AMBIENT_OFFLINEIFNOTCONNECTED: i32 = -5501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AMBIENT_SILENT: i32 = -5502i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AMBIENT_USERAGENT: i32 = -5513i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ANCHOR: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_APPLICATIONCACHE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AREA: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ATTRS: u32 = 70536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AUDIO: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AUTOCOMPLETEATTACH: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AUTOCOMPLETESAVEFORM: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_AUTOSCAN: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ACCELERATOR: u32 = 70683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ACCEVENTRECORDID_END: u32 = 71209u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ACCEVENTRECORDID_START: u32 = 71190u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ALIGNCONTENT: u32 = 71009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ALIGNITEMS: u32 = 71007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ALIGNMENTBASELINE: u32 = 70814u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ALIGNSELF: u32 = 71008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ALLOWTRANSPARENCY: u32 = 70742u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATION: u32 = 70985u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATIONDELAY: u32 = 70981u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATIONDIRECTION: u32 = 70982u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATIONDURATION: u32 = 70979u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATIONFILLMODE: u32 = 70986u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATIONITERATIONCOUNT: u32 = 70984u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATIONNAME: u32 = 70978u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATIONPLAYSTATE: u32 = 70983u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ANIMATIONTIMINGFUNCTION: u32 = 70980u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BACKFACEVISIBILITY: u32 = 70977u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BACKGROUND: u32 = 70568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BACKGROUNDATTACHMENT: u32 = 70581u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BACKGROUNDIMAGE: u32 = 70537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BACKGROUNDPOSITION: u32 = 70582u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BACKGROUNDPOSX: u32 = 70569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BACKGROUNDPOSY: u32 = 70570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BACKGROUNDREPEAT: u32 = 70580u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BASEFONT: u32 = 70562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BASELINESHIFT: u32 = 70815u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BDURLIMGCTXCACHEINDEX: u32 = 71214u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BEHAVIOR: u32 = 70651u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BGURLIMGCTXCACHEINDEX: u32 = 70646u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BGURLIMGCTXCACHEINDEX_FLETTER: u32 = 70738u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BGURLIMGCTXCACHEINDEX_FLINE: u32 = 70737u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDER: u32 = 70585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERBOTTOM: u32 = 70588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERBOTTOMCOLOR: u32 = 70593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERBOTTOMLEFTRADIUS: u32 = 70850u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERBOTTOMRIGHTRADIUS: u32 = 70849u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERBOTTOMSTYLE: u32 = 70603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERBOTTOMWIDTH: u32 = 70598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERCOLLAPSE: u32 = 70620u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERCOLOR: u32 = 70590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERIMAGE: u32 = 71010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERIMAGEOUTSET: u32 = 71014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERIMAGEREPEAT: u32 = 71015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERIMAGESLICE: u32 = 71012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERIMAGESOURCE: u32 = 71011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERIMAGEWIDTH: u32 = 71013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERLEFT: u32 = 70589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERLEFTCOLOR: u32 = 70594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERLEFTSTYLE: u32 = 70604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERLEFTWIDTH: u32 = 70599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERRADIUS: u32 = 70846u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERRIGHT: u32 = 70587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERRIGHTCOLOR: u32 = 70592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERRIGHTSTYLE: u32 = 70602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERRIGHTWIDTH: u32 = 70597u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERSPACING: u32 = 70763u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERSTYLE: u32 = 70600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERTOP: u32 = 70586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERTOPCOLOR: u32 = 70591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERTOPLEFTRADIUS: u32 = 70847u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERTOPRIGHTRADIUS: u32 = 70848u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERTOPSTYLE: u32 = 70601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERTOPWIDTH: u32 = 70596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BORDERWIDTH: u32 = 70595u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BOXSIZING: u32 = 70762u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BREAKAFTER: u32 = 70882u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BREAKBEFORE: u32 = 70881u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_BREAKINSIDE: u32 = 70883u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CAPTIONSIDE: u32 = 70755u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLASSLIST: u32 = 70953u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLEAR: u32 = 70552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLIP: u32 = 70628u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLIPPATH: u32 = 70820u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLIPRECTBOTTOM: u32 = 70631u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLIPRECTLEFT: u32 = 70632u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLIPRECTRIGHT: u32 = 70630u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLIPRECTTOP: u32 = 70629u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CLIPRULE: u32 = 70821u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLORINTERPOLATIONFILTERS: u32 = 70928u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNCOUNT: u32 = 70872u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNFILL: u32 = 70875u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNGAP: u32 = 70874u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNRULE: u32 = 70877u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNRULECOLOR: u32 = 70880u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNRULESTYLE: u32 = 70878u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNRULEWIDTH: u32 = 70879u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNS: u32 = 70871u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNSPAN: u32 = 70876u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COLUMNWIDTH: u32 = 70873u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CONTENT: u32 = 70754u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COUNTERINCREMENT: u32 = 70756u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_COUNTERRESET: u32 = 70757u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CSSFLOAT: u32 = 70845u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_CURSOR: u32 = 70638u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_DATASET: u32 = 71016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_DEFAULTTEXTSELECTION: u32 = 70724u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_DIR: u32 = 70653u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_DIRECTION: u32 = 70655u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_DISPLAY: u32 = 70607u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_DOCFRAGMENT: u32 = 70678u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_DOMINANTBASELINE: u32 = 70816u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_DRAGGABLE: u32 = 70944u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_EDITABLE: u32 = 70698u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_EMPTYCELLS: u32 = 70786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ENABLEBACKGROUND: u32 = 70946u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_EVENTSINK: u32 = 70639u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_EXTENDEDTAGDESC: u32 = 70687u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FILL: u32 = 70822u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FILLOPACITY: u32 = 70823u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FILLRULE: u32 = 70824u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FILTER: u32 = 70618u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FIRST: u32 = 70536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLEX: u32 = 71002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLEXBASIS: u32 = 71005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLEXDIRECTION: u32 = 70998u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLEXFLOW: u32 = 71000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLEXGROW: u32 = 71003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLEXSHRINK: u32 = 71004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLEXWRAP: u32 = 70999u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLOAT: u32 = 70606u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLOODCOLOR: u32 = 70926u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FLOODOPACITY: u32 = 70927u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONT: u32 = 70577u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTFACE: u32 = 70554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTFACESRC: u32 = 70633u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTFEATURESETTINGS: u32 = 70987u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTSIZE: u32 = 70555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTSIZEADJUST: u32 = 70817u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTSIZECOMBINE: u32 = 70579u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTSIZEKEYWORD: u32 = 70578u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTSTRETCH: u32 = 70818u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTSTYLE: u32 = 70560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTVARIANT: u32 = 70561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FONTWEIGHT: u32 = 70563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_FROZEN: u32 = 70734u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_GLYPHORIENTATIONHORIZONTAL: u32 = 70843u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_GLYPHORIENTATIONVERTICAL: u32 = 70844u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HASLAYOUT: u32 = 70696u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HIDDEN: u32 = 70617u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HIDEFOCUS: u32 = 70699u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HTCDD_CREATEEVENTOBJECT: u32 = 70680u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HTCDD_DEFAULTS: u32 = 70701u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HTCDD_ELEMENT: u32 = 70679u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HTCDD_ISMARKUPSHARED: u32 = 70693u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HTCDD_PROTECTEDELEMENT: u32 = 70690u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HTCDISPATCHITEM_VALUE: u32 = 70677u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_HTCDISPATCHITEM_VALUE_SCRIPTSONLY: u32 = 70686u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_IE9_BACKGROUNDCLIP: u32 = 70852u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_IE9_BACKGROUNDORIGIN: u32 = 70853u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_IE9_BACKGROUNDSIZE: u32 = 70854u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_IE9_BOXSHADOW: u32 = 70855u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_IMEMODE: u32 = 70656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_INTERPOLATION: u32 = 70749u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ISBLOCK: u32 = 70744u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_JUSTIFYCONTENT: u32 = 71006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_KERNING: u32 = 70825u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LANG: u32 = 70545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LANGUAGE: u32 = 70636u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LAYOUTFLOW: u32 = 70691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LAYOUTGRID: u32 = 70667u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LAYOUTGRIDCHAR: u32 = 70663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LAYOUTGRIDLINE: u32 = 70664u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LAYOUTGRIDMODE: u32 = 70665u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LAYOUTGRIDTYPE: u32 = 70666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LETTERSPACING: u32 = 70544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LIGHTINGCOLOR: u32 = 70929u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LINEBREAK: u32 = 70669u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LINEHEIGHT: u32 = 70542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LISTSTYLE: u32 = 70611u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LISTSTYLEIMAGE: u32 = 70610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LISTSTYLEPOSITION: u32 = 70609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LISTSTYLETYPE: u32 = 70608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LISTTYPE: u32 = 70553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_LIURLIMGCTXCACHEINDEX: u32 = 70647u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARGIN: u32 = 70572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARGINBOTTOM: u32 = 70575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARGINLEFT: u32 = 70576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARGINRIGHT: u32 = 70574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARGINTOP: u32 = 70573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARKER: u32 = 70826u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARKEREND: u32 = 70827u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARKERMID: u32 = 70828u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MARKERSTART: u32 = 70829u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MASK: u32 = 70830u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MAX: u32 = 71535u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MAXHEIGHT: u32 = 70750u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MAXWIDTH: u32 = 70752u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIA: u32 = 70697u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAASPECTRATIO: u32 = 71153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIACOLOR: u32 = 71159u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIACOLORINDEX: u32 = 71162u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIADEVICEASPECTRATIO: u32 = 71156u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIADEVICEHEIGHT: u32 = 71150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIADEVICEWIDTH: u32 = 71147u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAGRID: u32 = 71188u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAHEIGHT: u32 = 71144u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXASPECTRATIO: u32 = 71151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXCOLOR: u32 = 71157u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXCOLORINDEX: u32 = 71160u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXDEVICEASPECTRATIO: u32 = 71154u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXDEVICEHEIGHT: u32 = 71148u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXDEVICEWIDTH: u32 = 71145u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXHEIGHT: u32 = 71142u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXMONOCHROME: u32 = 71163u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXRESOLUTION: u32 = 71166u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMAXWIDTH: u32 = 71139u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINASPECTRATIO: u32 = 71152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINCOLOR: u32 = 71158u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINCOLORINDEX: u32 = 71161u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINDEVICEASPECTRATIO: u32 = 71155u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINDEVICEHEIGHT: u32 = 71149u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINDEVICEWIDTH: u32 = 71146u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINHEIGHT: u32 = 71143u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINMONOCHROME: u32 = 71164u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINRESOLUTION: u32 = 71167u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMINWIDTH: u32 = 71140u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMONOCHROME: u32 = 71165u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMSHIGHCONTRAST: u32 = 71174u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAMSVIEWSTATE: u32 = 71178u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAORIENTATION: u32 = 71138u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIARESOLUTION: u32 = 71168u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIASCAN: u32 = 71189u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAWEBKITDEVICEPIXELRATIO: u32 = 71215u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAWEBKITMAXDEVICEPIXELRATIO: u32 = 71216u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAWEBKITMINDEVICEPIXELRATIO: u32 = 71217u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MEDIAWIDTH: u32 = 71141u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MIN: u32 = 70536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MINHEIGHT: u32 = 70747u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MINWIDTH: u32 = 70751u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ACCELERATOR: u32 = 70783u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATION: u32 = 70924u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATIONDELAY: u32 = 70920u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATIONDIRECTION: u32 = 70921u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATIONDURATION: u32 = 70918u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATIONFILLMODE: u32 = 70925u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATIONITERATIONCOUNT: u32 = 70923u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATIONNAME: u32 = 70917u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATIONPLAYSTATE: u32 = 70922u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ANIMATIONTIMINGFUNCTION: u32 = 70919u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_BACKFACEVISIBILITY: u32 = 70890u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_BACKGROUNDPOSX: u32 = 70781u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_BACKGROUNDPOSY: u32 = 70782u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_BEHAVIOR: u32 = 70767u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_BLOCKPROGRESSION: u32 = 70787u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMCHAINING: u32 = 70895u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMFACTOR: u32 = 70900u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMING: u32 = 70892u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMLIMIT: u32 = 70897u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMLIMITMAX: u32 = 70902u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMLIMITMIN: u32 = 70901u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMSNAP: u32 = 70898u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMSNAPPOINTS: u32 = 70899u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_CONTENTZOOMSNAPTYPE: u32 = 70893u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FILTER: u32 = 70801u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEX: u32 = 70955u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXALIGN: u32 = 70962u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXDIRECTION: u32 = 70960u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXFLOW: u32 = 70959u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXITEMALIGN: u32 = 70963u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXLINEPACK: u32 = 70965u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXNEGATIVE: u32 = 70957u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXORDER: u32 = 70966u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXPACK: u32 = 70964u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXPOSITIVE: u32 = 70956u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXPREFERREDSIZE: u32 = 70958u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLEXWRAP: u32 = 70961u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLOWFROM: u32 = 70938u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FLOWINTO: u32 = 70939u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_FONTFEATURESETTINGS: u32 = 70950u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_GRIDCOLUMN: u32 = 70908u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_GRIDCOLUMNALIGN: u32 = 70909u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_GRIDCOLUMNS: u32 = 70910u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_GRIDCOLUMNSPAN: u32 = 70911u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_GRIDROW: u32 = 70913u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_GRIDROWALIGN: u32 = 70914u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_GRIDROWS: u32 = 70915u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_GRIDROWSPAN: u32 = 70916u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_HIGHCONTRASTADJUST: u32 = 70945u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_HYPHENATE_LIMIT_CHARS: u32 = 70942u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_HYPHENATE_LIMIT_LINES: u32 = 70943u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_HYPHENATE_LIMIT_ZONE: u32 = 70941u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_HYPHENS: u32 = 70940u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_IMEALIGN: u32 = 71017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_IMEMODE: u32 = 70780u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_LAYOUTFLOW: u32 = 70784u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_LAYOUTGRID: u32 = 70799u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_LAYOUTGRIDCHAR: u32 = 70795u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_LAYOUTGRIDLINE: u32 = 70796u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_LAYOUTGRIDMODE: u32 = 70797u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_LAYOUTGRIDTYPE: u32 = 70798u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_LINEBREAK: u32 = 70800u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_OVERFLOWSTYLE: u32 = 70935u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_OVERFLOWX: u32 = 70802u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_OVERFLOWY: u32 = 70803u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_PERSPECTIVE: u32 = 70885u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_PERSPECTIVEORIGIN: u32 = 70886u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_PERSPECTIVEORIGINX: u32 = 70887u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_PERSPECTIVEORIGINY: u32 = 70888u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLBAR3DLIGHTCOLOR: u32 = 70770u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLBARARROWCOLOR: u32 = 70774u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLBARBASECOLOR: u32 = 70768u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLBARDARKSHADOWCOLOR: u32 = 70773u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLBARFACECOLOR: u32 = 70769u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLBARHIGHLIGHTCOLOR: u32 = 70772u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLBARSHADOWCOLOR: u32 = 70771u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLBARTRACKCOLOR: u32 = 70775u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLCHAINING: u32 = 70891u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLLIMIT: u32 = 70934u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLLIMITXMAX: u32 = 70932u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLLIMITXMIN: u32 = 70930u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLLIMITYMAX: u32 = 70933u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLLIMITYMIN: u32 = 70931u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLRAILS: u32 = 70894u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLSNAPPOINTSX: u32 = 70905u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLSNAPPOINTSY: u32 = 70906u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLSNAPTYPE: u32 = 70896u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLSNAPX: u32 = 70903u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLSNAPY: u32 = 70904u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_SCROLLTRANSLATION: u32 = 70954u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TEXTALIGNLAST: u32 = 70776u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TEXTAUTOSPACE: u32 = 70804u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TEXTCOMBINEHORIZONTAL: u32 = 71018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TEXTJUSTIFY: u32 = 70805u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TEXTKASHIDASPACE: u32 = 70806u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TEXTOVERFLOW: u32 = 70777u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TEXTSIZEADJUST: u32 = 70864u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TEXTUNDERLINEPOSITION: u32 = 70778u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TOUCHACTION: u32 = 70952u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TOUCHSELECT: u32 = 70994u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSFORM: u32 = 70851u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSFORMORIGIN: u32 = 70861u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSFORMORIGINX: u32 = 70862u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSFORMORIGINY: u32 = 70863u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSFORMORIGINZ: u32 = 70884u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSFORMSTYLE: u32 = 70889u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSITION: u32 = 70870u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSITIONDELAY: u32 = 70869u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSITIONDURATION: u32 = 70867u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSITIONPROPERTY: u32 = 70866u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_TRANSITIONTIMINGFUNCTION: u32 = 70868u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_USERSELECT: u32 = 70951u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_WORDBREAK: u32 = 70807u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_WORDWRAP: u32 = 70808u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_WRAPFLOW: u32 = 70949u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_WRAPMARGIN: u32 = 70947u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_WRAPTHROUGH: u32 = 70937u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_WRITINGMODE: u32 = 70779u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_MS_ZOOM: u32 = 70785u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_NOWRAP: u32 = 70541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_OPACITY: u32 = 70819u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ORDER: u32 = 71001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ORPHANS: u32 = 70764u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_OUTLINE: u32 = 70758u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_OUTLINECOLOR: u32 = 70761u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_OUTLINESTYLE: u32 = 70760u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_OUTLINEWIDTH: u32 = 70759u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_OVERFLOW: u32 = 70546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_OVERFLOWX: u32 = 70675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_OVERFLOWY: u32 = 70676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PADDING: u32 = 70547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PADDINGBOTTOM: u32 = 70550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PADDINGLEFT: u32 = 70551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PADDINGRIGHT: u32 = 70549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PADDINGTOP: u32 = 70548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PAGEBREAKAFTER: u32 = 70614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PAGEBREAKBEFORE: u32 = 70613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PAGEBREAKINSIDE: u32 = 70766u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PERSPECTIVE: u32 = 70974u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PERSPECTIVEORIGIN: u32 = 70975u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PERSPECTIVEORIGINX: u32 = 70992u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PERSPECTIVEORIGINY: u32 = 70993u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_POINTEREVENTS: u32 = 70831u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_POSITION: u32 = 70626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_PROPNOTIFYSINK: u32 = 70640u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_QUOTES: u32 = 70788u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_RENDERINGPRIORITY: u32 = 70706u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ROTATE: u32 = 70688u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ROWPOSITIONCHANGESINK: u32 = 70650u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ROWSETASYNCHNOTIFYSINK: u32 = 70648u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ROWSETNOTIFYSINK: u32 = 70641u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_RUBYALIGN: u32 = 70657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_RUBYOVERHANG: u32 = 70659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_RUBYPOSITION: u32 = 70658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLL: u32 = 70615u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLLBAR3DLIGHTCOLOR: u32 = 70718u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLLBARARROWCOLOR: u32 = 70722u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLLBARBASECOLOR: u32 = 70716u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLLBARDARKSHADOWCOLOR: u32 = 70721u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLLBARFACECOLOR: u32 = 70717u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLLBARHIGHLIGHTCOLOR: u32 = 70720u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLLBARSHADOWCOLOR: u32 = 70719u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SCROLLBARTRACKCOLOR: u32 = 70732u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_SPELLCHECK: u32 = 70907u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STOPCOLOR: u32 = 70832u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STOPOPACITY: u32 = 70833u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STROKE: u32 = 70834u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STROKEDASHARRAY: u32 = 70835u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STROKEDASHOFFSET: u32 = 70836u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STROKELINECAP: u32 = 70837u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STROKELINEJOIN: u32 = 70838u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STROKEMITERLIMIT: u32 = 70839u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STROKEOPACITY: u32 = 70840u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STROKEWIDTH: u32 = 70841u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STYLETEXT: u32 = 70635u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_STYLETEXTDECORATION: u32 = 70727u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TABLEBORDERCOLOR: u32 = 70564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TABLEBORDERCOLORDARK: u32 = 70566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TABLEBORDERCOLORLIGHT: u32 = 70565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TABLELAYOUT: u32 = 70634u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TABLEVALIGN: u32 = 70567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTALIGNLAST: u32 = 70739u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTANCHOR: u32 = 70842u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTAUTOSPACE: u32 = 70668u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTBACKGROUNDCOLOR: u32 = 70705u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTCOLOR: u32 = 70726u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTDECORATION: u32 = 70571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTDECORATIONBLINK: u32 = 70558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTDECORATIONCOLOR: u32 = 70725u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTDECORATIONLINETHROUGH: u32 = 70556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTDECORATIONNONE: u32 = 70559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTDECORATIONOVERLINE: u32 = 70605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTDECORATIONUNDERLINE: u32 = 70557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTEFFECT: u32 = 70704u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTINDENT: u32 = 70543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTJUSTIFY: u32 = 70671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTJUSTIFYTRIM: u32 = 70672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTKASHIDA: u32 = 70673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTKASHIDASPACE: u32 = 70740u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTLINETHROUGHSTYLE: u32 = 70702u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTOVERFLOW: u32 = 70745u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTSHADOW: u32 = 70936u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTTRANSFORM: u32 = 70540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTUNDERLINEPOSITION: u32 = 70695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TEXTUNDERLINESTYLE: u32 = 70703u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TOUCHACTION: u32 = 71019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSFORM: u32 = 70967u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSFORMORIGIN: u32 = 70968u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSFORMORIGINX: u32 = 70988u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSFORMORIGINY: u32 = 70989u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSFORMORIGINZ: u32 = 70990u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSFORMSTYLE: u32 = 70976u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSITION: u32 = 70973u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSITIONDELAY: u32 = 70972u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSITIONDURATION: u32 = 70970u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSITIONPROPERTY: u32 = 70969u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_TRANSITIONTIMINGFUNCTION: u32 = 70971u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_UNICODEBIDI: u32 = 70654u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_UNIQUEPEERNUMBER: u32 = 70682u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_URNATOM: u32 = 70681u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_VERTICALALIGN: u32 = 70584u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_VIEWINHERITSTYLE: u32 = 70735u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_VISIBILITY: u32 = 70616u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATION: u32 = 71033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATIONDELAY: u32 = 71038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATIONDIRECTION: u32 = 71040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATIONDURATION: u32 = 71036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATIONFILLMODE: u32 = 71027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATIONITERATIONCOUNT: u32 = 71039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATIONNAME: u32 = 71035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATIONPLAYSTATE: u32 = 71041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_ANIMATIONTIMINGFUNCTION: u32 = 71037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_APPEARANCE: u32 = 71020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKFACEVISIBILITY: u32 = 71030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUND: u32 = 71055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDATTACHMENT: u32 = 71046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDCLIP: u32 = 71048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDCOLOR: u32 = 71047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDIMAGE: u32 = 71049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDORIGIN: u32 = 71051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDPOSITION: u32 = 71052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDPOSITIONX: u32 = 71053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDPOSITIONY: u32 = 71054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDREPEAT: u32 = 71050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BACKGROUNDSIZE: u32 = 71029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BORDERIMAGE: u32 = 71061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BORDERIMAGEOUTSET: u32 = 71065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BORDERIMAGEREPEAT: u32 = 71066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BORDERIMAGESLICE: u32 = 71063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BORDERIMAGESOURCE: u32 = 71062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BORDERIMAGEWIDTH: u32 = 71064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BOXALIGN: u32 = 71021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BOXDIRECTION: u32 = 71026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BOXFLEX: u32 = 71024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BOXORDINALGROUP: u32 = 71022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BOXORIENT: u32 = 71025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BOXPACK: u32 = 71023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_BOXSIZING: u32 = 71031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TEXTSIZEADJUST: u32 = 71060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSFORM: u32 = 71028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSFORMORIGIN: u32 = 71056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSFORMORIGINX: u32 = 71057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSFORMORIGINY: u32 = 71058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSFORMORIGINZ: u32 = 71059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSITION: u32 = 71034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSITIONDELAY: u32 = 71045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSITIONDURATION: u32 = 71043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSITIONPROPERTY: u32 = 71042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_TRANSITIONTIMINGFUNCTION: u32 = 71044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WEBKIT_USERSELECT: u32 = 71032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WHITESPACE: u32 = 70612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WIDOWS: u32 = 70765u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WORDBREAK: u32 = 70670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WORDSPACING: u32 = 70583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WORDWRAP: u32 = 70694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_WRITINGMODE: u32 = 70728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ZINDEX: u32 = 70627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_A_ZOOM: u32 = 70689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BASE_STYLE: u32 = 70036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BASE_STYLERULE: u32 = 1100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BEFORENAVIGATE: u32 = 100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BEFORENAVIGATE2: u32 = 250u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BEFORESCRIPTEXECUTE: u32 = 290u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BGSOUND: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BLOCK: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BODY: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BR: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BRANDIMAGEURI: u32 = 20u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BUILDNEWTABPAGE: u32 = 33u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_BUTTON: u32 = 8000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANADVANCEERROR: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANRETREATERROR: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANVASELEMENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANVASGRADIENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANVASIMAGEDATA: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANVASPIXELARRAY: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANVASPIXELARRAY_BASE: u32 = 5000000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANVASPIXELARRAY_MAX: u32 = 2000000000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANVASRENDERCONTEXT2D: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CANVASTEXTMETRICS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CHANGEDEFAULTBROWSER: u32 = 68u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CHECKBOX: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CLEARNOTIFICATION: u32 = 71u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CLEARSITEMODEICONOVERLAY: u32 = 45u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CLIENTCAPS: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CLIENTTOHOSTWINDOW: u32 = 268u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_COLLECTION: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_COLLECTION_MAX: u32 = 2999999u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_COLLECTION_MIN: u32 = 1000000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_COMMANDSTATECHANGE: u32 = 105u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_COMMENTPDL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CONTENTDISCOVERYRESET: u32 = 36u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_COUNTVIEWTYPES: u32 = 22u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CREATESUBSCRIPTION: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CUSTOMIZECLEARTYPE: u32 = 23u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CUSTOMIZESETTINGS: u32 = 17u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTBOLD: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTCHARSET: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTITAL: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTNAME: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTSIZE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTSTRIKE: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTSUBSCRIPT: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTSUPERSCRIPT: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTUNDER: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_CommonCtrl_FONTWEIGHT: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DATALIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DATATRANSFER: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DD: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DEBUG_ENABLESECUREPROXYASSERTS: i32 = -5518i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DEBUG_INTERNALWINDOW: i32 = -5517i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DEBUG_ISSECUREPROXY: i32 = -5515i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DEBUG_TRUSTEDPROXY: i32 = -5516i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DEFAULTS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DEFAULTSEARCHPROVIDER: u32 = 26u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DEFAULTVALUE: u32 = 70619u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DELETESUBSCRIPTION: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DEPTH: u32 = 17u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DIAGNOSECONNECTION: u32 = 22u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DIAGNOSECONNECTIONUILESS: u32 = 66u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DIR: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DIV: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOCFRAG: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOCUMENTCOMPATIBLEINFO: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOCUMENTCOMPATIBLEINFO_COLLECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOCUMENTCOMPLETE: u32 = 259u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOCUMENTTYPE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMATTRIBUTE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMBEFOREUNLOADEVENT: u32 = 1375u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMCLOSEEVENT: u32 = 1525u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMCOMPOSITIONEVENT: u32 = 1175u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMCUSTOMEVENT: u32 = 1200u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMDRAGEVENT: u32 = 1400u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMEVENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMEXCEPTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMFOCUSEVENT: u32 = 1250u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMIMPLEMENTATION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMKEYBOARDEVENT: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMESSAGEEVENT: u32 = 1325u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMOUSEEVENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMOUSEWHEELEVENT: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMSANIMATIONEVENT: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMSGESTUREEVENT: u32 = 1450u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMSMANIPULATIONEVENT: u32 = 1525u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMSPOINTEREVENT: u32 = 1425u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMSTRANSITIONEVENT: u32 = 1475u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMMUTATIONEVENT: u32 = 1225u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMPARSER: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMPROGRESSEVENT: u32 = 1550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMRANGE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMSITEMODEEVENT: u32 = 1300u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMSTORAGE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMSTORAGEEVENT: u32 = 1350u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMSTORAGEITEM: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMSTORAGELIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMTEXTEVENT: u32 = 1125u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMTEXTNODE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMTRAVERSAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMUIEVENT: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOMWHEELEVENT: u32 = 1100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOUBLECLICK: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOWNLOADBEGIN: u32 = 106u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DOWNLOADCOMPLETE: u32 = 104u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONCLICK: i32 = -600i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONDBLCLICK: i32 = -601i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONKEYDOWN: i32 = -602i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONKEYPRESS: i32 = -603i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONKEYUP: i32 = -604i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONMOUSEDOWN: i32 = -605i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONMOUSEMOVE: i32 = -606i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONMOUSEUP: i32 = -607i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONREADYSTATECHANGE: i32 = -609i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_DWEBBRIDGEEVENTS_ONSCRIPTLETEVENT: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EFONT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ELEMENT: u32 = 66536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ENABLENOTIFICATIONQUEUE: u32 = 72u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ENABLENOTIFICATIONQUEUELARGE: u32 = 78u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ENABLENOTIFICATIONQUEUESQUARE: u32 = 76u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ENABLENOTIFICATIONQUEUEWIDE: u32 = 77u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ENABLESUGGESTEDSITES: u32 = 39u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ENUMOPTIONS: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVENTEXCEPTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVENTHOOK_INSENSITIVE_BASE: u32 = 4500000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVENTHOOK_INSENSITIVE_MAX: u32 = 4999999u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVENTHOOK_SENSITIVE_BASE: u32 = 4000000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVENTHOOK_SENSITIVE_MAX: u32 = 4499999u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVENTOBJ: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVENTS: u32 = 71536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONACTIVATE: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONAFTERPRINT: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONAFTERUPDATE: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONALERT: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFOREACTIVATE: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFORECOPY: u32 = 65566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFORECUT: u32 = 65565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFOREDEACTIVATE: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFOREEDITFOCUS: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFOREPASTE: u32 = 65567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFOREPRINT: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFOREUNLOAD: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBEFOREUPDATE: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONBOUNCE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCELLCHANGE: u32 = 65570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCHANGEBLUR: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCHANGEFOCUS: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCLICK: i32 = -600i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCONTENTREADY: u32 = 1029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCONTEXTMENU: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCONTROLSELECT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCOPY: u32 = 65563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONCUT: u32 = 65562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDATAAVAILABLE: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDATASETCHANGED: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDATASETCOMPLETE: u32 = 65552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDBLCLICK: i32 = -601i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDEACTIVATE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDOMMUTATION: u32 = 1068u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDRAG: u32 = 65556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDRAGEND: u32 = 65557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDRAGENTER: u32 = 65558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDRAGLEAVE: u32 = 65560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDRAGOVER: u32 = 65559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDRAGSTART: u32 = 65547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONDROP: u32 = 65561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONERRORUPDATE: u32 = 65549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONFILTER: u32 = 65553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONFINISH: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONFOCUS: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONFOCUSIN: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONFOCUSOUT: u32 = 1049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONHASHCHANGE: u32 = 1066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONHELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONHIDE: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONKEYDOWN: i32 = -602i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONKEYPRESS: i32 = -603i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONKEYUP: i32 = -604i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONLAYOUT: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONLAYOUTCOMPLETE: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONLINKEDOVERFLOW: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONLOSECAPTURE: u32 = 65554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMESSAGE: u32 = 1067u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSEDOWN: i32 = -605i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSEENTER: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSEHOVER: u32 = 1028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSELEAVE: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSEMOVE: i32 = -606i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSEOUT: u32 = 65545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSEOVER: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSEUP: i32 = -607i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOUSEWHEEL: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOVE: u32 = 1035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOVEEND: u32 = 1039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMOVESTART: u32 = 1038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONMULTILAYOUTCLEANUP: u32 = 1046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONOBJECTCONTENTSCROLLED: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONOFFLINE: u32 = 1065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONONLINE: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONPAGE: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONPASTE: u32 = 65564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONPERSISTLOAD: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONPERSISTSAVE: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONPOPUPMENUEND: u32 = 1063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONPOPUPMENUSTART: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONPROPERTYCHANGE: u32 = 65555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONREADYSTATECHANGE: i32 = -609i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONRESET: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONRESIZE: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONRESIZEEND: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONRESIZESTART: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONROWENTER: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONROWEXIT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONROWSDELETE: u32 = 65568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONROWSINSERTED: u32 = 65569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSCROLL: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSELECT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSELECTADD: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSELECTIONCHANGE: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSELECTREMOVE: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSELECTSTART: u32 = 65548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSELECTWITHIN: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSHOW: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSTART: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSTOP: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSTORAGE: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSTORAGECOMMIT: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSUBMIT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSYSTEMSCROLLINGEND: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONSYSTEMSCROLLINGSTART: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONUNLOAD: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVMETH_ONVALUECHANGE: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROPS_COUNT: u32 = 260u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ADDTRACK: u32 = 71736u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_CACHED: u32 = 71721u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_CANPLAY: u32 = 71670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_CANPLAYTHROUGH: u32 = 71671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_CHECKING: u32 = 71717u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_COMPOSITIONEND: u32 = 71660u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_COMPOSITIONSTART: u32 = 71658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_COMPOSITIONUPDATE: u32 = 71659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_DOMATTRMODIFIED: u32 = 71661u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_DOMCHARDATAMODIFIED: u32 = 71664u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_DOMCONTENTLOADED: u32 = 71662u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_DOMNODEINSERTED: u32 = 71667u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_DOMNODEREMOVED: u32 = 71668u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_DOMSUBTREEMODIFIED: u32 = 71669u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_DOWNLOADING: u32 = 71719u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_DURATIONCHANGE: u32 = 71672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_EMPTIED: u32 = 71673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ENDED: u32 = 71674u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_HTML5ONREADYSTATECHANGE: u32 = 71780u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_INPUT: u32 = 71663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_INVALID: u32 = 71724u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_LOADEDDATA: u32 = 71675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_LOADEDMETADATA: u32 = 71676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_LOADEND: u32 = 71723u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_LOADSTART: u32 = 71677u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSCONNECT: u32 = 71697u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSDISCONNECT: u32 = 71698u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSELEMENTRESIZE: u32 = 71742u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONCONTAINSFULLSCREENELEMENTCHANGED: u32 = 71783u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONCONTENTLOADING: u32 = 71753u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONDOMCONTENTLOADED: u32 = 71752u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONFRAMECONTENTLOADING: u32 = 71757u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONFRAMEDOMCONTENTLOADED: u32 = 71756u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONFRAMENAVIGATIONCOMPLETED: u32 = 71759u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONFRAMENAVIGATIONSTARTING: u32 = 71758u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONLONGRUNNINGSCRIPTDETECTED: u32 = 71763u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONNAVIGATIONCOMPLETED: u32 = 71755u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONNAVIGATIONSTARTING: u32 = 71754u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONSCRIPTNOTIFY: u32 = 71760u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONUNSAFECONTENTWARNINGDISPLAYING: u32 = 71762u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSHTMLWEBVIEW_ONUNVIEWABLECONTENT: u32 = 71761u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_MSORIENTATIONCHANGE: u32 = 71772u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_NOUPDATE: u32 = 71718u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_OBSOLETE: u32 = 71722u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONABORT: u32 = 71564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONACTIVATE: u32 = 71623u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONADDSOURCEBUFFER: u32 = 71746u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONAFTERPRINT: u32 = 71603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONAFTERUPDATE: u32 = 71558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONALERT: u32 = 71640u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONANIMATIONEND: u32 = 71712u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONANIMATIONITERATION: u32 = 71713u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONANIMATIONSTART: u32 = 71711u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONATTACHEVENT: u32 = 71606u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREACTIVATE: u32 = 71626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFORECOPY: u32 = 71595u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFORECUT: u32 = 71594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREDEACTIVATE: u32 = 71613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREDRAGOVER: u32 = 71559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREDROPORPASTE: u32 = 71560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREEDITFOCUS: u32 = 71605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREPASTE: u32 = 71596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREPRINT: u32 = 71602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREUNLOAD: u32 = 71575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBEFOREUPDATE: u32 = 71557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBLOCKED: u32 = 71726u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBLUR: u32 = 71551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONBOUNCE: u32 = 71556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCELLCHANGE: u32 = 71600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCHANGEBLUR: u32 = 71581u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCHANGEFOCUS: u32 = 71580u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCLICK: u32 = 71544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCLOSE: u32 = 71716u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCOMPASSNEEDSCALIBRATION: u32 = 71782u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCOMPLETE: u32 = 71727u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCONTENTREADY: u32 = 71608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCONTEXTMENU: u32 = 71601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCONTROLSELECT: u32 = 71615u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCOPY: u32 = 71592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCUECHANGE: u32 = 71729u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONCUT: u32 = 71591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDATAAVAILABLE: u32 = 71577u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDATASETCHANGED: u32 = 71576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDATASETCOMPLETE: u32 = 71578u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDBLCLICK: u32 = 71545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDEACTIVATE: u32 = 71624u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDEVICEMOTION: u32 = 71774u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDEVICEORIENTATION: u32 = 71773u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDOMFOCUSIN: u32 = 71793u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDOMFOCUSOUT: u32 = 71794u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDOMMUTATION: u32 = 71647u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDRAG: u32 = 71585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDRAGEND: u32 = 71586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDRAGENTER: u32 = 71587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDRAGLEAVE: u32 = 71589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDRAGOVER: u32 = 71588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDRAGSTART: u32 = 71571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONDROP: u32 = 71590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONENTER: u32 = 71730u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONERRORUPDATE: u32 = 71574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONEXIT: u32 = 71731u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONFILTER: u32 = 71579u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONFINISH: u32 = 71562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONFOCUS: u32 = 71550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONFOCUSIN: u32 = 71627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONFOCUSOUT: u32 = 71628u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONHASHCHANGE: u32 = 71645u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONHELP: u32 = 71549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONHIDE: u32 = 71639u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONKEYDOWN: u32 = 71541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONKEYPRESS: u32 = 71543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONKEYUP: u32 = 71542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONLAYOUT: u32 = 71570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONLAYOUTCOMPLETE: u32 = 71609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONLINKEDOVERFLOW: u32 = 71611u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONLOSECAPTURE: u32 = 71582u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMESSAGE: u32 = 71646u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSEDOWN: u32 = 71538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSEENTER: u32 = 71621u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSEHOVER: u32 = 71607u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSELEAVE: u32 = 71622u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSEMOVE: u32 = 71540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSEOUT: u32 = 71537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSEOVER: u32 = 71536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSEUP: u32 = 71539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOUSEWHEEL: u32 = 71612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOVE: u32 = 71614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOVEEND: u32 = 71618u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMOVESTART: u32 = 71617u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSCANDIDATEWINDOWHIDE: u32 = 71779u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSCANDIDATEWINDOWSHOW: u32 = 71777u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSCANDIDATEWINDOWUPDATE: u32 = 71778u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSCONTENTZOOM: u32 = 71708u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSFULLSCREENCHANGE: u32 = 71740u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSFULLSCREENERROR: u32 = 71741u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSGESTURECHANGE: u32 = 71700u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSGESTUREDOUBLETAP: u32 = 71704u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSGESTUREEND: u32 = 71701u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSGESTUREHOLD: u32 = 71702u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSGESTURESTART: u32 = 71699u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSGESTURETAP: u32 = 71703u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSGOTPOINTERCAPTURE: u32 = 71707u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSHOLDVISUAL: u32 = 71738u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSINERTIASTART: u32 = 71705u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSKEYADDED: u32 = 71751u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSKEYERROR: u32 = 71750u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSKEYMESSAGE: u32 = 71749u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSLOSTPOINTERCAPTURE: u32 = 71706u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSMANIPULATIONSTATECHANGED: u32 = 71714u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSNEEDKEY: u32 = 71748u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTERCANCEL: u32 = 71695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTERDOWN: u32 = 71690u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTERENTER: u32 = 71769u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTERHOVER: u32 = 71696u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTERLEAVE: u32 = 71770u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTERMOVE: u32 = 71691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTEROUT: u32 = 71694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTEROVER: u32 = 71693u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSPOINTERUP: u32 = 71692u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSREGIONUPDATE: u32 = 71733u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSSITEMODEJUMPLISTITEMREMOVED: u32 = 71666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSSITEPINNED: u32 = 71771u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSTHUMBNAILCLICK: u32 = 71657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSVIDEOFORMATCHANGED: u32 = 71735u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSVIDEOFRAMESTEPCOMPLETED: u32 = 71737u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMSVIDEOOPTIMALLAYOUTCHANGED: u32 = 71739u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONMULTILAYOUTCLEANUP: u32 = 71625u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONOBJECTCONTENTSCROLLED: u32 = 71635u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONOFFLINE: u32 = 71644u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONONLINE: u32 = 71643u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONOPEN: u32 = 71715u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPAGE: u32 = 71610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPAGEHIDE: u32 = 71776u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPAGESHOW: u32 = 71775u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPASTE: u32 = 71593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPERSISTLOAD: u32 = 71597u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPERSISTSAVE: u32 = 71584u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPOPSTATE: u32 = 71728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPOPUPMENUEND: u32 = 71642u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPOPUPMENUSTART: u32 = 71641u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONPROPERTYCHANGE: u32 = 71583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONREMOVESOURCEBUFFER: u32 = 71747u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONRESET: u32 = 71548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONRESIZE: u32 = 71572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONRESIZEEND: u32 = 71620u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONRESIZESTART: u32 = 71619u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONROWENTER: u32 = 71555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONROWEXIT: u32 = 71554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONROWSDELETE: u32 = 71598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONROWSINSERTED: u32 = 71599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSCROLL: u32 = 71567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSELECTADD: u32 = 71630u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSELECTIONCHANGE: u32 = 71616u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSELECTREMOVE: u32 = 71631u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSELECTSTART: u32 = 71573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSELECTWITHIN: u32 = 71632u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSHOW: u32 = 71638u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSOURCECLOSE: u32 = 71744u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSOURCEENDED: u32 = 71745u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSOURCEOPEN: u32 = 71743u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSTART: u32 = 71563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSTOP: u32 = 71604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSTORAGE: u32 = 71636u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSTORAGECOMMIT: u32 = 71637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSUBMIT: u32 = 71547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSUCCESS: u32 = 71725u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSYSTEMSCROLLINGEND: u32 = 71634u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONSYSTEMSCROLLINGSTART: u32 = 71633u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONTOUCHCANCEL: u32 = 71787u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONTOUCHEND: u32 = 71785u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONTOUCHMOVE: u32 = 71786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONTOUCHSTART: u32 = 71784u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONTRANSITIONEND: u32 = 71710u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONTRANSITIONSTART: u32 = 71709u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONUNLOAD: u32 = 71569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONUPDATE: u32 = 71767u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONUPDATEEND: u32 = 71768u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONUPDATESTART: u32 = 71766u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONUPGRADENEEDED: u32 = 71734u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONVALUECHANGE: u32 = 71629u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONWEBKITANIMATIONEND: u32 = 71790u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONWEBKITANIMATIONITERATION: u32 = 71791u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONWEBKITANIMATIONSTART: u32 = 71789u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ONWEBKITTRANSITIONEND: u32 = 71788u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_ORIENTATIONCHANGE: u32 = 71795u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_PAUSE: u32 = 71678u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_PLAY: u32 = 71679u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_PLAYING: u32 = 71680u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_PROGRESS: u32 = 71681u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_RATECHANGE: u32 = 71682u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_REMOVETRACK: u32 = 71781u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SEEKED: u32 = 71683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SEEKING: u32 = 71684u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SINKLIMIT: u32 = 71647u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_STALLED: u32 = 71685u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SUSPEND: u32 = 71686u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SVGABORT: u32 = 71652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SVGERROR: u32 = 71653u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SVGLOAD: u32 = 71650u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SVGRESIZE: u32 = 71654u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SVGSCROLL: u32 = 71655u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SVGUNLOAD: u32 = 71651u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_SVGZOOM: u32 = 71656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_TEXTINPUT: u32 = 71665u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_TIMEOUT: u32 = 71648u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_TIMEUPDATE: u32 = 71687u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_UPDATEREADY: u32 = 71720u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_VISIBILITYCHANGE: u32 = 71732u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_VOLUMECHANGE: u32 = 71688u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_WAITING: u32 = 71689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_WEBGLCONTEXTCREATIONERROR: u32 = 71792u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_WEBGLCONTEXTLOST: u32 = 71764u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_WEBGLCONTEXTRESTORED: u32 = 71765u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EVPROP_WHEEL: u32 = 71649u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EXPAND: u32 = 25u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EXPANDO_BASE: u32 = 3000000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EXPANDO_MAX: u32 = 3999999u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_EXPORT: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FAVSELECTIONCHANGE: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FILEDOWNLOAD: u32 = 270u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FILTERS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FLAGS: u32 = 19u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FORM: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FRAME: u32 = 69536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FRAMEBEFORENAVIGATE: u32 = 200u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FRAMENAVIGATECOMPLETE: u32 = 201u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FRAMENEWWINDOW: u32 = 204u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FRAMESCOLLECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FRAMESET: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_FRAMESITE: u32 = 68536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GENERIC: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETALWAYSSHOWLOCKSTATE: u32 = 23u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETCVLISTDATA: u32 = 93u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETCVLISTLOCALDATA: u32 = 94u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETDETAILSSTATE: u32 = 19u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETEMIELISTDATA: u32 = 95u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETEMIELISTLOCALDATA: u32 = 96u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETERRORCHAR: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETERRORCODE: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETERRORLINE: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETERRORMSG: u32 = 17u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETERRORURL: u32 = 18u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETEXPERIMENTALFLAG: u32 = 85u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETEXPERIMENTALVALUE: u32 = 87u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETNEEDHVSIAUTOLAUNCHFLAG: u32 = 100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETNEEDIEAUTOLAUNCHFLAG: u32 = 89u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETOSSKU: u32 = 103u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_GETPERERRSTATE: u32 = 21u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HASNEEDHVSIAUTOLAUNCHFLAG: u32 = 102u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HASNEEDIEAUTOLAUNCHFLAG: u32 = 88u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HEADER: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HEDELEMS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HISTORY: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HISTORYOBJECT: i32 = -5507i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HR: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTML5ATTRIBUTESELECTORCI: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLAPP: u32 = 5000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDLG: u32 = 25000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDLGMODEL: u32 = 26000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONACTIVATE: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONAFTERUPDATE: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREACTIVATE: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREDEACTIVATE: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREEDITFOCUS: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREUPDATE: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONCELLCHANGE: u32 = 65570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONCLICK: i32 = -600i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONCONTEXTMENU: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONCONTROLSELECT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONDATAAVAILABLE: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONDATASETCHANGED: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONDATASETCOMPLETE: u32 = 65552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONDBLCLICK: i32 = -601i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONDEACTIVATE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONDRAGSTART: u32 = 65547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONERRORUPDATE: u32 = 65549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONFOCUSIN: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONFOCUSOUT: u32 = 1049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONHELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONKEYDOWN: i32 = -602i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONKEYPRESS: i32 = -603i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONKEYUP: i32 = -604i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEDOWN: i32 = -605i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEMOVE: i32 = -606i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEOUT: u32 = 65545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEOVER: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEUP: i32 = -607i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEWHEEL: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONPROPERTYCHANGE: u32 = 65555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONREADYSTATECHANGE: i32 = -609i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONROWENTER: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONROWEXIT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONROWSDELETE: u32 = 65568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONROWSINSERTED: u32 = 65569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONSELECTIONCHANGE: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONSELECTSTART: u32 = 65548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS2_ONSTOP: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS3_ONSTORAGE: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS3_ONSTORAGECOMMIT: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS4_ONMSSITEMODEJUMPLISTITEMREMOVED: u32 = 71666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS4_ONMSTHUMBNAILCLICK: u32 = 71657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONACTIVATE: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONAFTERUPDATE: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONBEFOREACTIVATE: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONBEFOREDEACTIVATE: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONBEFOREEDITFOCUS: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONBEFOREUPDATE: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONCELLCHANGE: u32 = 65570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONCLICK: i32 = -600i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONCONTEXTMENU: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONCONTROLSELECT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONDATAAVAILABLE: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONDATASETCHANGED: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONDATASETCOMPLETE: u32 = 65552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONDBLCLICK: i32 = -601i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONDEACTIVATE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONDRAGSTART: u32 = 65547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONERRORUPDATE: u32 = 65549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONFOCUSIN: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONFOCUSOUT: u32 = 1049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONHELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONKEYDOWN: i32 = -602i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONKEYPRESS: i32 = -603i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONKEYUP: i32 = -604i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONMOUSEDOWN: i32 = -605i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONMOUSEMOVE: i32 = -606i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONMOUSEOUT: u32 = 65545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONMOUSEOVER: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONMOUSEUP: i32 = -607i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONMOUSEWHEEL: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONPROPERTYCHANGE: u32 = 65555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONREADYSTATECHANGE: i32 = -609i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONROWENTER: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONROWEXIT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONROWSDELETE: u32 = 65568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONROWSINSERTED: u32 = 65569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONSELECTIONCHANGE: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONSELECTSTART: u32 = 65548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLDOCUMENTEVENTS_ONSTOP: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONACTIVATE: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONAFTERUPDATE: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONBEFOREACTIVATE: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONBEFORECOPY: u32 = 65566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONBEFORECUT: u32 = 65565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONBEFOREDEACTIVATE: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONBEFOREPASTE: u32 = 65567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONBEFOREUPDATE: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONCELLCHANGE: u32 = 65570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONCLICK: i32 = -600i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONCONTEXTMENU: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONCONTROLSELECT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONCOPY: u32 = 65563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONCUT: u32 = 65562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDATAAVAILABLE: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDATASETCHANGED: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDATASETCOMPLETE: u32 = 65552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDBLCLICK: i32 = -601i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDEACTIVATE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDRAG: u32 = 65556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDRAGEND: u32 = 65557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDRAGENTER: u32 = 65558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDRAGLEAVE: u32 = 65560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDRAGOVER: u32 = 65559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDRAGSTART: u32 = 65547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONDROP: u32 = 65561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONERRORUPDATE: u32 = 65549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONFILTERCHANGE: u32 = 65553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONFOCUS: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONFOCUSIN: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONFOCUSOUT: u32 = 1049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONHELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONKEYDOWN: i32 = -602i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONKEYPRESS: i32 = -603i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONKEYUP: i32 = -604i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONLAYOUTCOMPLETE: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONLOSECAPTURE: u32 = 65554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOUSEDOWN: i32 = -605i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOUSEENTER: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOUSELEAVE: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOUSEMOVE: i32 = -606i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOUSEOUT: u32 = 65545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOUSEOVER: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOUSEUP: i32 = -607i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOUSEWHEEL: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOVE: u32 = 1035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOVEEND: u32 = 1039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONMOVESTART: u32 = 1038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONPAGE: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONPASTE: u32 = 65564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONPROPERTYCHANGE: u32 = 65555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONREADYSTATECHANGE: i32 = -609i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONRESIZE: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONRESIZEEND: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONRESIZESTART: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONROWENTER: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONROWEXIT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONROWSDELETE: u32 = 65568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONROWSINSERTED: u32 = 65569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONSCROLL: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS2_ONSELECTSTART: u32 = 65548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS3_ONOFFLINE: u32 = 1065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS3_ONONLINE: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS4_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS4_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS4_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS4_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS4_ONMSCONTENTZOOM: u32 = 71708u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS4_ONRESET: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS4_ONSELECT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS4_ONSUBMIT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONACTIVATE: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONAFTERUPDATE: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONBEFOREACTIVATE: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONBEFORECOPY: u32 = 65566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONBEFORECUT: u32 = 65565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONBEFOREDEACTIVATE: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONBEFOREEDITFOCUS: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONBEFOREPASTE: u32 = 65567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONBEFOREUPDATE: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONCELLCHANGE: u32 = 65570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONCLICK: i32 = -600i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONCONTEXTMENU: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONCONTROLSELECT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONCOPY: u32 = 65563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONCUT: u32 = 65562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDATAAVAILABLE: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDATASETCHANGED: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDATASETCOMPLETE: u32 = 65552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDBLCLICK: i32 = -601i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDEACTIVATE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDRAG: u32 = 65556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDRAGEND: u32 = 65557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDRAGENTER: u32 = 65558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDRAGLEAVE: u32 = 65560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDRAGOVER: u32 = 65559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDRAGSTART: u32 = 65547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONDROP: u32 = 65561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONERRORUPDATE: u32 = 65549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONFILTERCHANGE: u32 = 65553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONFOCUS: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONFOCUSIN: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONFOCUSOUT: u32 = 1049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONHELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONKEYDOWN: i32 = -602i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONKEYPRESS: i32 = -603i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONKEYUP: i32 = -604i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONLAYOUTCOMPLETE: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONLOSECAPTURE: u32 = 65554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOUSEDOWN: i32 = -605i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOUSEENTER: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOUSELEAVE: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOUSEMOVE: i32 = -606i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOUSEOUT: u32 = 65545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOUSEOVER: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOUSEUP: i32 = -607i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOUSEWHEEL: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOVE: u32 = 1035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOVEEND: u32 = 1039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONMOVESTART: u32 = 1038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONPAGE: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONPASTE: u32 = 65564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONPROPERTYCHANGE: u32 = 65555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONREADYSTATECHANGE: i32 = -609i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONRESIZE: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONRESIZEEND: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONRESIZESTART: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONROWENTER: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONROWEXIT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONROWSDELETE: u32 = 65568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONROWSINSERTED: u32 = 65569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONSCROLL: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLELEMENTEVENTS_ONSELECTSTART: u32 = 65548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLFORMELEMENTEVENTS2_ONRESET: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLFORMELEMENTEVENTS2_ONSUBMIT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLFORMELEMENTEVENTS_ONRESET: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLFORMELEMENTEVENTS_ONSUBMIT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLFRAMESITEEVENTS2_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLFRAMESITEEVENTS_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLIMGEVENTS2_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLIMGEVENTS2_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLIMGEVENTS2_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLIMGEVENTS_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLIMGEVENTS_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLIMGEVENTS_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTIMAGEEVENTS2_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTIMAGEEVENTS2_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTIMAGEEVENTS2_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTIMAGEEVENTS_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTIMAGEEVENTS_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTIMAGEEVENTS_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS2_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS2_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS2_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS2_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS2_ONSELECT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLINPUTTEXTELEMENTEVENTS_ONSELECT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLLINKELEMENTEVENTS2_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLLINKELEMENTEVENTS2_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLLINKELEMENTEVENTS_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLLINKELEMENTEVENTS_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLMARQUEEELEMENTEVENTS2_ONBOUNCE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLMARQUEEELEMENTEVENTS2_ONFINISH: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLMARQUEEELEMENTEVENTS2_ONSTART: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLMARQUEEELEMENTEVENTS_ONBOUNCE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLMARQUEEELEMENTEVENTS_ONFINISH: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLMARQUEEELEMENTEVENTS_ONSTART: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLNAMESPACEEVENTS_ONREADYSTATECHANGE: i32 = -609i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECT: u32 = 66036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONAFTERUPDATE: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONBEFOREUPDATE: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONCELLCHANGE: u32 = 65570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONDATAAVAILABLE: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONDATASETCHANGED: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONDATASETCOMPLETE: u32 = 65552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONERROR: u32 = 65555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONERRORUPDATE: u32 = 65549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONREADYSTATECHANGE: u32 = 65556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONROWENTER: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONROWEXIT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONROWSDELETE: u32 = 65568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS2_ONROWSINSERTED: u32 = 65569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONAFTERUPDATE: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONBEFOREUPDATE: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONCELLCHANGE: u32 = 65570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONDATAAVAILABLE: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONDATASETCHANGED: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONDATASETCOMPLETE: u32 = 65552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONERROR: u32 = 65555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONERRORUPDATE: u32 = 65549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONREADYSTATECHANGE: u32 = 65556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONROWENTER: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONROWEXIT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONROWSDELETE: u32 = 65568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLOBJECTELEMENTEVENTS_ONROWSINSERTED: u32 = 65569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLPOPUP: u32 = 27000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSCRIPTEVENTS2_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSCRIPTEVENTS_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSELECTELEMENTEVENTS2_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSELECTELEMENTEVENTS_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSELECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSTYLEELEMENTEVENTS2_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSTYLEELEMENTEVENTS2_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSTYLEELEMENTEVENTS_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLSTYLEELEMENTEVENTS_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLTEXTCONTAINEREVENTS2_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLTEXTCONTAINEREVENTS2_ONSELECT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLTEXTCONTAINEREVENTS_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLTEXTCONTAINEREVENTS_ONSELECT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONAFTERPRINT: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONBEFOREPRINT: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONBEFOREUNLOAD: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONFOCUS: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONHELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONRESIZE: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONSCROLL: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS2_ONUNLOAD: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS3_ONHASHCHANGE: u32 = 1066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS3_ONMESSAGE: u32 = 1067u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONAFTERPRINT: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONBEFOREPRINT: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONBEFOREUNLOAD: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONFOCUS: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONHELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONRESIZE: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONSCROLL: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLWINDOWEVENTS_ONUNLOAD: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLXMLHTTPREQUESTEVENTS_ONREADYSTATECHANGE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_HTMLXMLHTTPREQUESTEVENTS_ONTIMEOUT: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IBLOCKFORMATS_COUNT: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IBLOCKFORMATS_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IBLOCKFORMATS__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASGRADIENT_ADDCOLORSTOP: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASIMAGEDATA_DATA: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASIMAGEDATA_HEIGHT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASIMAGEDATA_WIDTH: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASPIXELARRAY_LENGTH: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_ARC: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_ARCTO: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_BEGINPATH: u32 = 1028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_BEZIERCURVETO: u32 = 1029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_CANVAS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_CLEARRECT: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_CLIP: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_CLOSEPATH: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_CREATEIMAGEDATA: u32 = 1046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_CREATELINEARGRADIENT: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_CREATEPATTERN: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_CREATERADIALGRADIENT: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_DRAWIMAGE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_FILL: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_FILLRECT: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_FILLSTYLE: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_FILLTEXT: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_FONT: u32 = 1039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_GETIMAGEDATA: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_GLOBALALPHA: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_GLOBALCOMPOSITEOPERATION: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_ISPOINTINPATH: u32 = 1038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_LINECAP: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_LINEJOIN: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_LINETO: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_LINEWIDTH: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_MEASURETEXT: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_MITERLIMIT: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_MOVETO: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_PUTIMAGEDATA: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_QUADRATICCURVETO: u32 = 1035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_RECT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_RESTORE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_ROTATE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_SAVE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_SCALE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_SETTRANSFORM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_SHADOWBLUR: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_SHADOWCOLOR: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_SHADOWOFFSETX: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_SHADOWOFFSETY: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_STROKE: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_STROKERECT: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_STROKESTYLE: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_STROKETEXT: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_TEXTALIGN: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_TEXTBASELINE: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_TRANSFORM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASRENDERINGCONTEXT2D_TRANSLATE: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICANVASTEXTMETRICS_WIDTH: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_ADDCOMPONENTREQUEST: u32 = 19u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_AVAILHEIGHT: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_AVAILWIDTH: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_BUFFERDEPTH: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_CLEARCOMPONENTREQUEST: u32 = 21u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_COLORDEPTH: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_COMPAREVERSIONS: u32 = 18u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_CONNECTIONSPEED: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_CONNECTIONTYPE: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_COOKIEENABLED: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_CPUCLASS: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_DOCOMPONENTREQUEST: u32 = 20u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_GETCOMPONENTVERSION: u32 = 17u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_HEIGHT: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_ISCOMPONENTINSTALLED: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_JAVAENABLED: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_ONLINE: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_PLATFORM: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_SYSTEMLANGUAGE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_USERLANGUAGE: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ICLIENTCAPS_WIDTH: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOCUMENTEVENT_CREATEEVENT: u32 = 1108u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOCUMENTRANGE_CREATERANGE: u32 = 1111u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOCUMENTSELECTOR_QUERYSELECTOR: u32 = 1105u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOCUMENTSELECTOR_QUERYSELECTORALL: u32 = 1106u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOCUMENTTRAVERSAL_CREATENODEITERATOR: u32 = 1121u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOCUMENTTRAVERSAL_CREATETREEWALKER: u32 = 1122u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMBEFOREUNLOADEVENT_RETURNVALUE: u32 = 1376u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMCLOSEEVENT_INITCLOSEEVENT: u32 = 1529u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMCLOSEEVENT_WASCLEAN: u32 = 1526u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMCOMPOSITIONEVENT_DATA: u32 = 1176u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMCOMPOSITIONEVENT_INITCOMPOSITIONEVENT: u32 = 1177u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMCOMPOSITIONEVENT_LOCALE: u32 = 1178u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMCUSTOMEVENT_DETAIL: u32 = 1201u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMCUSTOMEVENT_INITCUSTOMEVENT: u32 = 1202u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMDOCUMENTTYPE_ENTITIES: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMDOCUMENTTYPE_INTERNALSUBSET: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMDOCUMENTTYPE_NAME: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMDOCUMENTTYPE_NOTATIONS: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMDOCUMENTTYPE_PUBLICID: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMDOCUMENTTYPE_SYSTEMID: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMDRAGEVENT_DATATRANSFER: u32 = 1401u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMDRAGEVENT_INITDRAGEVENT: u32 = 1402u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_BUBBLES: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_CANCELABLE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_CANCELBUBBLE: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_CURRENTTARGET: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_DEFAULTPREVENTED: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_EVENTPHASE: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_INITEVENT: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_ISTRUSTED: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_PREVENTDEFAULT: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_SRCELEMENT: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_STOPIMMEDIATEPROPAGATION: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_STOPPROPAGATION: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_TARGET: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_TIMESTAMP: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEVENT_TYPE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEXCEPTION_CODE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMEXCEPTION_MESSAGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMFOCUSEVENT_INITFOCUSEVENT: u32 = 1252u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMFOCUSEVENT_RELATEDTARGET: u32 = 1251u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_ALTKEY: u32 = 1155u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_CHARCODE: u32 = 1161u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_CTRLKEY: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_GETMODIFIERSTATE: u32 = 1158u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_IE9_CHAR: u32 = 1163u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_INITKEYBOARDEVENT: u32 = 1159u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_KEY: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_KEYCODE: u32 = 1160u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_LOCALE: u32 = 1164u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_LOCATION: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_METAKEY: u32 = 1156u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_REPEAT: u32 = 1157u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_SHIFTKEY: u32 = 1154u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMKEYBOARDEVENT_WHICH: u32 = 1162u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMESSAGEEVENT_DATA: u32 = 1326u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMESSAGEEVENT_INITMESSAGEEVENT: u32 = 1329u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMESSAGEEVENT_ORIGIN: u32 = 1327u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMESSAGEEVENT_SOURCE: u32 = 1328u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_ALTKEY: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_BUTTON: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_BUTTONS: u32 = 1063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_CLIENTX: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_CLIENTY: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_CTRLKEY: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_FROMELEMENT: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_GETMODIFIERSTATE: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_INITMOUSEEVENT: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_LAYERX: u32 = 1072u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_LAYERY: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_METAKEY: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_OFFSETX: u32 = 1068u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_OFFSETY: u32 = 1069u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_PAGEX: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_PAGEY: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_RELATEDTARGET: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_SCREENX: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_SCREENY: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_SHIFTKEY: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_TOELEMENT: u32 = 1065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_WHICH: u32 = 1074u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_X: u32 = 1066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEEVENT_Y: u32 = 1067u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEWHEELEVENT_INITMOUSEWHEELEVENT: u32 = 1077u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMOUSEWHEELEVENT_WHEELDELTA: u32 = 1076u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSANIMATIONEVENT_ANIMATIONNAME: u32 = 1501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSANIMATIONEVENT_ELAPSEDTIME: u32 = 1502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSANIMATIONEVENT_INITMSANIMATIONEVENT: u32 = 1503u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSMANIPULATIONEVENT_CURRENTSTATE: u32 = 1527u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSMANIPULATIONEVENT_INITMSMANIPULATIONEVENT: u32 = 1528u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSMANIPULATIONEVENT_LASTSTATE: u32 = 1526u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSTRANSITIONEVENT_ELAPSEDTIME: u32 = 1477u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSTRANSITIONEVENT_INITMSTRANSITIONEVENT: u32 = 1478u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMSTRANSITIONEVENT_PROPERTYNAME: u32 = 1476u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMUTATIONEVENT_ATTRCHANGE: u32 = 1230u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMUTATIONEVENT_ATTRNAME: u32 = 1229u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMUTATIONEVENT_INITMUTATIONEVENT: u32 = 1231u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMUTATIONEVENT_NEWVALUE: u32 = 1228u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMUTATIONEVENT_PREVVALUE: u32 = 1227u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMMUTATIONEVENT_RELATEDNODE: u32 = 1226u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMNODEITERATOR_DETACH: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMNODEITERATOR_EXPANDENTITYREFERENCES: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMNODEITERATOR_FILTER: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMNODEITERATOR_NEXTNODE: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMNODEITERATOR_PREVIOUSNODE: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMNODEITERATOR_ROOT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMNODEITERATOR_WHATTOSHOW: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMPARSERFACTORY_CREATE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMPARSER_PARSEFROMSTRING: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMPROCESSINGINSTRUCTION_DATA: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMPROCESSINGINSTRUCTION_TARGET: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMPROGRESSEVENT_INITPROGRESSEVENT: u32 = 1554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMPROGRESSEVENT_LENGTHCOMPUTABLE: u32 = 1551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMPROGRESSEVENT_LOADED: u32 = 1552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMPROGRESSEVENT_TOTAL: u32 = 1553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMSITEMODEEVENT_ACTIONURL: u32 = 1302u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMSITEMODEEVENT_BUTTONID: u32 = 1301u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMSTORAGEEVENT_INITSTORAGEEVENT: u32 = 1356u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMSTORAGEEVENT_KEY: u32 = 1351u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMSTORAGEEVENT_NEWVALUE: u32 = 1353u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMSTORAGEEVENT_OLDVALUE: u32 = 1352u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMSTORAGEEVENT_STORAGEAREA: u32 = 1355u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMSTORAGEEVENT_URL: u32 = 1354u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTEXTEVENT_DATA: u32 = 1126u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTEXTEVENT_INITTEXTEVENT: u32 = 1128u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTEXTEVENT_INPUTMETHOD: u32 = 1127u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTEXTEVENT_LOCALE: u32 = 1129u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_CURRENTNODE: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_EXPANDENTITYREFERENCES: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_FILTER: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_FIRSTCHILD: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_LASTCHILD: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_NEXTNODE: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_NEXTSIBLING: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_PARENTNODE: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_PREVIOUSNODE: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_PREVIOUSSIBLING: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_ROOT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMTREEWALKER_WHATTOSHOW: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMUIEVENT_DETAIL: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMUIEVENT_INITUIEVENT: u32 = 1028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMUIEVENT_VIEW: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMWHEELEVENT_DELTAMODE: u32 = 1104u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMWHEELEVENT_DELTAX: u32 = 1101u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMWHEELEVENT_DELTAY: u32 = 1102u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMWHEELEVENT_DELTAZ: u32 = 1103u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMWHEELEVENT_INITWHEELEVENT: u32 = 1105u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMXMLSERIALIZERFACTORY_CREATE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IDOMXMLSERIALIZER_SERIALIZETOSTRING: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE10_ELEMENT: u32 = 66822u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE10_ELEMENTBASE: u32 = 66822u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_ANCHOR: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_AREA: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_ATTR: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_BASE: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_BLOCK: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_BODY: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_COLLECTION: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_ELEMENT: u32 = 66736u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_ELEMENTBASE: u32 = 66736u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_ELEMENTMAX: u32 = 66776u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_EMBED: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_FORM: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_FRAME: u32 = 69656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_FRAMESITEBASE: u32 = 69656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_HEAD: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_IFRAME: u32 = 69656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_IMG: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_INPUT: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_LINK: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_META: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_MOD: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_NAMEDNODEMAP: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_NORMAL_FIRST: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_OBJECT: u32 = 68566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_OBJECTBASE: u32 = 68566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_PARAM: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_SCRIPT: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_SELECT: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE8_STYLE: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ACTIVATE: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ADDSOURCEBUFFER: u32 = 71746u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ADDTRACK: u32 = 71736u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_AFTERPRINT: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ANIMATIONEND: u32 = 71712u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ANIMATIONITERATION: u32 = 71713u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ANIMATIONSTART: u32 = 71711u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BEFOREACTIVATE: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BEFORECOPY: u32 = 65566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BEFORECUT: u32 = 65565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BEFOREDEACTIVATE: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BEFOREPASTE: u32 = 65567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BEFOREPRINT: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BEFOREUNLOAD: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BLOCKED: u32 = 71726u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_BOUNCE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CACHED: u32 = 71721u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CANPLAY: u32 = 71670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CANPLAYTHROUGH: u32 = 71671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CHECKING: u32 = 71717u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CLICK: i32 = -600i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CLOSE: u32 = 71716u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_COMPASSNEEDSCALIBRATION: u32 = 71782u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_COMPLETE: u32 = 71727u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_COMPOSITIONEND: u32 = 71660u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_COMPOSITIONSTART: u32 = 71658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_COMPOSITIONUPDATE: u32 = 71659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CONTEXTMENU: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_COPY: u32 = 65563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CUECHANGE: u32 = 71729u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_CUT: u32 = 65562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DBLCLICK: i32 = -601i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DEACTIVATE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DEVICEMOTION: u32 = 71774u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DEVICEORIENTATION: u32 = 71773u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DOMATTRMODIFIED: u32 = 71661u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DOMCHARACTERDATAMODIFIED: u32 = 71664u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DOMCONTENTLOADED: u32 = 71662u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DOMNODEINSERTED: u32 = 71667u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DOMNODEREMOVED: u32 = 71668u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DOMSUBTREEMODIFIED: u32 = 71669u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DOWNLOADING: u32 = 71719u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DRAG: u32 = 65556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DRAGEND: u32 = 65557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DRAGENTER: u32 = 65558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DRAGLEAVE: u32 = 65560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DRAGOVER: u32 = 65559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DRAGSTART: u32 = 65547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DROP: u32 = 65561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_DURATIONCHANGE: u32 = 71672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_EMPTIED: u32 = 71673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ENDED: u32 = 71674u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ENTER: u32 = 71730u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_EXIT: u32 = 71731u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_FINISH: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_FOCUS: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_FOCUSIN: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_FOCUSOUT: u32 = 1049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_HASHCHANGE: u32 = 1066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_HELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_INPUT: u32 = 71663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_INVALID: u32 = 71724u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_KEYDOWN: i32 = -602i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_KEYPRESS: i32 = -603i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_KEYUP: i32 = -604i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_LOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_LOADEDDATA: u32 = 71675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_LOADEDMETADATA: u32 = 71676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_LOADEND: u32 = 71723u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_LOADSTART: u32 = 71677u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MESSAGE: u32 = 1067u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MOUSEDOWN: i32 = -605i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MOUSEENTER: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MOUSELEAVE: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MOUSEMOVE: i32 = -606i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MOUSEOUT: u32 = 65545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MOUSEOVER: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MOUSEUP: i32 = -607i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MOUSEWHEEL: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSBEFOREEDITFOCUS: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSCANDIDATEWINDOWHIDE: u32 = 71779u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSCANDIDATEWINDOWSHOW: u32 = 71777u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSCANDIDATEWINDOWUPDATE: u32 = 71778u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSCONTENTZOOM: u32 = 71708u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSCONTROLRESIZEEND: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSCONTROLRESIZESTART: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSCONTROLSELECT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSELEMENTRESIZE: u32 = 71742u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSFULLSCREENCHANGE: u32 = 71740u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSFULLSCREENERROR: u32 = 71741u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSGESTURECHANGE: u32 = 71700u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSGESTUREDOUBLETAP: u32 = 71704u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSGESTUREEND: u32 = 71701u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSGESTUREHOLD: u32 = 71702u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSGESTURESTART: u32 = 71699u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSGESTURETAP: u32 = 71703u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSGOTPOINTERCAPTURE: u32 = 71707u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSHOLDVISUAL: u32 = 71738u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSINERTIASTART: u32 = 71705u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSKEYADDED: u32 = 71751u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSKEYERROR: u32 = 71750u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSKEYMESSAGE: u32 = 71749u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSLOSTPOINTERCAPTURE: u32 = 71706u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSMANIPULATIONSTATECHANGED: u32 = 71714u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSNEEDKEY: u32 = 71748u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSORIENTATIONCHANGE: u32 = 71772u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTERCANCEL: u32 = 71695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTERDOWN: u32 = 71690u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTERENTER: u32 = 71769u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTERHOVER: u32 = 71696u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTERLEAVE: u32 = 71770u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTERMOVE: u32 = 71691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTEROUT: u32 = 71694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTEROVER: u32 = 71693u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSPOINTERUP: u32 = 71692u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSREGIONUPDATE: u32 = 71733u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSSITEMODEJUMPLISTITEMREMOVED: u32 = 71666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSSITEPINNED: u32 = 71771u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSTHUMBNAILCLICK: u32 = 71657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSVIDEOFORMATCHANGED: u32 = 71735u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSVIDEOFRAMESTEPCOMPLETED: u32 = 71737u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSVIDEOOPTIMALLAYOUTCHANGED: u32 = 71739u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWCONTAINSFULLSCREENELEMENTCHANGED: u32 = 71783u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWCONTENTLOADING: u32 = 71753u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWDOMCONTENTLOADED: u32 = 71752u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWFRAMECONTENTLOADING: u32 = 71757u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWFRAMEDOMCONTENTLOADED: u32 = 71756u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWFRAMENAVIGATIONCOMPLETED: u32 = 71759u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWFRAMENAVIGATIONSTARTING: u32 = 71758u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWLONGRUNNINGSCRIPTDETECTED: u32 = 71763u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWNAVIGATIONCOMPLETED: u32 = 71755u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWNAVIGATIONSTARTING: u32 = 71754u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWSCRIPTNOTIFY: u32 = 71760u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWUNSAFECONTENTWARNINGDISPLAYING: u32 = 71762u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_MSWEBVIEWUNVIEWABLECONTENTIDENTIFIED: u32 = 71761u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_NOUPDATE: u32 = 71718u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_OBSOLETE: u32 = 71722u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_OFFLINE: u32 = 1065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ONLINE: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_OPEN: u32 = 71715u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_ORIENTATIONCHANGE: u32 = 71795u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_PAGEHIDE: u32 = 71776u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_PAGESHOW: u32 = 71775u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_PASTE: u32 = 65564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_PAUSE: u32 = 71678u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_PLAY: u32 = 71679u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_PLAYING: u32 = 71680u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_POPSTATE: u32 = 71728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_PROGRESS: u32 = 71681u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_RATECHANGE: u32 = 71682u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_READYSTATECHANGE: i32 = -609i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_REMOVESOURCEBUFFER: u32 = 71747u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_REMOVETRACK: u32 = 71781u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_RESET: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_RESIZE: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SCROLL: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SEEKED: u32 = 71683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SEEKING: u32 = 71684u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SELECT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SELECTIONCHANGE: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SELECTSTART: u32 = 65548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SOURCECLOSE: u32 = 71744u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SOURCEENDED: u32 = 71745u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SOURCEOPEN: u32 = 71743u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_STALLED: u32 = 71685u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_START: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_STOP: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_STORAGE: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_STORAGECOMMIT: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SUBMIT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SUCCESS: u32 = 71725u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SUSPEND: u32 = 71686u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SVGABORT: u32 = 71652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SVGERROR: u32 = 71653u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SVGLOAD: u32 = 71650u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SVGRESIZE: u32 = 71654u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SVGSCROLL: u32 = 71655u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SVGUNLOAD: u32 = 71651u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_SVGZOOM: u32 = 71656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TEXTINPUT: u32 = 71665u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TIMEOUT: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TIMEUPDATE: u32 = 71687u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TOUCHCANCEL: u32 = 71787u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TOUCHEND: u32 = 71785u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TOUCHMOVE: u32 = 71786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TOUCHSTART: u32 = 71784u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TRANSITIONEND: u32 = 71710u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_TRANSITIONSTART: u32 = 71709u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_UNLOAD: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_UPDATE: u32 = 71767u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_UPDATEEND: u32 = 71768u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_UPDATEREADY: u32 = 71720u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_UPDATESTART: u32 = 71766u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_UPGRADENEEDED: u32 = 71734u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_VISIBILITYCHANGE: u32 = 71732u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_VOLUMECHANGE: u32 = 71688u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_WAITING: u32 = 71689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_WEBGLCONTEXTCREATIONERROR: u32 = 71792u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_WEBGLCONTEXTLOST: u32 = 71764u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_WEBGLCONTEXTRESTORED: u32 = 71765u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9EVENTS_WHEEL: u32 = 71649u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9_ELEMENT: u32 = 66786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9_ELEMENTBASE: u32 = 66786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IE9_ELEMENTMAX: u32 = 66821u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IELEMENTSELECTOR_QUERYSELECTOR: u32 = 66650u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IELEMENTSELECTOR_QUERYSELECTORALL: u32 = 66651u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IELEMENTTRAVERSAL_CHILDELEMENTCOUNT: u32 = 66812u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IELEMENTTRAVERSAL_FIRSTELEMENTCHILD: u32 = 66808u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IELEMENTTRAVERSAL_LASTELEMENTCHILD: u32 = 66809u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IELEMENTTRAVERSAL_NEXTELEMENTSIBLING: u32 = 66811u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IELEMENTTRAVERSAL_PREVIOUSELEMENTSIBLING: u32 = 66810u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IEVENTEXCEPTION_CODE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IEVENTEXCEPTION_MESSAGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IEVENTTARGET_ADDEVENTLISTENER: u32 = 66046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IEVENTTARGET_DISPATCHEVENT: u32 = 66048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IEVENTTARGET_REMOVEEVENTLISTENER: u32 = 66047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IFONTNAMES_COUNT: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IFONTNAMES_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IFONTNAMES__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IFRAME: u32 = 69536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IGETSVGDOCUMENT_GETSVGDOCUMENT: u32 = 65615u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCATTACHBEHAVIOR2_FIREEVENT: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCATTACHBEHAVIOR_DETACHEVENT: u32 = 66036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCATTACHBEHAVIOR_FIREEVENT: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCDEFAULTDISPATCH_CREATEEVENTOBJECT: u32 = 70680u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCDEFAULTDISPATCH_DEFAULTS: u32 = 70701u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCDEFAULTDISPATCH_DOCUMENT: u32 = 70678u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCDEFAULTDISPATCH_ELEMENT: u32 = 70679u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCDESCBEHAVIOR_NAME: u32 = 66037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCDESCBEHAVIOR_URN: u32 = 66036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCEVENTBEHAVIOR_FIRE: u32 = 66036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCPROPERTYBEHAVIOR_FIRECHANGE: u32 = 66036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTCPROPERTYBEHAVIOR_VALUE: u32 = 70677u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT2_CHARSET: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT2_COORDS: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT2_HREFLANG: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT2_SHAPE: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT2_TYPE: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT3_IE8_COORDS: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT3_IE8_HREF: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT3_IE8_SHAPE: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_ACCESSKEY: u32 = 67541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_BLUR: u32 = 67538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_FOCUS: u32 = 67536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_HASH: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_HOST: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_HOSTNAME: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_HREF: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_METHODS: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_MIMETYPE: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_NAMEPROP: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_ONBLUR: u32 = 71551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_ONFOCUS: u32 = 71550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_PATHNAME: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_PORT: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_PROTOCOL: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_PROTOCOLLONG: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_REL: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_REV: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_SEARCH: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_TABINDEX: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_TARGET: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLANCHORELEMENT_URN: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR2_CONTEXTMENU: u32 = 5014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR2_INNERBORDER: u32 = 5015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR2_SCROLL: u32 = 5016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR2_SCROLLFLAT: u32 = 5017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR2_SELECTION: u32 = 5018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR3_NAVIGABLE: u32 = 5019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_APPLICATIONNAME: u32 = 5000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_BORDER: u32 = 5007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_BORDERSTYLE: u32 = 5008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_CAPTION: u32 = 5010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_COMMANDLINE: u32 = 5013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_ICON: u32 = 5002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_MAXIMIZEBUTTON: u32 = 5006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_MINIMIZEBUTTON: u32 = 5005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_SHOWINTASKBAR: u32 = 5012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_SINGLEINSTANCE: u32 = 5003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_SYSMENU: u32 = 5009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_VERSION: u32 = 5001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPBEHAVIOR_WINDOWSTATE: u32 = 5011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ABORT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ONCACHED: u32 = 71721u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ONCHECKING: u32 = 71717u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ONDOWNLOADING: u32 = 71719u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ONNOUPDATE: u32 = 71718u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ONOBSOLETE: u32 = 71722u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ONPROGRESS: u32 = 71681u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_ONUPDATEREADY: u32 = 71720u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_STATUS: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_SWAPCACHE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAPPLICATIONCACHE_UPDATE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT2_IE8_COORDS: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT2_IE8_HREF: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT2_IE8_SHAPE: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_ALT: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_BLUR: u32 = 67538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_COORDS: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_FOCUS: u32 = 67536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_HASH: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_HOST: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_HOSTNAME: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_HREF: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_NOHREF: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_ONBLUR: u32 = 71551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_ONFOCUS: u32 = 71550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_PATHNAME: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_PORT: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_PROTOCOL: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_SEARCH: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_SHAPE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_TABINDEX: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREAELEMENT_TARGET: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION2_URNS: u32 = 1505u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION3_NAMEDITEM: u32 = 1506u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION4_IE8_ITEM: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION4_IE8_LENGTH: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION4_IE8_NAMEDITEM: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION_ADD: u32 = 1503u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION_LENGTH: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION_REMOVE: u32 = 1504u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION_TAGS: u32 = 1502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAREASCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION2_GETNAMEDITEM: u32 = 1501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION2_REMOVENAMEDITEM: u32 = 1503u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION2_SETNAMEDITEM: u32 = 1502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_GETNAMEDITEM: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_ITEM: u32 = 1154u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_LENGTH: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_REMOVENAMEDITEM: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_SETNAMEDITEM: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION4_GETNAMEDITEMNS: u32 = 1155u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION4_IE9_GETNAMEDITEM: u32 = 1158u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION4_IE9_ITEM: u32 = 1161u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION4_IE9_LENGTH: u32 = 1162u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION4_IE9_REMOVENAMEDITEM: u32 = 1160u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION4_IE9_SETNAMEDITEM: u32 = 1159u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION4_REMOVENAMEDITEMNS: u32 = 1157u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION4_SETNAMEDITEMNS: u32 = 1156u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION_LENGTH: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLATTRIBUTECOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLAUDIOELEMENTFACTORY_CREATE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBASEELEMENT2_IE8_HREF: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBASEELEMENT_HREF: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBASEELEMENT_TARGET: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBASEFONTELEMENT_COLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBASEFONTELEMENT_FACE: u32 = 70554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBASEFONTELEMENT_SIZE: u32 = 70562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBGSOUND_BALANCE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBGSOUND_LOOP: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBGSOUND_SRC: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBGSOUND_VOLUME: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBLOCKELEMENT2_CITE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBLOCKELEMENT2_WIDTH: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBLOCKELEMENT3_IE8_CITE: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBLOCKELEMENT_CLEAR: u32 = 70552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT2_ONAFTERPRINT: u32 = 71603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT2_ONBEFOREPRINT: u32 = 71602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT3_IE8_BACKGROUND: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT3_ONHASHCHANGE: u32 = 71645u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT3_ONOFFLINE: u32 = 71644u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT3_ONONLINE: u32 = 71643u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT4_ONMESSAGE: u32 = 71646u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT4_ONSTORAGE: u32 = 71636u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT5_ONPOPSTATE: u32 = 71728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_ALINK: u32 = 2011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_BACKGROUND: u32 = 70537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_BGCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_BGPROPERTIES: u32 = 70581u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_BOTTOMMARGIN: u32 = 70575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_CREATETEXTRANGE: u32 = 2013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_LEFTMARGIN: u32 = 70576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_LINK: u32 = 2010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_NOWRAP: u32 = 70541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_ONBEFOREUNLOAD: u32 = 71575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_ONUNLOAD: u32 = 71569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_RIGHTMARGIN: u32 = 70574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_SCROLL: u32 = 70615u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_TEXT: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_TOPMARGIN: u32 = 70573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBODYELEMENT_VLINK: u32 = 2012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBOOKMARKCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBOOKMARKCOLLECTION_LENGTH: u32 = 1501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBOOKMARKCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBRELEMENT_CLEAR: u32 = 70552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBUTTONELEMENT2_IE9_TYPE: u32 = 8003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBUTTONELEMENT_CREATETEXTRANGE: u32 = 8002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBUTTONELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBUTTONELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBUTTONELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBUTTONELEMENT_STATUS: u32 = 8001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBUTTONELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLBUTTONELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCANVASELEMENT_GETCONTEXT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCANVASELEMENT_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCANVASELEMENT_TODATAURL: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCANVASELEMENT_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT2_APPENDDATA: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT2_DATA: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT2_DELETEDATA: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT2_INSERTDATA: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT2_LENGTH: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT2_REPLACEDATA: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT2_SUBSTRINGDATA: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT3_IE9_DELETEDATA: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT3_IE9_INSERTDATA: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT3_IE9_REPLACEDATA: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT3_IE9_SUBSTRINGDATA: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT_ATOMIC: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMMENTELEMENT_TEXT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_BACKGROUNDCOLOR: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_BLOCKDIRECTION: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_BOLD: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_DIRECTION: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_EXPLICITFACE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_FONTNAME: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_FONTSIZE: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_FONTWEIGHT: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_HASBGCOLOR: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_ITALIC: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_OL: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_OVERLINE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_PREFORMATTED: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_STRIKEOUT: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_SUBSCRIPT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_SUPERSCRIPT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_TEXTCOLOR: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCOMPUTEDSTYLE_UNDERLINE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_ACCESSKEY: u32 = 67541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_ADDFILTER: u32 = 67553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_BLUR: u32 = 67538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_CLIENTHEIGHT: u32 = 67555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_CLIENTLEFT: u32 = 67558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_CLIENTTOP: u32 = 67557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_CLIENTWIDTH: u32 = 67556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_FOCUS: u32 = 67536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_ONBLUR: u32 = 71551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_ONFOCUS: u32 = 71550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_ONRESIZE: u32 = 71572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_REMOVEFILTER: u32 = 67554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLELEMENT_TABINDEX: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE2_ADDELEMENT: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_ADD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_COMMONPARENTELEMENT: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_EXECCOMMAND: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_EXECCOMMANDSHOWHELP: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_LENGTH: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_QUERYCOMMANDENABLED: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_QUERYCOMMANDINDETERM: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_QUERYCOMMANDSTATE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_QUERYCOMMANDSUPPORTED: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_QUERYCOMMANDTEXT: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_QUERYCOMMANDVALUE: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_REMOVE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_SCROLLINTOVIEW: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCONTROLRANGE_SELECT: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSIMPORTRULE_HREF: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSIMPORTRULE_MEDIA: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSIMPORTRULE_STYLESHEET: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIALIST_APPENDMEDIUM: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIALIST_DELETEMEDIUM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIALIST_ITEM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIALIST_LENGTH: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIALIST_MEDIATEXT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIARULE_CSSRULES: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIARULE_DELETERULE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIARULE_INSERTRULE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSMEDIARULE_MEDIA: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSNAMESPACERULE_NAMESPACEURI: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSNAMESPACERULE_PREFIX: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSRULE_CSSTEXT: u32 = 1102u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSRULE_PARENTRULE: u32 = 1103u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSRULE_PARENTSTYLESHEET: u32 = 1104u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSRULE_TYPE: u32 = 1101u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATION: u32 = 70985u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONDELAY: u32 = 70981u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONDIRECTION: u32 = 70982u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONDURATION: u32 = 70979u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONFILLMODE: u32 = 70986u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONITERATIONCOUNT: u32 = 70984u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONNAME: u32 = 70978u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONPLAYSTATE: u32 = 70983u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONTIMINGFUNCTION: u32 = 70980u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_BACKFACEVISIBILITY: u32 = 70977u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_BREAKAFTER: u32 = 70882u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_BREAKBEFORE: u32 = 70881u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_BREAKINSIDE: u32 = 70883u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLORINTERPOLATIONFILTERS: u32 = 70928u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNCOUNT: u32 = 70872u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNFILL: u32 = 70875u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNGAP: u32 = 70874u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULE: u32 = 70877u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULECOLOR: u32 = 70880u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULESTYLE: u32 = 70878u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULEWIDTH: u32 = 70879u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNS: u32 = 70871u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNSPAN: u32 = 70876u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNWIDTH: u32 = 70873u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_ENABLEBACKGROUND: u32 = 70946u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_FLOODCOLOR: u32 = 70926u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_FLOODOPACITY: u32 = 70927u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_FONTFEATURESETTINGS: u32 = 70987u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_LIGHTINGCOLOR: u32 = 70929u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATION: u32 = 70924u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATIONDELAY: u32 = 70920u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATIONDIRECTION: u32 = 70921u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATIONDURATION: u32 = 70918u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATIONFILLMODE: u32 = 70925u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATIONITERATIONCOUNT: u32 = 70923u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATIONNAME: u32 = 70917u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATIONPLAYSTATE: u32 = 70922u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSANIMATIONTIMINGFUNCTION: u32 = 70919u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSBACKFACEVISIBILITY: u32 = 70890u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSCONTENTZOOMCHAINING: u32 = 70895u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSCONTENTZOOMING: u32 = 70892u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSCONTENTZOOMLIMIT: u32 = 70897u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSCONTENTZOOMLIMITMAX: u32 = 70902u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSCONTENTZOOMLIMITMIN: u32 = 70901u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSCONTENTZOOMSNAP: u32 = 70898u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSCONTENTZOOMSNAPPOINTS: u32 = 70899u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSCONTENTZOOMSNAPTYPE: u32 = 70893u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEX: u32 = 70955u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXALIGN: u32 = 70962u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXDIRECTION: u32 = 70960u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXFLOW: u32 = 70959u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXITEMALIGN: u32 = 70963u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXLINEPACK: u32 = 70965u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXNEGATIVE: u32 = 70957u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXORDER: u32 = 70966u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXPACK: u32 = 70964u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXPOSITIVE: u32 = 70956u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXPREFERREDSIZE: u32 = 70958u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLEXWRAP: u32 = 70961u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLOWFROM: u32 = 70938u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFLOWINTO: u32 = 70939u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSFONTFEATURESETTINGS: u32 = 70950u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSGRIDCOLUMN: u32 = 70908u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSGRIDCOLUMNALIGN: u32 = 70909u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSGRIDCOLUMNS: u32 = 70910u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSGRIDCOLUMNSPAN: u32 = 70911u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSGRIDROW: u32 = 70913u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSGRIDROWALIGN: u32 = 70914u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSGRIDROWS: u32 = 70915u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSGRIDROWSPAN: u32 = 70916u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSHIGHCONTRASTADJUST: u32 = 70945u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSHYPHENATELIMITCHARS: u32 = 70942u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSHYPHENATELIMITLINES: u32 = 70943u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSHYPHENATELIMITZONE: u32 = 70941u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSHYPHENS: u32 = 70940u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSOVERFLOWSTYLE: u32 = 70935u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSPERSPECTIVE: u32 = 70885u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSPERSPECTIVEORIGIN: u32 = 70886u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLCHAINING: u32 = 70891u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLLIMIT: u32 = 70934u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLLIMITXMAX: u32 = 70932u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLLIMITXMIN: u32 = 70930u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLLIMITYMAX: u32 = 70933u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLLIMITYMIN: u32 = 70931u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLRAILS: u32 = 70894u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLSNAPPOINTSX: u32 = 70905u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLSNAPPOINTSY: u32 = 70906u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLSNAPTYPE: u32 = 70896u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLSNAPX: u32 = 70903u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLSNAPY: u32 = 70904u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSSCROLLTRANSLATION: u32 = 70954u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSTOUCHACTION: u32 = 70952u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSTOUCHSELECT: u32 = 70994u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSTRANSFORMSTYLE: u32 = 70889u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSTRANSITION: u32 = 70870u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSTRANSITIONDELAY: u32 = 70869u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSTRANSITIONDURATION: u32 = 70867u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSTRANSITIONPROPERTY: u32 = 70866u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSTRANSITIONTIMINGFUNCTION: u32 = 70868u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSUSERSELECT: u32 = 70951u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSWRAPFLOW: u32 = 70949u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSWRAPMARGIN: u32 = 70947u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_MSWRAPTHROUGH: u32 = 70937u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_PERSPECTIVE: u32 = 70974u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_PERSPECTIVEORIGIN: u32 = 70975u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TEXTSHADOW: u32 = 70936u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSFORM: u32 = 70967u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSFORMORIGIN: u32 = 70968u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSFORMSTYLE: u32 = 70976u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSITION: u32 = 70973u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSITIONDELAY: u32 = 70972u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSITIONDURATION: u32 = 70970u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSITIONPROPERTY: u32 = 70969u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSITIONTIMINGFUNCTION: u32 = 70971u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_ALIGNCONTENT: u32 = 71009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_ALIGNITEMS: u32 = 71007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_ALIGNSELF: u32 = 71008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_BORDERIMAGE: u32 = 71010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_BORDERIMAGEOUTSET: u32 = 71014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_BORDERIMAGEREPEAT: u32 = 71015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_BORDERIMAGESLICE: u32 = 71012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_BORDERIMAGESOURCE: u32 = 71011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_BORDERIMAGEWIDTH: u32 = 71013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_FLEX: u32 = 71002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_FLEXBASIS: u32 = 71005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_FLEXDIRECTION: u32 = 70998u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_FLEXFLOW: u32 = 71000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_FLEXGROW: u32 = 71003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_FLEXSHRINK: u32 = 71004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_FLEXWRAP: u32 = 70999u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_JUSTIFYCONTENT: u32 = 71006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_MSIMEALIGN: u32 = 71017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_MSTEXTCOMBINEHORIZONTAL: u32 = 71018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION3_TOUCHACTION: u32 = 71019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_MSTEXTSIZEADJUST: u32 = 70864u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATION: u32 = 71033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATIONDELAY: u32 = 71038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATIONDIRECTION: u32 = 71040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATIONDURATION: u32 = 71036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATIONFILLMODE: u32 = 71027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATIONITERATIONCOUNT: u32 = 71039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATIONNAME: u32 = 71035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATIONPLAYSTATE: u32 = 71041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITANIMATIONTIMINGFUNCTION: u32 = 71037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITAPPEARANCE: u32 = 71020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKFACEVISIBILITY: u32 = 71030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUND: u32 = 71055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDATTACHMENT: u32 = 71046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDCLIP: u32 = 71048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDCOLOR: u32 = 71047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDIMAGE: u32 = 71049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDORIGIN: u32 = 71051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDPOSITION: u32 = 71052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDPOSITIONX: u32 = 71053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDPOSITIONY: u32 = 71054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDREPEAT: u32 = 71050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBACKGROUNDSIZE: u32 = 71029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBORDERIMAGE: u32 = 71061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBORDERIMAGEOUTSET: u32 = 71065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBORDERIMAGEREPEAT: u32 = 71066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBORDERIMAGESLICE: u32 = 71063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBORDERIMAGESOURCE: u32 = 71062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBORDERIMAGEWIDTH: u32 = 71064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBOXALIGN: u32 = 71021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBOXDIRECTION: u32 = 71026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBOXFLEX: u32 = 71024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBOXORDINALGROUP: u32 = 71022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBOXORIENT: u32 = 71025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBOXPACK: u32 = 71023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITBOXSIZING: u32 = 71031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITTEXTSIZEADJUST: u32 = 71060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITTRANSFORM: u32 = 71028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITTRANSFORMORIGIN: u32 = 71056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITTRANSITION: u32 = 71034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITTRANSITIONDELAY: u32 = 71045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITTRANSITIONDURATION: u32 = 71043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITTRANSITIONPROPERTY: u32 = 71042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITTRANSITIONTIMINGFUNCTION: u32 = 71044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION4_WEBKITUSERSELECT: u32 = 71032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_ACCELERATOR: u32 = 70683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_ALIGNMENTBASELINE: u32 = 70814u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUND: u32 = 70568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDATTACHMENT: u32 = 70581u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDCLIP: u32 = 70852u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDIMAGE: u32 = 70537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDORIGIN: u32 = 70853u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITION: u32 = 70582u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITIONX: u32 = 70569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITIONY: u32 = 70570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDREPEAT: u32 = 70580u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDSIZE: u32 = 70854u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BASELINESHIFT: u32 = 70815u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BEHAVIOR: u32 = 70651u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDER: u32 = 70585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOM: u32 = 70588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMCOLOR: u32 = 70593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMLEFTRADIUS: u32 = 70850u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMRIGHTRADIUS: u32 = 70849u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMSTYLE: u32 = 70603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMWIDTH: u32 = 70598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERCOLLAPSE: u32 = 70620u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERCOLOR: u32 = 70590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFT: u32 = 70589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTCOLOR: u32 = 70594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTSTYLE: u32 = 70604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTWIDTH: u32 = 70599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRADIUS: u32 = 70846u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHT: u32 = 70587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTCOLOR: u32 = 70592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTSTYLE: u32 = 70602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTWIDTH: u32 = 70597u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERSPACING: u32 = 70763u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERSTYLE: u32 = 70600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOP: u32 = 70586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPCOLOR: u32 = 70591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPLEFTRADIUS: u32 = 70847u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPRIGHTRADIUS: u32 = 70848u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPSTYLE: u32 = 70601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPWIDTH: u32 = 70596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BORDERWIDTH: u32 = 70595u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BOTTOM: u32 = 65614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BOXSHADOW: u32 = 70855u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_BOXSIZING: u32 = 70762u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CAPTIONSIDE: u32 = 70755u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CLEAR: u32 = 70552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CLIP: u32 = 70628u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CLIPBOTTOM: u32 = 70631u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CLIPLEFT: u32 = 70632u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CLIPPATH: u32 = 70820u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CLIPRIGHT: u32 = 70630u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CLIPRULE: u32 = 70821u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CLIPTOP: u32 = 70629u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_COLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CONTENT: u32 = 70754u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_COUNTERINCREMENT: u32 = 70756u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_COUNTERRESET: u32 = 70757u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CSSFLOAT: u32 = 70845u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CSSTEXT: u32 = 70635u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_CURSOR: u32 = 70638u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_DIRECTION: u32 = 70655u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_DISPLAY: u32 = 70607u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_DOMINANTBASELINE: u32 = 70816u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_EMPTYCELLS: u32 = 70786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FILL: u32 = 70822u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FILLOPACITY: u32 = 70823u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FILLRULE: u32 = 70824u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FILTER: u32 = 70618u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FONT: u32 = 70577u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FONTFAMILY: u32 = 70554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FONTSIZE: u32 = 70555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FONTSIZEADJUST: u32 = 70817u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FONTSTRETCH: u32 = 70818u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FONTSTYLE: u32 = 70560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FONTVARIANT: u32 = 70561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_FONTWEIGHT: u32 = 70563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_GETPROPERTYPRIORITY: u32 = 70040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_GETPROPERTYVALUE: u32 = 70039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_GLYPHORIENTATIONHORIZONTAL: u32 = 70843u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_GLYPHORIENTATIONVERTICAL: u32 = 70844u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_IMEMODE: u32 = 70656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_KERNING: u32 = 70825u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LAYOUTFLOW: u32 = 70691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LAYOUTGRID: u32 = 70667u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LAYOUTGRIDCHAR: u32 = 70663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LAYOUTGRIDLINE: u32 = 70664u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LAYOUTGRIDMODE: u32 = 70665u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LAYOUTGRIDTYPE: u32 = 70666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LEFT: u32 = 65539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LENGTH: u32 = 70037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LETTERSPACING: u32 = 70544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LINEBREAK: u32 = 70669u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LINEHEIGHT: u32 = 70542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLE: u32 = 70611u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLEIMAGE: u32 = 70610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLEPOSITION: u32 = 70609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLETYPE: u32 = 70608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARGIN: u32 = 70572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARGINBOTTOM: u32 = 70575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARGINLEFT: u32 = 70576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARGINRIGHT: u32 = 70574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARGINTOP: u32 = 70573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARKER: u32 = 70826u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARKEREND: u32 = 70827u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARKERMID: u32 = 70828u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MARKERSTART: u32 = 70829u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MASK: u32 = 70830u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MAXHEIGHT: u32 = 70750u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MAXWIDTH: u32 = 70752u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MINHEIGHT: u32 = 70747u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MINWIDTH: u32 = 70751u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MSBLOCKPROGRESSION: u32 = 70787u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MSINTERPOLATIONMODE: u32 = 70749u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MSTRANSFORM: u32 = 70851u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_MSTRANSFORMORIGIN: u32 = 70861u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_OPACITY: u32 = 70819u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_ORPHANS: u32 = 70764u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_OUTLINE: u32 = 70758u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_OUTLINECOLOR: u32 = 70761u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_OUTLINESTYLE: u32 = 70760u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_OUTLINEWIDTH: u32 = 70759u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOW: u32 = 70546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOWX: u32 = 70675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOWY: u32 = 70676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PADDING: u32 = 70547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGBOTTOM: u32 = 70550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGLEFT: u32 = 70551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGRIGHT: u32 = 70549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGTOP: u32 = 70548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PAGEBREAKAFTER: u32 = 70614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PAGEBREAKBEFORE: u32 = 70613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PAGEBREAKINSIDE: u32 = 70766u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_PARENTRULE: u32 = 70038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_POINTEREVENTS: u32 = 70831u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_POSITION: u32 = 70626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_QUOTES: u32 = 70788u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_REMOVEPROPERTY: u32 = 70041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_RIGHT: u32 = 65613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_RUBYALIGN: u32 = 70657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_RUBYOVERHANG: u32 = 70659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_RUBYPOSITION: u32 = 70658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SCROLLBAR3DLIGHTCOLOR: u32 = 70718u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SCROLLBARARROWCOLOR: u32 = 70722u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SCROLLBARBASECOLOR: u32 = 70716u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SCROLLBARDARKSHADOWCOLOR: u32 = 70721u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SCROLLBARFACECOLOR: u32 = 70717u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SCROLLBARHIGHLIGHTCOLOR: u32 = 70720u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SCROLLBARSHADOWCOLOR: u32 = 70719u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SCROLLBARTRACKCOLOR: u32 = 70732u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_SETPROPERTY: u32 = 70042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STOPCOLOR: u32 = 70832u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STOPOPACITY: u32 = 70833u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STROKE: u32 = 70834u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STROKEDASHARRAY: u32 = 70835u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STROKEDASHOFFSET: u32 = 70836u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STROKELINECAP: u32 = 70837u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STROKELINEJOIN: u32 = 70838u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STROKEMITERLIMIT: u32 = 70839u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STROKEOPACITY: u32 = 70840u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STROKEWIDTH: u32 = 70841u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_STYLEFLOAT: u32 = 70606u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TABLELAYOUT: u32 = 70634u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTALIGNLAST: u32 = 70739u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTANCHOR: u32 = 70842u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTAUTOSPACE: u32 = 70668u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTDECORATION: u32 = 70571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTINDENT: u32 = 70543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTJUSTIFY: u32 = 70671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTJUSTIFYTRIM: u32 = 70672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTKASHIDA: u32 = 70673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTKASHIDASPACE: u32 = 70740u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTOVERFLOW: u32 = 70745u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTTRANSFORM: u32 = 70540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TEXTUNDERLINEPOSITION: u32 = 70695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_TOP: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_UNICODEBIDI: u32 = 70654u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_VERTICALALIGN: u32 = 70584u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_VISIBILITY: u32 = 70616u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_WHITESPACE: u32 = 70612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_WIDOWS: u32 = 70765u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_WORDBREAK: u32 = 70670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_WORDSPACING: u32 = 70583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_WORDWRAP: u32 = 70694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_WRITINGMODE: u32 = 70728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_ZINDEX: u32 = 70627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCSSSTYLEDECLARATION_ZOOM: u32 = 70689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_FILTER: u32 = 70618u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_HASLAYOUT: u32 = 70696u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_ISBLOCK: u32 = 70744u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_LAYOUTFLOW: u32 = 70691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_SCROLLBAR3DLIGHTCOLOR: u32 = 70718u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_SCROLLBARARROWCOLOR: u32 = 70722u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_SCROLLBARBASECOLOR: u32 = 70716u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_SCROLLBARDARKSHADOWCOLOR: u32 = 70721u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_SCROLLBARFACECOLOR: u32 = 70717u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_SCROLLBARHIGHLIGHTCOLOR: u32 = 70720u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_SCROLLBARSHADOWCOLOR: u32 = 70719u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_SCROLLBARTRACKCOLOR: u32 = 70732u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_TEXTALIGNLAST: u32 = 70739u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_TEXTKASHIDASPACE: u32 = 70740u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_TEXTUNDERLINEPOSITION: u32 = 70695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_WORDWRAP: u32 = 70694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_WRITINGMODE: u32 = 70728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE2_ZOOM: u32 = 70689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE3_MINHEIGHT: u32 = 70747u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE3_TEXTOVERFLOW: u32 = 70745u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE3_WHITESPACE: u32 = 70612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE3_WORDSPACING: u32 = 70583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE4_MAXHEIGHT: u32 = 70750u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE4_MAXWIDTH: u32 = 70752u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE4_MINWIDTH: u32 = 70751u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE4_MSINTERPOLATIONMODE: u32 = 70749u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_BORDERSPACING: u32 = 70763u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_BOXSIZING: u32 = 70762u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_CAPTIONSIDE: u32 = 70755u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_EMPTYCELLS: u32 = 70786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_MSBLOCKPROGRESSION: u32 = 70787u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_ORPHANS: u32 = 70764u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_OUTLINE: u32 = 70758u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_OUTLINECOLOR: u32 = 70761u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_OUTLINESTYLE: u32 = 70760u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_OUTLINEWIDTH: u32 = 70759u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_PAGEBREAKINSIDE: u32 = 70766u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_QUOTES: u32 = 70788u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE5_WIDOWS: u32 = 70765u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_ACCELERATOR: u32 = 70683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BACKGROUNDATTACHMENT: u32 = 70581u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BACKGROUNDCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BACKGROUNDIMAGE: u32 = 70537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BACKGROUNDPOSITIONX: u32 = 70569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BACKGROUNDPOSITIONY: u32 = 70570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BACKGROUNDREPEAT: u32 = 70580u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BEHAVIOR: u32 = 70651u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BLOCKDIRECTION: u32 = 70653u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMCOLOR: u32 = 70593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMSTYLE: u32 = 70603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERBOTTOMWIDTH: u32 = 70598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERCOLLAPSE: u32 = 70620u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERCOLOR: u32 = 70590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERLEFTCOLOR: u32 = 70594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERLEFTSTYLE: u32 = 70604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERLEFTWIDTH: u32 = 70599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTCOLOR: u32 = 70592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTSTYLE: u32 = 70602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERRIGHTWIDTH: u32 = 70597u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERSTYLE: u32 = 70600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERTOPCOLOR: u32 = 70591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERTOPSTYLE: u32 = 70601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERTOPWIDTH: u32 = 70596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BORDERWIDTH: u32 = 70595u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_BOTTOM: u32 = 65614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_CLEAR: u32 = 70552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_CLIPBOTTOM: u32 = 70631u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_CLIPLEFT: u32 = 70632u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_CLIPRIGHT: u32 = 70630u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_CLIPTOP: u32 = 70629u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_COLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_CURSOR: u32 = 70638u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_DIRECTION: u32 = 70655u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_DISPLAY: u32 = 70607u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_FONTFAMILY: u32 = 70554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_FONTSIZE: u32 = 70555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_FONTSTYLE: u32 = 70560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_FONTVARIANT: u32 = 70561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_FONTWEIGHT: u32 = 70563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_GETATTRIBUTE: u32 = 66038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_IMEMODE: u32 = 70656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDCHAR: u32 = 70663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDLINE: u32 = 70664u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDMODE: u32 = 70665u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LAYOUTGRIDTYPE: u32 = 70666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LEFT: u32 = 65539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LETTERSPACING: u32 = 70544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LINEBREAK: u32 = 70669u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LINEHEIGHT: u32 = 70542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LISTSTYLEIMAGE: u32 = 70610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LISTSTYLEPOSITION: u32 = 70609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_LISTSTYLETYPE: u32 = 70608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_MARGIN: u32 = 70572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_MARGINBOTTOM: u32 = 70575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_MARGINLEFT: u32 = 70576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_MARGINRIGHT: u32 = 70574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_MARGINTOP: u32 = 70573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_OVERFLOW: u32 = 70546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_OVERFLOWX: u32 = 70675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_OVERFLOWY: u32 = 70676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_PADDING: u32 = 70547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_PADDINGBOTTOM: u32 = 70550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_PADDINGLEFT: u32 = 70551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_PADDINGRIGHT: u32 = 70549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_PADDINGTOP: u32 = 70548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_PAGEBREAKAFTER: u32 = 70614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_PAGEBREAKBEFORE: u32 = 70613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_POSITION: u32 = 70626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_RIGHT: u32 = 65613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_RUBYALIGN: u32 = 70657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_RUBYOVERHANG: u32 = 70659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_RUBYPOSITION: u32 = 70658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_STYLEFLOAT: u32 = 70606u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TABLELAYOUT: u32 = 70634u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TEXTALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TEXTAUTOSPACE: u32 = 70668u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TEXTDECORATION: u32 = 70571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TEXTINDENT: u32 = 70543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TEXTJUSTIFY: u32 = 70671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TEXTJUSTIFYTRIM: u32 = 70672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TEXTKASHIDA: u32 = 70673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TEXTTRANSFORM: u32 = 70540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_TOP: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_UNICODEBIDI: u32 = 70654u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_VERTICALALIGN: u32 = 70584u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_VISIBILITY: u32 = 70616u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_WORDBREAK: u32 = 70670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLCURRENTSTYLE_ZINDEX: u32 = 70627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDATABINDING_DATAFLD: u32 = 66557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDATABINDING_DATAFORMATAS: u32 = 66559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDATABINDING_DATASRC: u32 = 66558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDATATRANSFER_CLEARDATA: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDATATRANSFER_DROPEFFECT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDATATRANSFER_EFFECTALLOWED: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDATATRANSFER_GETDATA: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDATATRANSFER_SETDATA: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDDELEMENT_NOWRAP: u32 = 70541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG2_RESIZABLE: u32 = 25015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG2_STATUS: u32 = 25014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG3_DIALOGHIDE: u32 = 25007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG3_UNADORNED: u32 = 25016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_CLOSE: u32 = 25011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_DIALOGARGUMENTS: u32 = 25000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_DIALOGHEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_DIALOGLEFT: u32 = 65539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_DIALOGTOP: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_DIALOGWIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_MENUARGUMENTS: u32 = 25013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_RETURNVALUE: u32 = 25001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIALOG_TOSTRING: u32 = 25012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIVELEMENT_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIVELEMENT_NOWRAP: u32 = 70541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDIVPOSITION_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDLGSAFEHELPER_BLOCKFORMATS: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDLGSAFEHELPER_CHOOSECOLORDLG: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDLGSAFEHELPER_FONTS: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDLGSAFEHELPER_GETCHARSET: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDLISTELEMENT_COMPACT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ACTIVEELEMENT: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ALINKCOLOR: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ALL: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ANCHORS: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_APPLETS: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_BGCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_BODY: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_CHARSET: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_CLEAR: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_CLOSE: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_COOKIE: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_CREATEELEMENT: u32 = 1067u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_CREATESTYLESHEET: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_DEFAULTCHARSET: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_DESIGNMODE: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_DOMAIN: u32 = 1029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ELEMENTFROMPOINT: u32 = 1068u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_EMBEDS: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_EXECCOMMAND: u32 = 1065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_EXECCOMMANDSHOWHELP: u32 = 1066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_EXPANDO: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_FGCOLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_FILECREATEDDATE: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_FILEMODIFIEDDATE: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_FILESIZE: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_FILEUPDATEDDATE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_FORMS: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_FRAMES: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_IMAGES: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_LASTMODIFIED: u32 = 1028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_LINKCOLOR: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_LINKS: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_LOCATION: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_MIMETYPE: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_NAMEPROP: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONAFTERUPDATE: u32 = 71558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONBEFOREUPDATE: u32 = 71557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONCLICK: u32 = 71544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONDBLCLICK: u32 = 71545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONDRAGSTART: u32 = 71571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONERRORUPDATE: u32 = 71574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONHELP: u32 = 71549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONKEYDOWN: u32 = 71541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONKEYPRESS: u32 = 71543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONKEYUP: u32 = 71542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONMOUSEDOWN: u32 = 71538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONMOUSEMOVE: u32 = 71540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONMOUSEOUT: u32 = 71537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONMOUSEOVER: u32 = 71536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONMOUSEUP: u32 = 71539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONROWENTER: u32 = 71555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONROWEXIT: u32 = 71554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_ONSELECTSTART: u32 = 71573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_OPEN: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_PARENTWINDOW: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_PLUGINS: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_PROTOCOL: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_QUERYCOMMANDENABLED: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_QUERYCOMMANDINDETERM: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_QUERYCOMMANDSTATE: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_QUERYCOMMANDSUPPORTED: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_QUERYCOMMANDTEXT: u32 = 1063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_QUERYCOMMANDVALUE: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_READYSTATE: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_REFERRER: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_SCRIPTS: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_SECURITY: u32 = 1046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_SELECTION: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_STYLESHEETS: u32 = 1069u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_TITLE: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_TOSTRING: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_URL: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_VLINKCOLOR: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_WRITE: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT2_WRITELN: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ATTACHEVENT: u32 = 66043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_BASEURL: u32 = 1080u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_CHILDNODES: u32 = 66585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_CREATEDOCUMENTFRAGMENT: u32 = 1076u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_CREATETEXTNODE: u32 = 1074u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_DETACHEVENT: u32 = 66044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_DIR: u32 = 70653u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_DOCUMENTELEMENT: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ENABLEDOWNLOAD: u32 = 1079u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_GETELEMENTBYID: u32 = 1088u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_GETELEMENTSBYNAME: u32 = 1086u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_GETELEMENTSBYTAGNAME: u32 = 1087u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_INHERITSTYLESHEETS: u32 = 1082u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONBEFOREEDITFOCUS: u32 = 71605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONCELLCHANGE: u32 = 71600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONCONTEXTMENU: u32 = 71601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONDATAAVAILABLE: u32 = 71577u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONDATASETCHANGED: u32 = 71576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONDATASETCOMPLETE: u32 = 71578u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONPROPERTYCHANGE: u32 = 71583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONROWSDELETE: u32 = 71598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONROWSINSERTED: u32 = 71599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_ONSTOP: u32 = 71604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_PARENTDOCUMENT: u32 = 1078u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_RECALC: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_RELEASECAPTURE: u32 = 1072u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT3_UNIQUEID: u32 = 1077u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_CREATEDOCUMENTFROMURL: u32 = 1092u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_CREATEEVENTOBJECT: u32 = 1094u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_CREATERENDERSTYLE: u32 = 1096u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_FIREEVENT: u32 = 1095u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_FOCUS: u32 = 1089u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_HASFOCUS: u32 = 1090u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_MEDIA: u32 = 1093u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_NAMESPACES: u32 = 1091u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_ONCONTROLSELECT: u32 = 71615u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_ONSELECTIONCHANGE: u32 = 71616u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT4_URLUNENCODED: u32 = 1097u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_COMPATMODE: u32 = 1102u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_CREATEATTRIBUTE: u32 = 1100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_CREATECOMMENT: u32 = 1101u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_DOCTYPE: u32 = 1098u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_IMPLEMENTATION: u32 = 1099u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_ONACTIVATE: u32 = 71623u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_ONBEFOREACTIVATE: u32 = 71626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_ONBEFOREDEACTIVATE: u32 = 71613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_ONDEACTIVATE: u32 = 71624u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_ONFOCUSIN: u32 = 71627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_ONFOCUSOUT: u32 = 71628u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT5_ONMOUSEWHEEL: u32 = 71612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT6_COMPATIBLE: u32 = 1103u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT6_DOCUMENTMODE: u32 = 1104u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT6_IE8_GETELEMENTBYID: u32 = 1107u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT6_ONSTORAGE: u32 = 71636u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT6_ONSTORAGECOMMIT: u32 = 71637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT6_UPDATESETTINGS: u32 = 1109u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ADOPTNODE: u32 = 1125u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_CHARACTERSET: u32 = 1117u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_CREATEATTRIBUTENS: u32 = 1115u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_CREATECDATASECTION: u32 = 1123u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_CREATEELEMENTNS: u32 = 1114u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_CREATEPROCESSINGINSTRUCTION: u32 = 1124u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_DEFAULTVIEW: u32 = 1110u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_GETELEMENTSBYCLASSNAME: u32 = 1120u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_GETELEMENTSBYTAGNAMENS: u32 = 1113u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_GETSELECTION: u32 = 1112u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_HASATTRIBUTES: u32 = 1132u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_HEAD: u32 = 1138u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_IE9_ALL: u32 = 1126u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_IE9_BODY: u32 = 1137u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_IE9_CREATEATTRIBUTE: u32 = 1119u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_IE9_CREATEELEMENT: u32 = 1118u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_IE9_PARENTWINDOW: u32 = 1136u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_IMPORTNODE: u32 = 1135u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_INPUTENCODING: u32 = 1127u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_NORMALIZE: u32 = 1134u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONABORT: u32 = 71564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONBLUR: u32 = 71551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONCANPLAY: u32 = 71670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONCANPLAYTHROUGH: u32 = 71671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONDRAG: u32 = 71585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONDRAGEND: u32 = 71586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONDRAGENTER: u32 = 71587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONDRAGLEAVE: u32 = 71589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONDRAGOVER: u32 = 71588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONDROP: u32 = 71590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONDURATIONCHANGE: u32 = 71672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONEMPTIED: u32 = 71673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONENDED: u32 = 71674u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONFOCUS: u32 = 71550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONINPUT: u32 = 71663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONLOADEDDATA: u32 = 71675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONLOADEDMETADATA: u32 = 71676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONLOADSTART: u32 = 71677u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONMSSITEMODEJUMPLISTITEMREMOVED: u32 = 71666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONMSTHUMBNAILCLICK: u32 = 71657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONPAUSE: u32 = 71678u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONPLAY: u32 = 71679u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONPLAYING: u32 = 71680u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONPROGRESS: u32 = 71681u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONRATECHANGE: u32 = 71682u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONRESET: u32 = 71548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONSCROLL: u32 = 71567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONSEEKED: u32 = 71683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONSEEKING: u32 = 71684u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONSTALLED: u32 = 71685u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONSUBMIT: u32 = 71547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONSUSPEND: u32 = 71686u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONTIMEUPDATE: u32 = 71687u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONVOLUMECHANGE: u32 = 71688u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_ONWAITING: u32 = 71689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_XMLENCODING: u32 = 1128u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_XMLSTANDALONE: u32 = 1129u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT7_XMLVERSION: u32 = 1130u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ELEMENTSFROMPOINT: u32 = 1139u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ELEMENTSFROMRECT: u32 = 1140u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_MSCAPSLOCKWARNINGOFF: u32 = 1141u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSCONTENTZOOM: u32 = 71708u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSGESTURECHANGE: u32 = 71700u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSGESTUREDOUBLETAP: u32 = 71704u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSGESTUREEND: u32 = 71701u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSGESTUREHOLD: u32 = 71702u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSGESTURESTART: u32 = 71699u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSGESTURETAP: u32 = 71703u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSINERTIASTART: u32 = 71705u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSMANIPULATIONSTATECHANGED: u32 = 71714u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSPOINTERCANCEL: u32 = 71695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSPOINTERDOWN: u32 = 71690u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSPOINTERHOVER: u32 = 71696u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSPOINTERMOVE: u32 = 71691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSPOINTEROUT: u32 = 71694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSPOINTEROVER: u32 = 71693u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT8_ONMSPOINTERUP: u32 = 71692u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENTCOMPATIBLEINFOCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENTCOMPATIBLEINFOCOLLECTION_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENTCOMPATIBLEINFO_USERAGENT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENTCOMPATIBLEINFO_VERSION: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOCUMENT_SCRIPT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_APPENDCHILD: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_ATTRIBUTES: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_CHILDNODES: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_CLONENODE: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_EXPANDO: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_FIRSTCHILD: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_HASCHILDNODES: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_INSERTBEFORE: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_LASTCHILD: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_NAME: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_NEXTSIBLING: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_NODETYPE: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_OWNERDOCUMENT: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_PARENTNODE: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_PREVIOUSSIBLING: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_REMOVECHILD: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_REPLACECHILD: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE2_VALUE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE3_IE8_NODEVALUE: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE3_IE8_SPECIFIED: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE3_IE8_VALUE: u32 = 1154u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE3_OWNERELEMENT: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_HASATTRIBUTES: u32 = 1166u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_CHILDNODES: u32 = 1165u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_FIRSTCHILD: u32 = 1163u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_HASCHILDNODES: u32 = 1167u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_LASTCHILD: u32 = 1164u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_NAME: u32 = 1161u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_NODENAME: u32 = 1160u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_NODEVALUE: u32 = 1159u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_SPECIFIED: u32 = 1171u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_IE9_VALUE: u32 = 1162u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE4_NORMALIZE: u32 = 1170u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE_NODENAME: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE_NODEVALUE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMATTRIBUTE_SPECIFIED: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMCHILDRENCOLLECTION2_IE9_ITEM: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMCHILDRENCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMCHILDRENCOLLECTION_LENGTH: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMCHILDRENCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMCONSTRUCTOR_CONSTRUCTOR: u32 = 66045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMIMPLEMENTATION2_CREATEDOCUMENT: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMIMPLEMENTATION2_CREATEDOCUMENTTYPE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMIMPLEMENTATION2_CREATEHTMLDOCUMENT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMIMPLEMENTATION2_IE9_HASFEATURE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMIMPLEMENTATION_HASFEATURE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE2_OWNERDOCUMENT: u32 = 66649u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_COMPAREDOCUMENTPOSITION: u32 = 66662u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_IE9_APPENDCHILD: u32 = 66804u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_IE9_INSERTBEFORE: u32 = 66805u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_IE9_REMOVECHILD: u32 = 66806u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_IE9_REPLACECHILD: u32 = 66807u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_ISDEFAULTNAMESPACE: u32 = 66660u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_ISEQUALNODE: u32 = 66657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_ISSAMENODE: u32 = 66661u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_ISSUPPORTED: u32 = 66813u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_LOCALNAME: u32 = 66654u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_LOOKUPNAMESPACEURI: u32 = 66658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_LOOKUPPREFIX: u32 = 66659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_NAMESPACEURI: u32 = 66655u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_PREFIX: u32 = 66656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE3_TEXTCONTENT: u32 = 66663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_APPENDCHILD: u32 = 66609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_ATTRIBUTES: u32 = 66586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_CHILDNODES: u32 = 66585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_CLONENODE: u32 = 66597u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_FIRSTCHILD: u32 = 66612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_HASCHILDNODES: u32 = 66584u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_INSERTBEFORE: u32 = 66587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_LASTCHILD: u32 = 66613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_NEXTSIBLING: u32 = 66615u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_NODENAME: u32 = 66610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_NODETYPE: u32 = 66582u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_NODEVALUE: u32 = 66611u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_PARENTNODE: u32 = 66583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_PREVIOUSSIBLING: u32 = 66614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_REMOVECHILD: u32 = 66588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_REMOVENODE: u32 = 66602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_REPLACECHILD: u32 = 66589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_REPLACENODE: u32 = 66603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMNODE_SWAPNODE: u32 = 66604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_CLONECONTENTS: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_CLONERANGE: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_COLLAPSE: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_COLLAPSED: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_COMMONANCESTORCONTAINER: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_COMPAREBOUNDARYPOINTS: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_DELETECONTENTS: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_DETACH: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_ENDCONTAINER: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_ENDOFFSET: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_EXTRACTCONTENTS: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_GETBOUNDINGCLIENTRECT: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_GETCLIENTRECTS: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_INSERTNODE: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SELECTNODE: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SELECTNODECONTENTS: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SETEND: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SETENDAFTER: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SETENDBEFORE: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SETSTART: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SETSTARTAFTER: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SETSTARTBEFORE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_STARTCONTAINER: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_STARTOFFSET: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_SURROUNDCONTENTS: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMRANGE_TOSTRING: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE2_APPENDDATA: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE2_DELETEDATA: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE2_INSERTDATA: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE2_REPLACEDATA: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE2_SUBSTRINGDATA: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_HASATTRIBUTES: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_IE9_DELETEDATA: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_IE9_INSERTDATA: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_IE9_REPLACEDATA: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_IE9_SPLITTEXT: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_IE9_SUBSTRINGDATA: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_NORMALIZE: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_REPLACEWHOLETEXT: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE3_WHOLETEXT: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE_DATA: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE_LENGTH: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE_SPLITTEXT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDOMTEXTNODE_TOSTRING: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLDTELEMENT_NOWRAP: u32 = 70541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ACCESSKEY: u32 = 67541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ADDBEHAVIOR: u32 = 66616u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ADDFILTER: u32 = 67553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_APPLYELEMENT: u32 = 66601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ATTACHEVENT: u32 = 66043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_BEHAVIORURNS: u32 = 66618u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_BLUR: u32 = 67538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_CANHAVECHILDREN: u32 = 66608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_CLEARATTRIBUTES: u32 = 66598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_CLIENTHEIGHT: u32 = 67555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_CLIENTLEFT: u32 = 67558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_CLIENTTOP: u32 = 67557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_CLIENTWIDTH: u32 = 67556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_COMPONENTFROMPOINT: u32 = 66578u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_CREATECONTROLRANGE: u32 = 66592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_CURRENTSTYLE: u32 = 66543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_DETACHEVENT: u32 = 66044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_DIR: u32 = 70653u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_DOSCROLL: u32 = 66579u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_FOCUS: u32 = 67536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_GETADJACENTTEXT: u32 = 66606u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_GETBOUNDINGCLIENTRECT: u32 = 66581u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_GETCLIENTRECTS: u32 = 66580u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_GETELEMENTSBYTAGNAME: u32 = 66621u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_GETEXPRESSION: u32 = 66041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_INSERTADJACENTELEMENT: u32 = 66605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_MERGEATTRIBUTES: u32 = 66599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONBEFORECOPY: u32 = 71595u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONBEFORECUT: u32 = 71594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS: u32 = 71605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONBEFOREPASTE: u32 = 71596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONBLUR: u32 = 71551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONCELLCHANGE: u32 = 71600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONCONTEXTMENU: u32 = 71601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONCOPY: u32 = 71592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONCUT: u32 = 71591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONDRAG: u32 = 71585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONDRAGEND: u32 = 71586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONDRAGENTER: u32 = 71587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONDRAGLEAVE: u32 = 71589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONDRAGOVER: u32 = 71588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONDROP: u32 = 71590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONFOCUS: u32 = 71550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONLOSECAPTURE: u32 = 71582u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONPASTE: u32 = 71593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE: u32 = 71583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONRESIZE: u32 = 71572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONROWSDELETE: u32 = 71598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONROWSINSERTED: u32 = 71599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_ONSCROLL: u32 = 71567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_READYSTATEVALUE: u32 = 66620u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_RELEASECAPTURE: u32 = 66577u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_REMOVEBEHAVIOR: u32 = 66617u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_REMOVEEXPRESSION: u32 = 66042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_REMOVEFILTER: u32 = 67554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_REPLACEADJACENTTEXT: u32 = 66607u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_RUNTIMESTYLE: u32 = 66600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_SCOPENAME: u32 = 66575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_SCROLLHEIGHT: u32 = 66593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_SCROLLLEFT: u32 = 66596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_SCROLLTOP: u32 = 66595u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_SCROLLWIDTH: u32 = 66594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_SETCAPTURE: u32 = 66576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_SETEXPRESSION: u32 = 66040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_TABINDEX: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT2_TAGURN: u32 = 66619u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_CANHAVEHTML: u32 = 66634u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_CONTENTEDITABLE: u32 = 70698u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_DRAGDROP: u32 = 66643u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_FIREEVENT: u32 = 66642u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_GLYPHMODE: u32 = 66644u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_HIDEFOCUS: u32 = 70699u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_INFLATEBLOCK: u32 = 66636u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ISCONTENTEDITABLE: u32 = 66638u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ISDISABLED: u32 = 66641u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ISMULTILINE: u32 = 66633u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_MERGEATTRIBUTES: u32 = 66632u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONACTIVATE: u32 = 71623u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE: u32 = 71613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONCONTROLSELECT: u32 = 71615u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONDEACTIVATE: u32 = 71624u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE: u32 = 71609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONMOUSEENTER: u32 = 71621u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONMOUSELEAVE: u32 = 71622u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONMOVE: u32 = 71614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONMOVEEND: u32 = 71618u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONMOVESTART: u32 = 71617u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONPAGE: u32 = 71610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONRESIZEEND: u32 = 71620u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_ONRESIZESTART: u32 = 71619u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT3_SETACTIVE: u32 = 66637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT4_GETATTRIBUTENODE: u32 = 66645u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT4_NORMALIZE: u32 = 66648u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE: u32 = 71626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT4_ONFOCUSIN: u32 = 71627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT4_ONFOCUSOUT: u32 = 71628u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT4_ONMOUSEWHEEL: u32 = 71612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT4_REMOVEATTRIBUTENODE: u32 = 66647u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT4_SETATTRIBUTENODE: u32 = 66646u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAACTIVEDESCENDANT: u32 = 66768u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIABUSY: u32 = 66741u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIACHECKED: u32 = 66742u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIACONTROLS: u32 = 66764u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIADESCRIBEDBY: u32 = 66765u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIADISABLED: u32 = 66743u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAEXPANDED: u32 = 66744u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAFLOWTO: u32 = 66766u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAHASPOPUP: u32 = 66745u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAHIDDEN: u32 = 66746u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAINVALID: u32 = 66747u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIALABELLEDBY: u32 = 66767u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIALEVEL: u32 = 66761u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIALIVE: u32 = 66771u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAMULTISELECTABLE: u32 = 66748u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAOWNS: u32 = 66769u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAPOSINSET: u32 = 66759u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAPRESSED: u32 = 66749u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAREADONLY: u32 = 66750u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIARELEVANT: u32 = 66772u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAREQUIRED: u32 = 66751u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIASECRET: u32 = 66752u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIASELECTED: u32 = 66753u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIASETSIZE: u32 = 66760u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAVALUEMAX: u32 = 66763u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAVALUEMIN: u32 = 66762u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ARIAVALUENOW: u32 = 66758u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_HASATTRIBUTE: u32 = 66739u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_HASATTRIBUTES: u32 = 66770u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_IE8_ATTRIBUTES: u32 = 66757u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_IE8_GETATTRIBUTE: u32 = 66754u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_IE8_GETATTRIBUTENODE: u32 = 66736u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_IE8_REMOVEATTRIBUTE: u32 = 66756u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_IE8_REMOVEATTRIBUTENODE: u32 = 66738u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_IE8_SETATTRIBUTE: u32 = 66755u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_IE8_SETATTRIBUTENODE: u32 = 66737u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT5_ROLE: u32 = 66740u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_GETATTRIBUTENODENS: u32 = 66786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_GETATTRIBUTENS: u32 = 66789u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_GETELEMENTSBYCLASSNAME: u32 = 66803u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_GETELEMENTSBYTAGNAMENS: u32 = 66799u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_HASATTRIBUTENS: u32 = 66788u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_GETATTRIBUTE: u32 = 66796u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_GETATTRIBUTENODE: u32 = 66792u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_HASATTRIBUTE: u32 = 66795u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_HASATTRIBUTES: u32 = 66815u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_NODENAME: u32 = 66802u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_REMOVEATTRIBUTE: u32 = 66798u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_REMOVEATTRIBUTENODE: u32 = 66794u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_SETATTRIBUTE: u32 = 66797u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_SETATTRIBUTENODE: u32 = 66793u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_IE9_TAGNAME: u32 = 66801u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_MSMATCHESSELECTOR: u32 = 66814u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONABORT: u32 = 71564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONCANPLAY: u32 = 71670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONCANPLAYTHROUGH: u32 = 71671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONDURATIONCHANGE: u32 = 71672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONEMPTIED: u32 = 71673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONENDED: u32 = 71674u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONINPUT: u32 = 71663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONLOADEDDATA: u32 = 71675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONLOADEDMETADATA: u32 = 71676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONLOADSTART: u32 = 71677u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONPAUSE: u32 = 71678u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONPLAY: u32 = 71679u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONPLAYING: u32 = 71680u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONPROGRESS: u32 = 71681u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONRATECHANGE: u32 = 71682u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONRESET: u32 = 71548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONSEEKED: u32 = 71683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONSEEKING: u32 = 71684u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONSTALLED: u32 = 71685u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONSUBMIT: u32 = 71547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONSUSPEND: u32 = 71686u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONTIMEUPDATE: u32 = 71687u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONVOLUMECHANGE: u32 = 71688u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_ONWAITING: u32 = 71689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_REMOVEATTRIBUTENS: u32 = 66791u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_SETATTRIBUTENODENS: u32 = 66787u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT6_SETATTRIBUTENS: u32 = 66790u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_MSRELEASEPOINTERCAPTURE: u32 = 66823u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_MSSETPOINTERCAPTURE: u32 = 66822u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONCUECHANGE: u32 = 71729u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONINVALID: u32 = 71724u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSANIMATIONEND: u32 = 71712u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSANIMATIONITERATION: u32 = 71713u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSANIMATIONSTART: u32 = 71711u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSGESTURECHANGE: u32 = 71700u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSGESTUREDOUBLETAP: u32 = 71704u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSGESTUREEND: u32 = 71701u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSGESTUREHOLD: u32 = 71702u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSGESTURESTART: u32 = 71699u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSGESTURETAP: u32 = 71703u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSGOTPOINTERCAPTURE: u32 = 71707u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSINERTIASTART: u32 = 71705u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSLOSTPOINTERCAPTURE: u32 = 71706u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSMANIPULATIONSTATECHANGED: u32 = 71714u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSPOINTERCANCEL: u32 = 71695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSPOINTERDOWN: u32 = 71690u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSPOINTERHOVER: u32 = 71696u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSPOINTERMOVE: u32 = 71691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSPOINTEROUT: u32 = 71694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSPOINTEROVER: u32 = 71693u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSPOINTERUP: u32 = 71692u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSTRANSITIONEND: u32 = 71710u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_ONMSTRANSITIONSTART: u32 = 71709u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_SPELLCHECK: u32 = 70907u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT7_XMSACCELERATORKEY: u32 = 66834u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTAPPLIEDSTYLES_MSGETRULESAPPLIED: u32 = 66652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTAPPLIEDSTYLES_MSGETRULESAPPLIEDWITHANCESTOR: u32 = 66653u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION2_URNS: u32 = 1505u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION3_NAMEDITEM: u32 = 1506u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION4_IE8_ITEM: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION4_IE8_LENGTH: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION4_IE8_NAMEDITEM: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION_LENGTH: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION_TAGS: u32 = 1502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION_TOSTRING: u32 = 1501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_CANHAVEHTML: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_CONTENTEDITABLE: u32 = 70698u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_FROZEN: u32 = 70734u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_ISMULTILINE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_SCROLLSEGMENTX: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_SCROLLSEGMENTY: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_STYLE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_TABSTOP: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_VIEWINHERITSTYLE: u32 = 70735u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_VIEWLINK: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENTDEFAULTS_VIEWMASTERTAB: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ALL: u32 = 66574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_CHILDREN: u32 = 66573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_CLASSNAME: u32 = 66537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_CLICK: u32 = 66569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_CONTAINS: u32 = 66556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_DOCUMENT: u32 = 66554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_FILTERS: u32 = 66571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_GETATTRIBUTE: u32 = 66038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ID: u32 = 66538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_INNERHTML: u32 = 66562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_INNERTEXT: u32 = 66563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_INSERTADJACENTHTML: u32 = 66566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_INSERTADJACENTTEXT: u32 = 66567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ISTEXTEDIT: u32 = 66570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_LANG: u32 = 70545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_LANGUAGE: u32 = 70636u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_OFFSETHEIGHT: u32 = 66547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_OFFSETLEFT: u32 = 66544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_OFFSETPARENT: u32 = 66548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_OFFSETTOP: u32 = 66545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_OFFSETWIDTH: u32 = 66546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONAFTERUPDATE: u32 = 71558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONBEFOREUPDATE: u32 = 71557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONCLICK: u32 = 71544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONDATAAVAILABLE: u32 = 71577u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONDATASETCHANGED: u32 = 71576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONDATASETCOMPLETE: u32 = 71578u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONDBLCLICK: u32 = 71545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONDRAGSTART: u32 = 71571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONERRORUPDATE: u32 = 71574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONFILTERCHANGE: u32 = 71579u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONHELP: u32 = 71549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONKEYDOWN: u32 = 71541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONKEYPRESS: u32 = 71543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONKEYUP: u32 = 71542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONMOUSEDOWN: u32 = 71538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONMOUSEMOVE: u32 = 71540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONMOUSEOUT: u32 = 71537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONMOUSEOVER: u32 = 71536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONMOUSEUP: u32 = 71539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONROWENTER: u32 = 71555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONROWEXIT: u32 = 71554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_ONSELECTSTART: u32 = 71573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_OUTERHTML: u32 = 66564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_OUTERTEXT: u32 = 66565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_PARENTELEMENT: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_PARENTTEXTEDIT: u32 = 66568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_RECORDNUMBER: u32 = 66561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_REMOVEATTRIBUTE: u32 = 66039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_SCROLLINTOVIEW: u32 = 66555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_SETATTRIBUTE: u32 = 66037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_SOURCEINDEX: u32 = 66560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_STYLE: u32 = 65610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_TAGNAME: u32 = 66540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_TITLE: u32 = 65605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLELEMENT_TOSTRING: u32 = 66572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT2_IE8_PLUGINSPAGE: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT2_IE8_SRC: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT_HIDDEN: u32 = 68546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT_PALETTE: u32 = 68540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT_PLUGINSPAGE: u32 = 68541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT_SRC: u32 = 68542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT_UNITS: u32 = 68544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEMBEDELEMENT_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_ALTKEY: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_BOOKMARKS: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_BOUNDELEMENTS: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_BUTTON: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_CLIENTX: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_CLIENTY: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_CTRLKEY: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_DATAFLD: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_DATATRANSFER: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_FROMELEMENT: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_GETATTRIBUTE: u32 = 66038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_OFFSETX: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_OFFSETY: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_PROPERTYNAME: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_QUALIFIER: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_REASON: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_RECORDSET: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_REMOVEATTRIBUTE: u32 = 66039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_REPEAT: u32 = 1035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_SCREENX: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_SCREENY: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_SETATTRIBUTE: u32 = 66037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_SHIFTKEY: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_SRCELEMENT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_SRCFILTER: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_SRCURN: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_TOELEMENT: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_TYPE: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_X: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ2_Y: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_ALTLEFT: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_BEHAVIORCOOKIE: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_BEHAVIORPART: u32 = 1049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_CONTENTOVERFLOW: u32 = 1038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_CTRLLEFT: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_IMECOMPOSITIONCHANGE: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_IMENOTIFYCOMMAND: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_IMENOTIFYDATA: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_IMEREQUEST: u32 = 1046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_IMEREQUESTDATA: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_KEYBOARDLAYOUT: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_NEXTPAGE: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ3_SHIFTLEFT: u32 = 1039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ4_WHEELDELTA: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ5_DATA: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ5_ISSESSION: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ5_ORIGIN: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ5_SOURCE: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ5_URL: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ6_ACTIONURL: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ6_BUTTONID: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_ALTKEY: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_BUTTON: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_CANCELBUBBLE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_CLIENTX: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_CLIENTY: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_CTRLKEY: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_FROMELEMENT: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_KEYCODE: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_OFFSETX: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_OFFSETY: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_QUALIFIER: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_REASON: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_RETURNVALUE: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_SCREENX: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_SCREENY: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_SHIFTKEY: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_SRCELEMENT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_SRCFILTER: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_TOELEMENT: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_TYPE: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_X: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLEVENTOBJ_Y: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFIELDSETELEMENT2_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFIELDSETELEMENT_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFILTERSCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFILTERSCOLLECTION_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFILTERSCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTELEMENT_COLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTELEMENT_FACE: u32 = 70554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTELEMENT_SIZE: u32 = 70555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTNAMESCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTNAMESCOLLECTION_LENGTH: u32 = 1501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTNAMESCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTSIZESCOLLECTION_FORFONT: u32 = 1503u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTSIZESCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTSIZESCOLLECTION_LENGTH: u32 = 1502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFONTSIZESCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT2_ACCEPTCHARSET: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT2_URNS: u32 = 1505u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT3_NAMEDITEM: u32 = 1506u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT4_IE8_ACTION: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_ACTION: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_DIR: u32 = 70653u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_ELEMENTS: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_ENCODING: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_LENGTH: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_METHOD: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_ONRESET: u32 = 71548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_ONSUBMIT: u32 = 71547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_RESET: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_SUBMIT: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_TAGS: u32 = 1502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT_TARGET: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFORMELEMENT__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE2_ALLOWTRANSPARENCY: u32 = 70742u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE2_CONTENTWINDOW: u32 = 68545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE2_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE2_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE2_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE3_LONGDESC: u32 = 68546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_BORDER: u32 = 68538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_FRAMEBORDER: u32 = 68539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_FRAMESPACING: u32 = 68540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_MARGINHEIGHT: u32 = 68542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_MARGINWIDTH: u32 = 68541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_NORESIZE: u32 = 68543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_SCROLLING: u32 = 68544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEBASE_SRC: u32 = 68536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEELEMENT2_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEELEMENT2_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEELEMENT3_CONTENTDOCUMENT: u32 = 69656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEELEMENT3_IE8_FRAMEBORDER: u32 = 69659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEELEMENT3_IE8_LONGDESC: u32 = 69658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEELEMENT3_IE8_SRC: u32 = 69657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMEELEMENT_BORDERCOLOR: u32 = 69537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESCOLLECTION2_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESCOLLECTION2_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT2_ONAFTERPRINT: u32 = 71603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT2_ONBEFOREPRINT: u32 = 71602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT3_ONHASHCHANGE: u32 = 71645u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT3_ONMESSAGE: u32 = 71646u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT3_ONOFFLINE: u32 = 71644u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT3_ONONLINE: u32 = 71643u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT3_ONSTORAGE: u32 = 71636u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_BORDER: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_BORDERCOLOR: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_COLS: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_FRAMEBORDER: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_FRAMESPACING: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_ONBEFOREUNLOAD: u32 = 71575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_ONUNLOAD: u32 = 71569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLFRAMESETELEMENT_ROWS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLGENERICELEMENT_NAMEDRECORDSET: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLGENERICELEMENT_RECORDSET: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHEADELEMENT2_IE8_PROFILE: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHEADELEMENT_PROFILE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHEADERELEMENT_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHRELEMENT_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHRELEMENT_COLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHRELEMENT_NOSHADE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHRELEMENT_SIZE: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHRELEMENT_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLHTMLELEMENT_VERSION: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT2_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT2_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT3_CONTENTDOCUMENT: u32 = 69656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT3_IE8_FRAMEBORDER: u32 = 69659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT3_IE8_LONGDESC: u32 = 69658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT3_IE8_SRC: u32 = 69657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT_HSPACE: u32 = 69538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIFRAMEELEMENT_VSPACE: u32 = 69537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMAGEELEMENTFACTORY_CREATE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT2_LONGDESC: u32 = 2019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT3_IE8_DYNSRC: u32 = 1154u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT3_IE8_LONGDESC: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT3_IE8_LOWSRC: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT3_IE8_VRML: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT4_NATURALHEIGHT: u32 = 1156u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT4_NATURALWIDTH: u32 = 1155u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_ALT: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_BORDER: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_COMPLETE: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_DYNSRC: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_FILECREATEDDATE: u32 = 2012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_FILEMODIFIEDDATE: u32 = 2013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_FILESIZE: u32 = 2011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_FILEUPDATEDDATE: u32 = 2014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_HREF: u32 = 2016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_HSPACE: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_ISMAP: u32 = 2002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_LOOP: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_LOWSRC: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_MIMETYPE: u32 = 2010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_NAMEPROP: u32 = 2017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_ONABORT: u32 = 71564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_PROTOCOL: u32 = 2015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_SRC: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_START: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_USEMAP: u32 = 2008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_VRML: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_VSPACE: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIMGELEMENT_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTBUTTONELEMENT_CREATETEXTRANGE: u32 = 2006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTBUTTONELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTBUTTONELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTBUTTONELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTBUTTONELEMENT_STATUS: u32 = 2021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTBUTTONELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTBUTTONELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT2_ACCEPT: u32 = 2022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT2_USEMAP: u32 = 2023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT3_IE8_DYNSRC: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT3_IE8_LOWSRC: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT3_IE8_SRC: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT3_IE8_VRML: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_ALT: u32 = 2010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_BORDER: u32 = 2012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_CHECKED: u32 = 2009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_COMPLETE: u32 = 2018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_CREATETEXTRANGE: u32 = 2006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_DEFAULTCHECKED: u32 = 2008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_DEFAULTVALUE: u32 = 70619u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_DYNSRC: u32 = 2017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_HSPACE: u32 = 2014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_INDETERMINATE: u32 = 2007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_LOOP: u32 = 2019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_LOWSRC: u32 = 2015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_MAXLENGTH: u32 = 2003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_ONABORT: u32 = 71564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_READONLY: u32 = 2005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_SELECT: u32 = 2004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_SIZE: u32 = 2002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_SRC: u32 = 2011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_START: u32 = 2020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_STATUS: u32 = 2001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_VRML: u32 = 2016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_VSPACE: u32 = 2013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTELEMENT_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_MAXLENGTH: u32 = 2003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_SELECT: u32 = 2004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_SIZE: u32 = 2002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_STATUS: u32 = 2021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTFILEELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTHIDDENELEMENT_CREATETEXTRANGE: u32 = 2006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTHIDDENELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTHIDDENELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTHIDDENELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTHIDDENELEMENT_STATUS: u32 = 2021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTHIDDENELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTHIDDENELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_ALT: u32 = 2010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_BORDER: u32 = 2012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_COMPLETE: u32 = 2018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_DYNSRC: u32 = 2017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_HSPACE: u32 = 2014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_LOOP: u32 = 2019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_LOWSRC: u32 = 2015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_ONABORT: u32 = 71564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_SRC: u32 = 2011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_START: u32 = 2020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_VRML: u32 = 2016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_VSPACE: u32 = 2013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTIMAGE_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_ALT: u32 = 2010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_MAX: u32 = 2029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_MIN: u32 = 2028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_STEP: u32 = 2030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_STEPDOWN: u32 = 2032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_STEPUP: u32 = 2033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTRANGEELEMENT_VALUEASNUMBER: u32 = 2031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT2_SELECTIONEND: u32 = 2026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT2_SELECTIONSTART: u32 = 2025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT2_SETSELECTIONRANGE: u32 = 2027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_CREATETEXTRANGE: u32 = 2006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_DEFAULTVALUE: u32 = 70619u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_MAXLENGTH: u32 = 2003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_READONLY: u32 = 2005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_SELECT: u32 = 2004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_SIZE: u32 = 2002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_STATUS: u32 = 2021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLINPUTTEXTELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIPRINTCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIPRINTCOLLECTION_LENGTH: u32 = 1501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLIPRINTCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLISINDEXELEMENT2_FORM: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLISINDEXELEMENT_ACTION: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLISINDEXELEMENT_PROMPT: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLABELELEMENT2_FORM: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLABELELEMENT_ACCESSKEY: u32 = 67541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLABELELEMENT_HTMLFOR: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLEGENDELEMENT2_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLEGENDELEMENT_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLIELEMENT_TYPE: u32 = 70553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLIELEMENT_VALUE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT2_TARGET: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT3_CHARSET: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT3_HREFLANG: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT4_IE8_HREF: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT5_SHEET: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_HREF: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_MEDIA: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_REL: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_REV: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_STYLESHEET: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLINKELEMENT_TYPE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLISTELEMENT2_COMPACT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_ASSIGN: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_HASH: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_HOST: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_HOSTNAME: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_HREF: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_PATHNAME: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_PORT: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_PROTOCOL: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_RELOAD: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_REPLACE: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_SEARCH: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLLOCATION_TOSTRING: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMAPELEMENT_AREAS: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMAPELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_BEHAVIOR: u32 = 6002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_BGCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_DIRECTION: u32 = 6001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_HSPACE: u32 = 6006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_LOOP: u32 = 6004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_ONBOUNCE: u32 = 71556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_ONFINISH: u32 = 71562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_ONSTART: u32 = 71563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_SCROLLAMOUNT: u32 = 6003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_SCROLLDELAY: u32 = 6000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_START: u32 = 6010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_STOP: u32 = 6011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_TRUESPEED: u32 = 6007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_VSPACE: u32 = 6005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMARQUEEELEMENT_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT2_CURRENTTIMEDOUBLE: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT2_DEFAULTPLAYBACKRATEDOUBLE: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT2_DURATIONDOUBLE: u32 = 1029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT2_INITIALTIMEDOUBLE: u32 = 1028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT2_PLAYBACKRATEDOUBLE: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT2_VOLUMEDOUBLE: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_AUTOBUFFER: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_AUTOPLAY: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_BUFFERED: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_CANPLAYTYPE: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_CONTROLS: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_CURRENTSRC: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_CURRENTTIME: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_DEFAULTPLAYBACKRATE: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_DURATION: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_ENDED: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_ERROR: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_INITIALTIME: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_LOAD: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_LOOP: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_MUTED: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_NETWORKSTATE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_PAUSE: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_PAUSED: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_PLAY: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_PLAYBACKRATE: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_PLAYED: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_PRELOAD: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_SEEKABLE: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_SEEKING: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_SRC: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAELEMENT_VOLUME: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMEDIAERROR_CODE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMETAELEMENT2_SCHEME: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMETAELEMENT3_IE8_URL: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMETAELEMENT_CHARSET: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMETAELEMENT_CONTENT: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMETAELEMENT_HTTPEQUIV: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMETAELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMETAELEMENT_URL: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMIMETYPESCOLLECTION_LENGTH: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMODELESSINIT_DOCUMENT: u32 = 25007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMODELESSINIT_MONIKER: u32 = 25006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMODELESSINIT_OPTIONSTRING: u32 = 25001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMODELESSINIT_PARAMETERS: u32 = 25000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSCSSKEYFRAMERULE_KEYTEXT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSCSSKEYFRAMERULE_STYLE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSCSSKEYFRAMESRULE_APPENDRULE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSCSSKEYFRAMESRULE_CSSRULES: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSCSSKEYFRAMESRULE_DELETERULE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSCSSKEYFRAMESRULE_FINDRULE: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSCSSKEYFRAMESRULE_NAME: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSIMGELEMENT_MSPLAYTODISABLED: u32 = 1157u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSIMGELEMENT_MSPLAYTOPRIMARY: u32 = 1158u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSMEDIAELEMENT_MSPLAYTODISABLED: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLMSMEDIAELEMENT_MSPLAYTOPRIMARY: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACECOLLECTION_ADD: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACECOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACECOLLECTION_LENGTH: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACE_ATTACHEVENT: u32 = 66043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACE_DETACHEVENT: u32 = 66044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACE_DOIMPORT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACE_NAME: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACE_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACE_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACE_TAGNAMES: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNAMESPACE_URN: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLNEXTIDELEMENT_N: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT2_CLASSID: u32 = 68538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT2_DATA: u32 = 68539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT2_NAMEDRECORDSET: u32 = 68550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT3_ALT: u32 = 68552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT3_ARCHIVE: u32 = 68551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT3_BORDER: u32 = 68555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT3_DECLARE: u32 = 68553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT3_STANDBY: u32 = 68554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT3_USEMAP: u32 = 68556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT4_CONTENTDOCUMENT: u32 = 68566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT4_IE8_CODEBASE: u32 = 68567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT4_IE8_DATA: u32 = 68568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT5_IE9_OBJECT: u32 = 68569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_ALTHTML: u32 = 68547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_BASEHREF: u32 = 65538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_CLASSID: u32 = 68538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_CODE: u32 = 68544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_CODEBASE: u32 = 68542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_CODETYPE: u32 = 68543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_DATA: u32 = 68539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_HSPACE: u32 = 68549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_OBJECT: u32 = 68537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_READYSTATE: u32 = 68546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_RECORDSET: u32 = 68541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_TYPE: u32 = 68545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_VSPACE: u32 = 68548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOBJECTELEMENT_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOLISTELEMENT_COMPACT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOLISTELEMENT_START: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOLISTELEMENT_TYPE: u32 = 70553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_ADDREADREQUEST: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_ADDREQUEST: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_CLEARREQUEST: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_COMMITCHANGES: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_DOREADREQUEST: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_DOREQUEST: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_DOWRITEREQUEST: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_GETATTRIBUTE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPSPROFILE_SETATTRIBUTE: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_CHECKED: u32 = 2009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_DEFAULTCHECKED: u32 = 2008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_INDETERMINATE: u32 = 2007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_STATUS: u32 = 2001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONBUTTONELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENT3_LABEL: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENT4_IE9_VALUE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENTFACTORY_CREATE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENT_DEFAULTSELECTED: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENT_FORM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENT_INDEX: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENT_SELECTED: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENT_TEXT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONELEMENT_VALUE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_ANYTHINGAFTERFRAMESET: u32 = 1513u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_CHOOSECOLORDLG: u32 = 1517u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_DOCUMENT: u32 = 1503u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_ERRORCHARACTER: u32 = 1507u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_ERRORCODE: u32 = 1508u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_ERRORDEBUG: u32 = 1510u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_ERRORLINE: u32 = 1506u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_ERRORMESSAGE: u32 = 1509u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_EXECARG: u32 = 1505u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_FINDTEXT: u32 = 1512u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_FONTS: u32 = 1504u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_GETCHARSET: u32 = 1520u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_ISAPARTMENTMODEL: u32 = 1519u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_OPENFILEDLG: u32 = 1515u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_SAVEFILEDLG: u32 = 1516u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_SECURECONNECTIONINFO: u32 = 1521u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_SHOWSECURITYINFO: u32 = 1518u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_SIZES: u32 = 1514u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLOPTIONSHOLDER_UNSECUREDWINDOWOFDOCUMENT: u32 = 1511u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAELEMENT_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAMELEMENT2_IE8_VALUETYPE: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAMELEMENT2_NAME: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAMELEMENT2_TYPE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAMELEMENT2_VALUE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAMELEMENT_NAME: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAMELEMENT_TYPE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAMELEMENT_VALUE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPARAMELEMENT_VALUETYPE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCENAVIGATION_REDIRECTCOUNT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCENAVIGATION_TOJSON: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCENAVIGATION_TOSTRING: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCENAVIGATION_TYPE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_CONNECTEND: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_CONNECTSTART: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_DOMAINLOOKUPEND: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_DOMAINLOOKUPSTART: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_DOMCOMPLETE: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_DOMCONTENTLOADEDEVENTEND: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_DOMCONTENTLOADEDEVENTSTART: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_DOMINTERACTIVE: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_DOMLOADING: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_FETCHSTART: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_LOADEVENTEND: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_LOADEVENTSTART: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_MSFIRSTPAINT: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_NAVIGATIONSTART: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_REDIRECTEND: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_REDIRECTSTART: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_REQUESTSTART: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_RESPONSEEND: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_RESPONSESTART: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_TOJSON: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_TOSTRING: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_UNLOADEVENTEND: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCETIMING_UNLOADEVENTSTART: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCE_NAVIGATION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCE_TIMING: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCE_TOJSON: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPERFORMANCE_TOSTRING: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPHRASEELEMENT2_CITE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPHRASEELEMENT2_DATETIME: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPHRASEELEMENT3_IE8_CITE: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPLUGINSCOLLECTION_LENGTH: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPLUGINSCOLLECTION_REFRESH: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPOPUP_DOCUMENT: u32 = 27003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPOPUP_HIDE: u32 = 27002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPOPUP_ISOPEN: u32 = 27004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPOPUP_SHOW: u32 = 27001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPROGRESSELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPROGRESSELEMENT_MAX: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPROGRESSELEMENT_POSITION: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLPROGRESSELEMENT_VALUE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECT2_HEIGHT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECT2_WIDTH: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECTCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECTCOLLECTION_LENGTH: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECTCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECT_BOTTOM: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECT_LEFT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECT_RIGHT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRECT_TOP: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_DEFAULTTEXTSELECTION: u32 = 70724u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_RENDERINGPRIORITY: u32 = 70706u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_TEXTBACKGROUNDCOLOR: u32 = 70705u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_TEXTCOLOR: u32 = 70726u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_TEXTDECORATION: u32 = 70727u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_TEXTDECORATIONCOLOR: u32 = 70725u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_TEXTEFFECT: u32 = 70704u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_TEXTLINETHROUGHSTYLE: u32 = 70702u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRENDERSTYLE_TEXTUNDERLINESTYLE: u32 = 70703u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_ACCELERATOR: u32 = 70683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_BEHAVIOR: u32 = 70651u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_BORDERCOLLAPSE: u32 = 70620u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_BOTTOM: u32 = 65614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_DIRECTION: u32 = 70655u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_IMEMODE: u32 = 70656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_LAYOUTGRID: u32 = 70667u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_LAYOUTGRIDCHAR: u32 = 70663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_LAYOUTGRIDLINE: u32 = 70664u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_LAYOUTGRIDMODE: u32 = 70665u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_LAYOUTGRIDTYPE: u32 = 70666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_LINEBREAK: u32 = 70669u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_OVERFLOWX: u32 = 70675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_OVERFLOWY: u32 = 70676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_PIXELBOTTOM: u32 = 69545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_PIXELRIGHT: u32 = 69546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_POSBOTTOM: u32 = 69547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_POSITION: u32 = 70626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_POSRIGHT: u32 = 69548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_RIGHT: u32 = 65613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_RUBYALIGN: u32 = 70657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_RUBYOVERHANG: u32 = 70659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_RUBYPOSITION: u32 = 70658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_TABLELAYOUT: u32 = 70634u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_TEXTAUTOSPACE: u32 = 70668u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_TEXTJUSTIFY: u32 = 70671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_TEXTJUSTIFYTRIM: u32 = 70672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_TEXTKASHIDA: u32 = 70673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_UNICODEBIDI: u32 = 70654u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE2_WORDBREAK: u32 = 70670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_LAYOUTFLOW: u32 = 70691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_SCROLLBAR3DLIGHTCOLOR: u32 = 70718u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_SCROLLBARARROWCOLOR: u32 = 70722u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_SCROLLBARBASECOLOR: u32 = 70716u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_SCROLLBARDARKSHADOWCOLOR: u32 = 70721u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_SCROLLBARFACECOLOR: u32 = 70717u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_SCROLLBARHIGHLIGHTCOLOR: u32 = 70720u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_SCROLLBARSHADOWCOLOR: u32 = 70719u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_SCROLLBARTRACKCOLOR: u32 = 70732u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_TEXTALIGNLAST: u32 = 70739u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_TEXTKASHIDASPACE: u32 = 70740u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_TEXTUNDERLINEPOSITION: u32 = 70695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_WORDWRAP: u32 = 70694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_WRITINGMODE: u32 = 70728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE3_ZOOM: u32 = 70689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE4_MINHEIGHT: u32 = 70747u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE4_TEXTOVERFLOW: u32 = 70745u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE5_MAXHEIGHT: u32 = 70750u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE5_MAXWIDTH: u32 = 70752u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE5_MINWIDTH: u32 = 70751u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE5_MSINTERPOLATIONMODE: u32 = 70749u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_BORDERSPACING: u32 = 70763u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_BOXSIZING: u32 = 70762u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_CAPTIONSIDE: u32 = 70755u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_CONTENT: u32 = 70754u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_COUNTERINCREMENT: u32 = 70756u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_COUNTERRESET: u32 = 70757u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_EMPTYCELLS: u32 = 70786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_MSBLOCKPROGRESSION: u32 = 70787u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_ORPHANS: u32 = 70764u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_OUTLINE: u32 = 70758u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_OUTLINECOLOR: u32 = 70761u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_OUTLINESTYLE: u32 = 70760u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_OUTLINEWIDTH: u32 = 70759u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_PAGEBREAKINSIDE: u32 = 70766u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_QUOTES: u32 = 70788u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE6_WIDOWS: u32 = 70765u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BACKGROUND: u32 = 70568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BACKGROUNDATTACHMENT: u32 = 70581u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BACKGROUNDCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BACKGROUNDIMAGE: u32 = 70537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITION: u32 = 70582u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITIONX: u32 = 70569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BACKGROUNDPOSITIONY: u32 = 70570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BACKGROUNDREPEAT: u32 = 70580u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDER: u32 = 70585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERBOTTOM: u32 = 70588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERBOTTOMCOLOR: u32 = 70593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERBOTTOMSTYLE: u32 = 70603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERBOTTOMWIDTH: u32 = 70598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERCOLOR: u32 = 70590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERLEFT: u32 = 70589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERLEFTCOLOR: u32 = 70594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERLEFTSTYLE: u32 = 70604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERLEFTWIDTH: u32 = 70599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERRIGHT: u32 = 70587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERRIGHTCOLOR: u32 = 70592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERRIGHTSTYLE: u32 = 70602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERRIGHTWIDTH: u32 = 70597u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERSTYLE: u32 = 70600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERTOP: u32 = 70586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERTOPCOLOR: u32 = 70591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERTOPSTYLE: u32 = 70601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERTOPWIDTH: u32 = 70596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_BORDERWIDTH: u32 = 70595u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_CLEAR: u32 = 70552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_CLIP: u32 = 70628u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_COLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_CSSTEXT: u32 = 70635u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_CURSOR: u32 = 70638u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_DISPLAY: u32 = 70607u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_FILTER: u32 = 70618u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_FONT: u32 = 70577u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_FONTFAMILY: u32 = 70554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_FONTSIZE: u32 = 70555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_FONTSTYLE: u32 = 70560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_FONTVARIANT: u32 = 70561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_FONTWEIGHT: u32 = 70563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_GETATTRIBUTE: u32 = 66038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_LEFT: u32 = 65539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_LETTERSPACING: u32 = 70544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_LINEHEIGHT: u32 = 70542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_LISTSTYLE: u32 = 70611u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_LISTSTYLEIMAGE: u32 = 70610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_LISTSTYLEPOSITION: u32 = 70609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_LISTSTYLETYPE: u32 = 70608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_MARGIN: u32 = 70572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_MARGINBOTTOM: u32 = 70575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_MARGINLEFT: u32 = 70576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_MARGINRIGHT: u32 = 70574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_MARGINTOP: u32 = 70573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_OVERFLOW: u32 = 70546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_PADDING: u32 = 70547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_PADDINGBOTTOM: u32 = 70550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_PADDINGLEFT: u32 = 70551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_PADDINGRIGHT: u32 = 70549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_PADDINGTOP: u32 = 70548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_PAGEBREAKAFTER: u32 = 70614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_PAGEBREAKBEFORE: u32 = 70613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_POSITION: u32 = 70626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_REMOVEATTRIBUTE: u32 = 66039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_SETATTRIBUTE: u32 = 66037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_STYLEFLOAT: u32 = 70606u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTDECORATION: u32 = 70571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTDECORATIONBLINK: u32 = 70558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTDECORATIONLINETHROUGH: u32 = 70556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTDECORATIONNONE: u32 = 70559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTDECORATIONOVERLINE: u32 = 70605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTDECORATIONUNDERLINE: u32 = 70557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTINDENT: u32 = 70543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TEXTTRANSFORM: u32 = 70540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_TOP: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_VERTICALALIGN: u32 = 70584u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_VISIBILITY: u32 = 70616u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_WHITESPACE: u32 = 70612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_WORDSPACING: u32 = 70583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLRULESTYLE_ZINDEX: u32 = 70627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN2_DEVICEXDPI: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN2_DEVICEYDPI: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN2_LOGICALXDPI: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN2_LOGICALYDPI: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN3_SYSTEMXDPI: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN3_SYSTEMYDPI: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN4_PIXELDEPTH: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN_AVAILHEIGHT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN_AVAILWIDTH: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN_BUFFERDEPTH: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN_COLORDEPTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN_FONTSMOOTHINGENABLED: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN_HEIGHT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN_UPDATEINTERVAL: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCREEN_WIDTH: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT2_CHARSET: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT3_IE8_SRC: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT4_USEDCHARSET: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT_DEFER: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT_EVENT: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT_HTMLFOR: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT_SRC: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT_TEXT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSCRIPTELEMENT_TYPE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT2_URNS: u32 = 1505u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT4_NAMEDITEM: u32 = 1506u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT5_IE8_ADD: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT6_IE9_ADD: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT6_IE9_VALUE: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_ADD: u32 = 1503u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_LENGTH: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_MULTIPLE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_OPTIONS: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_REMOVE: u32 = 1504u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_SELECTEDINDEX: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_SIZE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_TAGS: u32 = 1502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_TYPE: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT_VALUE: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTELEMENT__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTIONOBJECT2_CREATERANGECOLLECTION: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTIONOBJECT2_TYPEDETAIL: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTIONOBJECT_CLEAR: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTIONOBJECT_CREATERANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTIONOBJECT_EMPTY: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTIONOBJECT_TYPE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_ADDRANGE: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_ANCHORNODE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_ANCHOROFFSET: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_COLLAPSE: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_COLLAPSETOEND: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_COLLAPSETOSTART: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_DELETEFROMDOCUMENT: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_FOCUSNODE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_FOCUSOFFSET: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_GETRANGEAT: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_ISCOLLAPSED: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_RANGECOUNT: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_REMOVEALLRANGES: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_REMOVERANGE: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_SELECTALLCHILDREN: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSELECTION_TOSTRING: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSOURCEELEMENT_MEDIA: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSOURCEELEMENT_SRC: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSOURCEELEMENT_TYPE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSPANFLOW_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTORAGE2_IE9_SETITEM: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTORAGE_CLEAR: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTORAGE_GETITEM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTORAGE_KEY: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTORAGE_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTORAGE_REMAININGSPACE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTORAGE_REMOVEITEM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTORAGE_SETITEM: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_ACCELERATOR: u32 = 70683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_BEHAVIOR: u32 = 70651u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_BORDERCOLLAPSE: u32 = 70620u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_BOTTOM: u32 = 65614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_DIRECTION: u32 = 70655u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_GETEXPRESSION: u32 = 66041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_IMEMODE: u32 = 70656u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_LAYOUTGRID: u32 = 70667u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_LAYOUTGRIDCHAR: u32 = 70663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_LAYOUTGRIDLINE: u32 = 70664u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_LAYOUTGRIDMODE: u32 = 70665u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_LAYOUTGRIDTYPE: u32 = 70666u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_LINEBREAK: u32 = 70669u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_OVERFLOWX: u32 = 70675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_OVERFLOWY: u32 = 70676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_PIXELBOTTOM: u32 = 69545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_PIXELRIGHT: u32 = 69546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_POSBOTTOM: u32 = 69547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_POSITION: u32 = 70626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_POSRIGHT: u32 = 69548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_REMOVEEXPRESSION: u32 = 66042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_RIGHT: u32 = 65613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_RUBYALIGN: u32 = 70657u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_RUBYOVERHANG: u32 = 70659u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_RUBYPOSITION: u32 = 70658u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_SETEXPRESSION: u32 = 66040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_TABLELAYOUT: u32 = 70634u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_TEXTAUTOSPACE: u32 = 70668u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_TEXTJUSTIFY: u32 = 70671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_TEXTJUSTIFYTRIM: u32 = 70672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_TEXTKASHIDA: u32 = 70673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_UNICODEBIDI: u32 = 70654u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE2_WORDBREAK: u32 = 70670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_LAYOUTFLOW: u32 = 70691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_SCROLLBAR3DLIGHTCOLOR: u32 = 70718u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_SCROLLBARARROWCOLOR: u32 = 70722u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_SCROLLBARBASECOLOR: u32 = 70716u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_SCROLLBARDARKSHADOWCOLOR: u32 = 70721u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_SCROLLBARFACECOLOR: u32 = 70717u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_SCROLLBARHIGHLIGHTCOLOR: u32 = 70720u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_SCROLLBARSHADOWCOLOR: u32 = 70719u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_SCROLLBARTRACKCOLOR: u32 = 70732u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_TEXTALIGNLAST: u32 = 70739u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_TEXTKASHIDASPACE: u32 = 70740u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_TEXTUNDERLINEPOSITION: u32 = 70695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_WORDWRAP: u32 = 70694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_WRITINGMODE: u32 = 70728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE3_ZOOM: u32 = 70689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE4_MINHEIGHT: u32 = 70747u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE4_TEXTOVERFLOW: u32 = 70745u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE5_MAXHEIGHT: u32 = 70750u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE5_MAXWIDTH: u32 = 70752u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE5_MINWIDTH: u32 = 70751u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE5_MSINTERPOLATIONMODE: u32 = 70749u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_BORDERSPACING: u32 = 70763u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_BOXSIZING: u32 = 70762u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_CAPTIONSIDE: u32 = 70755u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_CONTENT: u32 = 70754u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_COUNTERINCREMENT: u32 = 70756u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_COUNTERRESET: u32 = 70757u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_EMPTYCELLS: u32 = 70786u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_MSBLOCKPROGRESSION: u32 = 70787u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_ORPHANS: u32 = 70764u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_OUTLINE: u32 = 70758u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_OUTLINECOLOR: u32 = 70761u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_OUTLINESTYLE: u32 = 70760u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_OUTLINEWIDTH: u32 = 70759u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_PAGEBREAKINSIDE: u32 = 70766u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_QUOTES: u32 = 70788u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE6_WIDOWS: u32 = 70765u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT2_SHEET: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT_MEDIA: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT_STYLESHEET: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEELEMENT_TYPE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEENABLED_MSGETPROPERTYENABLED: u32 = 70043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEENABLED_MSPUTPROPERTYENABLED: u32 = 70044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEFONTFACE2_STYLE: u32 = 65610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEFONTFACE_FONTSRC: u32 = 70633u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEMEDIA_MATCHMEDIUM: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLEMEDIA_TYPE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET2_ADDPAGERULE: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET2_PAGES: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET3_IE8_HREF: u32 = 1150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET3_ISALTERNATE: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET3_ISPREFALTERNATE: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_CSSRULES: u32 = 1158u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_DELETERULE: u32 = 1161u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_IE9_HREF: u32 = 1154u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_IE9_MEDIA: u32 = 1159u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_IE9_TITLE: u32 = 1155u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_IE9_TYPE: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_INSERTRULE: u32 = 1160u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_OWNERNODE: u32 = 1156u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET4_OWNERRULE: u32 = 1157u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETPAGE2_SELECTORTEXT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETPAGE2_STYLE: u32 = 65610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETPAGESCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETPAGESCOLLECTION_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETPAGE_PSEUDOCLASS: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETPAGE_SELECTOR: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULE2_IE9_SELECTORTEXT: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULEAPPLIED_MSGETSPECIFICITY: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULEAPPLIED_MSSPECIFICITY: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESAPPLIEDCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESAPPLIEDCOLLECTION_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESAPPLIEDCOLLECTION_PROPERTYAPPLIEDBY: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESAPPLIEDCOLLECTION_PROPERTYAPPLIEDTRACE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESAPPLIEDCOLLECTION_PROPERTYAPPLIEDTRACELENGTH: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESCOLLECTION2_IE9_ITEM: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESCOLLECTION2_IE9_LENGTH: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULESCOLLECTION_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULE_READONLY: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULE_SELECTORTEXT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETRULE_STYLE: u32 = 65610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETSCOLLECTION2_IE9_ITEM: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETSCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETSCOLLECTION_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEETSCOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_ADDIMPORT: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_ADDRULE: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_CSSTEXT: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_HREF: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_ID: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_IMPORTS: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_MEDIA: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_OWNINGELEMENT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_PARENTSTYLESHEET: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_READONLY: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_REMOVEIMPORT: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_REMOVERULE: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_RULES: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_TITLE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLESHEET_TYPE: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BACKGROUND: u32 = 70568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BACKGROUNDATTACHMENT: u32 = 70581u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BACKGROUNDCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BACKGROUNDIMAGE: u32 = 70537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BACKGROUNDPOSITION: u32 = 70582u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONX: u32 = 70569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONY: u32 = 70570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BACKGROUNDREPEAT: u32 = 70580u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDER: u32 = 70585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERBOTTOM: u32 = 70588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERBOTTOMCOLOR: u32 = 70593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERBOTTOMSTYLE: u32 = 70603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERBOTTOMWIDTH: u32 = 70598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERCOLOR: u32 = 70590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERLEFT: u32 = 70589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERLEFTCOLOR: u32 = 70594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERLEFTSTYLE: u32 = 70604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERLEFTWIDTH: u32 = 70599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERRIGHT: u32 = 70587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERRIGHTCOLOR: u32 = 70592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERRIGHTSTYLE: u32 = 70602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERRIGHTWIDTH: u32 = 70597u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERSTYLE: u32 = 70600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERTOP: u32 = 70586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERTOPCOLOR: u32 = 70591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERTOPSTYLE: u32 = 70601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERTOPWIDTH: u32 = 70596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_BORDERWIDTH: u32 = 70595u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_CLEAR: u32 = 70552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_CLIP: u32 = 70628u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_COLOR: u32 = 70538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_CSSTEXT: u32 = 70635u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_CURSOR: u32 = 70638u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_DISPLAY: u32 = 70607u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_FILTER: u32 = 70618u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_FONT: u32 = 70577u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_FONTFAMILY: u32 = 70554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_FONTSIZE: u32 = 70555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_FONTSTYLE: u32 = 70560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_FONTVARIANT: u32 = 70561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_FONTWEIGHT: u32 = 70563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_GETATTRIBUTE: u32 = 66038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_LEFT: u32 = 65539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_LETTERSPACING: u32 = 70544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_LINEHEIGHT: u32 = 70542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_LISTSTYLE: u32 = 70611u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_LISTSTYLEIMAGE: u32 = 70610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_LISTSTYLEPOSITION: u32 = 70609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_LISTSTYLETYPE: u32 = 70608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_MARGIN: u32 = 70572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_MARGINBOTTOM: u32 = 70575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_MARGINLEFT: u32 = 70576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_MARGINRIGHT: u32 = 70574u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_MARGINTOP: u32 = 70573u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_OVERFLOW: u32 = 70546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PADDING: u32 = 70547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PADDINGBOTTOM: u32 = 70550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PADDINGLEFT: u32 = 70551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PADDINGRIGHT: u32 = 70549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PADDINGTOP: u32 = 70548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PAGEBREAKAFTER: u32 = 70614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PAGEBREAKBEFORE: u32 = 70613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PIXELHEIGHT: u32 = 69539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PIXELLEFT: u32 = 69537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PIXELTOP: u32 = 69536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_PIXELWIDTH: u32 = 69538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_POSHEIGHT: u32 = 69543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_POSITION: u32 = 70626u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_POSLEFT: u32 = 69541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_POSTOP: u32 = 69540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_POSWIDTH: u32 = 69542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_REMOVEATTRIBUTE: u32 = 66039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_SETATTRIBUTE: u32 = 66037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_STYLEFLOAT: u32 = 70606u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTDECORATION: u32 = 70571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTDECORATIONBLINK: u32 = 70558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTDECORATIONLINETHROUGH: u32 = 70556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTDECORATIONNONE: u32 = 70559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTDECORATIONOVERLINE: u32 = 70605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTDECORATIONUNDERLINE: u32 = 70557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTINDENT: u32 = 70543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TEXTTRANSFORM: u32 = 70540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TOP: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_TOSTRING: u32 = 69544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_VERTICALALIGN: u32 = 70584u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_VISIBILITY: u32 = 70616u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_WHITESPACE: u32 = 70612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_WORDSPACING: u32 = 70583u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSTYLE_ZINDEX: u32 = 70627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSUBMITDATA_APPENDITEMSEPARATOR: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSUBMITDATA_APPENDNAMEFILEPAIR: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLSUBMITDATA_APPENDNAMEVALUEPAIR: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE2_CELLS: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE2_FIRSTPAGE: u32 = 1035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE2_LASTPAGE: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE2_MOVEROW: u32 = 1038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE3_SUMMARY: u32 = 1039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE4_CREATETBODY: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE4_IE9_CAPTION: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE4_IE9_DELETEROW: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE4_IE9_INSERTROW: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE4_IE9_TFOOT: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE4_IE9_THEAD: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECAPTION_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECAPTION_VALIGN: u32 = 70567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL2_ABBR: u32 = 2004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL2_AXIS: u32 = 2005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL2_CH: u32 = 2006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL2_CHOFF: u32 = 2007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL2_HEADERS: u32 = 2008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL2_SCOPE: u32 = 2009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL3_IE9_CH: u32 = 2010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL3_IE9_CHOFF: u32 = 2011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_BACKGROUND: u32 = 70537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_BGCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_BORDERCOLOR: u32 = 70564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_BORDERCOLORDARK: u32 = 70566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_BORDERCOLORLIGHT: u32 = 70565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_CELLINDEX: u32 = 2003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_COLSPAN: u32 = 2002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_NOWRAP: u32 = 70541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_ROWSPAN: u32 = 2001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_VALIGN: u32 = 70567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECELL_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECOL2_CH: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECOL2_CHOFF: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECOL3_IE9_CH: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECOL3_IE9_CHOFF: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECOL_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECOL_SPAN: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECOL_VALIGN: u32 = 70567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLECOL_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW2_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW3_CH: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW3_CHOFF: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW4_IE9_CH: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW4_IE9_CHOFF: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW4_IE9_DELETECELL: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW4_IE9_INSERTCELL: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROWMETRICS_CLIENTHEIGHT: u32 = 67555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROWMETRICS_CLIENTLEFT: u32 = 67558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROWMETRICS_CLIENTTOP: u32 = 67557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROWMETRICS_CLIENTWIDTH: u32 = 67556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_BGCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_BORDERCOLOR: u32 = 70564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_BORDERCOLORDARK: u32 = 70566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_BORDERCOLORLIGHT: u32 = 70565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_CELLS: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_DELETECELL: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_INSERTCELL: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_ROWINDEX: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_SECTIONROWINDEX: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLEROW_VALIGN: u32 = 70567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION2_MOVEROW: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION3_CH: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION3_CHOFF: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION4_IE9_CH: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION4_IE9_CHOFF: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION4_IE9_DELETEROW: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION4_IE9_INSERTROW: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION_ALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION_BGCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION_DELETEROW: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION_INSERTROW: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION_ROWS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLESECTION_VALIGN: u32 = 70567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_ALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_BACKGROUND: u32 = 70537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_BGCOLOR: i32 = -501i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_BORDER: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_BORDERCOLOR: u32 = 70564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_BORDERCOLORDARK: u32 = 70566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_BORDERCOLORLIGHT: u32 = 70565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_CAPTION: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_CELLPADDING: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_CELLSPACING: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_COLS: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_CREATECAPTION: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_CREATETFOOT: u32 = 1028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_CREATETHEAD: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_DATAPAGESIZE: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_DELETECAPTION: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_DELETEROW: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_DELETETFOOT: u32 = 1029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_DELETETHEAD: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_FRAME: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_INSERTROW: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_NEXTPAGE: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_PREVIOUSPAGE: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_READYSTATE: u32 = 70652u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_REFRESH: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_ROWS: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_RULES: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_TBODIES: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_TFOOT: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_THEAD: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTABLE_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT2_SELECTIONEND: u32 = 7008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT2_SELECTIONSTART: u32 = 7007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT2_SETSELECTIONRANGE: u32 = 7009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_COLS: u32 = 7002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_CREATETEXTRANGE: u32 = 7006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_DEFAULTVALUE: u32 = 70619u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_FORM: u32 = 67540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_READONLY: u32 = 7004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_ROWS: u32 = 7001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_SELECT: u32 = 7005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_STATUS: u32 = 2001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_TYPE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_VALUE: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTAREAELEMENT_WRAP: u32 = 7003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTCONTAINER_CREATECONTROLRANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTCONTAINER_ONSCROLL: u32 = 71567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTCONTAINER_SCROLLHEIGHT: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTCONTAINER_SCROLLLEFT: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTCONTAINER_SCROLLTOP: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTCONTAINER_SCROLLWIDTH: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTRANGEMETRICS2_GETBOUNDINGCLIENTRECT: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTRANGEMETRICS2_GETCLIENTRECTS: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTRANGEMETRICS_BOUNDINGHEIGHT: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTRANGEMETRICS_BOUNDINGLEFT: u32 = 1038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTRANGEMETRICS_BOUNDINGTOP: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTRANGEMETRICS_BOUNDINGWIDTH: u32 = 1039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTRANGEMETRICS_OFFSETLEFT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTEXTRANGEMETRICS_OFFSETTOP: u32 = 1035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTIMERANGES2_ENDDOUBLE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTIMERANGES2_STARTDOUBLE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTIMERANGES_END: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTIMERANGES_LENGTH: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTIMERANGES_START: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTITLEELEMENT_TEXT: u32 = 70637u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGECOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGECOLLECTION_LENGTH: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGECOLLECTION__NEWENUM: i32 = -4i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGEINTERNAL_GET_VISIBLETEXT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_COLLAPSE: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_COMPAREENDPOINTS: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_DUPLICATE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_EXECCOMMAND: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_EXECCOMMANDSHOWHELP: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_EXPAND: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_FINDTEXT: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_GETBOOKMARK: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_HTMLTEXT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_INRANGE: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_ISEQUAL: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_MOVE: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_MOVEEND: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_MOVESTART: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_MOVETOBOOKMARK: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_MOVETOELEMENTTEXT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_MOVETOPOINT: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_PARENTELEMENT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_PASTEHTML: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_QUERYCOMMANDENABLED: u32 = 1028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_QUERYCOMMANDINDETERM: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_QUERYCOMMANDSTATE: u32 = 1029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_QUERYCOMMANDSUPPORTED: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_QUERYCOMMANDTEXT: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_QUERYCOMMANDVALUE: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_SCROLLINTOVIEW: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_SELECT: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_SETENDPOINT: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLTXTRANGE_TEXT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLULISTELEMENT_COMPACT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLULISTELEMENT_TYPE: u32 = 70553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLUNIQUENAME_UNIQUEID: u32 = 66591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLUNIQUENAME_UNIQUENUMBER: u32 = 66590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLURNCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLURNCOLLECTION_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLVIDEOELEMENT_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLVIDEOELEMENT_POSTER: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLVIDEOELEMENT_VIDEOHEIGHT: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLVIDEOELEMENT_VIDEOWIDTH: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLVIDEOELEMENT_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ALERT: u32 = 1105u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_BLUR: u32 = 1159u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_CLEARINTERVAL: u32 = 1163u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_CLEARTIMEOUT: u32 = 1104u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_CLIENTINFORMATION: u32 = 1161u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_CLOSE: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_CLOSED: u32 = 23u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_CONFIRM: u32 = 1110u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_DEFAULTSTATUS: u32 = 1101u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_DOCUMENT: u32 = 1151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_EVENT: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_EXECSCRIPT: u32 = 1165u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_EXTERNAL: u32 = 1169u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_FOCUS: u32 = 1158u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_FRAMES: u32 = 1100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_HISTORY: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_IMAGE: u32 = 1125u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_LOCATION: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_MOVEBY: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_MOVETO: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_NAME: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_NAVIGATE: u32 = 25u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_NAVIGATOR: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_OFFSCREENBUFFERING: u32 = 1164u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONBEFOREUNLOAD: u32 = 71575u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONBLUR: u32 = 71551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONFOCUS: u32 = 71550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONHELP: u32 = 71549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONRESIZE: u32 = 71572u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONSCROLL: u32 = 71567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_ONUNLOAD: u32 = 71569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_OPEN: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_OPENER: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_OPTION: u32 = 1157u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_PARENT: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_PROMPT: u32 = 1111u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_RESIZEBY: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_RESIZETO: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SCREEN: u32 = 1156u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SCROLL: u32 = 1160u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SCROLLBY: u32 = 1167u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SCROLLTO: u32 = 1168u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SELF: u32 = 20u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SETINTERVAL: u32 = 1173u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SETTIMEOUT: u32 = 1172u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SHOWHELP: u32 = 1155u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_SHOWMODALDIALOG: u32 = 1154u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_STATUS: u32 = 1102u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_TOP: u32 = 21u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_TOSTRING: u32 = 1166u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2_WINDOW: u32 = 22u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW2__NEWENUM: u32 = 1153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_ATTACHEVENT: u32 = 66043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_CLIPBOARDDATA: u32 = 1175u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_DETACHEVENT: u32 = 66044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_ONAFTERPRINT: u32 = 71603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_ONBEFOREPRINT: u32 = 71602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_PRINT: u32 = 1174u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_SCREENLEFT: u32 = 1170u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_SCREENTOP: u32 = 1171u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_SETINTERVAL: u32 = 1162u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_SETTIMEOUT: u32 = 1103u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW3_SHOWMODELESSDIALOG: u32 = 1176u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW4_CREATEPOPUP: u32 = 1180u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW4_FRAMEELEMENT: u32 = 1181u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW5_XMLHTTPREQUEST: u32 = 1190u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_LOCALSTORAGE: u32 = 1193u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_MAXCONNECTIONSPERSERVER: u32 = 1194u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_MSWRITEPROFILERMARK: u32 = 1198u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_ONHASHCHANGE: u32 = 71645u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_ONMESSAGE: u32 = 71646u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_POSTMESSAGE: u32 = 1196u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_SESSIONSTORAGE: u32 = 1192u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_TOSTATICHTML: u32 = 1197u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW6_XDOMAINREQUEST: u32 = 1191u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_GETCOMPUTEDSTYLE: u32 = 1200u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_GETSELECTION: u32 = 1199u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_INNERHEIGHT: u32 = 1205u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_INNERWIDTH: u32 = 1204u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONABORT: u32 = 71564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONCANPLAY: u32 = 71670u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONCANPLAYTHROUGH: u32 = 71671u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONCHANGE: u32 = 71566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONCLICK: u32 = 71544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONCONTEXTMENU: u32 = 71601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDBLCLICK: u32 = 71545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDRAG: u32 = 71585u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDRAGEND: u32 = 71586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDRAGENTER: u32 = 71587u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDRAGLEAVE: u32 = 71589u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDRAGOVER: u32 = 71588u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDRAGSTART: u32 = 71571u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDROP: u32 = 71590u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONDURATIONCHANGE: u32 = 71672u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONEMPTIED: u32 = 71673u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONENDED: u32 = 71674u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONFOCUSIN: u32 = 71627u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONFOCUSOUT: u32 = 71628u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONINPUT: u32 = 71663u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONKEYDOWN: u32 = 71541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONKEYPRESS: u32 = 71543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONKEYUP: u32 = 71542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONLOADEDDATA: u32 = 71675u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONLOADEDMETADATA: u32 = 71676u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONLOADSTART: u32 = 71677u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONMOUSEDOWN: u32 = 71538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONMOUSEENTER: u32 = 71621u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONMOUSELEAVE: u32 = 71622u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONMOUSEMOVE: u32 = 71540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONMOUSEOUT: u32 = 71537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONMOUSEOVER: u32 = 71536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONMOUSEUP: u32 = 71539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONMOUSEWHEEL: u32 = 71612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONOFFLINE: u32 = 71644u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONONLINE: u32 = 71643u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONPAUSE: u32 = 71678u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONPLAY: u32 = 71679u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONPLAYING: u32 = 71680u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONPROGRESS: u32 = 71681u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONRATECHANGE: u32 = 71682u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONRESET: u32 = 71548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONSEEKED: u32 = 71683u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONSEEKING: u32 = 71684u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONSELECT: u32 = 71546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONSTALLED: u32 = 71685u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONSTORAGE: u32 = 71636u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONSUBMIT: u32 = 71547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONSUSPEND: u32 = 71686u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONTIMEUPDATE: u32 = 71687u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONVOLUMECHANGE: u32 = 71688u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_ONWAITING: u32 = 71689u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_OUTERHEIGHT: u32 = 1211u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_OUTERWIDTH: u32 = 1210u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_PAGEXOFFSET: u32 = 1206u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_PAGEYOFFSET: u32 = 1207u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_PERFORMANCE: u32 = 1203u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_SCREENX: u32 = 1208u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_SCREENY: u32 = 1209u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW7_STYLEMEDIA: u32 = 1202u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_APPLICATIONCACHE: u32 = 1213u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSGESTURECHANGE: u32 = 71700u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSGESTUREDOUBLETAP: u32 = 71704u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSGESTUREEND: u32 = 71701u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSGESTUREHOLD: u32 = 71702u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSGESTURESTART: u32 = 71699u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSGESTURETAP: u32 = 71703u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSINERTIASTART: u32 = 71705u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSPOINTERCANCEL: u32 = 71695u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSPOINTERDOWN: u32 = 71690u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSPOINTERHOVER: u32 = 71696u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSPOINTERMOVE: u32 = 71691u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSPOINTEROUT: u32 = 71694u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSPOINTEROVER: u32 = 71693u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONMSPOINTERUP: u32 = 71692u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLWINDOW8_ONPOPSTATE: u32 = 71728u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUESTFACTORY_CREATE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_ABORT: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_CONTENTTYPE: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_ONERROR: u32 = 71565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_ONLOAD: u32 = 71568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_ONPROGRESS: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_ONTIMEOUT: u32 = 71648u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_OPEN: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_RESPONSETEXT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_SEND: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXDOMAINREQUEST_TIMEOUT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST2_ONTIMEOUT: u32 = 71648u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST2_TIMEOUT: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUESTFACTORY_CREATE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_ABORT: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_GETALLRESPONSEHEADERS: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_GETRESPONSEHEADER: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_ONREADYSTATECHANGE: u32 = 71561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_OPEN: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_READYSTATE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_RESPONSEBODY: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_RESPONSETEXT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_RESPONSEXML: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_SEND: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_SETREQUESTHEADER: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_STATUS: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IHTMLXMLHTTPREQUEST_STATUSTEXT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ILINEINFO: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ILINEINFO_BASELINE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ILINEINFO_LINEDIRECTION: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ILINEINFO_TEXTDESCENT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ILINEINFO_TEXTHEIGHT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ILINEINFO_X: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IMG: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IMGBASE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IMPORT: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IMPORTEXPORTFAVORITES: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INAVIGATORDONOTTRACK_MSDONOTTRACK: u32 = 22u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INAVIGATORGEOLOCATION_GEOLOCATION: u32 = 21u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INITIALIZED: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INPRIVATEFILTERINGENABLED: u32 = 37u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INPUT: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INPUTIMAGE: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INPUTTEXT: u32 = 4000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INPUTTEXTBASE: u32 = 3000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIAATOMIC: u32 = 71179u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIAAUTOCOMPLETE: u32 = 71180u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIADROPEFFECT: u32 = 71181u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIAGRABBED: u32 = 71182u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIALABEL: u32 = 71183u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIAMULTILINE: u32 = 71184u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIAORIENTATION: u32 = 71185u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIASORT: u32 = 71186u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARIAVALUETEXT: u32 = 71187u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARYELEMENTRELEASENOTIFYPTRCACHE: u32 = 70712u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ARYOBJECTRELEASECLEANUPPTRCACHE: u32 = 70753u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_A_MS_HYPHENATE_LIMIT_AFTER: u32 = 71177u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_A_MS_HYPHENATE_LIMIT_BEFORE: u32 = 71176u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_A_MS_HYPHENATE_LIMIT_WORDS: u32 = 71175u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_BACKGROUNDDEFINITION: u32 = 71137u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_BGURLIMGCTXCACHEINDEX_GCAFTER: u32 = 70790u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_BGURLIMGCTXCACHEINDEX_GCBEFORE: u32 = 70789u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_BGURLIMGCTXCACHEINDEX_URLAFTER: u32 = 70792u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_BGURLIMGCTXCACHEINDEX_URLBEFORE: u32 = 70791u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CATTRIBUTECOLLPTRCACHE: u32 = 70746u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CATTRIBUTEPTRCACHE: u32 = 71169u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CDOMCHILDRENPTRCACHE: u32 = 70662u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CELEMENTCLASSCACHE: u32 = 2147483648u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CODEPAGESETTINGSPTRCACHE: u32 = 70708u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_COMPUTEFORMATSTATECACHE: u32 = 70715u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CRUNTIMESTYLEPTRCACHE: u32 = 70644u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CSS_PARSEDARY: u32 = 71211u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CSS_TRACEDSTYLES: u32 = 71213u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_CSTYLEPTRCACHE: u32 = 70643u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_DATABINDTASKPTRCACHE: u32 = 70710u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_DWNDOCPTRCACHE: u32 = 70709u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_DWNHEADERCACHE: u32 = 70733u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_DWNPOSTPTRCACHE: u32 = 70707u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ERRORPAGEDWNPOST: u32 = 70997u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ERRORPAGEREASON: u32 = 70996u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ERRORPAGEREFRESHURL: u32 = 70995u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_FILTERNATIVEINFOPTRCACHE: u32 = 70692u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_FILTERPTRCACHE: u32 = 70649u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_FIRST: u32 = 71136u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_FOCUSITEMS: u32 = 70731u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_FONTFACEUNICODERANGE: u32 = 71170u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_FONTHISTORYINDEX: u32 = 70741u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_FRAMESCOLLECTION: u32 = 70736u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_GENERICCOMPLUSREF: u32 = 70730u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_GETTERSETTERCOLLECTION: u32 = 70794u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_INLINESTYLEAA: u32 = 70642u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_INVOKECONTEXT: u32 = 70645u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_INVOKECONTEXTDOCUMENT: u32 = 70748u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_LAYOUTRECTREGISTRYPTRCACHE: u32 = 70700u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_MEDIA_REFERENCE: u32 = 70729u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_NAMEDFLOWCOLLECTION: u32 = 71173u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ONBEHAVIOR_APPLYSTYLE: u32 = 70684u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ONBEHAVIOR_CONTENTREADY: u32 = 70660u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ONBEHAVIOR_CONTENTSAVE: u32 = 70723u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_ONBEHAVIOR_DOCUMENTREADY: u32 = 70661u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_PAGEFLOWCOLLECTION: u32 = 71172u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_PEERFACTORYURLMAPPTRCACHE: u32 = 70713u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_REQUIRED: u32 = 71210u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_RUNTIMESTYLEAA: u32 = 70685u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_SOURCELOCATION: u32 = 71212u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_STMDIRTYPTRCACHE: u32 = 70714u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_TOUCHTARGETHANDLER: u32 = 71171u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_URIBEFOREREDIRECT: u32 = 70809u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_URLLOCATIONCACHE: u32 = 70711u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INTERNAL_URLSEARCHCACHE: u32 = 70743u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_INVOKECONTEXTMENU: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMHISTORY_BACK: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMHISTORY_FORWARD: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMHISTORY_GO: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMHISTORY_LENGTH: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_APPCODENAME: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_APPMINORVERSION: u32 = 17u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_APPNAME: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_APPVERSION: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_BROWSERLANGUAGE: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_CONNECTIONSPEED: u32 = 18u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_COOKIEENABLED: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_CPUCLASS: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_JAVAENABLED: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_MIMETYPES: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_ONLINE: u32 = 19u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_OPSPROFILE: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_PLATFORM: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_PLUGINS: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_SYSTEMLANGUAGE: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_TAINTENABLED: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_TOSTRING: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_USERAGENT: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_USERLANGUAGE: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IOMNAVIGATOR_USERPROFILE: u32 = 20u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER2_PERCENTSCALE: u32 = 509u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER2_SHOWHEADERFOOTER: u32 = 507u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER2_SHRINKTOFIT: u32 = 508u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER_DRAWPREVIEWPAGE: u32 = 502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER_ENDPRINT: u32 = 506u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER_GETPRINTTASKOPTIONVALUE: u32 = 505u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER_INVALIDATEPREVIEW: u32 = 504u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER_SETPAGECOUNT: u32 = 503u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IPRINTMANAGERTEMPLATEPRINTER_STARTPRINT: u32 = 501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRANGEEXCEPTION_CODE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRANGEEXCEPTION_MESSAGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIEDCOLLECTION_ELEMENT: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIEDCOLLECTION_ITEM: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIEDCOLLECTION_LENGTH: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIEDCOLLECTION_PROPERTY: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIEDCOLLECTION_PROPERTYCOUNT: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIEDCOLLECTION_PROPERTYINHERITEDFROM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIEDCOLLECTION_PROPERTYINHERITEDTRACE: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIEDCOLLECTION_PROPERTYINHERITEDTRACELENGTH: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIED_APPLIEDRULES: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIED_ELEMENT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIED_HASINHERITABLEPROPERTY: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIED_INLINESTYLES: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIED_PROPERTYISINHERITABLE: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IRULESAPPLIED_PROPERTYISINLINE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISMETAREFERRERAVAILABLE: u32 = 83u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISSEARCHMIGRATED: u32 = 25u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISSEARCHPROVIDERINSTALLED: u32 = 24u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISSERVICEINSTALLED: u32 = 31u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISSITEMODE: u32 = 43u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISSITEMODEFIRSTRUN: u32 = 59u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISSUBSCRIBED: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGAELEMENT_TARGET: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANGLE_CONVERTTOSPECIFIEDUNITS: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANGLE_NEWVALUESPECIFIEDUNITS: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANGLE_UNITTYPE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANGLE_VALUE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANGLE_VALUEASSTRING: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANGLE_VALUEINSPECIFIEDUNITS: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDANGLE_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDANGLE_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDBOOLEAN_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDBOOLEAN_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDENUMERATION_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDENUMERATION_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDINTEGER_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDINTEGER_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDLENGTHLIST_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDLENGTHLIST_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDLENGTH_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDLENGTH_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDNUMBERLIST_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDNUMBERLIST_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDNUMBER_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDNUMBER_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDPATHDATA_ANIMATEDNORMALIZEDPATHSEGLIST: u32 = 1078u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDPATHDATA_ANIMATEDPATHSEGLIST: u32 = 1077u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDPATHDATA_NORMALIZEDPATHSEGLIST: u32 = 1076u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDPATHDATA_PATHSEGLIST: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDPOINTS_ANIMATEDPOINTS: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDPOINTS_POINTS: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDPRESERVEASPECTRATIO_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDPRESERVEASPECTRATIO_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDRECT_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDRECT_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDSTRING_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDSTRING_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDTRANSFORMLIST_ANIMVAL: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGANIMATEDTRANSFORMLIST_BASEVAL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGCIRCLEELEMENT_CX: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGCIRCLEELEMENT_CY: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGCIRCLEELEMENT_R: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGCLIPPATHELEMENT_CLIPPATHUNITS: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGDOCUMENT_ROOTELEMENT: u32 = 1116u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCELIST_ITEM: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCELIST_LENGTH: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCE_CHILDNODES: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCE_CORRESPONDINGELEMENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCE_CORRESPONDINGUSEELEMENT: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCE_FIRSTCHILD: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCE_LASTCHILD: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCE_NEXTSIBLING: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCE_PARENTNODE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENTINSTANCE_PREVIOUSSIBLING: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENT_FOCUSABLE: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENT_OWNERSVGELEMENT: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENT_VIEWPORTELEMENT: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELEMENT_XMLBASE: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELLIPSEELEMENT_CX: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELLIPSEELEMENT_CY: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELLIPSEELEMENT_RX: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGELLIPSEELEMENT_RY: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGEXCEPTION_CODE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGEXCEPTION_MESSAGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGEXTERNALRESOURCESREQUIRED_EXTERNALRESOURCESREQUIRED: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGFITTOVIEWBOX_PRESERVEASPECTRATIO: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGFITTOVIEWBOX_VIEWBOX: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGGRADIENTELEMENT_GRADIENTTRANSFORM: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGGRADIENTELEMENT_GRADIENTUNITS: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGGRADIENTELEMENT_SPREADMETHOD: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGIMAGEELEMENT_HEIGHT: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGIMAGEELEMENT_WIDTH: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGIMAGEELEMENT_X: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGIMAGEELEMENT_Y: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLANGSPACE_XMLLANG: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLANGSPACE_XMLSPACE: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTHLIST_APPENDITEM: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTHLIST_CLEAR: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTHLIST_GETITEM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTHLIST_INITIALIZE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTHLIST_INSERTITEMBEFORE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTHLIST_NUMBEROFITEMS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTHLIST_REMOVEITEM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTHLIST_REPLACEITEM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTH_CONVERTTOSPECIFIEDUNITS: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTH_NEWVALUESPECIFIEDUNITS: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTH_UNITTYPE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTH_VALUE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTH_VALUEASSTRING: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLENGTH_VALUEINSPECIFIEDUNITS: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLINEARGRADIENTELEMENT_X1: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLINEARGRADIENTELEMENT_X2: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLINEARGRADIENTELEMENT_Y1: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLINEARGRADIENTELEMENT_Y2: u32 = 1077u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLINEELEMENT_X1: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLINEELEMENT_X2: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLINEELEMENT_Y1: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLINEELEMENT_Y2: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLOCATABLE_FARTHESTVIEWPORTELEMENT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLOCATABLE_GETBBOX: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLOCATABLE_GETCTM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLOCATABLE_GETSCREENCTM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLOCATABLE_GETTRANSFORMTOELEMENT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGLOCATABLE_NEARESTVIEWPORTELEMENT: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_MARKERHEIGHT: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_MARKERUNITS: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_MARKERWIDTH: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_ORIENTANGLE: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_ORIENTTYPE: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_REFX: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_REFY: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_SETORIENTTOANGLE: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMARKERELEMENT_SETORIENTTOAUTO: u32 = 1063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMASKELEMENT_HEIGHT: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMASKELEMENT_MASKCONTENTUNITS: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMASKELEMENT_MASKUNITS: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMASKELEMENT_WIDTH: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMASKELEMENT_X: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMASKELEMENT_Y: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_A: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_B: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_C: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_D: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_E: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_F: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_FLIPX: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_FLIPY: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_INVERSE: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_MULTIPLY: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_ROTATE: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_ROTATEFROMVECTOR: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_SCALE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_SCALENONUNIFORM: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_SKEWX: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_SKEWY: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGMATRIX_TRANSLATE: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBERLIST_APPENDITEM: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBERLIST_CLEAR: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBERLIST_GETITEM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBERLIST_INITIALIZE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBERLIST_INSERTITEMBEFORE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBERLIST_NUMBEROFITEMS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBERLIST_REMOVEITEM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBERLIST_REPLACEITEM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGNUMBER_VALUE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGARCABS: u32 = 1063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGARCREL: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCLOSEPATH: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCURVETOCUBICABS: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCURVETOCUBICREL: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCURVETOCUBICSMOOTHABS: u32 = 1069u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCURVETOCUBICSMOOTHREL: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCURVETOQUADRATICABS: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCURVETOQUADRATICREL: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCURVETOQUADRATICSMOOTHABS: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGCURVETOQUADRATICSMOOTHREL: u32 = 1072u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGLINETOABS: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGLINETOHORIZONTALABS: u32 = 1065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGLINETOHORIZONTALREL: u32 = 1066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGLINETOREL: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGLINETOVERTICALABS: u32 = 1067u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGLINETOVERTICALREL: u32 = 1068u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGMOVETOABS: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_CREATESVGPATHSEGMOVETOREL: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_GETPATHSEGATLENGTH: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_GETPOINTATLENGTH: u32 = 1074u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_GETTOTALLENGTH: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHELEMENT_PATHLENGTH: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCABS_ANGLE: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCABS_LARGEARCFLAG: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCABS_R1: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCABS_R2: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCABS_SWEEPFLAG: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCABS_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCABS_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCREL_ANGLE: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCREL_LARGEARCFLAG: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCREL_R1: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCREL_R2: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCREL_SWEEPFLAG: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCREL_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGARCREL_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICABS_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICABS_X1: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICABS_X2: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICABS_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICABS_Y1: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICABS_Y2: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICREL_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICREL_X1: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICREL_X2: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICREL_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICREL_Y1: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICREL_Y2: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICSMOOTHABS_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICSMOOTHABS_X2: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICSMOOTHABS_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICSMOOTHABS_Y2: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICSMOOTHREL_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICSMOOTHREL_X2: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICSMOOTHREL_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOCUBICSMOOTHREL_Y2: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICABS_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICABS_X1: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICABS_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICABS_Y1: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICREL_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICREL_X1: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICREL_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICREL_Y1: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICSMOOTHABS_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICSMOOTHABS_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICSMOOTHREL_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGCURVETOQUADRATICSMOOTHREL_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLINETOABS_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLINETOABS_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLINETOHORIZONTALABS_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLINETOHORIZONTALREL_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLINETOREL_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLINETOREL_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLINETOVERTICALABS_Y: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLINETOVERTICALREL_Y: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLIST_APPENDITEM: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLIST_CLEAR: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLIST_GETITEM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLIST_INITIALIZE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLIST_INSERTITEMBEFORE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLIST_NUMBEROFITEMS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLIST_REMOVEITEM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGLIST_REPLACEITEM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGMOVETOABS_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGMOVETOABS_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGMOVETOREL_X: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEGMOVETOREL_Y: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEG_PATHSEGTYPE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATHSEG_PATHSEGTYPEASLETTER: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATTERNELEMENT_HEIGHT: u32 = 1063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATTERNELEMENT_PATTERNCONTENTUNITS: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATTERNELEMENT_PATTERNTRANSFORM: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATTERNELEMENT_PATTERNUNITS: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATTERNELEMENT_WIDTH: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATTERNELEMENT_X: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPATTERNELEMENT_Y: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINTLIST_APPENDITEM: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINTLIST_CLEAR: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINTLIST_GETITEM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINTLIST_INITIALIZE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINTLIST_INSERTITEMBEFORE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINTLIST_NUMBEROFITEMS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINTLIST_REMOVEITEM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINTLIST_REPLACEITEM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINT_MATRIXTRANSFORM: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINT_X: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPOINT_Y: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPRESERVEASPECTRATIO_ALIGN: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGPRESERVEASPECTRATIO_MEETORSLICE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRADIALGRADIENTELEMENT_CX: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRADIALGRADIENTELEMENT_CY: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRADIALGRADIENTELEMENT_FX: u32 = 1077u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRADIALGRADIENTELEMENT_FY: u32 = 1079u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRADIALGRADIENTELEMENT_R: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECTELEMENT_HEIGHT: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECTELEMENT_RX: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECTELEMENT_RY: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECTELEMENT_WIDTH: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECTELEMENT_X: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECTELEMENT_Y: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECT_HEIGHT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECT_WIDTH: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECT_X: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGRECT_Y: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSCRIPTELEMENT_TYPE: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTOPELEMENT_OFFSET: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTRINGLIST_APPENDITEM: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTRINGLIST_CLEAR: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTRINGLIST_GETITEM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTRINGLIST_INITIALIZE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTRINGLIST_INSERTITEMBEFORE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTRINGLIST_NUMBEROFITEMS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTRINGLIST_REMOVEITEM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTRINGLIST_REPLACEITEM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTYLABLE_CLASSNAME: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTYLEELEMENT_MEDIA: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSTYLEELEMENT_TYPE: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_ANIMATIONSPAUSED: u32 = 1076u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CHECKENCLOSURE: u32 = 1082u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CHECKINTERSECTION: u32 = 1081u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CONTENTSCRIPTTYPE: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CONTENTSTYLETYPE: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CREATESVGANGLE: u32 = 1086u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CREATESVGLENGTH: u32 = 1085u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CREATESVGMATRIX: u32 = 1088u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CREATESVGNUMBER: u32 = 1084u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CREATESVGPOINT: u32 = 1087u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CREATESVGRECT: u32 = 1089u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CREATESVGTRANSFORM: u32 = 1090u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CREATESVGTRANSFORMFROMMATRIX: u32 = 1091u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CURRENTSCALE: u32 = 1068u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CURRENTTRANSLATE: u32 = 1069u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_CURRENTVIEW: u32 = 1067u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_DESELECTALL: u32 = 1083u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_FORCEREDRAW: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_GETCURRENTTIME: u32 = 1077u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_GETELEMENTBYID: u32 = 1092u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_GETENCLOSURELIST: u32 = 1080u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_GETINTERSECTIONLIST: u32 = 1079u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_HEIGHT: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_PAUSEANIMATIONS: u32 = 1074u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_PIXELUNITTOMILLIMETERX: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_PIXELUNITTOMILLIMETERY: u32 = 1063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_SCREENPIXELTOMILLIMETERX: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_SCREENPIXELTOMILLIMETERY: u32 = 1065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_SETCURRENTTIME: u32 = 1078u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_SUSPENDREDRAW: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_UNPAUSEANIMATIONS: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_UNSUSPENDREDRAW: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_UNSUSPENDREDRAWALL: u32 = 1072u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_USECURRENTVIEW: u32 = 1066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_VIEWPORT: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_WIDTH: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_X: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGSVGELEMENT_Y: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTESTS_HASEXTENSION: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTESTS_REQUIREDEXTENSIONS: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTESTS_REQUIREDFEATURES: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTESTS_SYSTEMLANGUAGE: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_GETCHARNUMATPOSITION: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_GETCOMPUTEDTEXTLENGTH: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_GETENDPOSITIONOFCHAR: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_GETEXTENTOFCHAR: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_GETNUMBEROFCHARS: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_GETROTATIONOFCHAR: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_GETSTARTPOSITIONOFCHAR: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_GETSUBSTRINGLENGTH: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_LENGTHADJUST: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_SELECTSUBSTRING: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTCONTENTELEMENT_TEXTLENGTH: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTPATHELEMENT_METHOD: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTPATHELEMENT_SPACING: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTPATHELEMENT_STARTOFFSET: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTPOSITIONINGELEMENT_DX: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTPOSITIONINGELEMENT_DY: u32 = 1077u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTPOSITIONINGELEMENT_ROTATE: u32 = 1079u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTPOSITIONINGELEMENT_X: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTEXTPOSITIONINGELEMENT_Y: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMABLE_TRANSFORM: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_APPENDITEM: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_CLEAR: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_CONSOLIDATE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_CREATESVGTRANSFORMFROMMATRIX: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_GETITEM: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_INITIALIZE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_INSERTITEMBEFORE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_NUMBEROFITEMS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_REMOVEITEM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORMLIST_REPLACEITEM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_ANGLE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_MATRIX: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_SETMATRIX: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_SETROTATE: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_SETSCALE: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_SETSKEWX: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_SETSKEWY: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_SETTRANSLATE: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGTRANSFORM_TYPE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGURIREFERENCE_HREF: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGUSEELEMENT_ANIMATEDINSTANCEROOT: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGUSEELEMENT_HEIGHT: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGUSEELEMENT_INSTANCEROOT: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGUSEELEMENT_WIDTH: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGUSEELEMENT_X: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGUSEELEMENT_Y: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGVIEWELEMENT_VIEWTARGET: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGZOOMANDPAN_ZOOMANDPAN: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGZOOMEVENT_NEWSCALE: u32 = 1279u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGZOOMEVENT_NEWTRANSLATE: u32 = 1280u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGZOOMEVENT_PREVIOUSSCALE: u32 = 1277u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGZOOMEVENT_PREVIOUSTRANSLATE: u32 = 1278u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ISVGZOOMEVENT_ZOOMRECTSCREEN: u32 = 1276u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER2_DEVICESUPPORTS: u32 = 41u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER2_FRAMEACTIVEENABLED: u32 = 38u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER2_ORIENTATION: u32 = 39u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER2_SELECTIONENABLED: u32 = 37u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER2_USEPRINTERCOPYCOLLATE: u32 = 40u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_GETPAGEMARGINBOTTOM: u32 = 45u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_GETPAGEMARGINBOTTOMIMPORTANT: u32 = 49u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_GETPAGEMARGINLEFT: u32 = 46u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_GETPAGEMARGINLEFTIMPORTANT: u32 = 50u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_GETPAGEMARGINRIGHT: u32 = 44u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_GETPAGEMARGINRIGHTIMPORTANT: u32 = 48u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_GETPAGEMARGINTOP: u32 = 43u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_GETPAGEMARGINTOPIMPORTANT: u32 = 47u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER3_HEADERFOOTERFONT: u32 = 42u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_ALLLINKEDDOCUMENTS: u32 = 23u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_COLLATE: u32 = 17u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_COPIES: u32 = 19u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_CURRENTPAGE: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_CURRENTPAGEAVAIL: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_DUPLEX: u32 = 18u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_ENSUREPRINTDIALOGDEFAULTS: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_FOOTER: u32 = 25u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_FRAMEACTIVE: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_FRAMEASSHOWN: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_FRAMESETDOCUMENT: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_HEADER: u32 = 24u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_MARGINBOTTOM: u32 = 29u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_MARGINLEFT: u32 = 26u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_MARGINRIGHT: u32 = 27u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_MARGINTOP: u32 = 28u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_PAGEFROM: u32 = 20u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_PAGEHEIGHT: u32 = 31u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_PAGETO: u32 = 21u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_PAGEWIDTH: u32 = 30u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_PRINTBLANKPAGE: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_PRINTNONNATIVE: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_PRINTNONNATIVEFRAMES: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_PRINTPAGE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_SELECTEDPAGES: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_SELECTION: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_SHOWPAGESETUPDIALOG: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_SHOWPRINTDIALOG: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_STARTDOC: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_STOPDOC: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_TABLEOFLINKS: u32 = 22u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_UNPRINTABLEBOTTOM: u32 = 35u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_UNPRINTABLELEFT: u32 = 32u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_UNPRINTABLERIGHT: u32 = 34u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_UNPRINTABLETOP: u32 = 33u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ITEMPLATEPRINTER_UPDATEPAGESTATUS: u32 = 36u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_BUBBLEEVENT: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_FROZEN: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_ONVISIBILITYCHANGE: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_RAISEEVENT: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_SCROLLBAR: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_SELECTABLECONTENT: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_SETCONTEXTMENU: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_VERSION: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWBSCRIPTCONTROL_VISIBILITY: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBBRIDGE_ABOUTBOX: i32 = -552i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBBRIDGE_EMBED: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBBRIDGE_EVENT: u32 = 1152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBBRIDGE_READYSTATE: i32 = -525i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBBRIDGE_SCROLLBAR: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBBRIDGE_URL: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOCOORDINATES_ACCURACY: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOCOORDINATES_ALTITUDE: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOCOORDINATES_ALTITUDEACCURACY: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOCOORDINATES_HEADING: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOCOORDINATES_LATITUDE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOCOORDINATES_LONGITUDE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOCOORDINATES_SPEED: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOLOCATION_CLEARWATCH: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOLOCATION_GETCURRENTPOSITION: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOLOCATION_WATCHPOSITION: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOPOSITIONERROR_CODE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOPOSITIONERROR_MESSAGE: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOPOSITION_COORDS: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_IWEBGEOPOSITION_TIMESTAMP: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LABEL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LAUNCHIE: u32 = 91u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LAUNCHINHVSI: u32 = 99u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LAUNCHINTERNETOPTIONS: u32 = 74u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LAUNCHNETWORKCLIENTHELP: u32 = 67u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LI: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LINK: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LOCATION: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_LOCATIONOBJECT: i32 = -5506i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MAP: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MARKUP: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MARQUEE: u32 = 6000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MEDIA: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MEDIAERROR: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MEDIALIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MEDIAQUERY: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MENU: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MIMETYPES_COL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MODE: u32 = 18u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MOVESELECTIONDOWN: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MOVESELECTIONTO: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MOVESELECTIONUP: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSANIMATIONEND: u32 = 1095u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSANIMATIONITERATION: u32 = 1096u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSANIMATIONSTART: u32 = 1094u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSDATASRCINTERFACE: i32 = -3900i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSGESTURECHANGE: u32 = 1084u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSGESTUREDOUBLETAP: u32 = 1088u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSGESTUREEND: u32 = 1085u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSGESTUREHOLD: u32 = 1086u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSGESTUREINIT: u32 = 1097u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSGESTURESTART: u32 = 1083u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSGESTURETAP: u32 = 1087u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSGOTPOINTERCAPTURE: u32 = 1091u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSHTMLWEBVIEWELEMENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSINERTIASTART: u32 = 1089u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSLOSTPOINTERCAPTURE: u32 = 1090u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSMANIPULATIONSTATECHANGED: u32 = 1098u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSORIENTATIONCHANGE: u32 = 1103u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTERCANCEL: u32 = 1081u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTERDOWN: u32 = 1076u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTERENTER: u32 = 1101u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTERHOVER: u32 = 1082u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTERLEAVE: u32 = 1102u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTERMOVE: u32 = 1077u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTEROUT: u32 = 1080u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTEROVER: u32 = 1079u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTERPOINT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSPOINTERUP: u32 = 1078u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSTRANSITIONEND: u32 = 1093u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_MSTRANSITIONSTART: u32 = 1092u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAMESPACE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAMESPACE_COLLECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAVIGATEANDFIND: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAVIGATECOMPLETE: u32 = 101u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAVIGATECOMPLETE2: u32 = 252u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAVIGATEERROR: u32 = 271u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAVIGATETOSUGGESTEDSITES: u32 = 40u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAVIGATOR: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NAVIGATOROBJECT: i32 = -5508i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NEWFOLDER: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NEWPROCESS: u32 = 284u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NEWWINDOW: u32 = 107u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NEWWINDOW2: u32 = 251u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NEWWINDOW3: u32 = 273u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NORMAL_FIRST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_NSCOLUMNS: u32 = 21u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OBJECT: u32 = 68536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OBJECT_ORDINAL_BASE: u32 = 73536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OBJECT_ORDINAL_MAX: u32 = 74535u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OLESITE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OMDOCUMENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OMRECT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OMWINDOW: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONABORT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONACTIVATE: u32 = 1044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONADDRESSBAR: u32 = 261u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONAFTERPRINT: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONALERT: u32 = 1061u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONBEFOREACTIVATE: u32 = 1047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONBEFOREDEACTIVATE: u32 = 1034u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONBEFOREEDITFOCUS: u32 = 1027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONBEFOREPRINT: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONBEFOREUNLOAD: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONBOUNCE: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONCHANGE: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONCHANGEBLUR: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONCHANGEFOCUS: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONCLOSE: u32 = 1100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONCOMPASSNEEDSCALIBRATION: u32 = 1108u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONCONTENTREADY: u32 = 1029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONCONTEXTMENU: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONCONTROLSELECT: u32 = 1036u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONDEACTIVATE: u32 = 1045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONDEVICEMOTION: u32 = 1105u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONDEVICEORIENTATION: u32 = 1104u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONDOMMUTATION: u32 = 1068u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONERROR: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONFINISH: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONFOCUSIN: u32 = 1048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONFOCUSOUT: u32 = 1049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONFULLSCREEN: u32 = 258u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONHASHCHANGE: u32 = 1066u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONHIDE: u32 = 1060u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONLAYOUT: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONLAYOUTCOMPLETE: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONLINKEDOVERFLOW: u32 = 1032u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONLOAD: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMENUBAR: u32 = 256u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMESSAGE: u32 = 1067u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMOUSEENTER: u32 = 1042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMOUSEHOVER: u32 = 1028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMOUSELEAVE: u32 = 1043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMOUSEWHEEL: u32 = 1033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMOVE: u32 = 1035u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMOVEEND: u32 = 1039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMOVESTART: u32 = 1038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONMULTILAYOUTCLEANUP: u32 = 1046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONOBJECTCONTENTSCROLLED: u32 = 1056u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONOFFLINE: u32 = 1065u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONONLINE: u32 = 1064u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONOPEN: u32 = 1099u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONPAGE: u32 = 1031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONPAGEHIDE: u32 = 1107u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONPAGESHOW: u32 = 1106u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONPERSIST: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONPERSISTLOAD: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONPERSISTSAVE: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONPOPUPMENUEND: u32 = 1063u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONPOPUPMENUSTART: u32 = 1062u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONQUIT: u32 = 253u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONRESET: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONRESIZE: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONRESIZEEND: u32 = 1041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONRESIZESTART: u32 = 1040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSCROLL: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSELECT: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSELECTADD: u32 = 1051u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSELECTIONCHANGE: u32 = 1037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSELECTREMOVE: u32 = 1052u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSELECTWITHIN: u32 = 1053u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSHOW: u32 = 1059u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSTART: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSTATUSBAR: u32 = 257u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSTOP: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSTORAGE: u32 = 1057u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSTORAGECOMMIT: u32 = 1058u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSUBMIT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSYSTEMSCROLLINGEND: u32 = 1055u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONSYSTEMSCROLLINGSTART: u32 = 1054u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONTHEATERMODE: u32 = 260u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONTOOLBAR: u32 = 255u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONUNLOAD: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONVALUECHANGE: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ONVISIBLE: u32 = 254u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OPENFAVORITESPANE: u32 = 97u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OPENFAVORITESSETTINGS: u32 = 98u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OPTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_OPTIONS_COL: u32 = 1500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PARA: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PARAM: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PEER_HOLDER_BASE: u32 = 5000000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PERFORMANCE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PERFORMANCENAVIGATION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PERFORMANCEOBJECT: i32 = -5505i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PERFORMANCETIMING: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PERSISTDATA: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PHISHINGENABLED: u32 = 19u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PHRASE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PINNEDSITESTATE: u32 = 73u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PLAYTO: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PLAYTODEVICE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PLUGINS_COL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PRINTMANAGER_TEMPLATE_PRINTER: u32 = 501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PRINTTEMPLATEINSTANTIATION: u32 = 225u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PRINTTEMPLATETEARDOWN: u32 = 226u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PRIVACYIMPACTEDSTATECHANGE: u32 = 272u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PROCESSINGINSTRUCTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PROGRESS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PROGRESSCHANGE: u32 = 108u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PROPERTYCHANGE: u32 = 112u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PROTECTEDELEMENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_PROVISIONNETWORKS: u32 = 62u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_QUIT: u32 = 103u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RADIO: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RANGE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RANGEEXCEPTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_REDIRECTXDOMAINBLOCKED: u32 = 286u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_REFRESHOFFLINEDESKTOP: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_REMOVESCHEDULEDTILENOTIFICATION: u32 = 80u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_REPORTSAFEURL: u32 = 63u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RESETEXPERIMENTALFLAGS: u32 = 92u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RESETFIRSTBOOTMODE: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RESETSAFEMODE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RESETSORT: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RETREATERROR: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RICHTEXT: u32 = 7000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_ROOT: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RULESAPPLIED: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RULESAPPLIED_COLLECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RUNONCEHASSHOWN: u32 = 28u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RUNONCEREQUIREDSETTINGSCOMPLETE: u32 = 27u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_RUNONCESHOWN: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SCHEDULEDTILENOTIFICATION: u32 = 79u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SCREEN: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SCRIPT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SEARCHGUIDEURL: u32 = 29u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SECURITYCTX: i32 = -5511i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SECURITYDOMAIN: i32 = -5514i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SELECT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SELECTEDITEM: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SELECTEDITEMS: u32 = 24u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SELECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SELECTIONCHANGE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SELECTOBJ: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETACTIVITIESVISIBLE: u32 = 35u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETDETAILSSTATE: u32 = 20u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETEXPERIMENTALFLAG: u32 = 84u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETEXPERIMENTALVALUE: u32 = 86u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETMSDEFAULTS: u32 = 104u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETNEEDHVSIAUTOLAUNCHFLAG: u32 = 101u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETNEEDIEAUTOLAUNCHFLAG: u32 = 90u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETPERERRSTATE: u32 = 22u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETPHISHINGFILTERSTATUS: u32 = 282u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETRECENTLYCLOSEDVISIBLE: u32 = 34u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETROOT: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETSECURELOCKICON: u32 = 269u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETSITEMODEICONOVERLAY: u32 = 44u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETSITEMODEPROPERTIES: u32 = 50u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETTHUMBNAILBUTTONS: u32 = 47u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SETVIEWTYPE: u32 = 23u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SHELLUIHELPERLAST: u32 = 105u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SHOWBROWSERUI: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SHOWINPRIVATEHELP: u32 = 42u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SHOWTABSHELP: u32 = 41u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITE: u32 = 67536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODEACTIVATE: u32 = 58u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODEADDBUTTONSTYLE: u32 = 54u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODEADDJUMPLISTITEM: u32 = 52u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODECLEARBADGE: u32 = 65u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODECLEARJUMPLIST: u32 = 53u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODECREATEJUMPLIST: u32 = 51u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODEREFRESHBADGE: u32 = 64u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODESHOWBUTTONSTYLE: u32 = 55u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SITEMODESHOWJUMPLIST: u32 = 56u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SKIPRUNONCE: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SKIPTABSWELCOME: u32 = 21u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SOURCE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SQMENABLED: u32 = 18u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STARTBADGEUPDATE: u32 = 81u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STARTPERIODICUPDATE: u32 = 70u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STARTPERIODICUPDATEBATCH: u32 = 75u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STATUSTEXTCHANGE: u32 = 102u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STOPBADGEUPDATE: u32 = 82u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STOPPERIODICUPDATE: u32 = 69u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLE: u32 = 69536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLEELEMENT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLEMEDIA: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLEPAGE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLEPAGES_COL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLERULE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLERULES_COL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLESHEET: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLESHEETRULESAPPLIED_COLLECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLESHEETSCOLLECTION_NAMED_BASE: u32 = 1000000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLESHEETSCOLLECTION_NAMED_MAX: u32 = 1999999u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLESHEETSCOLLECTION_ORDINAL_BASE: u32 = 2000000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLESHEETSCOLLECTION_ORDINAL_MAX: u32 = 2999999u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_STYLESHEETS_COL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SUBSCRIPTIONSENABLED: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SUGGESTEDSITESENABLED: u32 = 38u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGABORT: u32 = 1071u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGAELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGALTGLYPHDEFELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGALTGLYPHELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGALTGLYPHITEMELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANGLE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATECOLORELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDANGLE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDBOOLEAN: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDENUMERATION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDINTEGER: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDLENGTH: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDLENGTHLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDNUMBER: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDNUMBERLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDPOINTS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDPRESERVEASPECTRATIO: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDRECT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDSTRING: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEDTRANSFORMLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATEMOTIONELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGANIMATETRANSFORMELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGCIRCLEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGCLIPPATHELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGCOLOR_PROFILEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGCOMPONENTTRANSFERFUNCTIONELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGCURSORELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGDEFINITION_SRCELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGDEFSELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGDESCELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGELEMENT: u32 = 1030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGELEMENTINSTANCE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGELEMENTINSTANCELIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGELEMENT_BASE: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGELLIPSEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGERROR: u32 = 1072u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGEXCEPTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGEXTERNALRESOURCESREQUIRED_EXTERNALRESOURCESREQUIRED_ATTR: u32 = 1019u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGEXTERNALRESOURCESREQUIRED_EXTERNALRESOURCESREQUIRED_PROP: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEBLENDELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFECOLORMATRIXELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFECOMPONENTTRANSFERELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFECOMPOSITEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFECONVOLVEMATRIXELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEDIFFUSELIGHTINGELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEDISPLACEMENTMAPELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEDISTANTLIGHTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEFLOODELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEFUNCAELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEFUNCBELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEFUNCGELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEFUNCRELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEGAUSSIANBLURELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEIMAGEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEMERGEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEMERGENODEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEMORPHOLOGYELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEOFFSETELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFEPOINTLIGHTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFESPECULARLIGHTINGELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFESPOTLIGHTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFETILEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFETURBULENCEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFILTERELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFITTOVIEWBOX_PRESERVEASPECTRATIO_ATTR: u32 = 1023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFITTOVIEWBOX_PRESERVEASPECTRATIO_PROP: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFITTOVIEWBOX_VIEWBOX_ATTR: u32 = 1021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFITTOVIEWBOX_VIEWBOX_PROP: u32 = 1022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFONTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFONT_FACEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFONT_FACE_FORMATELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFONT_FACE_NAMEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFONT_FACE_SRCELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFONT_FACE_URIELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGFOREIGNOBJECTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGGELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGGLYPHELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGGLYPHREFELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGGRADIENTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGHKERNELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGIMAGEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLANGSPACE_XMLLANG: u32 = 1017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLANGSPACE_XMLSPACE: u32 = 1018u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLENGTH: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLENGTHLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLINEARGRADIENTELEMENT: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLINEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLOAD: u32 = 1069u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLOCATABLE_FARTHESTVIEWPORTELEMENT: u32 = 1003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLOCATABLE_GETBBOX: u32 = 1004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLOCATABLE_GETCTM: u32 = 1005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLOCATABLE_GETSCREENCTM: u32 = 1006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLOCATABLE_GETTRANSFORMTOELEMENT: u32 = 1007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGLOCATABLE_NEARESTVIEWPORTELEMENT: u32 = 1002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGMARKERELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGMASKELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGMATRIX: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGMETADATAELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGMISSING_GLYPHELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGMIXINS: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGMPATHELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGNUMBER: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGNUMBERLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEG: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGARCABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGARCREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCLOSEPATH: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCURVETOCUBICABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCURVETOCUBICREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCURVETOCUBICSMOOTHABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCURVETOCUBICSMOOTHREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCURVETOQUADRATICABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCURVETOQUADRATICREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCURVETOQUADRATICSMOOTHABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGCURVETOQUADRATICSMOOTHREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGLINETOABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGLINETOHORIZONTALABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGLINETOHORIZONTALREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGLINETOREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGLINETOVERTICALABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGLINETOVERTICALREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGMOVETOABS: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEGMOVETOREL: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATHSEG_BASE: u32 = 1020u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPATTERNELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPOINT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPOINTLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPOLYGONELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPOLYLINEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGPRESERVEASPECTRATIO: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGRADIALGRADIENTELEMENT: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGRECT: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGRECTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGRESIZE: u32 = 1073u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSCRIPTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSCROLL: u32 = 1074u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSETELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSTOPELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSTRINGLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSTYLABLE_CLASSNAME_PROP: u32 = 1001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSTYLEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSVGELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSWITCHELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGSYMBOLELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTESTS_HASEXTENSION: u32 = 1016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTESTS_REQUIREDEXTENSIONS_ATTR: u32 = 1012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTESTS_REQUIREDEXTENSIONS_PROP: u32 = 1013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTESTS_REQUIREDFEATURES_ATTR: u32 = 1010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTESTS_REQUIREDFEATURES_PROP: u32 = 1011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTESTS_SYSTEMLANGUAGE_ATTR: u32 = 1014u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTESTS_SYSTEMLANGUAGE_PROP: u32 = 1015u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTEXTCONTENTELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTEXTCONTENTELEMENT_BASE: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTEXTELEMENT: u32 = 1090u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTEXTPATHELEMENT: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTEXTPOSITIONINGELEMENT: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTEXTPOSITIONINGELEMENT_BASE: u32 = 1090u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTITLEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTRANSFORM: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTRANSFORMABLE_TRANSFORM_ATTR: u32 = 1008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTRANSFORMABLE_TRANSFORM_PROP: u32 = 1009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTRANSFORMLIST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTREFELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGTSPANELEMENT: u32 = 1090u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGUNLOAD: u32 = 1070u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGURIREFERENCE_HREF: u32 = 1026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGUSEELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGVIEWELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGVKERNELEMENT: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGZOOM: u32 = 1075u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGZOOMANDPAN_ZOOMANDPAN: u32 = 1025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SVGZOOMEVENT: u32 = 1275u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_SYNCHRONIZE: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TABLE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TABLECELL: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TABLECOL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TABLEROW: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TABLESECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TAGNAMES_COLLECTION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TEMPLATE_PRINTER: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TEXTAREA: u32 = 5000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TEXTSITE: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_THIRDPARTYURLBLOCKED: u32 = 285u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TIMERANGES: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TITLECHANGE: u32 = 113u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TITLEICONCHANGE: u32 = 114u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TRACK: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TRACKINGPROTECTIONENABLED: u32 = 60u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_TVFLAGS: u32 = 20u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_UL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_UNKNOWNPDL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_UNSELECTALL: u32 = 26u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_UPDATEPAGESTATUS: u32 = 227u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_UPDATETHUMBNAILBUTTON: u32 = 46u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_URN_COLL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_VIDEO: u32 = 1050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_VIEWUPDATE: u32 = 281u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WEBGEOCOORDINATES: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WEBGEOLOCATION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WEBGEOPOSITION: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WEBGEOPOSITION_ERROR: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WEBSOCKET: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WEBWORKERFINISHED: u32 = 289u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WEBWORKERSTARTED: u32 = 288u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOW: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWACTIVATE: u32 = 111u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWCLOSING: u32 = 263u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWMOVE: u32 = 109u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWOBJECT: i32 = -5500i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWREGISTERED: u32 = 200u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWRESIZE: u32 = 110u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWREVOKED: u32 = 201u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWSETHEIGHT: u32 = 267u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWSETLEFT: u32 = 264u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWSETRESIZABLE: u32 = 262u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWSETTOP: u32 = 265u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWSETWIDTH: u32 = 266u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_WINDOWSTATECHANGED: u32 = 283u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_XDOMAINREQUEST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_XMLDECL: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_XMLHTTPREQUEST: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_XMLSERIALIZER: u32 = 1000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_XOBJ_EXPANDO: u32 = 72536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPID_XOBJ_ORDINAL: u32 = 73536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DISPLAY_BREAK(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_BREAK_None: DISPLAY_BREAK = DISPLAY_BREAK(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_BREAK_Block: DISPLAY_BREAK = DISPLAY_BREAK(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_BREAK_Break: DISPLAY_BREAK = DISPLAY_BREAK(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_BREAK_Max: DISPLAY_BREAK = DISPLAY_BREAK(2147483647i32); -impl ::core::marker::Copy for DISPLAY_BREAK {} -impl ::core::clone::Clone for DISPLAY_BREAK { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for DISPLAY_BREAK { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for DISPLAY_BREAK { - type Abi = Self; -} -impl ::core::fmt::Debug for DISPLAY_BREAK { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DISPLAY_BREAK").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DISPLAY_GRAVITY(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_GRAVITY_PreviousLine: DISPLAY_GRAVITY = DISPLAY_GRAVITY(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_GRAVITY_NextLine: DISPLAY_GRAVITY = DISPLAY_GRAVITY(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_GRAVITY_Max: DISPLAY_GRAVITY = DISPLAY_GRAVITY(2147483647i32); -impl ::core::marker::Copy for DISPLAY_GRAVITY {} -impl ::core::clone::Clone for DISPLAY_GRAVITY { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for DISPLAY_GRAVITY { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for DISPLAY_GRAVITY { - type Abi = Self; -} -impl ::core::fmt::Debug for DISPLAY_GRAVITY { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DISPLAY_GRAVITY").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DISPLAY_MOVEUNIT(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_MOVEUNIT_PreviousLine: DISPLAY_MOVEUNIT = DISPLAY_MOVEUNIT(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_MOVEUNIT_NextLine: DISPLAY_MOVEUNIT = DISPLAY_MOVEUNIT(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_MOVEUNIT_CurrentLineStart: DISPLAY_MOVEUNIT = DISPLAY_MOVEUNIT(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_MOVEUNIT_CurrentLineEnd: DISPLAY_MOVEUNIT = DISPLAY_MOVEUNIT(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_MOVEUNIT_TopOfWindow: DISPLAY_MOVEUNIT = DISPLAY_MOVEUNIT(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_MOVEUNIT_BottomOfWindow: DISPLAY_MOVEUNIT = DISPLAY_MOVEUNIT(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DISPLAY_MOVEUNIT_Max: DISPLAY_MOVEUNIT = DISPLAY_MOVEUNIT(2147483647i32); -impl ::core::marker::Copy for DISPLAY_MOVEUNIT {} -impl ::core::clone::Clone for DISPLAY_MOVEUNIT { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for DISPLAY_MOVEUNIT { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for DISPLAY_MOVEUNIT { - type Abi = Self; -} -impl ::core::fmt::Debug for DISPLAY_MOVEUNIT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DISPLAY_MOVEUNIT").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_BGSOUNDS: u32 = 64u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_DLIMAGES: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_DOWNLOADONLY: u32 = 2048u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_FORCEOFFLINE: u32 = 268435456u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NOFRAMES: u32 = 524288u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NO_BEHAVIORS: u32 = 32768u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NO_CLIENTPULL: u32 = 536870912u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NO_DLACTIVEXCTLS: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NO_FRAMEDOWNLOAD: u32 = 4096u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NO_JAVA: u32 = 256u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NO_METACHARSET: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NO_RUNACTIVEXCTLS: u32 = 512u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_NO_SCRIPTS: u32 = 128u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_OFFLINE: u32 = 2147483648u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_OFFLINEIFNOTCONNECTED: u32 = 2147483648u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_PRAGMA_NO_CACHE: u32 = 16384u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_RESYNCHRONIZE: u32 = 8192u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_SILENT: u32 = 1073741824u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_URL_ENCODING_DISABLE_UTF8: u32 = 131072u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_URL_ENCODING_ENABLE_UTF8: u32 = 262144u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DLCTL_VIDEOS: u32 = 32u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DOCHOSTUIDBLCLK(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIDBLCLK_DEFAULT: DOCHOSTUIDBLCLK = DOCHOSTUIDBLCLK(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIDBLCLK_SHOWPROPERTIES: DOCHOSTUIDBLCLK = DOCHOSTUIDBLCLK(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIDBLCLK_SHOWCODE: DOCHOSTUIDBLCLK = DOCHOSTUIDBLCLK(2i32); -impl ::core::marker::Copy for DOCHOSTUIDBLCLK {} -impl ::core::clone::Clone for DOCHOSTUIDBLCLK { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for DOCHOSTUIDBLCLK { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for DOCHOSTUIDBLCLK { - type Abi = Self; -} -impl ::core::fmt::Debug for DOCHOSTUIDBLCLK { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DOCHOSTUIDBLCLK").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DOCHOSTUIFLAG(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_DIALOG: DOCHOSTUIFLAG = DOCHOSTUIFLAG(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_DISABLE_HELP_MENU: DOCHOSTUIFLAG = DOCHOSTUIFLAG(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_NO3DBORDER: DOCHOSTUIFLAG = DOCHOSTUIFLAG(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_SCROLL_NO: DOCHOSTUIFLAG = DOCHOSTUIFLAG(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_DISABLE_SCRIPT_INACTIVE: DOCHOSTUIFLAG = DOCHOSTUIFLAG(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_OPENNEWWIN: DOCHOSTUIFLAG = DOCHOSTUIFLAG(32i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_DISABLE_OFFSCREEN: DOCHOSTUIFLAG = DOCHOSTUIFLAG(64i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_FLAT_SCROLLBAR: DOCHOSTUIFLAG = DOCHOSTUIFLAG(128i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_DIV_BLOCKDEFAULT: DOCHOSTUIFLAG = DOCHOSTUIFLAG(256i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_ACTIVATE_CLIENTHIT_ONLY: DOCHOSTUIFLAG = DOCHOSTUIFLAG(512i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_OVERRIDEBEHAVIORFACTORY: DOCHOSTUIFLAG = DOCHOSTUIFLAG(1024i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_CODEPAGELINKEDFONTS: DOCHOSTUIFLAG = DOCHOSTUIFLAG(2048i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_URL_ENCODING_DISABLE_UTF8: DOCHOSTUIFLAG = DOCHOSTUIFLAG(4096i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_URL_ENCODING_ENABLE_UTF8: DOCHOSTUIFLAG = DOCHOSTUIFLAG(8192i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_ENABLE_FORMS_AUTOCOMPLETE: DOCHOSTUIFLAG = DOCHOSTUIFLAG(16384i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_ENABLE_INPLACE_NAVIGATION: DOCHOSTUIFLAG = DOCHOSTUIFLAG(65536i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_IME_ENABLE_RECONVERSION: DOCHOSTUIFLAG = DOCHOSTUIFLAG(131072i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_THEME: DOCHOSTUIFLAG = DOCHOSTUIFLAG(262144i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_NOTHEME: DOCHOSTUIFLAG = DOCHOSTUIFLAG(524288i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_NOPICS: DOCHOSTUIFLAG = DOCHOSTUIFLAG(1048576i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_NO3DOUTERBORDER: DOCHOSTUIFLAG = DOCHOSTUIFLAG(2097152i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_DISABLE_EDIT_NS_FIXUP: DOCHOSTUIFLAG = DOCHOSTUIFLAG(4194304i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_LOCAL_MACHINE_ACCESS_CHECK: DOCHOSTUIFLAG = DOCHOSTUIFLAG(8388608i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_DISABLE_UNTRUSTEDPROTOCOL: DOCHOSTUIFLAG = DOCHOSTUIFLAG(16777216i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_HOST_NAVIGATES: DOCHOSTUIFLAG = DOCHOSTUIFLAG(33554432i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_ENABLE_REDIRECT_NOTIFICATION: DOCHOSTUIFLAG = DOCHOSTUIFLAG(67108864i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_USE_WINDOWLESS_SELECTCONTROL: DOCHOSTUIFLAG = DOCHOSTUIFLAG(134217728i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_USE_WINDOWED_SELECTCONTROL: DOCHOSTUIFLAG = DOCHOSTUIFLAG(268435456i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_ENABLE_ACTIVEX_INACTIVATE_MODE: DOCHOSTUIFLAG = DOCHOSTUIFLAG(536870912i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUIFLAG_DPI_AWARE: DOCHOSTUIFLAG = DOCHOSTUIFLAG(1073741824i32); -impl ::core::marker::Copy for DOCHOSTUIFLAG {} -impl ::core::clone::Clone for DOCHOSTUIFLAG { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for DOCHOSTUIFLAG { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for DOCHOSTUIFLAG { - type Abi = Self; -} -impl ::core::fmt::Debug for DOCHOSTUIFLAG { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DOCHOSTUIFLAG").field(&self.0).finish() - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub struct DOCHOSTUIINFO { - pub cbSize: u32, - pub dwFlags: u32, - pub dwDoubleClick: u32, - pub pchHostCss: ::windows::core::PWSTR, - pub pchHostNS: ::windows::core::PWSTR, -} -impl ::core::marker::Copy for DOCHOSTUIINFO {} -impl ::core::clone::Clone for DOCHOSTUIINFO { - fn clone(&self) -> Self { - *self - } -} -impl ::core::fmt::Debug for DOCHOSTUIINFO { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("DOCHOSTUIINFO").field("cbSize", &self.cbSize).field("dwFlags", &self.dwFlags).field("dwDoubleClick", &self.dwDoubleClick).field("pchHostCss", &self.pchHostCss).field("pchHostNS", &self.pchHostNS).finish() - } -} -unsafe impl ::windows::core::Abi for DOCHOSTUIINFO { - type Abi = Self; -} -impl ::core::cmp::PartialEq for DOCHOSTUIINFO { - fn eq(&self, other: &Self) -> bool { - unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } - } -} -impl ::core::cmp::Eq for DOCHOSTUIINFO {} -impl ::core::default::Default for DOCHOSTUIINFO { - fn default() -> Self { - unsafe { ::core::mem::zeroed() } - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DOCHOSTUITYPE(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUITYPE_BROWSE: DOCHOSTUITYPE = DOCHOSTUITYPE(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOCHOSTUITYPE_AUTHOR: DOCHOSTUITYPE = DOCHOSTUITYPE(1i32); -impl ::core::marker::Copy for DOCHOSTUITYPE {} -impl ::core::clone::Clone for DOCHOSTUITYPE { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for DOCHOSTUITYPE { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for DOCHOSTUITYPE { - type Abi = Self; -} -impl ::core::fmt::Debug for DOCHOSTUITYPE { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DOCHOSTUITYPE").field(&self.0).finish() - } -} -pub const DOMBeforeUnloadEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510764_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMChildrenCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5aa_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMCloseEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510800_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMCompositionEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106d9_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMCustomEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106df_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMDocumentType: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510739_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMDragEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510762_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104bb_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMException: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051072c_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMFocusEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106cd_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMKeyboardEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106d7_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMMSAnimationEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107b8_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMMSManipulationEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510817_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMMSTransitionEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107b6_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMMessageEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510721_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMMouseEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106cf_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMMouseWheelEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106d1_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMMutationEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106db_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMParser: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510782_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMParserFactory: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510784_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMProcessingInstruction: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510743_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMProgressEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051071f_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMSiteModeEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510766_98b6_11cf_bb82_00aa00bdce0b); -pub const DOMStorageEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510723_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMTextEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106d5_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMUIEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106cb_98b5_11cf_bb82_00aa00bdce0b); -pub const DOMWheelEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106d3_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DOM_EVENT_PHASE(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEP_CAPTURING_PHASE: DOM_EVENT_PHASE = DOM_EVENT_PHASE(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEP_AT_TARGET: DOM_EVENT_PHASE = DOM_EVENT_PHASE(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DEP_BUBBLING_PHASE: DOM_EVENT_PHASE = DOM_EVENT_PHASE(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DOM_EVENT_PHASE_Max: DOM_EVENT_PHASE = DOM_EVENT_PHASE(2147483647i32); -impl ::core::marker::Copy for DOM_EVENT_PHASE {} -impl ::core::clone::Clone for DOM_EVENT_PHASE { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for DOM_EVENT_PHASE { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for DOM_EVENT_PHASE { - type Abi = Self; -} -impl ::core::fmt::Debug for DOM_EVENT_PHASE { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DOM_EVENT_PHASE").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct DWebBridgeEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl DWebBridgeEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: DWebBridgeEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a DWebBridgeEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a DWebBridgeEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&DWebBridgeEvents> for ::windows::core::IUnknown { - fn from(value: &DWebBridgeEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: DWebBridgeEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a DWebBridgeEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a DWebBridgeEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&DWebBridgeEvents> for super::super::System::Com::IDispatch { - fn from(value: &DWebBridgeEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DWebBridgeEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DWebBridgeEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DWebBridgeEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DWebBridgeEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DWebBridgeEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for DWebBridgeEvents { - type Vtable = DWebBridgeEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa6d897ff_0a95_11d1_b0ba_006008166e11); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct DWebBridgeEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[inline] -pub unsafe fn DecodeImage<'a, P0, P1, P2>(pstream: P0, pmap: P1, peventsink: P2) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMapMIMEToCLSID>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn DecodeImage(pstream: *mut ::core::ffi::c_void, pmap: *mut ::core::ffi::c_void, peventsink: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; - } - DecodeImage(pstream.into().abi(), pmap.into().abi(), peventsink.into().abi()).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[inline] -pub unsafe fn DecodeImageEx<'a, P0, P1, P2, P3>(pstream: P0, pmap: P1, peventsink: P2, pszmimetypeparam: P3) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMapMIMEToCLSID>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - P3: ::std::convert::Into<::windows::core::PCWSTR>, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn DecodeImageEx(pstream: *mut ::core::ffi::c_void, pmap: *mut ::core::ffi::c_void, peventsink: *mut ::core::ffi::c_void, pszmimetypeparam: ::windows::core::PCWSTR) -> ::windows::core::HRESULT; - } - DecodeImageEx(pstream.into().abi(), pmap.into().abi(), peventsink.into().abi(), pszmimetypeparam.into()).ok() -} -pub const DispApplicationCache: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900e4_98b5_11cf_bb82_00aa00bdce0b); -pub const DispCEventObj: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f558_98b5_11cf_bb82_00aa00bdce0b); -pub const DispCPlugins: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f54a_98b5_11cf_bb82_00aa00bdce0b); -pub const DispCPrintManagerTemplatePrinter: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900e9_98b5_11cf_bb82_00aa00bdce0b); -pub const DispCanvasGradient: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059008c_98b5_11cf_bb82_00aa00bdce0b); -pub const DispCanvasImageData: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059008f_98b5_11cf_bb82_00aa00bdce0b); -pub const DispCanvasPattern: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059008d_98b5_11cf_bb82_00aa00bdce0b); -pub const DispCanvasRenderingContext2D: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590082_98b5_11cf_bb82_00aa00bdce0b); -pub const DispCanvasTextMetrics: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059008e_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMBeforeUnloadEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900a8_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMChildrenCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f577_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMCloseEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900dc_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMCompositionEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590078_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMCustomEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059007c_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMDocumentType: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590098_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMDragEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900a7_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5a2_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMException: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590094_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMFocusEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590071_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMKeyboardEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590077_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMMSAnimationEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900bc_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMMSManipulationEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900e1_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMMSTransitionEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900bb_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMMessageEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590092_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMMouseEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590073_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMMouseWheelEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590074_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMMutationEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590079_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMParser: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900ae_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMProcessingInstruction: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059009b_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMProgressEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590091_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMSiteModeEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900a9_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMStorageEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590093_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMTextEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590076_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMUIEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590072_98b5_11cf_bb82_00aa00bdce0b); -pub const DispDOMWheelEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590075_98b5_11cf_bb82_00aa00bdce0b); -pub const DispEventException: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590099_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTCAttachBehavior: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f583_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTCDefaultDispatch: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f573_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTCDescBehavior: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f57e_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTCEventBehavior: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f574_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTCMethodBehavior: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f587_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTCPropertyBehavior: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f57f_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLAnchorElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f502_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLAppBehavior: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f57c_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLAreaElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f503_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLAreasCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f56a_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLAttributeCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f56c_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLAudioElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059008a_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLBGsound: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f53c_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLBRElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f53a_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLBaseElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f518_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLBaseFontElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f504_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLBlockElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f506_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLBody: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f507_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLButtonElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f51f_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLCSSImportRule: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059007e_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLCSSMediaList: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590097_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLCSSMediaRule: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059007f_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLCSSNamespaceRule: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590080_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLCSSRule: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059007d_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLCSSStyleDeclaration: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059009a_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLCanvasElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059007b_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLCommentElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f50a_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLCurrentStyle: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f557_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLDDElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f50b_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLDListElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f53b_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLDOMAttribute: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f564_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLDOMImplementation: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f58f_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLDOMRange: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5a3_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLDOMTextNode: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f565_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLDTElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f50d_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLDefaults: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f58c_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLDivElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f50c_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLDivPosition: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f50f_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLDocument: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f55f_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLDocumentCompatibleInfo: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f53e_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLDocumentCompatibleInfoCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f53f_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLElementCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f56b_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLEmbed: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f52e_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLFieldSetElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f545_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLFontElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f512_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLFormElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f510_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLFrameBase: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f541_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLFrameElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f513_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLFrameSetSite: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f514_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLGenericElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f563_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLHRElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f53d_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLHeadElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f561_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLHeaderElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f515_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLHistory: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f549_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLHtmlElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f560_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLIFrame: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f51b_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLImg: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f51c_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLInputElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f57d_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLIsIndexElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f519_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLLIElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f523_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLLabelElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f522_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLLegendElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f546_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLLinkElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f524_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLListElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f525_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLLocation: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f54e_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLMSCSSKeyframeRule: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900de_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLMSCSSKeyframesRule: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900df_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLMapElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f526_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLMarqueeElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f527_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLMediaElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590088_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLMediaError: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590086_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLMetaElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f517_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLNamespace: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f54f_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLNamespaceCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f550_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLNavigator: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f54c_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLNextIdElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f51a_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLNoShowElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f528_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLOListElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f52a_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLObjectElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f529_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLOptionElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f52b_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLParaElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f52c_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLParamElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f590_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLPerformance: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059009f_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLPerformanceNavigation: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900a0_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLPerformanceTiming: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900a1_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLPhraseElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f52d_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLPopup: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f589_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLProgressElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900af_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLRenderStyle: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f58b_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLRichtextElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f54d_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLRuleStyle: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f55c_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLScreen: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f591_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLScriptElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f530_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLSelectElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f531_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLSemanticElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900ba_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLSourceElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590089_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLSpanElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f548_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLSpanFlow: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f544_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLStorage: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f59d_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLStyle: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f55a_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLStyleElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f511_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLStyleFontFace: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590081_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLStyleMedia: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059009e_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLStyleSheet: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f58d_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLStyleSheetPage: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f540_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLStyleSheetPagesCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f543_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLStyleSheetRule: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f50e_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLStyleSheetRulesAppliedCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5a6_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLStyleSheetRulesCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f52f_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLStyleSheetsCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f547_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLTable: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f532_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLTableCaption: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f508_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLTableCell: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f536_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLTableCol: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f533_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLTableRow: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f535_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLTableSection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f534_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLTextAreaElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f521_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLTextElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f537_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLTimeRanges: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590087_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLTitleElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f516_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLUListElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f538_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLUnknownElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f539_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLUrnCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f551_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLVideoElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059008b_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLW3CComputedStyle: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590070_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLWindow2: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f55d_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLWindowProxy: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f55e_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLWndOptionElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f598_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLWndSelectElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f597_98b5_11cf_bb82_00aa00bdce0b); -pub const DispHTMLXMLHttpRequest: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f596_98b5_11cf_bb82_00aa00bdce0b); -pub const DispIHTMLInputButtonElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f51e_98b5_11cf_bb82_00aa00bdce0b); -pub const DispIHTMLInputFileElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f542_98b5_11cf_bb82_00aa00bdce0b); -pub const DispIHTMLInputImage: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f51d_98b5_11cf_bb82_00aa00bdce0b); -pub const DispIHTMLInputTextElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f520_98b5_11cf_bb82_00aa00bdce0b); -pub const DispIHTMLOptionButtonElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f509_98b5_11cf_bb82_00aa00bdce0b); -pub const DispNodeIterator: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059009c_98b5_11cf_bb82_00aa00bdce0b); -pub const DispRangeException: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590095_98b5_11cf_bb82_00aa00bdce0b); -pub const DispRulesApplied: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5a5_98b5_11cf_bb82_00aa00bdce0b); -pub const DispRulesAppliedCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5a4_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGAElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590033_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGCircleElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059000a_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGClipPathElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059003b_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGDefsElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590003_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGDescElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590005_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590000_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGElementInstance: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590007_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGElementInstanceList: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590008_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGEllipseElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059000b_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGException: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590096_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGGElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590002_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGGradientElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059002e_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGImageElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590027_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGLineElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059000c_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGLinearGradientElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059002a_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGMarkerElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590036_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGMaskElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059003c_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGMetadataElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059002f_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590011_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegArcAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590013_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegArcRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590014_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegClosePath: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590015_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegCurvetoCubicAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590016_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegCurvetoCubicRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590017_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegCurvetoCubicSmoothAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590018_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegCurvetoCubicSmoothRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590019_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegCurvetoQuadraticAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059001a_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegCurvetoQuadraticRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059001b_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegCurvetoQuadraticSmoothAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059001c_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegCurvetoQuadraticSmoothRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059001d_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegLinetoAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059001e_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegLinetoHorizontalAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059001f_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegLinetoHorizontalRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590020_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegLinetoRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590021_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegLinetoVerticalAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590022_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegLinetoVerticalRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590023_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegMovetoAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590024_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPathSegMovetoRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590025_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPatternElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059002c_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPolygonElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059000d_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGPolylineElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059000e_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGRadialGradientElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059002b_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGRectElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590009_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGSVGElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590001_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGScriptElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590039_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGStopElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059002d_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGStyleElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590029_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGSwitchElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590030_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGSymbolElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590004_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGTSpanElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059003a_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGTextContentElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590035_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGTextElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590037_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGTextPathElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059003d_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGTextPositioningElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590038_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGTitleElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590006_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGUseElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590010_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGViewElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590034_98b5_11cf_bb82_00aa00bdce0b); -pub const DispSVGZoomEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30590031_98b5_11cf_bb82_00aa00bdce0b); -pub const DispStaticNodeList: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f59b_98b5_11cf_bb82_00aa00bdce0b); -pub const DispTreeWalker: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3059009d_98b5_11cf_bb82_00aa00bdce0b); -pub const DispWebGeocoordinates: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900be_98b5_11cf_bb82_00aa00bdce0b); -pub const DispWebGeolocation: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900bd_98b5_11cf_bb82_00aa00bdce0b); -pub const DispWebGeoposition: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900c1_98b5_11cf_bb82_00aa00bdce0b); -pub const DispWebGeopositionError: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900bf_98b5_11cf_bb82_00aa00bdce0b); -pub const DispXDomainRequest: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f599_98b5_11cf_bb82_00aa00bdce0b); -pub const DispXMLHttpRequestEventTarget: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900e7_98b5_11cf_bb82_00aa00bdce0b); -pub const DispXMLSerializer: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305900ad_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Graphics_Gdi\"`*"] -#[cfg(feature = "Win32_Graphics_Gdi")] -#[inline] -pub unsafe fn DitherTo8(pdestbits: *mut u8, ndestpitch: i32, psrcbits: *mut u8, nsrcpitch: i32, bfidsrc: *const ::windows::core::GUID, prgbdestcolors: *mut super::super::Graphics::Gdi::RGBQUAD, prgbsrccolors: *mut super::super::Graphics::Gdi::RGBQUAD, pbdestinvmap: *mut u8, x: i32, y: i32, cx: i32, cy: i32, ldesttrans: i32, lsrctrans: i32) -> ::windows::core::Result<()> { - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn DitherTo8(pdestbits: *mut u8, ndestpitch: i32, psrcbits: *mut u8, nsrcpitch: i32, bfidsrc: *const ::windows::core::GUID, prgbdestcolors: *mut super::super::Graphics::Gdi::RGBQUAD, prgbsrccolors: *mut super::super::Graphics::Gdi::RGBQUAD, pbdestinvmap: *mut u8, x: i32, y: i32, cx: i32, cy: i32, ldesttrans: i32, lsrctrans: i32) -> ::windows::core::HRESULT; - } - DitherTo8(::core::mem::transmute(pdestbits), ndestpitch, ::core::mem::transmute(psrcbits), nsrcpitch, ::core::mem::transmute(bfidsrc), ::core::mem::transmute(prgbdestcolors), ::core::mem::transmute(prgbsrccolors), ::core::mem::transmute(pbdestinvmap), x, y, cx, cy, ldesttrans, lsrctrans).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn DoPrivacyDlg<'a, P0, P1, P2, P3>(hwndowner: P0, pszurl: P1, pprivacyenum: P2, freportallsites: P3) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IEnumPrivacyRecords>>, - P3: ::std::convert::Into, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn DoPrivacyDlg(hwndowner: super::super::Foundation::HWND, pszurl: ::windows::core::PCWSTR, pprivacyenum: *mut ::core::ffi::c_void, freportallsites: super::super::Foundation::BOOL) -> ::windows::core::HRESULT; - } - DoPrivacyDlg(hwndowner.into(), pszurl.into(), pprivacyenum.into().abi(), freportallsites.into()).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DomConstructor(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorObject: DomConstructor = DomConstructor(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorAttr: DomConstructor = DomConstructor(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorBehaviorUrnsCollection: DomConstructor = DomConstructor(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorBookmarkCollection: DomConstructor = DomConstructor(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorCompatibleInfo: DomConstructor = DomConstructor(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorCompatibleInfoCollection: DomConstructor = DomConstructor(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorControlRangeCollection: DomConstructor = DomConstructor(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorCSSCurrentStyleDeclaration: DomConstructor = DomConstructor(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorCSSRuleList: DomConstructor = DomConstructor(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorCSSRuleStyleDeclaration: DomConstructor = DomConstructor(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorCSSStyleDeclaration: DomConstructor = DomConstructor(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorCSSStyleRule: DomConstructor = DomConstructor(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorCSSStyleSheet: DomConstructor = DomConstructor(12i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorDataTransfer: DomConstructor = DomConstructor(13i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorDOMImplementation: DomConstructor = DomConstructor(14i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorElement: DomConstructor = DomConstructor(15i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorEvent: DomConstructor = DomConstructor(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHistory: DomConstructor = DomConstructor(17i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTCElementBehaviorDefaults: DomConstructor = DomConstructor(18i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLAnchorElement: DomConstructor = DomConstructor(19i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLAreaElement: DomConstructor = DomConstructor(20i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLAreasCollection: DomConstructor = DomConstructor(21i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLBaseElement: DomConstructor = DomConstructor(22i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLBaseFontElement: DomConstructor = DomConstructor(23i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLBGSoundElement: DomConstructor = DomConstructor(24i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLBlockElement: DomConstructor = DomConstructor(25i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLBodyElement: DomConstructor = DomConstructor(26i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLBRElement: DomConstructor = DomConstructor(27i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLButtonElement: DomConstructor = DomConstructor(28i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLCollection: DomConstructor = DomConstructor(29i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLCommentElement: DomConstructor = DomConstructor(30i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLDDElement: DomConstructor = DomConstructor(31i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLDivElement: DomConstructor = DomConstructor(32i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLDocument: DomConstructor = DomConstructor(33i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLDListElement: DomConstructor = DomConstructor(34i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLDTElement: DomConstructor = DomConstructor(35i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLEmbedElement: DomConstructor = DomConstructor(36i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLFieldSetElement: DomConstructor = DomConstructor(37i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLFontElement: DomConstructor = DomConstructor(38i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLFormElement: DomConstructor = DomConstructor(39i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLFrameElement: DomConstructor = DomConstructor(40i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLFrameSetElement: DomConstructor = DomConstructor(41i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLGenericElement: DomConstructor = DomConstructor(42i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLHeadElement: DomConstructor = DomConstructor(43i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLHeadingElement: DomConstructor = DomConstructor(44i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLHRElement: DomConstructor = DomConstructor(45i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLHtmlElement: DomConstructor = DomConstructor(46i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLIFrameElement: DomConstructor = DomConstructor(47i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLImageElement: DomConstructor = DomConstructor(48i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLInputElement: DomConstructor = DomConstructor(49i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLIsIndexElement: DomConstructor = DomConstructor(50i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLLabelElement: DomConstructor = DomConstructor(51i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLLegendElement: DomConstructor = DomConstructor(52i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLLIElement: DomConstructor = DomConstructor(53i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLLinkElement: DomConstructor = DomConstructor(54i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLMapElement: DomConstructor = DomConstructor(55i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLMarqueeElement: DomConstructor = DomConstructor(56i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLMetaElement: DomConstructor = DomConstructor(57i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLModelessDialog: DomConstructor = DomConstructor(58i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLNamespaceInfo: DomConstructor = DomConstructor(59i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLNamespaceInfoCollection: DomConstructor = DomConstructor(60i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLNextIdElement: DomConstructor = DomConstructor(61i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLNoShowElement: DomConstructor = DomConstructor(62i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLObjectElement: DomConstructor = DomConstructor(63i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLOListElement: DomConstructor = DomConstructor(64i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLOptionElement: DomConstructor = DomConstructor(65i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLParagraphElement: DomConstructor = DomConstructor(66i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLParamElement: DomConstructor = DomConstructor(67i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLPhraseElement: DomConstructor = DomConstructor(68i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLPluginsCollection: DomConstructor = DomConstructor(69i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLPopup: DomConstructor = DomConstructor(70i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLScriptElement: DomConstructor = DomConstructor(71i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLSelectElement: DomConstructor = DomConstructor(72i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLSpanElement: DomConstructor = DomConstructor(73i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLStyleElement: DomConstructor = DomConstructor(74i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTableCaptionElement: DomConstructor = DomConstructor(75i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTableCellElement: DomConstructor = DomConstructor(76i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTableColElement: DomConstructor = DomConstructor(77i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTableElement: DomConstructor = DomConstructor(78i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTableRowElement: DomConstructor = DomConstructor(79i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTableSectionElement: DomConstructor = DomConstructor(80i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTextAreaElement: DomConstructor = DomConstructor(81i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTextElement: DomConstructor = DomConstructor(82i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLTitleElement: DomConstructor = DomConstructor(83i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLUListElement: DomConstructor = DomConstructor(84i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorHTMLUnknownElement: DomConstructor = DomConstructor(85i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorImage: DomConstructor = DomConstructor(86i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorLocation: DomConstructor = DomConstructor(87i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorNamedNodeMap: DomConstructor = DomConstructor(88i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorNavigator: DomConstructor = DomConstructor(89i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorNodeList: DomConstructor = DomConstructor(90i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorOption: DomConstructor = DomConstructor(91i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorScreen: DomConstructor = DomConstructor(92i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorSelection: DomConstructor = DomConstructor(93i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorStaticNodeList: DomConstructor = DomConstructor(94i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorStorage: DomConstructor = DomConstructor(95i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorStyleSheetList: DomConstructor = DomConstructor(96i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorStyleSheetPage: DomConstructor = DomConstructor(97i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorStyleSheetPageList: DomConstructor = DomConstructor(98i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorText: DomConstructor = DomConstructor(99i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorTextRange: DomConstructor = DomConstructor(100i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorTextRangeCollection: DomConstructor = DomConstructor(101i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorTextRectangle: DomConstructor = DomConstructor(102i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorTextRectangleList: DomConstructor = DomConstructor(103i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorWindow: DomConstructor = DomConstructor(104i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorXDomainRequest: DomConstructor = DomConstructor(105i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorXMLHttpRequest: DomConstructor = DomConstructor(106i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructorMax: DomConstructor = DomConstructor(107i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const DomConstructor_Max: DomConstructor = DomConstructor(2147483647i32); -impl ::core::marker::Copy for DomConstructor {} -impl ::core::clone::Clone for DomConstructor { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for DomConstructor { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for DomConstructor { - type Abi = Self; -} -impl ::core::fmt::Debug for DomConstructor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DomConstructor").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct ELEMENTDESCRIPTOR_FLAGS(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENTDESCRIPTORFLAGS_LITERAL: ELEMENTDESCRIPTOR_FLAGS = ELEMENTDESCRIPTOR_FLAGS(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENTDESCRIPTORFLAGS_NESTED_LITERAL: ELEMENTDESCRIPTOR_FLAGS = ELEMENTDESCRIPTOR_FLAGS(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENTDESCRIPTOR_FLAGS_Max: ELEMENTDESCRIPTOR_FLAGS = ELEMENTDESCRIPTOR_FLAGS(2147483647i32); -impl ::core::marker::Copy for ELEMENTDESCRIPTOR_FLAGS {} -impl ::core::clone::Clone for ELEMENTDESCRIPTOR_FLAGS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for ELEMENTDESCRIPTOR_FLAGS { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for ELEMENTDESCRIPTOR_FLAGS { - type Abi = Self; -} -impl ::core::fmt::Debug for ELEMENTDESCRIPTOR_FLAGS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ELEMENTDESCRIPTOR_FLAGS").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct ELEMENTNAMESPACE_FLAGS(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENTNAMESPACEFLAGS_ALLOWANYTAG: ELEMENTNAMESPACE_FLAGS = ELEMENTNAMESPACE_FLAGS(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENTNAMESPACEFLAGS_QUERYFORUNKNOWNTAGS: ELEMENTNAMESPACE_FLAGS = ELEMENTNAMESPACE_FLAGS(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENTNAMESPACE_FLAGS_Max: ELEMENTNAMESPACE_FLAGS = ELEMENTNAMESPACE_FLAGS(2147483647i32); -impl ::core::marker::Copy for ELEMENTNAMESPACE_FLAGS {} -impl ::core::clone::Clone for ELEMENTNAMESPACE_FLAGS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for ELEMENTNAMESPACE_FLAGS { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for ELEMENTNAMESPACE_FLAGS { - type Abi = Self; -} -impl ::core::fmt::Debug for ELEMENTNAMESPACE_FLAGS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ELEMENTNAMESPACE_FLAGS").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct ELEMENT_ADJACENCY(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEM_ADJ_BeforeBegin: ELEMENT_ADJACENCY = ELEMENT_ADJACENCY(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEM_ADJ_AfterBegin: ELEMENT_ADJACENCY = ELEMENT_ADJACENCY(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEM_ADJ_BeforeEnd: ELEMENT_ADJACENCY = ELEMENT_ADJACENCY(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEM_ADJ_AfterEnd: ELEMENT_ADJACENCY = ELEMENT_ADJACENCY(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_ADJACENCY_Max: ELEMENT_ADJACENCY = ELEMENT_ADJACENCY(2147483647i32); -impl ::core::marker::Copy for ELEMENT_ADJACENCY {} -impl ::core::clone::Clone for ELEMENT_ADJACENCY { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for ELEMENT_ADJACENCY { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for ELEMENT_ADJACENCY { - type Abi = Self; -} -impl ::core::fmt::Debug for ELEMENT_ADJACENCY { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ELEMENT_ADJACENCY").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct ELEMENT_CORNER(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_NONE: ELEMENT_CORNER = ELEMENT_CORNER(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_TOP: ELEMENT_CORNER = ELEMENT_CORNER(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_LEFT: ELEMENT_CORNER = ELEMENT_CORNER(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_BOTTOM: ELEMENT_CORNER = ELEMENT_CORNER(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_RIGHT: ELEMENT_CORNER = ELEMENT_CORNER(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_TOPLEFT: ELEMENT_CORNER = ELEMENT_CORNER(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_TOPRIGHT: ELEMENT_CORNER = ELEMENT_CORNER(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_BOTTOMLEFT: ELEMENT_CORNER = ELEMENT_CORNER(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_BOTTOMRIGHT: ELEMENT_CORNER = ELEMENT_CORNER(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_CORNER_Max: ELEMENT_CORNER = ELEMENT_CORNER(2147483647i32); -impl ::core::marker::Copy for ELEMENT_CORNER {} -impl ::core::clone::Clone for ELEMENT_CORNER { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for ELEMENT_CORNER { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for ELEMENT_CORNER { - type Abi = Self; -} -impl ::core::fmt::Debug for ELEMENT_CORNER { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ELEMENT_CORNER").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct ELEMENT_TAG_ID(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_NULL: ELEMENT_TAG_ID = ELEMENT_TAG_ID(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_UNKNOWN: ELEMENT_TAG_ID = ELEMENT_TAG_ID(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_A: ELEMENT_TAG_ID = ELEMENT_TAG_ID(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_ACRONYM: ELEMENT_TAG_ID = ELEMENT_TAG_ID(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_ADDRESS: ELEMENT_TAG_ID = ELEMENT_TAG_ID(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_APPLET: ELEMENT_TAG_ID = ELEMENT_TAG_ID(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_AREA: ELEMENT_TAG_ID = ELEMENT_TAG_ID(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_B: ELEMENT_TAG_ID = ELEMENT_TAG_ID(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BASE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BASEFONT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BDO: ELEMENT_TAG_ID = ELEMENT_TAG_ID(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BGSOUND: ELEMENT_TAG_ID = ELEMENT_TAG_ID(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BIG: ELEMENT_TAG_ID = ELEMENT_TAG_ID(12i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BLINK: ELEMENT_TAG_ID = ELEMENT_TAG_ID(13i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BLOCKQUOTE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(14i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BODY: ELEMENT_TAG_ID = ELEMENT_TAG_ID(15i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BR: ELEMENT_TAG_ID = ELEMENT_TAG_ID(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_BUTTON: ELEMENT_TAG_ID = ELEMENT_TAG_ID(17i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_CAPTION: ELEMENT_TAG_ID = ELEMENT_TAG_ID(18i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_CENTER: ELEMENT_TAG_ID = ELEMENT_TAG_ID(19i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_CITE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(20i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_CODE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(21i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_COL: ELEMENT_TAG_ID = ELEMENT_TAG_ID(22i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_COLGROUP: ELEMENT_TAG_ID = ELEMENT_TAG_ID(23i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_COMMENT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(24i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_COMMENT_RAW: ELEMENT_TAG_ID = ELEMENT_TAG_ID(25i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DD: ELEMENT_TAG_ID = ELEMENT_TAG_ID(26i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DEL: ELEMENT_TAG_ID = ELEMENT_TAG_ID(27i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DFN: ELEMENT_TAG_ID = ELEMENT_TAG_ID(28i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DIR: ELEMENT_TAG_ID = ELEMENT_TAG_ID(29i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DIV: ELEMENT_TAG_ID = ELEMENT_TAG_ID(30i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DL: ELEMENT_TAG_ID = ELEMENT_TAG_ID(31i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(32i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_EM: ELEMENT_TAG_ID = ELEMENT_TAG_ID(33i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_EMBED: ELEMENT_TAG_ID = ELEMENT_TAG_ID(34i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_FIELDSET: ELEMENT_TAG_ID = ELEMENT_TAG_ID(35i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_FONT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(36i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_FORM: ELEMENT_TAG_ID = ELEMENT_TAG_ID(37i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_FRAME: ELEMENT_TAG_ID = ELEMENT_TAG_ID(38i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_FRAMESET: ELEMENT_TAG_ID = ELEMENT_TAG_ID(39i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_GENERIC: ELEMENT_TAG_ID = ELEMENT_TAG_ID(40i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_H1: ELEMENT_TAG_ID = ELEMENT_TAG_ID(41i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_H2: ELEMENT_TAG_ID = ELEMENT_TAG_ID(42i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_H3: ELEMENT_TAG_ID = ELEMENT_TAG_ID(43i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_H4: ELEMENT_TAG_ID = ELEMENT_TAG_ID(44i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_H5: ELEMENT_TAG_ID = ELEMENT_TAG_ID(45i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_H6: ELEMENT_TAG_ID = ELEMENT_TAG_ID(46i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_HEAD: ELEMENT_TAG_ID = ELEMENT_TAG_ID(47i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_HR: ELEMENT_TAG_ID = ELEMENT_TAG_ID(48i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_HTML: ELEMENT_TAG_ID = ELEMENT_TAG_ID(49i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_I: ELEMENT_TAG_ID = ELEMENT_TAG_ID(50i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_IFRAME: ELEMENT_TAG_ID = ELEMENT_TAG_ID(51i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_IMG: ELEMENT_TAG_ID = ELEMENT_TAG_ID(52i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_INPUT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(53i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_INS: ELEMENT_TAG_ID = ELEMENT_TAG_ID(54i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_KBD: ELEMENT_TAG_ID = ELEMENT_TAG_ID(55i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_LABEL: ELEMENT_TAG_ID = ELEMENT_TAG_ID(56i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_LEGEND: ELEMENT_TAG_ID = ELEMENT_TAG_ID(57i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_LI: ELEMENT_TAG_ID = ELEMENT_TAG_ID(58i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_LINK: ELEMENT_TAG_ID = ELEMENT_TAG_ID(59i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_LISTING: ELEMENT_TAG_ID = ELEMENT_TAG_ID(60i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MAP: ELEMENT_TAG_ID = ELEMENT_TAG_ID(61i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MARQUEE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(62i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MENU: ELEMENT_TAG_ID = ELEMENT_TAG_ID(63i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_META: ELEMENT_TAG_ID = ELEMENT_TAG_ID(64i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_NEXTID: ELEMENT_TAG_ID = ELEMENT_TAG_ID(65i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_NOBR: ELEMENT_TAG_ID = ELEMENT_TAG_ID(66i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_NOEMBED: ELEMENT_TAG_ID = ELEMENT_TAG_ID(67i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_NOFRAMES: ELEMENT_TAG_ID = ELEMENT_TAG_ID(68i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_NOSCRIPT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(69i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_OBJECT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(70i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_OL: ELEMENT_TAG_ID = ELEMENT_TAG_ID(71i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_OPTION: ELEMENT_TAG_ID = ELEMENT_TAG_ID(72i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_P: ELEMENT_TAG_ID = ELEMENT_TAG_ID(73i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_PARAM: ELEMENT_TAG_ID = ELEMENT_TAG_ID(74i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_PLAINTEXT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(75i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_PRE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(76i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_Q: ELEMENT_TAG_ID = ELEMENT_TAG_ID(77i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_RP: ELEMENT_TAG_ID = ELEMENT_TAG_ID(78i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_RT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(79i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_RUBY: ELEMENT_TAG_ID = ELEMENT_TAG_ID(80i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_S: ELEMENT_TAG_ID = ELEMENT_TAG_ID(81i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SAMP: ELEMENT_TAG_ID = ELEMENT_TAG_ID(82i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SCRIPT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(83i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SELECT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(84i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SMALL: ELEMENT_TAG_ID = ELEMENT_TAG_ID(85i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SPAN: ELEMENT_TAG_ID = ELEMENT_TAG_ID(86i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_STRIKE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(87i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_STRONG: ELEMENT_TAG_ID = ELEMENT_TAG_ID(88i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_STYLE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(89i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SUB: ELEMENT_TAG_ID = ELEMENT_TAG_ID(90i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SUP: ELEMENT_TAG_ID = ELEMENT_TAG_ID(91i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TABLE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(92i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TBODY: ELEMENT_TAG_ID = ELEMENT_TAG_ID(93i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TC: ELEMENT_TAG_ID = ELEMENT_TAG_ID(94i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TD: ELEMENT_TAG_ID = ELEMENT_TAG_ID(95i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TEXTAREA: ELEMENT_TAG_ID = ELEMENT_TAG_ID(96i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TFOOT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(97i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TH: ELEMENT_TAG_ID = ELEMENT_TAG_ID(98i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_THEAD: ELEMENT_TAG_ID = ELEMENT_TAG_ID(99i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TITLE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(100i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TR: ELEMENT_TAG_ID = ELEMENT_TAG_ID(101i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(102i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_U: ELEMENT_TAG_ID = ELEMENT_TAG_ID(103i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_UL: ELEMENT_TAG_ID = ELEMENT_TAG_ID(104i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_VAR: ELEMENT_TAG_ID = ELEMENT_TAG_ID(105i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_WBR: ELEMENT_TAG_ID = ELEMENT_TAG_ID(106i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_XMP: ELEMENT_TAG_ID = ELEMENT_TAG_ID(107i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_ROOT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(108i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_OPTGROUP: ELEMENT_TAG_ID = ELEMENT_TAG_ID(109i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_ABBR: ELEMENT_TAG_ID = ELEMENT_TAG_ID(110i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_A: ELEMENT_TAG_ID = ELEMENT_TAG_ID(111i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_ALTGLYPH: ELEMENT_TAG_ID = ELEMENT_TAG_ID(112i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_ALTGLYPHDEF: ELEMENT_TAG_ID = ELEMENT_TAG_ID(113i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_ALTGLYPHITEM: ELEMENT_TAG_ID = ELEMENT_TAG_ID(114i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_ANIMATE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(115i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_ANIMATECOLOR: ELEMENT_TAG_ID = ELEMENT_TAG_ID(116i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_ANIMATEMOTION: ELEMENT_TAG_ID = ELEMENT_TAG_ID(117i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_ANIMATETRANSFORM: ELEMENT_TAG_ID = ELEMENT_TAG_ID(118i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_CIRCLE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(119i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_CLIPPATH: ELEMENT_TAG_ID = ELEMENT_TAG_ID(120i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_COLOR_PROFILE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(121i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_CURSOR: ELEMENT_TAG_ID = ELEMENT_TAG_ID(122i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_DEFINITION_SRC: ELEMENT_TAG_ID = ELEMENT_TAG_ID(123i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_DEFS: ELEMENT_TAG_ID = ELEMENT_TAG_ID(124i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_DESC: ELEMENT_TAG_ID = ELEMENT_TAG_ID(125i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_ELLIPSE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(126i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEBLEND: ELEMENT_TAG_ID = ELEMENT_TAG_ID(127i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FECOLORMATRIX: ELEMENT_TAG_ID = ELEMENT_TAG_ID(128i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FECOMPONENTTRANSFER: ELEMENT_TAG_ID = ELEMENT_TAG_ID(129i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FECOMPOSITE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(130i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FECONVOLVEMATRIX: ELEMENT_TAG_ID = ELEMENT_TAG_ID(131i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEDIFFUSELIGHTING: ELEMENT_TAG_ID = ELEMENT_TAG_ID(132i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEDISPLACEMENTMAP: ELEMENT_TAG_ID = ELEMENT_TAG_ID(133i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEDISTANTLIGHT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(134i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEFLOOD: ELEMENT_TAG_ID = ELEMENT_TAG_ID(135i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEFUNCA: ELEMENT_TAG_ID = ELEMENT_TAG_ID(136i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEFUNCB: ELEMENT_TAG_ID = ELEMENT_TAG_ID(137i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEFUNCG: ELEMENT_TAG_ID = ELEMENT_TAG_ID(138i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEFUNCR: ELEMENT_TAG_ID = ELEMENT_TAG_ID(139i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEGAUSSIANBLUR: ELEMENT_TAG_ID = ELEMENT_TAG_ID(140i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEIMAGE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(141i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEMERGE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(142i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEMERGENODE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(143i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEMORPHOLOGY: ELEMENT_TAG_ID = ELEMENT_TAG_ID(144i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEOFFSET: ELEMENT_TAG_ID = ELEMENT_TAG_ID(145i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FEPOINTLIGHT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(146i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FESPECULARLIGHTING: ELEMENT_TAG_ID = ELEMENT_TAG_ID(147i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FESPOTLIGHT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(148i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FETILE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(149i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FETURBULENCE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(150i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FILTER: ELEMENT_TAG_ID = ELEMENT_TAG_ID(151i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FONT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(152i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FONT_FACE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(153i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FONT_FACE_FORMAT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(154i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FONT_FACE_NAME: ELEMENT_TAG_ID = ELEMENT_TAG_ID(155i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FONT_FACE_SRC: ELEMENT_TAG_ID = ELEMENT_TAG_ID(156i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FONT_FACE_URI: ELEMENT_TAG_ID = ELEMENT_TAG_ID(157i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_FOREIGNOBJECT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(158i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_G: ELEMENT_TAG_ID = ELEMENT_TAG_ID(159i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_GLYPH: ELEMENT_TAG_ID = ELEMENT_TAG_ID(160i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_GLYPHREF: ELEMENT_TAG_ID = ELEMENT_TAG_ID(161i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_HKERN: ELEMENT_TAG_ID = ELEMENT_TAG_ID(162i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_IMAGE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(163i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_LINE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(164i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_LINEARGRADIENT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(165i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_MARKER: ELEMENT_TAG_ID = ELEMENT_TAG_ID(166i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_MASK: ELEMENT_TAG_ID = ELEMENT_TAG_ID(167i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_METADATA: ELEMENT_TAG_ID = ELEMENT_TAG_ID(168i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_MISSING_GLYPH: ELEMENT_TAG_ID = ELEMENT_TAG_ID(169i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_MPATH: ELEMENT_TAG_ID = ELEMENT_TAG_ID(170i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_PATH: ELEMENT_TAG_ID = ELEMENT_TAG_ID(171i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_PATTERN: ELEMENT_TAG_ID = ELEMENT_TAG_ID(172i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_POLYGON: ELEMENT_TAG_ID = ELEMENT_TAG_ID(173i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_POLYLINE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(174i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_RADIALGRADIENT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(175i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_RECT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(176i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_SCRIPT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(177i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_SET: ELEMENT_TAG_ID = ELEMENT_TAG_ID(178i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_STOP: ELEMENT_TAG_ID = ELEMENT_TAG_ID(179i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_STYLE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(180i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_SVG: ELEMENT_TAG_ID = ELEMENT_TAG_ID(181i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_SWITCH: ELEMENT_TAG_ID = ELEMENT_TAG_ID(182i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_SYMBOL: ELEMENT_TAG_ID = ELEMENT_TAG_ID(183i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_TEXT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(184i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_TEXTPATH: ELEMENT_TAG_ID = ELEMENT_TAG_ID(185i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_TITLE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(186i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_TREF: ELEMENT_TAG_ID = ELEMENT_TAG_ID(187i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_TSPAN: ELEMENT_TAG_ID = ELEMENT_TAG_ID(188i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_USE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(189i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_VIEW: ELEMENT_TAG_ID = ELEMENT_TAG_ID(190i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SVG_VKERN: ELEMENT_TAG_ID = ELEMENT_TAG_ID(191i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_AUDIO: ELEMENT_TAG_ID = ELEMENT_TAG_ID(192i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SOURCE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(193i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_VIDEO: ELEMENT_TAG_ID = ELEMENT_TAG_ID(194i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_CANVAS: ELEMENT_TAG_ID = ELEMENT_TAG_ID(195i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DOCTYPE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(196i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_KEYGEN: ELEMENT_TAG_ID = ELEMENT_TAG_ID(197i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_PROCESSINGINSTRUCTION: ELEMENT_TAG_ID = ELEMENT_TAG_ID(198i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_ARTICLE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(199i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_ASIDE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(200i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_FIGCAPTION: ELEMENT_TAG_ID = ELEMENT_TAG_ID(201i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_FIGURE: ELEMENT_TAG_ID = ELEMENT_TAG_ID(202i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_FOOTER: ELEMENT_TAG_ID = ELEMENT_TAG_ID(203i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_HEADER: ELEMENT_TAG_ID = ELEMENT_TAG_ID(204i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_HGROUP: ELEMENT_TAG_ID = ELEMENT_TAG_ID(205i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MARK: ELEMENT_TAG_ID = ELEMENT_TAG_ID(206i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_NAV: ELEMENT_TAG_ID = ELEMENT_TAG_ID(207i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SECTION: ELEMENT_TAG_ID = ELEMENT_TAG_ID(208i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_PROGRESS: ELEMENT_TAG_ID = ELEMENT_TAG_ID(209i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MATHML_ANNOTATION_XML: ELEMENT_TAG_ID = ELEMENT_TAG_ID(210i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MATHML_MATH: ELEMENT_TAG_ID = ELEMENT_TAG_ID(211i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MATHML_MI: ELEMENT_TAG_ID = ELEMENT_TAG_ID(212i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MATHML_MN: ELEMENT_TAG_ID = ELEMENT_TAG_ID(213i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MATHML_MO: ELEMENT_TAG_ID = ELEMENT_TAG_ID(214i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MATHML_MS: ELEMENT_TAG_ID = ELEMENT_TAG_ID(215i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_MATHML_MTEXT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(216i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DATALIST: ELEMENT_TAG_ID = ELEMENT_TAG_ID(217i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_TRACK: ELEMENT_TAG_ID = ELEMENT_TAG_ID(218i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_ISINDEX: ELEMENT_TAG_ID = ELEMENT_TAG_ID(219i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_COMMAND: ELEMENT_TAG_ID = ELEMENT_TAG_ID(220i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_DETAILS: ELEMENT_TAG_ID = ELEMENT_TAG_ID(221i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_SUMMARY: ELEMENT_TAG_ID = ELEMENT_TAG_ID(222i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_X_MS_WEBVIEW: ELEMENT_TAG_ID = ELEMENT_TAG_ID(223i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_COUNT: ELEMENT_TAG_ID = ELEMENT_TAG_ID(224i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TAGID_LAST_PREDEFINED: ELEMENT_TAG_ID = ELEMENT_TAG_ID(10000i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ELEMENT_TAG_ID_Max: ELEMENT_TAG_ID = ELEMENT_TAG_ID(2147483647i32); -impl ::core::marker::Copy for ELEMENT_TAG_ID {} -impl ::core::clone::Clone for ELEMENT_TAG_ID { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for ELEMENT_TAG_ID { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for ELEMENT_TAG_ID { - type Abi = Self; -} -impl ::core::fmt::Debug for ELEMENT_TAG_ID { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ELEMENT_TAG_ID").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const E_SURFACE_DISCARDED: i32 = -2147434493i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const E_SURFACE_NODC: i32 = -2147434492i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const E_SURFACE_NOSURFACE: i32 = -2147434496i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const E_SURFACE_NOTMYDC: i32 = -2147434491i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const E_SURFACE_NOTMYPOINTER: i32 = -2147434494i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const E_SURFACE_UNKNOWN_FORMAT: i32 = -2147434495i32; -pub const EventException: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051073b_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct ExtensionValidationContexts(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ExtensionValidationContextNone: ExtensionValidationContexts = ExtensionValidationContexts(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ExtensionValidationContextDynamic: ExtensionValidationContexts = ExtensionValidationContexts(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ExtensionValidationContextParsed: ExtensionValidationContexts = ExtensionValidationContexts(2i32); -impl ::core::marker::Copy for ExtensionValidationContexts {} -impl ::core::clone::Clone for ExtensionValidationContexts { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for ExtensionValidationContexts { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for ExtensionValidationContexts { - type Abi = Self; -} -impl ::core::fmt::Debug for ExtensionValidationContexts { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ExtensionValidationContexts").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct ExtensionValidationResults(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ExtensionValidationResultNone: ExtensionValidationResults = ExtensionValidationResults(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ExtensionValidationResultDoNotInstantiate: ExtensionValidationResults = ExtensionValidationResults(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ExtensionValidationResultArrestPageLoad: ExtensionValidationResults = ExtensionValidationResults(2i32); -impl ::core::marker::Copy for ExtensionValidationResults {} -impl ::core::clone::Clone for ExtensionValidationResults { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for ExtensionValidationResults { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for ExtensionValidationResults { - type Abi = Self; -} -impl ::core::fmt::Debug for ExtensionValidationResults { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ExtensionValidationResults").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct FINDFRAME_FLAGS(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDFRAME_NONE: FINDFRAME_FLAGS = FINDFRAME_FLAGS(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDFRAME_JUSTTESTEXISTENCE: FINDFRAME_FLAGS = FINDFRAME_FLAGS(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDFRAME_INTERNAL: FINDFRAME_FLAGS = FINDFRAME_FLAGS(-2147483648i32); -impl ::core::marker::Copy for FINDFRAME_FLAGS {} -impl ::core::clone::Clone for FINDFRAME_FLAGS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for FINDFRAME_FLAGS { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for FINDFRAME_FLAGS { - type Abi = Self; -} -impl ::core::fmt::Debug for FINDFRAME_FLAGS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FINDFRAME_FLAGS").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct FINDTEXT_FLAGS(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_BACKWARDS: FINDTEXT_FLAGS = FINDTEXT_FLAGS(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_WHOLEWORD: FINDTEXT_FLAGS = FINDTEXT_FLAGS(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_MATCHCASE: FINDTEXT_FLAGS = FINDTEXT_FLAGS(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_RAW: FINDTEXT_FLAGS = FINDTEXT_FLAGS(131072i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_MATCHREPEATEDWHITESPACE: FINDTEXT_FLAGS = FINDTEXT_FLAGS(262144i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_MATCHDIAC: FINDTEXT_FLAGS = FINDTEXT_FLAGS(536870912i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_MATCHKASHIDA: FINDTEXT_FLAGS = FINDTEXT_FLAGS(1073741824i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_MATCHALEFHAMZA: FINDTEXT_FLAGS = FINDTEXT_FLAGS(-2147483648i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FINDTEXT_FLAGS_Max: FINDTEXT_FLAGS = FINDTEXT_FLAGS(2147483647i32); -impl ::core::marker::Copy for FINDTEXT_FLAGS {} -impl ::core::clone::Clone for FINDTEXT_FLAGS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for FINDTEXT_FLAGS { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for FINDTEXT_FLAGS { - type Abi = Self; -} -impl ::core::fmt::Debug for FINDTEXT_FLAGS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FINDTEXT_FLAGS").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct FRAMEOPTIONS_FLAGS(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FRAMEOPTIONS_SCROLL_YES: FRAMEOPTIONS_FLAGS = FRAMEOPTIONS_FLAGS(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FRAMEOPTIONS_SCROLL_NO: FRAMEOPTIONS_FLAGS = FRAMEOPTIONS_FLAGS(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FRAMEOPTIONS_SCROLL_AUTO: FRAMEOPTIONS_FLAGS = FRAMEOPTIONS_FLAGS(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FRAMEOPTIONS_NORESIZE: FRAMEOPTIONS_FLAGS = FRAMEOPTIONS_FLAGS(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FRAMEOPTIONS_NO3DBORDER: FRAMEOPTIONS_FLAGS = FRAMEOPTIONS_FLAGS(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FRAMEOPTIONS_DESKTOP: FRAMEOPTIONS_FLAGS = FRAMEOPTIONS_FLAGS(32i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const FRAMEOPTIONS_BROWSERBAND: FRAMEOPTIONS_FLAGS = FRAMEOPTIONS_FLAGS(64i32); -impl ::core::marker::Copy for FRAMEOPTIONS_FLAGS {} -impl ::core::clone::Clone for FRAMEOPTIONS_FLAGS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for FRAMEOPTIONS_FLAGS { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for FRAMEOPTIONS_FLAGS { - type Abi = Self; -} -impl ::core::fmt::Debug for FRAMEOPTIONS_FLAGS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FRAMEOPTIONS_FLAGS").field(&self.0).finish() - } -} -pub const FontNames: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f83a_98b5_11cf_bb82_00aa00bdce0b); -pub const FramesCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f7f6_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[inline] -pub unsafe fn GetMaxMIMEIDBytes(pnmaxbytes: *mut u32) -> ::windows::core::Result<()> { - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn GetMaxMIMEIDBytes(pnmaxbytes: *mut u32) -> ::windows::core::HRESULT; - } - GetMaxMIMEIDBytes(::core::mem::transmute(pnmaxbytes)).ok() -} -pub const HTCAttachBehavior: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5f5_98b5_11cf_bb82_00aa00bdce0b); -pub const HTCDefaultDispatch: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4fc_98b5_11cf_bb82_00aa00bdce0b); -pub const HTCDescBehavior: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5dd_98b5_11cf_bb82_00aa00bdce0b); -pub const HTCEventBehavior: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4fe_98b5_11cf_bb82_00aa00bdce0b); -pub const HTCMethodBehavior: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f630_98b5_11cf_bb82_00aa00bdce0b); -pub const HTCPropertyBehavior: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5de_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLAnchorElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f248_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLAnchorEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLAnchorEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLAnchorEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLAnchorEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLAnchorEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLAnchorEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLAnchorEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLAnchorEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLAnchorEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLAnchorEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLAnchorEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLAnchorEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLAnchorEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLAnchorEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLAnchorEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLAnchorEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLAnchorEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLAnchorEvents { - type Vtable = HTMLAnchorEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f29d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLAnchorEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLAnchorEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLAnchorEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLAnchorEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLAnchorEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLAnchorEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLAnchorEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLAnchorEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLAnchorEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLAnchorEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLAnchorEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLAnchorEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLAnchorEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLAnchorEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLAnchorEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLAnchorEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLAnchorEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLAnchorEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLAnchorEvents2 { - type Vtable = HTMLAnchorEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f610_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLAnchorEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLAppBehavior: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5cb_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HTMLAppFlag(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLAppFlagNo: HTMLAppFlag = HTMLAppFlag(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLAppFlagOff: HTMLAppFlag = HTMLAppFlag(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLAppFlag0: HTMLAppFlag = HTMLAppFlag(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLAppFlagYes: HTMLAppFlag = HTMLAppFlag(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLAppFlagOn: HTMLAppFlag = HTMLAppFlag(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLAppFlag1: HTMLAppFlag = HTMLAppFlag(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLAppFlag_Max: HTMLAppFlag = HTMLAppFlag(2147483647i32); -impl ::core::marker::Copy for HTMLAppFlag {} -impl ::core::clone::Clone for HTMLAppFlag { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HTMLAppFlag { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HTMLAppFlag { - type Abi = Self; -} -impl ::core::fmt::Debug for HTMLAppFlag { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLAppFlag").field(&self.0).finish() - } -} -pub const HTMLAreaElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f283_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLAreaEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLAreaEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLAreaEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLAreaEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLAreaEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLAreaEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLAreaEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLAreaEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLAreaEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLAreaEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLAreaEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLAreaEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLAreaEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLAreaEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLAreaEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLAreaEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLAreaEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLAreaEvents { - type Vtable = HTMLAreaEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f366_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLAreaEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLAreaEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLAreaEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLAreaEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLAreaEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLAreaEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLAreaEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLAreaEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLAreaEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLAreaEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLAreaEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLAreaEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLAreaEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLAreaEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLAreaEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLAreaEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLAreaEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLAreaEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLAreaEvents2 { - type Vtable = HTMLAreaEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f611_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLAreaEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLAreasCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4ca_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLAttributeCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4cc_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLAudioElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051070e_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLAudioElementFactory: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107ec_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLBGsound: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f370_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLBRElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f280_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLBaseElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f276_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLBaseFontElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f282_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLBlockElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f281_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLBody: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f24a_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HTMLBorder(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderNone: HTMLBorder = HTMLBorder(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderThick: HTMLBorder = HTMLBorder(262144i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderDialog: HTMLBorder = HTMLBorder(4194304i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderThin: HTMLBorder = HTMLBorder(8388608i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorder_Max: HTMLBorder = HTMLBorder(2147483647i32); -impl ::core::marker::Copy for HTMLBorder {} -impl ::core::clone::Clone for HTMLBorder { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HTMLBorder { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HTMLBorder { - type Abi = Self; -} -impl ::core::fmt::Debug for HTMLBorder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLBorder").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HTMLBorderStyle(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderStyleNormal: HTMLBorderStyle = HTMLBorderStyle(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderStyleRaised: HTMLBorderStyle = HTMLBorderStyle(256i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderStyleSunken: HTMLBorderStyle = HTMLBorderStyle(512i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderStylecombined: HTMLBorderStyle = HTMLBorderStyle(768i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderStyleStatic: HTMLBorderStyle = HTMLBorderStyle(131072i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLBorderStyle_Max: HTMLBorderStyle = HTMLBorderStyle(2147483647i32); -impl ::core::marker::Copy for HTMLBorderStyle {} -impl ::core::clone::Clone for HTMLBorderStyle { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HTMLBorderStyle { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HTMLBorderStyle { - type Abi = Self; -} -impl ::core::fmt::Debug for HTMLBorderStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLBorderStyle").field(&self.0).finish() - } -} -pub const HTMLButtonElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2c6_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLButtonElementEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLButtonElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLButtonElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLButtonElementEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLButtonElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLButtonElementEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLButtonElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLButtonElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLButtonElementEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLButtonElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLButtonElementEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLButtonElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLButtonElementEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLButtonElementEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLButtonElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLButtonElementEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLButtonElementEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLButtonElementEvents { - type Vtable = HTMLButtonElementEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2b3_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLButtonElementEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLButtonElementEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLButtonElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLButtonElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLButtonElementEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLButtonElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLButtonElementEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLButtonElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLButtonElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLButtonElementEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLButtonElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLButtonElementEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLButtonElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLButtonElementEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLButtonElementEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLButtonElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLButtonElementEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLButtonElementEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLButtonElementEvents2 { - type Vtable = HTMLButtonElementEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f617_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLButtonElementEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLCSSImportRule: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106f0_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLCSSMediaList: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510732_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLCSSMediaRule: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106f1_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLCSSNamespaceRule: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106f2_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLCSSRule: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106ef_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLCSSStyleDeclaration: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510741_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLCanvasElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106e5_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HTMLCaptionFlag(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLCaptionFlagNo: HTMLCaptionFlag = HTMLCaptionFlag(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLCaptionFlagYes: HTMLCaptionFlag = HTMLCaptionFlag(12582912i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLCaptionFlag_Max: HTMLCaptionFlag = HTMLCaptionFlag(2147483647i32); -impl ::core::marker::Copy for HTMLCaptionFlag {} -impl ::core::clone::Clone for HTMLCaptionFlag { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HTMLCaptionFlag { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HTMLCaptionFlag { - type Abi = Self; -} -impl ::core::fmt::Debug for HTMLCaptionFlag { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLCaptionFlag").field(&self.0).finish() - } -} -pub const HTMLCommentElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f317_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLControlElementEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLControlElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLControlElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLControlElementEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLControlElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLControlElementEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLControlElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLControlElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLControlElementEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLControlElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLControlElementEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLControlElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLControlElementEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLControlElementEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLControlElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLControlElementEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLControlElementEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLControlElementEvents { - type Vtable = HTMLControlElementEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4ea_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLControlElementEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLControlElementEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLControlElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLControlElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLControlElementEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLControlElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLControlElementEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLControlElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLControlElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLControlElementEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLControlElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLControlElementEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLControlElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLControlElementEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLControlElementEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLControlElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLControlElementEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLControlElementEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLControlElementEvents2 { - type Vtable = HTMLControlElementEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f612_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLControlElementEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLCurrentStyle: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3dc_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLDDElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f27f_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDLG_ALLOW_UNKNOWN_THREAD: u32 = 512u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDLG_MODAL: u32 = 32u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDLG_MODELESS: u32 = 64u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDLG_NOUI: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDLG_PRINT_TEMPLATE: u32 = 128u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDLG_VERIFY: u32 = 256u32; -pub const HTMLDListElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f27d_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLDOMAttribute: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4b2_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLDOMImplementation: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f80e_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLDOMRange: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106c3_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLDOMTextNode: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4ba_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLDOMXmlSerializerFactory: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510780_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLDTElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f27c_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLDefaults: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6c8_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLDialog: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f28a_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLDivElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f27e_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLDivPosition: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f249_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HTMLDlgBorder(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgBorderThin: HTMLDlgBorder = HTMLDlgBorder(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgBorderThick: HTMLDlgBorder = HTMLDlgBorder(262144i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgBorder_Max: HTMLDlgBorder = HTMLDlgBorder(2147483647i32); -impl ::core::marker::Copy for HTMLDlgBorder {} -impl ::core::clone::Clone for HTMLDlgBorder { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HTMLDlgBorder { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HTMLDlgBorder { - type Abi = Self; -} -impl ::core::fmt::Debug for HTMLDlgBorder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLDlgBorder").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HTMLDlgCenter(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenterNo: HTMLDlgCenter = HTMLDlgCenter(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenterOff: HTMLDlgCenter = HTMLDlgCenter(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenter0: HTMLDlgCenter = HTMLDlgCenter(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenterYes: HTMLDlgCenter = HTMLDlgCenter(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenterOn: HTMLDlgCenter = HTMLDlgCenter(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenter1: HTMLDlgCenter = HTMLDlgCenter(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenterParent: HTMLDlgCenter = HTMLDlgCenter(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenterDesktop: HTMLDlgCenter = HTMLDlgCenter(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgCenter_Max: HTMLDlgCenter = HTMLDlgCenter(2147483647i32); -impl ::core::marker::Copy for HTMLDlgCenter {} -impl ::core::clone::Clone for HTMLDlgCenter { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HTMLDlgCenter { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HTMLDlgCenter { - type Abi = Self; -} -impl ::core::fmt::Debug for HTMLDlgCenter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLDlgCenter").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HTMLDlgEdge(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgEdgeSunken: HTMLDlgEdge = HTMLDlgEdge(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgEdgeRaised: HTMLDlgEdge = HTMLDlgEdge(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgEdge_Max: HTMLDlgEdge = HTMLDlgEdge(2147483647i32); -impl ::core::marker::Copy for HTMLDlgEdge {} -impl ::core::clone::Clone for HTMLDlgEdge { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HTMLDlgEdge { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HTMLDlgEdge { - type Abi = Self; -} -impl ::core::fmt::Debug for HTMLDlgEdge { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLDlgEdge").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HTMLDlgFlag(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgFlagNo: HTMLDlgFlag = HTMLDlgFlag(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgFlagOff: HTMLDlgFlag = HTMLDlgFlag(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgFlag0: HTMLDlgFlag = HTMLDlgFlag(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgFlagYes: HTMLDlgFlag = HTMLDlgFlag(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgFlagOn: HTMLDlgFlag = HTMLDlgFlag(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgFlag1: HTMLDlgFlag = HTMLDlgFlag(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgFlagNotSet: HTMLDlgFlag = HTMLDlgFlag(-1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLDlgFlag_Max: HTMLDlgFlag = HTMLDlgFlag(2147483647i32); -impl ::core::marker::Copy for HTMLDlgFlag {} -impl ::core::clone::Clone for HTMLDlgFlag { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HTMLDlgFlag { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HTMLDlgFlag { - type Abi = Self; -} -impl ::core::fmt::Debug for HTMLDlgFlag { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLDlgFlag").field(&self.0).finish() - } -} -pub const HTMLDocument: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x25336920_03f9_11cf_8fd0_00aa00686f13); -pub const HTMLDocumentCompatibleInfo: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051041b_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLDocumentCompatibleInfoCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510419_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLDocumentEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLDocumentEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLDocumentEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLDocumentEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLDocumentEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLDocumentEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLDocumentEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLDocumentEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLDocumentEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLDocumentEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLDocumentEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLDocumentEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLDocumentEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLDocumentEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLDocumentEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLDocumentEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLDocumentEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLDocumentEvents { - type Vtable = HTMLDocumentEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f260_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLDocumentEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLDocumentEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLDocumentEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLDocumentEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLDocumentEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLDocumentEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLDocumentEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLDocumentEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLDocumentEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLDocumentEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLDocumentEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLDocumentEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLDocumentEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLDocumentEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLDocumentEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLDocumentEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLDocumentEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLDocumentEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLDocumentEvents2 { - type Vtable = HTMLDocumentEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f613_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLDocumentEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLDocumentEvents3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLDocumentEvents3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLDocumentEvents3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLDocumentEvents3> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLDocumentEvents3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLDocumentEvents3> for ::windows::core::IUnknown { - fn from(value: &HTMLDocumentEvents3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLDocumentEvents3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLDocumentEvents3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLDocumentEvents3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLDocumentEvents3> for super::super::System::Com::IDispatch { - fn from(value: &HTMLDocumentEvents3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLDocumentEvents3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLDocumentEvents3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLDocumentEvents3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLDocumentEvents3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLDocumentEvents3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLDocumentEvents3 { - type Vtable = HTMLDocumentEvents3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5a0_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLDocumentEvents3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLDocumentEvents4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLDocumentEvents4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLDocumentEvents4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLDocumentEvents4> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLDocumentEvents4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLDocumentEvents4> for ::windows::core::IUnknown { - fn from(value: &HTMLDocumentEvents4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLDocumentEvents4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLDocumentEvents4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLDocumentEvents4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLDocumentEvents4> for super::super::System::Com::IDispatch { - fn from(value: &HTMLDocumentEvents4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLDocumentEvents4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLDocumentEvents4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLDocumentEvents4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLDocumentEvents4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLDocumentEvents4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLDocumentEvents4 { - type Vtable = HTMLDocumentEvents4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510737_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLDocumentEvents4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLElementCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4cb_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLElementEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLElementEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLElementEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLElementEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLElementEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLElementEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLElementEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLElementEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLElementEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLElementEvents { - type Vtable = HTMLElementEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f33c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLElementEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLElementEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLElementEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLElementEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLElementEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLElementEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLElementEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLElementEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLElementEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLElementEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLElementEvents2 { - type Vtable = HTMLElementEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f60f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLElementEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLElementEvents3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLElementEvents3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLElementEvents3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLElementEvents3> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLElementEvents3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLElementEvents3> for ::windows::core::IUnknown { - fn from(value: &HTMLElementEvents3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLElementEvents3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLElementEvents3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLElementEvents3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLElementEvents3> for super::super::System::Com::IDispatch { - fn from(value: &HTMLElementEvents3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLElementEvents3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLElementEvents3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLElementEvents3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLElementEvents3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLElementEvents3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLElementEvents3 { - type Vtable = HTMLElementEvents3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f59f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLElementEvents3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLElementEvents4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLElementEvents4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLElementEvents4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLElementEvents4> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLElementEvents4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLElementEvents4> for ::windows::core::IUnknown { - fn from(value: &HTMLElementEvents4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLElementEvents4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLElementEvents4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLElementEvents4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLElementEvents4> for super::super::System::Com::IDispatch { - fn from(value: &HTMLElementEvents4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLElementEvents4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLElementEvents4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLElementEvents4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLElementEvents4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLElementEvents4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLElementEvents4 { - type Vtable = HTMLElementEvents4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051075e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLElementEvents4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLEmbed: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f25d_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLFieldSetElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3e8_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLFontElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f27b_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLFormElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f251_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLFormElementEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLFormElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLFormElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLFormElementEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLFormElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLFormElementEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLFormElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLFormElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLFormElementEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLFormElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLFormElementEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLFormElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLFormElementEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLFormElementEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLFormElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLFormElementEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLFormElementEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLFormElementEvents { - type Vtable = HTMLFormElementEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f364_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLFormElementEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLFormElementEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLFormElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLFormElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLFormElementEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLFormElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLFormElementEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLFormElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLFormElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLFormElementEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLFormElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLFormElementEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLFormElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLFormElementEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLFormElementEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLFormElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLFormElementEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLFormElementEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLFormElementEvents2 { - type Vtable = HTMLFormElementEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f614_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLFormElementEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLFrameBase: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f312_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLFrameElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f314_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLFrameSetSite: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f31a_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLFrameSiteEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLFrameSiteEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLFrameSiteEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLFrameSiteEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLFrameSiteEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLFrameSiteEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLFrameSiteEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLFrameSiteEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLFrameSiteEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLFrameSiteEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLFrameSiteEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLFrameSiteEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLFrameSiteEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLFrameSiteEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLFrameSiteEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLFrameSiteEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLFrameSiteEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLFrameSiteEvents { - type Vtable = HTMLFrameSiteEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f800_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLFrameSiteEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLFrameSiteEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLFrameSiteEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLFrameSiteEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLFrameSiteEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLFrameSiteEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLFrameSiteEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLFrameSiteEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLFrameSiteEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLFrameSiteEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLFrameSiteEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLFrameSiteEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLFrameSiteEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLFrameSiteEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLFrameSiteEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLFrameSiteEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLFrameSiteEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLFrameSiteEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLFrameSiteEvents2 { - type Vtable = HTMLFrameSiteEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f7ff_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLFrameSiteEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLGenericElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4b8_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLHRElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f252_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLHeadElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f493_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLHeaderElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f27a_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLHistory: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xfeceaaa3_8405_11cf_8ba1_00aa00476da6); -pub const HTMLHtmlElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f491_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLIFrame: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f316_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLImageElementFactory: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f38f_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLImg: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f241_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLImgEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLImgEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLImgEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLImgEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLImgEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLImgEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLImgEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLImgEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLImgEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLImgEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLImgEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLImgEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLImgEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLImgEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLImgEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLImgEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLImgEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLImgEvents { - type Vtable = HTMLImgEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f25b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLImgEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLImgEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLImgEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLImgEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLImgEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLImgEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLImgEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLImgEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLImgEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLImgEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLImgEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLImgEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLImgEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLImgEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLImgEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLImgEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLImgEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLImgEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLImgEvents2 { - type Vtable = HTMLImgEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f616_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLImgEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLInputButtonElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2b4_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLInputElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5d8_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLInputFileElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2ae_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLInputFileElementEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLInputFileElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLInputFileElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLInputFileElementEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLInputFileElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLInputFileElementEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLInputFileElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLInputFileElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLInputFileElementEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLInputFileElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLInputFileElementEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLInputFileElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLInputFileElementEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLInputFileElementEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLInputFileElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLInputFileElementEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLInputFileElementEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLInputFileElementEvents { - type Vtable = HTMLInputFileElementEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2af_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLInputFileElementEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLInputFileElementEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLInputFileElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLInputFileElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLInputFileElementEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLInputFileElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLInputFileElementEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLInputFileElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLInputFileElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLInputFileElementEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLInputFileElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLInputFileElementEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLInputFileElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLInputFileElementEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLInputFileElementEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLInputFileElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLInputFileElementEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLInputFileElementEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLInputFileElementEvents2 { - type Vtable = HTMLInputFileElementEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f61a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLInputFileElementEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLInputImage: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2c4_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLInputImageEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLInputImageEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLInputImageEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLInputImageEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLInputImageEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLInputImageEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLInputImageEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLInputImageEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLInputImageEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLInputImageEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLInputImageEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLInputImageEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLInputImageEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLInputImageEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLInputImageEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLInputImageEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLInputImageEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLInputImageEvents { - type Vtable = HTMLInputImageEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2c3_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLInputImageEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLInputImageEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLInputImageEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLInputImageEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLInputImageEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLInputImageEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLInputImageEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLInputImageEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLInputImageEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLInputImageEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLInputImageEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLInputImageEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLInputImageEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLInputImageEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLInputImageEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLInputImageEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLInputImageEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLInputImageEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLInputImageEvents2 { - type Vtable = HTMLInputImageEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f61b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLInputImageEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLInputTextElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2ab_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLInputTextElementEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLInputTextElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLInputTextElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLInputTextElementEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLInputTextElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLInputTextElementEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLInputTextElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLInputTextElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLInputTextElementEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLInputTextElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLInputTextElementEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLInputTextElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLInputTextElementEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLInputTextElementEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLInputTextElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLInputTextElementEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLInputTextElementEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLInputTextElementEvents { - type Vtable = HTMLInputTextElementEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2a7_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLInputTextElementEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLInputTextElementEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLInputTextElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLInputTextElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLInputTextElementEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLInputTextElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLInputTextElementEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLInputTextElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLInputTextElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLInputTextElementEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLInputTextElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLInputTextElementEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLInputTextElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLInputTextElementEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLInputTextElementEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLInputTextElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLInputTextElementEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLInputTextElementEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLInputTextElementEvents2 { - type Vtable = HTMLInputTextElementEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f618_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLInputTextElementEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLIsIndexElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f278_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLLIElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f273_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLLabelElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f32b_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLLabelEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLLabelEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLLabelEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLLabelEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLLabelEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLLabelEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLLabelEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLLabelEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLLabelEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLLabelEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLLabelEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLLabelEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLLabelEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLLabelEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLLabelEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLLabelEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLLabelEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLLabelEvents { - type Vtable = HTMLLabelEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f329_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLLabelEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLLabelEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLLabelEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLLabelEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLLabelEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLLabelEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLLabelEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLLabelEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLLabelEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLLabelEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLLabelEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLLabelEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLLabelEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLLabelEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLLabelEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLLabelEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLLabelEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLLabelEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLLabelEvents2 { - type Vtable = HTMLLabelEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f61c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLLabelEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLLegendElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3e9_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLLinkElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f277_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLLinkElementEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLLinkElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLLinkElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLLinkElementEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLLinkElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLLinkElementEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLLinkElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLLinkElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLLinkElementEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLLinkElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLLinkElementEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLLinkElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLLinkElementEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLLinkElementEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLLinkElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLLinkElementEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLLinkElementEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLLinkElementEvents { - type Vtable = HTMLLinkElementEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3cc_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLLinkElementEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLLinkElementEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLLinkElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLLinkElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLLinkElementEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLLinkElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLLinkElementEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLLinkElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLLinkElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLLinkElementEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLLinkElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLLinkElementEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLLinkElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLLinkElementEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLLinkElementEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLLinkElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLLinkElementEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLLinkElementEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLLinkElementEvents2 { - type Vtable = HTMLLinkElementEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f61d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLLinkElementEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLListElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f272_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLLocation: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x163bb1e1_6e00_11cf_837a_48dc04c10000); -pub const HTMLMSCSSKeyframeRule: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051080e_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLMSCSSKeyframesRule: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051080f_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLMapElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f271_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLMapEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLMapEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLMapEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLMapEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLMapEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLMapEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLMapEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLMapEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLMapEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLMapEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLMapEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLMapEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLMapEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLMapEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLMapEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLMapEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLMapEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLMapEvents { - type Vtable = HTMLMapEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3ba_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLMapEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLMapEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLMapEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLMapEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLMapEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLMapEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLMapEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLMapEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLMapEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLMapEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLMapEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLMapEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLMapEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLMapEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLMapEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLMapEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLMapEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLMapEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLMapEvents2 { - type Vtable = HTMLMapEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f61e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLMapEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLMarqueeElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2b9_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLMarqueeElementEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLMarqueeElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLMarqueeElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLMarqueeElementEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLMarqueeElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLMarqueeElementEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLMarqueeElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLMarqueeElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLMarqueeElementEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLMarqueeElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLMarqueeElementEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLMarqueeElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLMarqueeElementEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLMarqueeElementEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLMarqueeElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLMarqueeElementEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLMarqueeElementEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLMarqueeElementEvents { - type Vtable = HTMLMarqueeElementEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2b8_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLMarqueeElementEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLMarqueeElementEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLMarqueeElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLMarqueeElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLMarqueeElementEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLMarqueeElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLMarqueeElementEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLMarqueeElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLMarqueeElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLMarqueeElementEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLMarqueeElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLMarqueeElementEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLMarqueeElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLMarqueeElementEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLMarqueeElementEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLMarqueeElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLMarqueeElementEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLMarqueeElementEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLMarqueeElementEvents2 { - type Vtable = HTMLMarqueeElementEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f61f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLMarqueeElementEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HTMLMaximizeFlag(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLMaximizeFlagNo: HTMLMaximizeFlag = HTMLMaximizeFlag(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLMaximizeFlagYes: HTMLMaximizeFlag = HTMLMaximizeFlag(65536i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLMaximizeFlag_Max: HTMLMaximizeFlag = HTMLMaximizeFlag(2147483647i32); -impl ::core::marker::Copy for HTMLMaximizeFlag {} -impl ::core::clone::Clone for HTMLMaximizeFlag { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HTMLMaximizeFlag { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HTMLMaximizeFlag { - type Abi = Self; -} -impl ::core::fmt::Debug for HTMLMaximizeFlag { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLMaximizeFlag").field(&self.0).finish() - } -} -pub const HTMLMediaElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051070c_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLMediaError: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051070a_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLMetaElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f275_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HTMLMinimizeFlag(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLMinimizeFlagNo: HTMLMinimizeFlag = HTMLMinimizeFlag(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLMinimizeFlagYes: HTMLMinimizeFlag = HTMLMinimizeFlag(131072i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLMinimizeFlag_Max: HTMLMinimizeFlag = HTMLMinimizeFlag(2147483647i32); -impl ::core::marker::Copy for HTMLMinimizeFlag {} -impl ::core::clone::Clone for HTMLMinimizeFlag { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HTMLMinimizeFlag { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HTMLMinimizeFlag { - type Abi = Self; -} -impl ::core::fmt::Debug for HTMLMinimizeFlag { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLMinimizeFlag").field(&self.0).finish() - } -} -pub const HTMLNamespace: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6bc_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLNamespaceCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6b9_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLNamespaceEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLNamespaceEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLNamespaceEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLNamespaceEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLNamespaceEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLNamespaceEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLNamespaceEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLNamespaceEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLNamespaceEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLNamespaceEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLNamespaceEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLNamespaceEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLNamespaceEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLNamespaceEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLNamespaceEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLNamespaceEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLNamespaceEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLNamespaceEvents { - type Vtable = HTMLNamespaceEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6bd_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLNamespaceEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLNavigator: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xfeceaaa6_8405_11cf_8ba1_00aa00476da6); -pub const HTMLNextIdElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f279_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLNoShowElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f38b_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLOListElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f270_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLObjectElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f24e_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLObjectElementEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLObjectElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLObjectElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLObjectElementEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLObjectElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLObjectElementEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLObjectElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLObjectElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLObjectElementEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLObjectElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLObjectElementEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLObjectElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLObjectElementEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLObjectElementEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLObjectElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLObjectElementEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLObjectElementEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLObjectElementEvents { - type Vtable = HTMLObjectElementEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3c4_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLObjectElementEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLObjectElementEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLObjectElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLObjectElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLObjectElementEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLObjectElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLObjectElementEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLObjectElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLObjectElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLObjectElementEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLObjectElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLObjectElementEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLObjectElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLObjectElementEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLObjectElementEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLObjectElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLObjectElementEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLObjectElementEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLObjectElementEvents2 { - type Vtable = HTMLObjectElementEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f620_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLObjectElementEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLOptionButtonElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2be_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLOptionButtonElementEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLOptionButtonElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLOptionButtonElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLOptionButtonElementEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLOptionButtonElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLOptionButtonElementEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLOptionButtonElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLOptionButtonElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLOptionButtonElementEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLOptionButtonElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLOptionButtonElementEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLOptionButtonElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLOptionButtonElementEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLOptionButtonElementEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLOptionButtonElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLOptionButtonElementEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLOptionButtonElementEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLOptionButtonElementEvents { - type Vtable = HTMLOptionButtonElementEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2bd_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLOptionButtonElementEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLOptionButtonElementEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLOptionButtonElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLOptionButtonElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLOptionButtonElementEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLOptionButtonElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLOptionButtonElementEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLOptionButtonElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLOptionButtonElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLOptionButtonElementEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLOptionButtonElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLOptionButtonElementEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLOptionButtonElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLOptionButtonElementEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLOptionButtonElementEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLOptionButtonElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLOptionButtonElementEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLOptionButtonElementEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLOptionButtonElementEvents2 { - type Vtable = HTMLOptionButtonElementEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f619_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLOptionButtonElementEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLOptionElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f24d_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLOptionElementFactory: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f38d_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLParaElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f26f_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLParamElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f83e_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLPerformance: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051074f_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLPerformanceNavigation: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510751_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLPerformanceTiming: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510753_98b5_11cf_bb82_00aa00bdce0b); -#[repr(C)] -pub struct HTMLPersistEvents(pub u8); -pub const HTMLPhraseElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f26e_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLPopup: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f667_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLProgressElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2d5_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLRenderStyle: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6aa_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLRichtextElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2df_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLRuleStyle: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3d0_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLScreen: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f35d_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLScriptElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f28c_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLScriptEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLScriptEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLScriptEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLScriptEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLScriptEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLScriptEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLScriptEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLScriptEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLScriptEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLScriptEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLScriptEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLScriptEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLScriptEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLScriptEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLScriptEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLScriptEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLScriptEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLScriptEvents { - type Vtable = HTMLScriptEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3e2_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLScriptEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLScriptEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLScriptEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLScriptEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLScriptEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLScriptEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLScriptEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLScriptEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLScriptEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLScriptEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLScriptEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLScriptEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLScriptEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLScriptEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLScriptEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLScriptEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLScriptEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLScriptEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLScriptEvents2 { - type Vtable = HTMLScriptEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f621_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLScriptEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLSelectElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f245_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLSelectElementEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLSelectElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLSelectElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLSelectElementEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLSelectElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLSelectElementEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLSelectElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLSelectElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLSelectElementEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLSelectElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLSelectElementEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLSelectElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLSelectElementEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLSelectElementEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLSelectElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLSelectElementEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLSelectElementEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLSelectElementEvents { - type Vtable = HTMLSelectElementEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f302_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLSelectElementEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLSelectElementEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLSelectElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLSelectElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLSelectElementEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLSelectElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLSelectElementEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLSelectElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLSelectElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLSelectElementEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLSelectElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLSelectElementEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLSelectElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLSelectElementEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLSelectElementEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLSelectElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLSelectElementEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLSelectElementEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLSelectElementEvents2 { - type Vtable = HTMLSelectElementEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f622_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLSelectElementEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLSemanticElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107b0_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLSourceElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051070d_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLSpanElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3f5_98b4_11cf_bb82_00aa00bdce0b); -pub const HTMLSpanFlow: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3e6_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLStorage: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510475_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLStyle: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f285_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLStyleElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f37d_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLStyleElementEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLStyleElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLStyleElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLStyleElementEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLStyleElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLStyleElementEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLStyleElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLStyleElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLStyleElementEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLStyleElementEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLStyleElementEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLStyleElementEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLStyleElementEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLStyleElementEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLStyleElementEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLStyleElementEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLStyleElementEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLStyleElementEvents { - type Vtable = HTMLStyleElementEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3cb_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLStyleElementEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLStyleElementEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLStyleElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLStyleElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLStyleElementEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLStyleElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLStyleElementEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLStyleElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLStyleElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLStyleElementEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLStyleElementEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLStyleElementEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLStyleElementEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLStyleElementEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLStyleElementEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLStyleElementEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLStyleElementEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLStyleElementEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLStyleElementEvents2 { - type Vtable = HTMLStyleElementEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f615_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLStyleElementEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLStyleFontFace: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3d4_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLStyleMedia: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051074c_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLStyleSheet: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2e4_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLStyleSheetPage: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f7ef_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLStyleSheetPagesCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f7f1_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLStyleSheetRule: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3ce_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLStyleSheetRulesAppliedCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xeb36f845_2395_4719_b85c_d0d80e184bd9); -pub const HTMLStyleSheetRulesCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3cd_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLStyleSheetsCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f37f_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HTMLSysMenuFlag(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLSysMenuFlagNo: HTMLSysMenuFlag = HTMLSysMenuFlag(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLSysMenuFlagYes: HTMLSysMenuFlag = HTMLSysMenuFlag(524288i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLSysMenuFlag_Max: HTMLSysMenuFlag = HTMLSysMenuFlag(2147483647i32); -impl ::core::marker::Copy for HTMLSysMenuFlag {} -impl ::core::clone::Clone for HTMLSysMenuFlag { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HTMLSysMenuFlag { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HTMLSysMenuFlag { - type Abi = Self; -} -impl ::core::fmt::Debug for HTMLSysMenuFlag { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLSysMenuFlag").field(&self.0).finish() - } -} -pub const HTMLTable: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f26b_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLTableCaption: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2ec_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLTableCell: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f246_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLTableCol: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f26c_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLTableEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLTableEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLTableEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLTableEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLTableEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLTableEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLTableEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLTableEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLTableEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLTableEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLTableEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLTableEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLTableEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLTableEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLTableEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLTableEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLTableEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLTableEvents { - type Vtable = HTMLTableEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f407_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLTableEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLTableEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLTableEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLTableEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLTableEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLTableEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLTableEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLTableEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLTableEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLTableEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLTableEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLTableEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLTableEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLTableEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLTableEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLTableEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLTableEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLTableEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLTableEvents2 { - type Vtable = HTMLTableEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f623_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLTableEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLTableRow: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f26d_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLTableSection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2e9_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLTextAreaElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2ac_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLTextContainerEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLTextContainerEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLTextContainerEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLTextContainerEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLTextContainerEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLTextContainerEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLTextContainerEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLTextContainerEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLTextContainerEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLTextContainerEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLTextContainerEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLTextContainerEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLTextContainerEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLTextContainerEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLTextContainerEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLTextContainerEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLTextContainerEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLTextContainerEvents { - type Vtable = HTMLTextContainerEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1ff6aa72_5842_11cf_a707_00aa00c0098d); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLTextContainerEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLTextContainerEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLTextContainerEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLTextContainerEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLTextContainerEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLTextContainerEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLTextContainerEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLTextContainerEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLTextContainerEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLTextContainerEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLTextContainerEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLTextContainerEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLTextContainerEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLTextContainerEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLTextContainerEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLTextContainerEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLTextContainerEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLTextContainerEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLTextContainerEvents2 { - type Vtable = HTMLTextContainerEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f624_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLTextContainerEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLTextElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f26a_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLTimeRanges: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051070b_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLTitleElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f284_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLUListElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f269_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLUnknownElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f268_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLUrnCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f580_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLVideoElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051070f_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLW3CComputedStyle: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106c8_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLWindow2: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd48a6ec6_6a4a_11cf_94a7_444553540000); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLWindowEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLWindowEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLWindowEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLWindowEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLWindowEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLWindowEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLWindowEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLWindowEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLWindowEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLWindowEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLWindowEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLWindowEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLWindowEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLWindowEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLWindowEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLWindowEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLWindowEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLWindowEvents { - type Vtable = HTMLWindowEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x96a0a4e0_d062_11cf_94b6_00aa0060275c); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLWindowEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLWindowEvents2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLWindowEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLWindowEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLWindowEvents2> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLWindowEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLWindowEvents2> for ::windows::core::IUnknown { - fn from(value: &HTMLWindowEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLWindowEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLWindowEvents2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLWindowEvents2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLWindowEvents2> for super::super::System::Com::IDispatch { - fn from(value: &HTMLWindowEvents2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLWindowEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLWindowEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLWindowEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLWindowEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLWindowEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLWindowEvents2 { - type Vtable = HTMLWindowEvents2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f625_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLWindowEvents2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLWindowEvents3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLWindowEvents3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLWindowEvents3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLWindowEvents3> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLWindowEvents3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLWindowEvents3> for ::windows::core::IUnknown { - fn from(value: &HTMLWindowEvents3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLWindowEvents3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLWindowEvents3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLWindowEvents3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLWindowEvents3> for super::super::System::Com::IDispatch { - fn from(value: &HTMLWindowEvents3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLWindowEvents3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLWindowEvents3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLWindowEvents3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLWindowEvents3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLWindowEvents3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLWindowEvents3 { - type Vtable = HTMLWindowEvents3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5a1_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLWindowEvents3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLWindowProxy: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f391_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HTMLWindowState(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLWindowStateNormal: HTMLWindowState = HTMLWindowState(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLWindowStateMaximize: HTMLWindowState = HTMLWindowState(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLWindowStateMinimize: HTMLWindowState = HTMLWindowState(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLWindowState_Max: HTMLWindowState = HTMLWindowState(2147483647i32); -impl ::core::marker::Copy for HTMLWindowState {} -impl ::core::clone::Clone for HTMLWindowState { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HTMLWindowState { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HTMLWindowState { - type Abi = Self; -} -impl ::core::fmt::Debug for HTMLWindowState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLWindowState").field(&self.0).finish() - } -} -pub const HTMLWndOptionElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2d0_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLWndSelectElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2cf_98b5_11cf_bb82_00aa00bdce0b); -pub const HTMLXMLHttpRequest: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051040b_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct HTMLXMLHttpRequestEvents(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl HTMLXMLHttpRequestEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: HTMLXMLHttpRequestEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLXMLHttpRequestEvents> for &'a ::windows::core::IUnknown { - fn from(value: &'a HTMLXMLHttpRequestEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLXMLHttpRequestEvents> for ::windows::core::IUnknown { - fn from(value: &HTMLXMLHttpRequestEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: HTMLXMLHttpRequestEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a HTMLXMLHttpRequestEvents> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a HTMLXMLHttpRequestEvents) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&HTMLXMLHttpRequestEvents> for super::super::System::Com::IDispatch { - fn from(value: &HTMLXMLHttpRequestEvents) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for HTMLXMLHttpRequestEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for HTMLXMLHttpRequestEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for HTMLXMLHttpRequestEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for HTMLXMLHttpRequestEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTMLXMLHttpRequestEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for HTMLXMLHttpRequestEvents { - type Vtable = HTMLXMLHttpRequestEvents_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510498_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct HTMLXMLHttpRequestEvents_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -pub const HTMLXMLHttpRequestFactory: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051040d_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HTML_PAINTER(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_OPAQUE: HTML_PAINTER = HTML_PAINTER(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_TRANSPARENT: HTML_PAINTER = HTML_PAINTER(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_ALPHA: HTML_PAINTER = HTML_PAINTER(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_COMPLEX: HTML_PAINTER = HTML_PAINTER(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_OVERLAY: HTML_PAINTER = HTML_PAINTER(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_HITTEST: HTML_PAINTER = HTML_PAINTER(32i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_SURFACE: HTML_PAINTER = HTML_PAINTER(256i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_3DSURFACE: HTML_PAINTER = HTML_PAINTER(512i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_NOBAND: HTML_PAINTER = HTML_PAINTER(1024i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_NODC: HTML_PAINTER = HTML_PAINTER(4096i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_NOPHYSICALCLIP: HTML_PAINTER = HTML_PAINTER(8192i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_NOSAVEDC: HTML_PAINTER = HTML_PAINTER(16384i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_SUPPORTS_XFORM: HTML_PAINTER = HTML_PAINTER(32768i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_EXPAND: HTML_PAINTER = HTML_PAINTER(65536i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINTER_NOSCROLLBITS: HTML_PAINTER = HTML_PAINTER(131072i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTML_PAINTER_Max: HTML_PAINTER = HTML_PAINTER(2147483647i32); -impl ::core::marker::Copy for HTML_PAINTER {} -impl ::core::clone::Clone for HTML_PAINTER { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HTML_PAINTER { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HTML_PAINTER { - type Abi = Self; -} -impl ::core::fmt::Debug for HTML_PAINTER { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTML_PAINTER").field(&self.0).finish() - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub struct HTML_PAINTER_INFO { - pub lFlags: i32, - pub lZOrder: i32, - pub iidDrawObject: ::windows::core::GUID, - pub rcExpand: super::super::Foundation::RECT, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for HTML_PAINTER_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for HTML_PAINTER_INFO { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::fmt::Debug for HTML_PAINTER_INFO { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("HTML_PAINTER_INFO").field("lFlags", &self.lFlags).field("lZOrder", &self.lZOrder).field("iidDrawObject", &self.iidDrawObject).field("rcExpand", &self.rcExpand).finish() - } -} -#[cfg(feature = "Win32_Foundation")] -unsafe impl ::windows::core::Abi for HTML_PAINTER_INFO { - type Abi = Self; -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::cmp::PartialEq for HTML_PAINTER_INFO { - fn eq(&self, other: &Self) -> bool { - unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } - } -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::cmp::Eq for HTML_PAINTER_INFO {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::default::Default for HTML_PAINTER_INFO { - fn default() -> Self { - unsafe { ::core::mem::zeroed() } - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HTML_PAINT_DRAW_FLAGS(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_DRAW_UPDATEREGION: HTML_PAINT_DRAW_FLAGS = HTML_PAINT_DRAW_FLAGS(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_DRAW_USE_XFORM: HTML_PAINT_DRAW_FLAGS = HTML_PAINT_DRAW_FLAGS(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTML_PAINT_DRAW_FLAGS_Max: HTML_PAINT_DRAW_FLAGS = HTML_PAINT_DRAW_FLAGS(2147483647i32); -impl ::core::marker::Copy for HTML_PAINT_DRAW_FLAGS {} -impl ::core::clone::Clone for HTML_PAINT_DRAW_FLAGS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HTML_PAINT_DRAW_FLAGS { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HTML_PAINT_DRAW_FLAGS { - type Abi = Self; -} -impl ::core::fmt::Debug for HTML_PAINT_DRAW_FLAGS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTML_PAINT_DRAW_FLAGS").field(&self.0).finish() - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -pub struct HTML_PAINT_DRAW_INFO { - pub rcViewport: super::super::Foundation::RECT, - pub hrgnUpdate: super::super::Graphics::Gdi::HRGN, - pub xform: HTML_PAINT_XFORM, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -impl ::core::marker::Copy for HTML_PAINT_DRAW_INFO {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -impl ::core::clone::Clone for HTML_PAINT_DRAW_INFO { - fn clone(&self) -> Self { - *self - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -impl ::core::fmt::Debug for HTML_PAINT_DRAW_INFO { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("HTML_PAINT_DRAW_INFO").field("rcViewport", &self.rcViewport).field("hrgnUpdate", &self.hrgnUpdate).field("xform", &self.xform).finish() - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -unsafe impl ::windows::core::Abi for HTML_PAINT_DRAW_INFO { - type Abi = Self; -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -impl ::core::cmp::PartialEq for HTML_PAINT_DRAW_INFO { - fn eq(&self, other: &Self) -> bool { - unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -impl ::core::cmp::Eq for HTML_PAINT_DRAW_INFO {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -impl ::core::default::Default for HTML_PAINT_DRAW_INFO { - fn default() -> Self { - unsafe { ::core::mem::zeroed() } - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HTML_PAINT_DRAW_INFO_FLAGS(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_DRAWINFO_VIEWPORT: HTML_PAINT_DRAW_INFO_FLAGS = HTML_PAINT_DRAW_INFO_FLAGS(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_DRAWINFO_UPDATEREGION: HTML_PAINT_DRAW_INFO_FLAGS = HTML_PAINT_DRAW_INFO_FLAGS(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_DRAWINFO_XFORM: HTML_PAINT_DRAW_INFO_FLAGS = HTML_PAINT_DRAW_INFO_FLAGS(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTML_PAINT_DRAW_INFO_FLAGS_Max: HTML_PAINT_DRAW_INFO_FLAGS = HTML_PAINT_DRAW_INFO_FLAGS(2147483647i32); -impl ::core::marker::Copy for HTML_PAINT_DRAW_INFO_FLAGS {} -impl ::core::clone::Clone for HTML_PAINT_DRAW_INFO_FLAGS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HTML_PAINT_DRAW_INFO_FLAGS { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HTML_PAINT_DRAW_INFO_FLAGS { - type Abi = Self; -} -impl ::core::fmt::Debug for HTML_PAINT_DRAW_INFO_FLAGS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTML_PAINT_DRAW_INFO_FLAGS").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HTML_PAINT_EVENT_FLAGS(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_EVENT_TARGET: HTML_PAINT_EVENT_FLAGS = HTML_PAINT_EVENT_FLAGS(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_EVENT_SETCURSOR: HTML_PAINT_EVENT_FLAGS = HTML_PAINT_EVENT_FLAGS(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTML_PAINT_EVENT_FLAGS_Max: HTML_PAINT_EVENT_FLAGS = HTML_PAINT_EVENT_FLAGS(2147483647i32); -impl ::core::marker::Copy for HTML_PAINT_EVENT_FLAGS {} -impl ::core::clone::Clone for HTML_PAINT_EVENT_FLAGS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HTML_PAINT_EVENT_FLAGS { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HTML_PAINT_EVENT_FLAGS { - type Abi = Self; -} -impl ::core::fmt::Debug for HTML_PAINT_EVENT_FLAGS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTML_PAINT_EVENT_FLAGS").field(&self.0).finish() - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub struct HTML_PAINT_XFORM { - pub eM11: f32, - pub eM12: f32, - pub eM21: f32, - pub eM22: f32, - pub eDx: f32, - pub eDy: f32, -} -impl ::core::marker::Copy for HTML_PAINT_XFORM {} -impl ::core::clone::Clone for HTML_PAINT_XFORM { - fn clone(&self) -> Self { - *self - } -} -impl ::core::fmt::Debug for HTML_PAINT_XFORM { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("HTML_PAINT_XFORM").field("eM11", &self.eM11).field("eM12", &self.eM12).field("eM21", &self.eM21).field("eM22", &self.eM22).field("eDx", &self.eDx).field("eDy", &self.eDy).finish() - } -} -unsafe impl ::windows::core::Abi for HTML_PAINT_XFORM { - type Abi = Self; -} -impl ::core::cmp::PartialEq for HTML_PAINT_XFORM { - fn eq(&self, other: &Self) -> bool { - unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } - } -} -impl ::core::cmp::Eq for HTML_PAINT_XFORM {} -impl ::core::default::Default for HTML_PAINT_XFORM { - fn default() -> Self { - unsafe { ::core::mem::zeroed() } - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HTML_PAINT_ZORDER(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_NONE: HTML_PAINT_ZORDER = HTML_PAINT_ZORDER(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_REPLACE_ALL: HTML_PAINT_ZORDER = HTML_PAINT_ZORDER(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_REPLACE_CONTENT: HTML_PAINT_ZORDER = HTML_PAINT_ZORDER(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_REPLACE_BACKGROUND: HTML_PAINT_ZORDER = HTML_PAINT_ZORDER(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_BELOW_CONTENT: HTML_PAINT_ZORDER = HTML_PAINT_ZORDER(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_BELOW_FLOW: HTML_PAINT_ZORDER = HTML_PAINT_ZORDER(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_ABOVE_FLOW: HTML_PAINT_ZORDER = HTML_PAINT_ZORDER(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_ABOVE_CONTENT: HTML_PAINT_ZORDER = HTML_PAINT_ZORDER(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTMLPAINT_ZORDER_WINDOW_TOP: HTML_PAINT_ZORDER = HTML_PAINT_ZORDER(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HTML_PAINT_ZORDER_Max: HTML_PAINT_ZORDER = HTML_PAINT_ZORDER(2147483647i32); -impl ::core::marker::Copy for HTML_PAINT_ZORDER {} -impl ::core::clone::Clone for HTML_PAINT_ZORDER { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HTML_PAINT_ZORDER { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HTML_PAINT_ZORDER { - type Abi = Self; -} -impl ::core::fmt::Debug for HTML_PAINT_ZORDER { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HTML_PAINT_ZORDER").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HT_OPTIONS(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HT_OPT_AllowAfterEOL: HT_OPTIONS = HT_OPTIONS(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HT_OPTIONS_Max: HT_OPTIONS = HT_OPTIONS(2147483647i32); -impl ::core::marker::Copy for HT_OPTIONS {} -impl ::core::clone::Clone for HT_OPTIONS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HT_OPTIONS { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HT_OPTIONS { - type Abi = Self; -} -impl ::core::fmt::Debug for HT_OPTIONS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HT_OPTIONS").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct HT_RESULTS(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HT_RESULTS_Glyph: HT_RESULTS = HT_RESULTS(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const HT_RESULTS_Max: HT_RESULTS = HT_RESULTS(2147483647i32); -impl ::core::marker::Copy for HT_RESULTS {} -impl ::core::clone::Clone for HT_RESULTS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for HT_RESULTS { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for HT_RESULTS { - type Abi = Self; -} -impl ::core::fmt::Debug for HT_RESULTS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HT_RESULTS").field(&self.0).finish() - } -} -pub const HomePage: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x766bf2ae_d650_11d1_9811_00c04fc31d2e); -pub const HomePageSetting: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x374cede0_873a_4c4f_bc86_bcc8cf5116a3); -#[repr(C)] -pub struct HostDialogHelper(pub u8); -pub const HtmlDlgSafeHelper: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f819_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IActiveXUIHandlerSite(::windows::core::IUnknown); -impl IActiveXUIHandlerSite { - pub unsafe fn CreateScrollableContextMenu(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CreateScrollableContextMenu)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn PickFileAndGetResult<'a, P0, P1>(&self, filepicker: P0, allowmultipleselections: P1) -> ::windows::core::Result<::windows::core::IUnknown> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - P1: ::std::convert::Into, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).PickFileAndGetResult)(::windows::core::Interface::as_raw(self), filepicker.into().abi(), allowmultipleselections.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IActiveXUIHandlerSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IActiveXUIHandlerSite> for &'a ::windows::core::IUnknown { - fn from(value: &'a IActiveXUIHandlerSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IActiveXUIHandlerSite> for ::windows::core::IUnknown { - fn from(value: &IActiveXUIHandlerSite) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IActiveXUIHandlerSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IActiveXUIHandlerSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveXUIHandlerSite {} -impl ::core::fmt::Debug for IActiveXUIHandlerSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveXUIHandlerSite").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IActiveXUIHandlerSite { - type Vtable = IActiveXUIHandlerSite_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510853_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IActiveXUIHandlerSite_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub CreateScrollableContextMenu: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, scrollablecontextmenu: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub PickFileAndGetResult: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, filepicker: *mut ::core::ffi::c_void, allowmultipleselections: super::super::Foundation::BOOL, result: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - PickFileAndGetResult: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IActiveXUIHandlerSite2(::windows::core::IUnknown); -impl IActiveXUIHandlerSite2 { - pub unsafe fn AddSuspensionExemption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).AddSuspensionExemption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn RemoveSuspensionExemption(&self, ullcookie: u64) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).RemoveSuspensionExemption)(::windows::core::Interface::as_raw(self), ullcookie).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IActiveXUIHandlerSite2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IActiveXUIHandlerSite2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IActiveXUIHandlerSite2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IActiveXUIHandlerSite2> for ::windows::core::IUnknown { - fn from(value: &IActiveXUIHandlerSite2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IActiveXUIHandlerSite2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IActiveXUIHandlerSite2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveXUIHandlerSite2 {} -impl ::core::fmt::Debug for IActiveXUIHandlerSite2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveXUIHandlerSite2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IActiveXUIHandlerSite2 { - type Vtable = IActiveXUIHandlerSite2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x7e3707b2_d087_4542_ac1f_a0d2fcd080fd); -} -#[repr(C)] -#[doc(hidden)] -pub struct IActiveXUIHandlerSite2_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub AddSuspensionExemption: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pullcookie: *mut u64) -> ::windows::core::HRESULT, - pub RemoveSuspensionExemption: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ullcookie: u64) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IActiveXUIHandlerSite3(::windows::core::IUnknown); -impl IActiveXUIHandlerSite3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn MessageBoxW<'a, P0, P1, P2>(&self, hwnd: P0, text: P1, caption: P2, r#type: u32) -> ::windows::core::Result - where - P0: ::std::convert::Into, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).MessageBoxW)(::windows::core::Interface::as_raw(self), hwnd.into(), text.into(), caption.into(), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IActiveXUIHandlerSite3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IActiveXUIHandlerSite3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IActiveXUIHandlerSite3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IActiveXUIHandlerSite3> for ::windows::core::IUnknown { - fn from(value: &IActiveXUIHandlerSite3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IActiveXUIHandlerSite3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IActiveXUIHandlerSite3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveXUIHandlerSite3 {} -impl ::core::fmt::Debug for IActiveXUIHandlerSite3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveXUIHandlerSite3").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IActiveXUIHandlerSite3 { - type Vtable = IActiveXUIHandlerSite3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x7904009a_1238_47f4_901c_871375c34608); -} -#[repr(C)] -#[doc(hidden)] -pub struct IActiveXUIHandlerSite3_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub MessageBoxW: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hwnd: super::super::Foundation::HWND, text: ::windows::core::PCWSTR, caption: ::windows::core::PCWSTR, r#type: u32, result: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - MessageBoxW: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IAnchorClick(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IAnchorClick { - pub unsafe fn ProcOnClick(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).ProcOnClick)(::windows::core::Interface::as_raw(self)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IAnchorClick) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IAnchorClick> for &'a ::windows::core::IUnknown { - fn from(value: &'a IAnchorClick) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IAnchorClick> for ::windows::core::IUnknown { - fn from(value: &IAnchorClick) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IAnchorClick) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IAnchorClick> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IAnchorClick) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IAnchorClick> for super::super::System::Com::IDispatch { - fn from(value: &IAnchorClick) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAnchorClick { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAnchorClick { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAnchorClick {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAnchorClick { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAnchorClick").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IAnchorClick { - type Vtable = IAnchorClick_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x13d5413b_33b9_11d2_95a7_00c04f8ecb02); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IAnchorClick_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub ProcOnClick: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IAudioSessionSite(::windows::core::IUnknown); -impl IAudioSessionSite { - pub unsafe fn GetAudioSessionGuid(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetAudioSessionGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) - } - pub unsafe fn OnAudioStreamCreated<'a, P0>(&self, endpointid: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).OnAudioStreamCreated)(::windows::core::Interface::as_raw(self), endpointid.into()).ok() - } - pub unsafe fn OnAudioStreamDestroyed<'a, P0>(&self, endpointid: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).OnAudioStreamDestroyed)(::windows::core::Interface::as_raw(self), endpointid.into()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IAudioSessionSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IAudioSessionSite> for &'a ::windows::core::IUnknown { - fn from(value: &'a IAudioSessionSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IAudioSessionSite> for ::windows::core::IUnknown { - fn from(value: &IAudioSessionSite) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IAudioSessionSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IAudioSessionSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioSessionSite {} -impl ::core::fmt::Debug for IAudioSessionSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioSessionSite").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IAudioSessionSite { - type Vtable = IAudioSessionSite_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd7d8b684_d02d_4517_b6b7_19e3dfe29c45); -} -#[repr(C)] -#[doc(hidden)] -pub struct IAudioSessionSite_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub GetAudioSessionGuid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, audiosessionguid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT, - pub OnAudioStreamCreated: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, endpointid: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, - pub OnAudioStreamDestroyed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, endpointid: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IBFCacheable(::windows::core::IUnknown); -impl IBFCacheable { - pub unsafe fn EnterBFCache(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).EnterBFCache)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn ExitBFCache(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).ExitBFCache)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IBFCacheable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IBFCacheable> for &'a ::windows::core::IUnknown { - fn from(value: &'a IBFCacheable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IBFCacheable> for ::windows::core::IUnknown { - fn from(value: &IBFCacheable) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IBFCacheable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IBFCacheable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBFCacheable {} -impl ::core::fmt::Debug for IBFCacheable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBFCacheable").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IBFCacheable { - type Vtable = IBFCacheable_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510861_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IBFCacheable_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub EnterBFCache: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub ExitBFCache: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IBlockFormats(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IBlockFormats { - pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IBlockFormats) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IBlockFormats> for &'a ::windows::core::IUnknown { - fn from(value: &'a IBlockFormats) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IBlockFormats> for ::windows::core::IUnknown { - fn from(value: &IBlockFormats) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IBlockFormats) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IBlockFormats> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IBlockFormats) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IBlockFormats> for super::super::System::Com::IDispatch { - fn from(value: &IBlockFormats) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IBlockFormats { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IBlockFormats { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IBlockFormats {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IBlockFormats { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBlockFormats").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IBlockFormats { - type Vtable = IBlockFormats_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f830_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IBlockFormats_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarindex: *const super::super::System::Com::VARIANT, pbstrblockformat: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ICSSFilter(::windows::core::IUnknown); -impl ICSSFilter { - pub unsafe fn SetSite<'a, P0>(&self, psink: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ICSSFilterSite>>, - { - (::windows::core::Interface::vtable(self).SetSite)(::windows::core::Interface::as_raw(self), psink.into().abi()).ok() - } - pub unsafe fn OnAmbientPropertyChange(&self, dispid: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).OnAmbientPropertyChange)(::windows::core::Interface::as_raw(self), dispid).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ICSSFilter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ICSSFilter> for &'a ::windows::core::IUnknown { - fn from(value: &'a ICSSFilter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ICSSFilter> for ::windows::core::IUnknown { - fn from(value: &ICSSFilter) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ICSSFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ICSSFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICSSFilter {} -impl ::core::fmt::Debug for ICSSFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICSSFilter").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ICSSFilter { - type Vtable = ICSSFilter_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3ec_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ICSSFilter_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub SetSite: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psink: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub OnAmbientPropertyChange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dispid: i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ICSSFilterSite(::windows::core::IUnknown); -impl ICSSFilterSite { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn GetElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn FireOnFilterChangeEvent(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).FireOnFilterChangeEvent)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ICSSFilterSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ICSSFilterSite> for &'a ::windows::core::IUnknown { - fn from(value: &'a ICSSFilterSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ICSSFilterSite> for ::windows::core::IUnknown { - fn from(value: &ICSSFilterSite) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ICSSFilterSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ICSSFilterSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICSSFilterSite {} -impl ::core::fmt::Debug for ICSSFilterSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICSSFilterSite").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ICSSFilterSite { - type Vtable = ICSSFilterSite_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3ed_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ICSSFilterSite_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_System_Com")] - pub GetElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, element: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetElement: usize, - pub FireOnFilterChangeEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ICanvasGradient(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ICanvasGradient { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn addColorStop<'a, P0>(&self, offset: f32, color: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).addColorStop)(::windows::core::Interface::as_raw(self), offset, color.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ICanvasGradient) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ICanvasGradient> for &'a ::windows::core::IUnknown { - fn from(value: &'a ICanvasGradient) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ICanvasGradient> for ::windows::core::IUnknown { - fn from(value: &ICanvasGradient) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ICanvasGradient) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ICanvasGradient> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ICanvasGradient) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ICanvasGradient> for super::super::System::Com::IDispatch { - fn from(value: &ICanvasGradient) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICanvasGradient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICanvasGradient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICanvasGradient {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICanvasGradient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICanvasGradient").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ICanvasGradient { - type Vtable = ICanvasGradient_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510714_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ICanvasGradient_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub addColorStop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: f32, color: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - addColorStop: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ICanvasImageData(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ICanvasImageData { - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ICanvasImageData) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ICanvasImageData> for &'a ::windows::core::IUnknown { - fn from(value: &'a ICanvasImageData) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ICanvasImageData> for ::windows::core::IUnknown { - fn from(value: &ICanvasImageData) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ICanvasImageData) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ICanvasImageData> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ICanvasImageData) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ICanvasImageData> for super::super::System::Com::IDispatch { - fn from(value: &ICanvasImageData) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICanvasImageData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICanvasImageData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICanvasImageData {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICanvasImageData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICanvasImageData").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ICanvasImageData { - type Vtable = ICanvasImageData_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051071a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ICanvasImageData_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT, - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub data: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - data: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ICanvasPattern(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ICanvasPattern {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ICanvasPattern) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ICanvasPattern> for &'a ::windows::core::IUnknown { - fn from(value: &'a ICanvasPattern) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ICanvasPattern> for ::windows::core::IUnknown { - fn from(value: &ICanvasPattern) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ICanvasPattern) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ICanvasPattern> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ICanvasPattern) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ICanvasPattern> for super::super::System::Com::IDispatch { - fn from(value: &ICanvasPattern) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICanvasPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICanvasPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICanvasPattern {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICanvasPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICanvasPattern").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ICanvasPattern { - type Vtable = ICanvasPattern_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510716_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ICanvasPattern_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ICanvasPixelArray(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ICanvasPixelArray { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ICanvasPixelArray) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ICanvasPixelArray> for &'a ::windows::core::IUnknown { - fn from(value: &'a ICanvasPixelArray) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ICanvasPixelArray> for ::windows::core::IUnknown { - fn from(value: &ICanvasPixelArray) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ICanvasPixelArray) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ICanvasPixelArray> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ICanvasPixelArray) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ICanvasPixelArray> for super::super::System::Com::IDispatch { - fn from(value: &ICanvasPixelArray) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICanvasPixelArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICanvasPixelArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICanvasPixelArray {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICanvasPixelArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICanvasPixelArray").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ICanvasPixelArray { - type Vtable = ICanvasPixelArray_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051071c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ICanvasPixelArray_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ICanvasPixelArrayData(::windows::core::IUnknown); -impl ICanvasPixelArrayData { - pub unsafe fn GetBufferPointer(&self, ppbuffer: *mut *mut u8, pbufferlength: *mut u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).GetBufferPointer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppbuffer), ::core::mem::transmute(pbufferlength)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ICanvasPixelArrayData) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ICanvasPixelArrayData> for &'a ::windows::core::IUnknown { - fn from(value: &'a ICanvasPixelArrayData) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ICanvasPixelArrayData> for ::windows::core::IUnknown { - fn from(value: &ICanvasPixelArrayData) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ICanvasPixelArrayData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ICanvasPixelArrayData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICanvasPixelArrayData {} -impl ::core::fmt::Debug for ICanvasPixelArrayData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICanvasPixelArrayData").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ICanvasPixelArrayData { - type Vtable = ICanvasPixelArrayData_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107f9_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ICanvasPixelArrayData_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub GetBufferPointer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppbuffer: *mut *mut u8, pbufferlength: *mut u32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ICanvasRenderingContext2D(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ICanvasRenderingContext2D { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn canvas(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).canvas)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn restore(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).restore)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn save(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).save)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn rotate(&self, angle: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).rotate)(::windows::core::Interface::as_raw(self), angle).ok() - } - pub unsafe fn scale(&self, x: f32, y: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).scale)(::windows::core::Interface::as_raw(self), x, y).ok() - } - pub unsafe fn setTransform(&self, m11: f32, m12: f32, m21: f32, m22: f32, dx: f32, dy: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).setTransform)(::windows::core::Interface::as_raw(self), m11, m12, m21, m22, dx, dy).ok() - } - pub unsafe fn transform(&self, m11: f32, m12: f32, m21: f32, m22: f32, dx: f32, dy: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).transform)(::windows::core::Interface::as_raw(self), m11, m12, m21, m22, dx, dy).ok() - } - pub unsafe fn translate(&self, x: f32, y: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).translate)(::windows::core::Interface::as_raw(self), x, y).ok() - } - pub unsafe fn SetglobalAlpha(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetglobalAlpha)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn globalAlpha(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).globalAlpha)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetglobalCompositeOperation<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetglobalCompositeOperation)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn globalCompositeOperation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).globalCompositeOperation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetfillStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetfillStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn fillStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fillStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetstrokeStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetstrokeStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn strokeStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).strokeStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createLinearGradient(&self, x0: f32, y0: f32, x1: f32, y1: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createLinearGradient)(::windows::core::Interface::as_raw(self), x0, y0, x1, y1, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createRadialGradient(&self, x0: f32, y0: f32, r0: f32, x1: f32, y1: f32, r1: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createRadialGradient)(::windows::core::Interface::as_raw(self), x0, y0, r0, x1, y1, r1, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn createPattern<'a, P0, P1>(&self, image: P0, repetition: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createPattern)(::windows::core::Interface::as_raw(self), image.into().abi(), repetition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlineCap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlineCap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn lineCap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lineCap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlineJoin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlineJoin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn lineJoin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lineJoin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetlineWidth(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetlineWidth)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn lineWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lineWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmiterLimit(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetmiterLimit)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn miterLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).miterLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetshadowBlur(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetshadowBlur)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn shadowBlur(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).shadowBlur)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetshadowColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetshadowColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn shadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).shadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetshadowOffsetX(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetshadowOffsetX)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn shadowOffsetX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).shadowOffsetX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetshadowOffsetY(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetshadowOffsetY)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn shadowOffsetY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).shadowOffsetY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clearRect(&self, x: f32, y: f32, w: f32, h: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).clearRect)(::windows::core::Interface::as_raw(self), x, y, w, h).ok() - } - pub unsafe fn fillRect(&self, x: f32, y: f32, w: f32, h: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).fillRect)(::windows::core::Interface::as_raw(self), x, y, w, h).ok() - } - pub unsafe fn strokeRect(&self, x: f32, y: f32, w: f32, h: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).strokeRect)(::windows::core::Interface::as_raw(self), x, y, w, h).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn arc<'a, P0>(&self, x: f32, y: f32, radius: f32, startangle: f32, endangle: f32, anticlockwise: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).arc)(::windows::core::Interface::as_raw(self), x, y, radius, startangle, endangle, anticlockwise.into()).ok() - } - pub unsafe fn arcTo(&self, x1: f32, y1: f32, x2: f32, y2: f32, radius: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).arcTo)(::windows::core::Interface::as_raw(self), x1, y1, x2, y2, radius).ok() - } - pub unsafe fn beginPath(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).beginPath)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn bezierCurveTo(&self, cp1x: f32, cp1y: f32, cp2x: f32, cp2y: f32, x: f32, y: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).bezierCurveTo)(::windows::core::Interface::as_raw(self), cp1x, cp1y, cp2x, cp2y, x, y).ok() - } - pub unsafe fn clip(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).clip)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn closePath(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).closePath)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn fill(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).fill)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn lineTo(&self, x: f32, y: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).lineTo)(::windows::core::Interface::as_raw(self), x, y).ok() - } - pub unsafe fn moveTo(&self, x: f32, y: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).moveTo)(::windows::core::Interface::as_raw(self), x, y).ok() - } - pub unsafe fn quadraticCurveTo(&self, cpx: f32, cpy: f32, x: f32, y: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).quadraticCurveTo)(::windows::core::Interface::as_raw(self), cpx, cpy, x, y).ok() - } - pub unsafe fn rect(&self, x: f32, y: f32, w: f32, h: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).rect)(::windows::core::Interface::as_raw(self), x, y, w, h).ok() - } - pub unsafe fn stroke(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).stroke)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn isPointInPath(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isPointInPath)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setfont<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setfont)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn font(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).font)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextBaseline<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextBaseline)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textBaseline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textBaseline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn fillText<'a, P0, P1>(&self, text: P0, x: f32, y: f32, maxwidth: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).fillText)(::windows::core::Interface::as_raw(self), text.into().abi(), x, y, maxwidth.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn measureText<'a, P0>(&self, text: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).measureText)(::windows::core::Interface::as_raw(self), text.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn strokeText<'a, P0, P1>(&self, text: P0, x: f32, y: f32, maxwidth: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).strokeText)(::windows::core::Interface::as_raw(self), text.into().abi(), x, y, maxwidth.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn drawImage<'a, P0, P1, P2, P3, P4, P5, P6, P7, P8>(&self, psrc: P0, a1: P1, a2: P2, a3: P3, a4: P4, a5: P5, a6: P6, a7: P7, a8: P8) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P4: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P5: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P6: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P7: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P8: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).drawImage)(::windows::core::Interface::as_raw(self), psrc.into().abi(), a1.into().abi(), a2.into().abi(), a3.into().abi(), a4.into().abi(), a5.into().abi(), a6.into().abi(), a7.into().abi(), a8.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn createImageData<'a, P0, P1>(&self, a1: P0, a2: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createImageData)(::windows::core::Interface::as_raw(self), a1.into().abi(), a2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getImageData(&self, sx: f32, sy: f32, sw: f32, sh: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getImageData)(::windows::core::Interface::as_raw(self), sx, sy, sw, sh, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn putImageData<'a, P0, P1, P2, P3, P4>(&self, imagedata: P0, dx: f32, dy: f32, dirtyx: P1, dirtyy: P2, dirtywidth: P3, dirtyheight: P4) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ICanvasImageData>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P4: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).putImageData)(::windows::core::Interface::as_raw(self), imagedata.into().abi(), dx, dy, dirtyx.into().abi(), dirtyy.into().abi(), dirtywidth.into().abi(), dirtyheight.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ICanvasRenderingContext2D) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ICanvasRenderingContext2D> for &'a ::windows::core::IUnknown { - fn from(value: &'a ICanvasRenderingContext2D) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ICanvasRenderingContext2D> for ::windows::core::IUnknown { - fn from(value: &ICanvasRenderingContext2D) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ICanvasRenderingContext2D) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ICanvasRenderingContext2D> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ICanvasRenderingContext2D) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ICanvasRenderingContext2D> for super::super::System::Com::IDispatch { - fn from(value: &ICanvasRenderingContext2D) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICanvasRenderingContext2D { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICanvasRenderingContext2D { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICanvasRenderingContext2D {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICanvasRenderingContext2D { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICanvasRenderingContext2D").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ICanvasRenderingContext2D { - type Vtable = ICanvasRenderingContext2D_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106ff_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ICanvasRenderingContext2D_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub canvas: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - canvas: usize, - pub restore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub save: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub rotate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, angle: f32) -> ::windows::core::HRESULT, - pub scale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32) -> ::windows::core::HRESULT, - pub setTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, m11: f32, m12: f32, m21: f32, m22: f32, dx: f32, dy: f32) -> ::windows::core::HRESULT, - pub transform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, m11: f32, m12: f32, m21: f32, m22: f32, dx: f32, dy: f32) -> ::windows::core::HRESULT, - pub translate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32) -> ::windows::core::HRESULT, - pub SetglobalAlpha: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub globalAlpha: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetglobalCompositeOperation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetglobalCompositeOperation: usize, - #[cfg(feature = "Win32_Foundation")] - pub globalCompositeOperation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - globalCompositeOperation: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetfillStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetfillStyle: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub fillStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - fillStyle: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetstrokeStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetstrokeStyle: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub strokeStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - strokeStyle: usize, - #[cfg(feature = "Win32_System_Com")] - pub createLinearGradient: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x0: f32, y0: f32, x1: f32, y1: f32, ppcanvasgradient: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createLinearGradient: usize, - #[cfg(feature = "Win32_System_Com")] - pub createRadialGradient: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x0: f32, y0: f32, r0: f32, x1: f32, y1: f32, r1: f32, ppcanvasgradient: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createRadialGradient: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub createPattern: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, image: *mut ::core::ffi::c_void, repetition: ::core::mem::ManuallyDrop, ppcanvaspattern: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - createPattern: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlineCap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlineCap: usize, - #[cfg(feature = "Win32_Foundation")] - pub lineCap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - lineCap: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlineJoin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlineJoin: usize, - #[cfg(feature = "Win32_Foundation")] - pub lineJoin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - lineJoin: usize, - pub SetlineWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub lineWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetmiterLimit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub miterLimit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetshadowBlur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub shadowBlur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetshadowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetshadowColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub shadowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - shadowColor: usize, - pub SetshadowOffsetX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub shadowOffsetX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetshadowOffsetY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub shadowOffsetY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub clearRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, w: f32, h: f32) -> ::windows::core::HRESULT, - pub fillRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, w: f32, h: f32) -> ::windows::core::HRESULT, - pub strokeRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, w: f32, h: f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub arc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, radius: f32, startangle: f32, endangle: f32, anticlockwise: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - arc: usize, - pub arcTo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x1: f32, y1: f32, x2: f32, y2: f32, radius: f32) -> ::windows::core::HRESULT, - pub beginPath: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub bezierCurveTo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cp1x: f32, cp1y: f32, cp2x: f32, cp2y: f32, x: f32, y: f32) -> ::windows::core::HRESULT, - pub clip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub closePath: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub fill: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub lineTo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32) -> ::windows::core::HRESULT, - pub moveTo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32) -> ::windows::core::HRESULT, - pub quadraticCurveTo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cpx: f32, cpy: f32, x: f32, y: f32) -> ::windows::core::HRESULT, - pub rect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, w: f32, h: f32) -> ::windows::core::HRESULT, - pub stroke: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub isPointInPath: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, presult: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setfont: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setfont: usize, - #[cfg(feature = "Win32_Foundation")] - pub font: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - font: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub textAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextBaseline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextBaseline: usize, - #[cfg(feature = "Win32_Foundation")] - pub textBaseline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textBaseline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub fillText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, text: ::core::mem::ManuallyDrop, x: f32, y: f32, maxwidth: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - fillText: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub measureText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, text: ::core::mem::ManuallyDrop, ppcanvastextmetrics: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - measureText: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub strokeText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, text: ::core::mem::ManuallyDrop, x: f32, y: f32, maxwidth: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - strokeText: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub drawImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psrc: *mut ::core::ffi::c_void, a1: ::core::mem::ManuallyDrop, a2: ::core::mem::ManuallyDrop, a3: ::core::mem::ManuallyDrop, a4: ::core::mem::ManuallyDrop, a5: ::core::mem::ManuallyDrop, a6: ::core::mem::ManuallyDrop, a7: ::core::mem::ManuallyDrop, a8: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - drawImage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub createImageData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, a1: ::core::mem::ManuallyDrop, a2: ::core::mem::ManuallyDrop, ppcanvasimagedata: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - createImageData: usize, - #[cfg(feature = "Win32_System_Com")] - pub getImageData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sx: f32, sy: f32, sw: f32, sh: f32, ppcanvasimagedata: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getImageData: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub putImageData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, imagedata: *mut ::core::ffi::c_void, dx: f32, dy: f32, dirtyx: ::core::mem::ManuallyDrop, dirtyy: ::core::mem::ManuallyDrop, dirtywidth: ::core::mem::ManuallyDrop, dirtyheight: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - putImageData: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ICanvasTextMetrics(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ICanvasTextMetrics { - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ICanvasTextMetrics) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ICanvasTextMetrics> for &'a ::windows::core::IUnknown { - fn from(value: &'a ICanvasTextMetrics) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ICanvasTextMetrics> for ::windows::core::IUnknown { - fn from(value: &ICanvasTextMetrics) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ICanvasTextMetrics) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ICanvasTextMetrics> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ICanvasTextMetrics) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ICanvasTextMetrics> for super::super::System::Com::IDispatch { - fn from(value: &ICanvasTextMetrics) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICanvasTextMetrics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICanvasTextMetrics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICanvasTextMetrics {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICanvasTextMetrics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICanvasTextMetrics").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ICanvasTextMetrics { - type Vtable = ICanvasTextMetrics_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510718_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ICanvasTextMetrics_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ICaretPositionProvider(::windows::core::IUnknown); -impl ICaretPositionProvider { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetCaretPosition(&self, pptcaret: *mut super::super::Foundation::POINT, pflheight: *mut f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).GetCaretPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pptcaret), ::core::mem::transmute(pflheight)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ICaretPositionProvider) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ICaretPositionProvider> for &'a ::windows::core::IUnknown { - fn from(value: &'a ICaretPositionProvider) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ICaretPositionProvider> for ::windows::core::IUnknown { - fn from(value: &ICaretPositionProvider) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ICaretPositionProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ICaretPositionProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICaretPositionProvider {} -impl ::core::fmt::Debug for ICaretPositionProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICaretPositionProvider").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ICaretPositionProvider { - type Vtable = ICaretPositionProvider_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x58da43a2_108e_4d5b_9f75_e5f74f93fff5); -} -#[repr(C)] -#[doc(hidden)] -pub struct ICaretPositionProvider_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub GetCaretPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pptcaret: *mut super::super::Foundation::POINT, pflheight: *mut f32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetCaretPosition: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IClassFactoryEx(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IClassFactoryEx { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn CreateInstance<'a, P0, T>(&self, punkouter: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - T: ::windows::core::Interface, - { - let mut result__ = ::core::option::Option::None; - (::windows::core::Interface::vtable(self).base__.CreateInstance)(::windows::core::Interface::as_raw(self), punkouter.into().abi(), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn LockServer<'a, P0>(&self, flock: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).base__.LockServer)(::windows::core::Interface::as_raw(self), flock.into()).ok() - } - pub unsafe fn CreateInstanceWithContext<'a, P0, P1, T>(&self, punkcontext: P0, punkouter: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - T: ::windows::core::Interface, - { - let mut result__ = ::core::option::Option::None; - (::windows::core::Interface::vtable(self).CreateInstanceWithContext)(::windows::core::Interface::as_raw(self), punkcontext.into().abi(), punkouter.into().abi(), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IClassFactoryEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IClassFactoryEx> for &'a ::windows::core::IUnknown { - fn from(value: &'a IClassFactoryEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IClassFactoryEx> for ::windows::core::IUnknown { - fn from(value: &IClassFactoryEx) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IClassFactory { - fn from(value: IClassFactoryEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IClassFactoryEx> for &'a super::super::System::Com::IClassFactory { - fn from(value: &'a IClassFactoryEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IClassFactoryEx> for super::super::System::Com::IClassFactory { - fn from(value: &IClassFactoryEx) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IClassFactoryEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IClassFactoryEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IClassFactoryEx {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IClassFactoryEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IClassFactoryEx").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IClassFactoryEx { - type Vtable = IClassFactoryEx_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x342d1ea0_ae25_11d1_89c5_006008c3fbfc); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IClassFactoryEx_Vtbl { - pub base__: super::super::System::Com::IClassFactory_Vtbl, - pub CreateInstanceWithContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, punkcontext: *mut ::core::ffi::c_void, punkouter: *mut ::core::ffi::c_void, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IClientCaps(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IClientCaps { - pub unsafe fn javaEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).javaEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn cookieEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cookieEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cpuClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cpuClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn systemLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).systemLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn userLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).userLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn platform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).platform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn connectionSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).connectionSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn onLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn colorDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).colorDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn bufferDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bufferDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn availHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).availHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn availWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).availWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn connectionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).connectionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn isComponentInstalled<'a, P0, P1, P2>(&self, bstrname: P0, bstrurl: P1, bstrver: P2) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isComponentInstalled)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrurl.into().abi(), bstrver.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn getComponentVersion<'a, P0, P1>(&self, bstrname: P0, bstrurl: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getComponentVersion)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn compareVersions<'a, P0, P1>(&self, bstrver1: P0, bstrver2: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).compareVersions)(::windows::core::Interface::as_raw(self), bstrver1.into().abi(), bstrver2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn addComponentRequest<'a, P0, P1, P2>(&self, bstrname: P0, bstrurl: P1, bstrver: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).addComponentRequest)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrurl.into().abi(), bstrver.into().abi()).ok() - } - pub unsafe fn doComponentRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).doComponentRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clearComponentRequest(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).clearComponentRequest)(::windows::core::Interface::as_raw(self)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IClientCaps) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IClientCaps> for &'a ::windows::core::IUnknown { - fn from(value: &'a IClientCaps) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IClientCaps> for ::windows::core::IUnknown { - fn from(value: &IClientCaps) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IClientCaps) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IClientCaps> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IClientCaps) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IClientCaps> for super::super::System::Com::IDispatch { - fn from(value: &IClientCaps) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IClientCaps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IClientCaps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IClientCaps {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IClientCaps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IClientCaps").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IClientCaps { - type Vtable = IClientCaps_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x7e8bc44d_aeff_11d1_89c2_00c04fb6bfc4); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IClientCaps_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub javaEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub cookieEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub cpuClass: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cpuClass: usize, - #[cfg(feature = "Win32_Foundation")] - pub systemLanguage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - systemLanguage: usize, - #[cfg(feature = "Win32_Foundation")] - pub userLanguage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - userLanguage: usize, - #[cfg(feature = "Win32_Foundation")] - pub platform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - platform: usize, - pub connectionSpeed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub onLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub colorDepth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub bufferDepth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub availHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub availWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub connectionType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - connectionType: usize, - #[cfg(feature = "Win32_Foundation")] - pub isComponentInstalled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, bstrurl: ::core::mem::ManuallyDrop, bstrver: ::core::mem::ManuallyDrop, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - isComponentInstalled: usize, - #[cfg(feature = "Win32_Foundation")] - pub getComponentVersion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, bstrurl: ::core::mem::ManuallyDrop, pbstrver: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - getComponentVersion: usize, - #[cfg(feature = "Win32_Foundation")] - pub compareVersions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrver1: ::core::mem::ManuallyDrop, bstrver2: ::core::mem::ManuallyDrop, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - compareVersions: usize, - #[cfg(feature = "Win32_Foundation")] - pub addComponentRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, bstrurl: ::core::mem::ManuallyDrop, bstrver: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - addComponentRequest: usize, - pub doComponentRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub clearComponentRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ICustomDoc(::windows::core::IUnknown); -impl ICustomDoc { - pub unsafe fn SetUIHandler<'a, P0>(&self, puihandler: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IDocHostUIHandler>>, - { - (::windows::core::Interface::vtable(self).SetUIHandler)(::windows::core::Interface::as_raw(self), puihandler.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ICustomDoc) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ICustomDoc> for &'a ::windows::core::IUnknown { - fn from(value: &'a ICustomDoc) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ICustomDoc> for ::windows::core::IUnknown { - fn from(value: &ICustomDoc) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ICustomDoc { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ICustomDoc { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICustomDoc {} -impl ::core::fmt::Debug for ICustomDoc { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICustomDoc").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ICustomDoc { - type Vtable = ICustomDoc_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3f0_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ICustomDoc_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub SetUIHandler: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, puihandler: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_1D: u32 = 2170u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_1D_ELEMENT: u32 = 2396u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_2D_ELEMENT: u32 = 2395u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_2D_POSITION: u32 = 2394u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ABSOLUTE_POSITION: u32 = 2397u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ACTIVEXFILTERINGENABLED: u32 = 15030u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ACTIVEXINSTALLSCOPE: u32 = 15007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ADDCONSOLEMESSAGERECEIVER: u32 = 3800u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ADDDEBUGCALLBACKRECEIVER: u32 = 3804u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ADDFAVORITES: u32 = 2261u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ADDPARTIALTESTSTEPCOUNT: u32 = 15023u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ADDPDFHIGHLIGHT: u32 = 15210u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ADDPDFNOTE: u32 = 15212u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ADDRESS: u32 = 2189u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ADDTOGLYPHTABLE: u32 = 2337u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ALIGNBOTTOM: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ALIGNHORIZONTALCENTERS: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ALIGNLEFT: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ALIGNRIGHT: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ALIGNTOGRID: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ALIGNTOP: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ALIGNVERTICALCENTERS: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_APPLYHEADING1: u32 = 2255u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_APPLYHEADING2: u32 = 2256u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_APPLYHEADING3: u32 = 2257u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_APPLYNORMAL: u32 = 2254u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ARRANGEBOTTOM: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ARRANGERIGHT: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ATOMICSELECTION: u32 = 2399u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_AUTODETECT: u32 = 2329u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_AUTOURLDETECT_MODE: u32 = 2400u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BACKCOLOR: u32 = 51u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BACKGROUNDIMAGECACHE: u32 = 2430u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BASELINEFONT1: u32 = 2141u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BASELINEFONT2: u32 = 2142u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BASELINEFONT3: u32 = 2143u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BASELINEFONT4: u32 = 2144u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BASELINEFONT5: u32 = 2145u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BEGINUNDOUNIT: u32 = 3901u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BEGINUSERACTION: u32 = 2432u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BLINK: u32 = 2190u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BLOCKDIRLTR: u32 = 2352u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BLOCKDIRRTL: u32 = 2353u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BLOCKFMT: u32 = 2234u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BLUEHIGHLIGHT: u32 = 15216u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BOLD: u32 = 52u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BOOKMARK: u32 = 2123u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BORDERCOLOR: u32 = 53u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BREAKATNEXT: u32 = 2311u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BRINGFORWARD: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BRINGTOFRONT: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BROWSEMODE: u32 = 2126u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_BUTTON: u32 = 2167u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CANCEL: u32 = 89u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CAPTIONINSERT: u32 = 2203u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CARETBROWSINGMODE: u32 = 2436u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CELLINSERT: u32 = 2202u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CELLMERGE: u32 = 2204u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CELLPROPERTIES: u32 = 2211u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CELLSELECT: u32 = 2206u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CELLSPLIT: u32 = 2205u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CENTERALIGNPARA: u32 = 2250u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CENTERHORIZONTALLY: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CENTERVERTICALLY: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CHANGECASE: u32 = 2246u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CHANGEFONT: u32 = 2240u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CHANGEFONTSIZE: u32 = 2241u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CHECKBOX: u32 = 2163u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CHISELED: u32 = 64u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CLEARAUTHENTICATIONCACHE: u32 = 15003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CLEARSELECTION: u32 = 2007u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CLEARUNDO: u32 = 3903u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CODE: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COLUMNINSERT: u32 = 2213u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COLUMNSELECT: u32 = 2208u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COMMENT: u32 = 2173u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COMPOSESETTINGS: u32 = 2318u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CONTEXT: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CONTEXTMENU: u32 = 2280u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CONVERTOBJECT: u32 = 82u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COPY: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COPYBACKGROUND: u32 = 2265u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COPYCONTENT: u32 = 2291u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COPYFORMAT: u32 = 2237u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_COPYSHORTCUT: u32 = 2262u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CREATELINK: u32 = 2290u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CREATESHORTCUT: u32 = 2266u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CSSEDITING_LEVEL: u32 = 2406u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CUSTOMCONTROL: u32 = 83u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CUSTOMIZEITEM: u32 = 84u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_CUT: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DEBUGGERDYNAMICATTACH: u32 = 15202u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DEBUGGERDYNAMICATTACHSOURCERUNDOWN: u32 = 15204u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DEBUGGERDYNAMICDETACH: u32 = 15203u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DEFAULTBLOCK: u32 = 6046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DEFAULTPARAGRAPHSEPARATOR: u32 = 3900u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DELETE: u32 = 17u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DELETEPDFHIGHLIGHT: u32 = 15211u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DELETEWORD: u32 = 92u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DIRLTR: u32 = 2350u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DIRRTL: u32 = 2351u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DISABLE_EDITFOCUS_UI: u32 = 2404u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DIV: u32 = 2191u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DOCPROPERTIES: u32 = 2260u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DROPDOWNBOX: u32 = 2165u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DYNSRCPLAY: u32 = 2271u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_DYNSRCSTOP: u32 = 2272u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_EDITMODE: u32 = 2127u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_EDITPDFHIGHLIGHT: u32 = 15214u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_EDITSOURCE: u32 = 2122u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_EMPTYGLYPHTABLE: u32 = 2336u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ENABLEFLIPAHEADTARGET: u32 = 15201u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ENABLE_INTERACTION: u32 = 2302u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ENABLE_OBJECT_RESIZING: u32 = 3906u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ENDUNDOUNIT: u32 = 3902u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ENDUSERACTION: u32 = 2433u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ETCHED: u32 = 65u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_EXECPRINT: u32 = 93u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FILE: u32 = 2172u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FIND: u32 = 67u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FIRE_PRINTTEMPLATEDOWN: u32 = 15001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FIRE_PRINTTEMPLATEUP: u32 = 15000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FLAT: u32 = 54u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FOLLOWLINKC: u32 = 2136u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FOLLOWLINKEDGE: u32 = 3911u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FOLLOWLINKN: u32 = 2137u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FOLLOWLINKN_INPRIVATE: u32 = 3909u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FOLLOWLINKT: u32 = 2435u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FOLLOWLINKT_INPRIVATE: u32 = 3910u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FOLLOW_ANCHOR: u32 = 2008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FONT: u32 = 90u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FONTNAME: u32 = 18u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FONTSIZE: u32 = 19u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FORECOLOR: u32 = 55u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FORM: u32 = 2181u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FORMATMARK: u32 = 2132u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_FORWARDDELETE: u32 = 98u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETBLOCKFMTS: u32 = 2233u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETBYTESDOWNLOADED: u32 = 2331u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETDEBUGGERSTATE: u32 = 15205u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETDEFAULTBACKGROUNDCOLOR: u32 = 15044u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETDEFAULTZOOMLEVEL: u32 = 15027u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETDOCDLGFLAGS: u32 = 15005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETELEMENTBOUNDINGBOX: u32 = 15028u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETFRAMEZONE: u32 = 6037u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETIPRINT: u32 = 2403u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETL9QUIRKSEMULATIONENABLED: u32 = 15025u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETPARTIALLAYOUTSTATUS: u32 = 15022u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETPRINTMANAGERDOCSOURCE: u32 = 15038u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETPRINTMANAGERDOCSOURCEASYNC: u32 = 15047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETPRINTTEMPLATE: u32 = 2295u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETPROFILINGONSTART: u32 = 15011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETSCRIPTENGINE: u32 = 3803u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETSESSIONDOCUMENTMODE: u32 = 15009u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETUSERACTIONTIME: u32 = 2431u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETUSERINITFLAGS: u32 = 15004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETZOOM: u32 = 68u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETZOOMDENOMINATOR: u32 = 2346u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GETZOOMNUMERATOR: u32 = 2345u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GOBACKWARD: u32 = 2282u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GOFORWARD: u32 = 2283u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GOTO: u32 = 2239u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GOTOCLIPBOARDADDRESS: u32 = 2285u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GOTOCLIPBOARDTEXT: u32 = 2286u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GREENHIGHLIGHT: u32 = 15217u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_GROUP: u32 = 20u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HELP_ABOUT: u32 = 2221u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HELP_CONTENT: u32 = 2220u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HELP_README: u32 = 2222u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HORIZONTALLINE: u32 = 2150u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HORIZSPACECONCATENATE: u32 = 21u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HORIZSPACEDECREASE: u32 = 22u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HORIZSPACEINCREASE: u32 = 23u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HORIZSPACEMAKEEQUAL: u32 = 24u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HTMLAREA: u32 = 2178u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HTMLCONTAIN: u32 = 2159u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HTMLEDITMODE: u32 = 2316u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HTMLSOURCE: u32 = 2157u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HWND: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_HYPERLINK: u32 = 2124u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IE50_PASTE: u32 = 2401u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IE50_PASTE_MODE: u32 = 2402u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IFRAME: u32 = 2158u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IMAGE: u32 = 2168u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IMAGEMAP: u32 = 2171u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IME_ENABLE_RECONVERSION: u32 = 2409u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IMGARTPLAY: u32 = 2274u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IMGARTREWIND: u32 = 2276u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IMGARTSTOP: u32 = 2275u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_IMPORT: u32 = 86u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INDENT: u32 = 2186u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INLINEDIRLTR: u32 = 2354u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INLINEDIRRTL: u32 = 2355u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSERTHTML: u32 = 2502u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSERTOBJECT: u32 = 25u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSERTSPAN: u32 = 2357u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSERTTEXT: u32 = 3907u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSFIELDSET: u32 = 2119u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSINPUTBUTTON: u32 = 2115u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSINPUTHIDDEN: u32 = 2312u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSINPUTIMAGE: u32 = 2114u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSINPUTPASSWORD: u32 = 2313u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSINPUTRESET: u32 = 2116u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSINPUTSUBMIT: u32 = 2117u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSINPUTUPLOAD: u32 = 2118u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INSPECTELEMENT: u32 = 3904u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_INVOKEFLIPAHEADTARGET: u32 = 15200u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ISTRUSTEDDLG: u32 = 2356u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ITALIC: u32 = 56u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_JAVAAPPLET: u32 = 2175u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_JUSTIFYCENTER: u32 = 57u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_JUSTIFYFULL: u32 = 50u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_JUSTIFYGENERAL: u32 = 58u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_JUSTIFYLEFT: u32 = 59u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_JUSTIFYNONE: u32 = 94u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_JUSTIFYRIGHT: u32 = 60u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_KEEPSELECTION: u32 = 2410u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LANGUAGE: u32 = 2292u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LAUNCHDEBUGGER: u32 = 2310u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LAUNCHURICALLBACK: u32 = 3908u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LEFTALIGNPARA: u32 = 2251u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LINEBREAKBOTH: u32 = 2154u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LINEBREAKLEFT: u32 = 2152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LINEBREAKNORMAL: u32 = 2151u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LINEBREAKRIGHT: u32 = 2153u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LIST: u32 = 2183u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LISTBOX: u32 = 2166u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LIVERESIZE: u32 = 2398u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_LOCALIZEEDITOR: u32 = 2358u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MARQUEE: u32 = 2182u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_FRAMESTEP_BACK: u32 = 2461u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_FRAMESTEP_FWD: u32 = 2460u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_FULLSCREEN_EXIT: u32 = 2447u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_FULLSCREEN_TOGGLE: u32 = 2446u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_MUTE: u32 = 2462u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_MUTEUNMUTE: u32 = 2442u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PAUSE: u32 = 2444u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAY: u32 = 2443u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYPAUSE: u32 = 2441u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE0: u32 = 2480u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE1: u32 = 2481u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE2: u32 = 2482u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE3: u32 = 2483u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE4: u32 = 2484u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE5: u32 = 2485u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE6: u32 = 2486u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE7: u32 = 2487u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE8: u32 = 2488u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_PLAYRATE9: u32 = 2489u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_RATE_FASTER: u32 = 2456u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_RATE_SLOWER: u32 = 2457u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SEEK_BACK_LARGE: u32 = 2455u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SEEK_BACK_SMALL: u32 = 2453u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SEEK_FWD_LARGE: u32 = 2454u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SEEK_FWD_SMALL: u32 = 2452u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SEEK_TO_END: u32 = 2451u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SEEK_TO_START: u32 = 2450u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SHOWCONTROLS_TOGGLE: u32 = 2458u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SHOW_AUDIO_ACCESS: u32 = 2464u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_SHOW_SUBTITLE_ACCESS: u32 = 2465u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_STOP: u32 = 2445u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_UNMUTE: u32 = 2463u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_VOLUME_DOWN: u32 = 2449u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_VOLUME_UP: u32 = 2448u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MEDIA_ZOOMMODE_TOGGLE: u32 = 2459u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MENUEXT_COUNT: u32 = 3733u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MENUEXT_FIRST__: u32 = 3700u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MENUEXT_LAST__: u32 = 3732u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MENUEXT_PLACEHOLDER: u32 = 6047u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MIMECSET__FIRST__: u32 = 3609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MIMECSET__LAST__: u32 = 3699u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MOVE: u32 = 88u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MP_EMAILPICTURE: u32 = 2288u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MP_MYPICS: u32 = 2287u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MP_PRINTPICTURE: u32 = 2289u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MULTILEVELREDO: u32 = 30u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MULTILEVELUNDO: u32 = 44u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_MULTIPLESELECTION: u32 = 2393u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NEW: u32 = 2001u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NEWPAGE: u32 = 87u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NEW_TOPLEVELWINDOW: u32 = 7050u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NOACTIVATEDESIGNTIMECONTROLS: u32 = 2333u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NOACTIVATEJAVAAPPLETS: u32 = 2334u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NOACTIVATENORMALOLECONTROLS: u32 = 2332u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NOFIXUPURLSONPASTE: u32 = 2335u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NONBREAK: u32 = 2155u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NONEHIGHLIGHT: u32 = 15219u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NOTIFYCONTEXTMENUDISMISSED: u32 = 15046u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_NOTIFYZOOMANDSCROLLANIMATIONEND: u32 = 15045u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECT: u32 = 2169u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST0: u32 = 72u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST1: u32 = 73u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST2: u32 = 74u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST3: u32 = 75u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST4: u32 = 76u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST5: u32 = 77u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST6: u32 = 78u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST7: u32 = 79u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST8: u32 = 80u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLIST9: u32 = 81u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OBJECTVERBLISTLAST: u32 = 81u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OLEWINDOWSTATECHANGED: u32 = 15006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OPEN: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OPENPDFNOTE: u32 = 15213u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OPTIONS: u32 = 2135u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ORDERLIST: u32 = 2184u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OUTDENT: u32 = 2187u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OVERRIDE_CURSOR: u32 = 2420u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_OVERWRITE: u32 = 2314u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PAGE: u32 = 2267u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PAGEBREAK: u32 = 2177u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PAGEINFO: u32 = 2231u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PAGESETUP: u32 = 2004u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PARAGRAPH: u32 = 2180u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PARSECOMPLETE: u32 = 2315u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PASTE: u32 = 26u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PASTECONTENTONLY: u32 = 2500u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PASTEFORMAT: u32 = 2238u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PASTEINSERT: u32 = 2120u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PASTESPECIAL: u32 = 2006u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PASTETEXTONLY: u32 = 2501u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PDFDEFINE: u32 = 15222u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PDFREADALOUD: u32 = 15220u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PEERHITTESTSAMEINEDIT: u32 = 2423u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PERFORMEDITACTIVATION: u32 = 15042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PERSISTDEFAULTVALUES: u32 = 7100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PERSISTSTREAMSYNC: u32 = 2341u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PINKHIGHLIGHT: u32 = 15215u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PLUGIN: u32 = 2176u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_POPSTATEEVENT: u32 = 15017u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PREFORMATTED: u32 = 2188u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PRESERVEUNDOALWAYS: u32 = 6049u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PRESTOP: u32 = 2284u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PRINT: u32 = 27u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PRINTPREVIEW: u32 = 2003u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PRINTQUERYJOBSPENDING: u32 = 2277u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PRINTTARGET: u32 = 2273u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PROPERTIES: u32 = 28u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_PROTECTMETATAGS: u32 = 7101u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_RADIOBUTTON: u32 = 2164u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_RAISED: u32 = 61u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_RCINSERT: u32 = 2201u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REDO: u32 = 29u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REFRESH: u32 = 2300u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REFRESH_THIS: u32 = 6042u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REGISTRYREFRESH: u32 = 2317u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REMOVECONSOLEMESSAGERECEIVER: u32 = 3801u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REMOVEDEBUGCALLBACKRECEIVER: u32 = 3805u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REMOVEFORMAT: u32 = 2230u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REMOVEFROMGLYPHTABLE: u32 = 2338u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REMOVEPARAFORMAT: u32 = 2253u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_RENAME: u32 = 85u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REPLACE: u32 = 2121u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_REPLACEGLYPHCONTENTS: u32 = 2339u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_RESPECTVISIBILITY_INDESIGN: u32 = 2405u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_RIGHTALIGNPARA: u32 = 2252u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ROWINSERT: u32 = 2212u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ROWSELECT: u32 = 2207u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_RUNFLASH: u32 = 15208u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_RUNURLSCRIPT: u32 = 2343u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SAVE: u32 = 70u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SAVEAS: u32 = 71u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SAVEBACKGROUND: u32 = 2263u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SAVECOPYAS: u32 = 2002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SAVEPDF: u32 = 99u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SAVEPICTURE: u32 = 2270u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SAVEPRETRANSFORMSOURCE: u32 = 2370u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SAVETARGET: u32 = 2268u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCRIPT: u32 = 2174u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCRIPTDEBUGGER: u32 = 2330u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_BOTTOM: u32 = 2382u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_DOWN: u32 = 2386u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_HERE: u32 = 2380u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_LEFT: u32 = 2391u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_LEFTEDGE: u32 = 2387u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_PAGEDOWN: u32 = 2384u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_PAGELEFT: u32 = 2389u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_PAGERIGHT: u32 = 2390u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_PAGEUP: u32 = 2383u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_RIGHT: u32 = 2392u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_RIGHTEDGE: u32 = 2388u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_TOP: u32 = 2381u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SCROLL_UP: u32 = 2385u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SELECTALL: u32 = 31u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SELECTIONSEARCH: u32 = 15206u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SENDBACKWARD: u32 = 32u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SENDTOBACK: u32 = 33u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETACCESSIBILITYNAME: u32 = 15040u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETCUSTOMCURSOR: u32 = 2434u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETDEFAULTBACKGROUNDCOLOR: u32 = 15043u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETDESKTOPITEM: u32 = 2278u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETDEVTOOLBARCONSOLE: u32 = 15016u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETDIRTY: u32 = 2342u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETEXTRAHEADERS: u32 = 15039u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETGEOLOCATIONCONSENT: u32 = 15029u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETL9QUIRKSEMULATIONENABLED: u32 = 15024u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETNAVIGATEEVENTSINK: u32 = 15013u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETPAGEACTIONALLOWEDFLAGS: u32 = 15100u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETPARTIALLAYOUTSTATUS: u32 = 15021u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETPOINTERLOCKCONSENT: u32 = 15026u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETPRINTHANDLES: u32 = 15002u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETPRINTTEMPLATE: u32 = 2296u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETPROFILINGONSTART: u32 = 15010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETSCRIPTCONSOLE: u32 = 15012u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETSESSIONDOCUMENTMODE: u32 = 15008u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SETWALLPAPER: u32 = 2264u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHADOWED: u32 = 66u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHARE: u32 = 15031u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHAREAPPCACHEEVENT: u32 = 15033u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHAREPDF: u32 = 15221u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHAREPICTURE: u32 = 3905u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWALIGNEDSITETAGS: u32 = 2321u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWALLTAGS: u32 = 2327u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWAREATAGS: u32 = 2325u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWCOMMENTTAGS: u32 = 2324u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWGRID: u32 = 69u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWHIDE_CODE: u32 = 2235u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWMISCTAGS: u32 = 2320u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWPAGESETUP: u32 = 2011u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWPICTURE: u32 = 2269u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWPRINT: u32 = 2010u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWSCRIPTTAGS: u32 = 2322u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWSHAREUI: u32 = 15207u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWSPECIALCHAR: u32 = 2249u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWSTYLETAGS: u32 = 2323u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWTABLE: u32 = 34u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWUNKNOWNTAGS: u32 = 2326u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWWBRTAGS: u32 = 2340u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SHOWZEROBORDERATDESIGNTIME: u32 = 2328u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SIZETOCONTROL: u32 = 35u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SIZETOCONTROLHEIGHT: u32 = 36u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SIZETOCONTROLWIDTH: u32 = 37u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SIZETOFIT: u32 = 38u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SIZETOGRID: u32 = 39u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SNAPTOGRID: u32 = 40u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SPECIALCHAR: u32 = 2156u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SPELL: u32 = 2005u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STARTDIAGNOSTICSMODE: u32 = 3802u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STATUSBAR: u32 = 2131u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STOP: u32 = 2138u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STOPDOWNLOAD: u32 = 2301u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STRIKETHROUGH: u32 = 91u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STYLEMENU_CHANGESELECTEDSTYLE: u32 = 2440u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STYLEMENU_GETNOSTYLE: u32 = 2438u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STYLEMENU_GETPREFSTYLE: u32 = 2439u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_STYLEMENU_SETNOSTYLE: u32 = 2437u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SUBSCRIPT: u32 = 2247u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SUNKEN: u32 = 62u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_SUPERSCRIPT: u32 = 2248u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TABLE: u32 = 2236u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TABLEINSERT: u32 = 2200u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TABLEPROPERTIES: u32 = 2210u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TABLESELECT: u32 = 2209u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TABORDER: u32 = 41u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TELETYPE: u32 = 2232u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TEMPLATE_PAGESETUP: u32 = 2298u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TEXTAREA: u32 = 2162u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TEXTBOX: u32 = 2161u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TEXTONLY: u32 = 2133u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TOGGLEREADINGBAR: u32 = 15209u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TOOLBARS: u32 = 2130u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TOOLBOX: u32 = 42u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TRISTATEBOLD: u32 = 95u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TRISTATEITALIC: u32 = 96u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TRISTATEUNDERLINE: u32 = 97u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_TRUSTAPPCACHE: u32 = 2425u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UI_OUTDENT: u32 = 2407u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UNBOOKMARK: u32 = 2128u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UNDERLINE: u32 = 63u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UNDO: u32 = 43u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UNGROUP: u32 = 45u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UNKNOWN: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UNLINK: u32 = 2125u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UNLOADDOCUMENT: u32 = 2411u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UNORDERLIST: u32 = 2185u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UPDATEPAGESTATUS: u32 = 2408u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_UPDATESETTINGSFROMREGISTRY: u32 = 15041u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_VERTSPACECONCATENATE: u32 = 46u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_VERTSPACEDECREASE: u32 = 47u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_VERTSPACEINCREASE: u32 = 48u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_VERTSPACEMAKEEQUAL: u32 = 49u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_VIEWPRETRANSFORMSOURCE: u32 = 2371u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_VIEWSOURCE: u32 = 2139u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_YELLOWHIGHLIGHT: u32 = 15218u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ZOOMPERCENT: u32 = 50u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ZOOMPOPUP: u32 = 2140u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IDM_ZOOMRATIO: u32 = 2344u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMBeforeUnloadEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMBeforeUnloadEvent { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetreturnValue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetreturnValue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn returnValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).returnValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMBeforeUnloadEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMBeforeUnloadEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMBeforeUnloadEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMBeforeUnloadEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMBeforeUnloadEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMBeforeUnloadEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMBeforeUnloadEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMBeforeUnloadEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMBeforeUnloadEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMBeforeUnloadEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMBeforeUnloadEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMBeforeUnloadEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMBeforeUnloadEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMBeforeUnloadEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMBeforeUnloadEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMBeforeUnloadEvent { - type Vtable = IDOMBeforeUnloadEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510763_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMBeforeUnloadEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetreturnValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetreturnValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub returnValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - returnValue: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMCloseEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMCloseEvent { - pub unsafe fn wasClean(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).wasClean)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn initCloseEvent<'a, P0, P1>(&self, eventtype: P0, canbubble: i16, cancelable: i16, wasclean: i16, code: i32, reason: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).initCloseEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, wasclean, code, reason.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMCloseEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMCloseEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMCloseEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMCloseEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMCloseEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMCloseEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMCloseEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMCloseEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMCloseEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMCloseEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMCloseEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMCloseEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMCloseEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMCloseEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMCloseEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMCloseEvent { - type Vtable = IDOMCloseEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107ff_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMCloseEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub wasClean: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub initCloseEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, wasclean: i16, code: i32, reason: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - initCloseEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMCompositionEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMCompositionEvent { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn initCompositionEvent<'a, P0, P1, P2, P3>(&self, eventtype: P0, canbubble: i16, cancelable: i16, viewarg: P1, data: P2, locale: P3) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLWindow2>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).initCompositionEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, viewarg.into().abi(), data.into().abi(), locale.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn locale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).locale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMCompositionEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMCompositionEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMCompositionEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMCompositionEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMCompositionEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMCompositionEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMCompositionEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMCompositionEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMCompositionEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMCompositionEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMCompositionEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMCompositionEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMCompositionEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMCompositionEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMCompositionEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMCompositionEvent { - type Vtable = IDOMCompositionEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106d8_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMCompositionEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub data: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - data: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub initCompositionEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, viewarg: *mut ::core::ffi::c_void, data: ::core::mem::ManuallyDrop, locale: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - initCompositionEvent: usize, - #[cfg(feature = "Win32_Foundation")] - pub locale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - locale: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMCustomEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMCustomEvent { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn detail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).detail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn initCustomEvent<'a, P0>(&self, eventtype: P0, canbubble: i16, cancelable: i16, detail: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).initCustomEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, ::core::mem::transmute(detail)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMCustomEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMCustomEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMCustomEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMCustomEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMCustomEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMCustomEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMCustomEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMCustomEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMCustomEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMCustomEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMCustomEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMCustomEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMCustomEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMCustomEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMCustomEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMCustomEvent { - type Vtable = IDOMCustomEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106de_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMCustomEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub detail: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - detail: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub initCustomEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, detail: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - initCustomEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMDocumentType(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMDocumentType { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn entities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).entities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn notations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).notations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn publicId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).publicId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn systemId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).systemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn internalSubset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).internalSubset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMDocumentType) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMDocumentType> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMDocumentType) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMDocumentType> for ::windows::core::IUnknown { - fn from(value: &IDOMDocumentType) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMDocumentType) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMDocumentType> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMDocumentType) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMDocumentType> for super::super::System::Com::IDispatch { - fn from(value: &IDOMDocumentType) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMDocumentType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMDocumentType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMDocumentType {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMDocumentType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMDocumentType").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMDocumentType { - type Vtable = IDOMDocumentType_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510738_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMDocumentType_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(feature = "Win32_System_Com")] - pub entities: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - entities: usize, - #[cfg(feature = "Win32_System_Com")] - pub notations: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - notations: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub publicId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - publicId: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub systemId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - systemId: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub internalSubset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - internalSubset: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMDragEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMDragEvent { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn dataTransfer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dataTransfer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn initDragEvent<'a, P0, P1, P2, P3>(&self, eventtype: P0, canbubble: i16, cancelable: i16, viewarg: P1, detailarg: i32, screenxarg: i32, screenyarg: i32, clientxarg: i32, clientyarg: i32, ctrlkeyarg: i16, altkeyarg: i16, shiftkeyarg: i16, metakeyarg: i16, buttonarg: u16, relatedtargetarg: P2, datatransferarg: P3) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLWindow2>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IEventTarget>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDataTransfer>>, - { - (::windows::core::Interface::vtable(self).initDragEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, viewarg.into().abi(), detailarg, screenxarg, screenyarg, clientxarg, clientyarg, ctrlkeyarg, altkeyarg, shiftkeyarg, metakeyarg, buttonarg, relatedtargetarg.into().abi(), datatransferarg.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMDragEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMDragEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMDragEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMDragEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMDragEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMDragEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMDragEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMDragEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMDragEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMDragEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMDragEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMDragEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMDragEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMDragEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMDragEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMDragEvent { - type Vtable = IDOMDragEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510761_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMDragEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub dataTransfer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - dataTransfer: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub initDragEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, viewarg: *mut ::core::ffi::c_void, detailarg: i32, screenxarg: i32, screenyarg: i32, clientxarg: i32, clientyarg: i32, ctrlkeyarg: i16, altkeyarg: i16, shiftkeyarg: i16, metakeyarg: i16, buttonarg: u16, relatedtargetarg: *mut ::core::ffi::c_void, datatransferarg: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - initDragEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMEvent { - pub unsafe fn bubbles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bubbles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn cancelable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cancelable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn currentTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).currentTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn defaultPrevented(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).defaultPrevented)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn eventPhase(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).eventPhase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn timeStamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).timeStamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn initEvent<'a, P0>(&self, eventtype: P0, canbubble: i16, cancelable: i16) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).initEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable).ok() - } - pub unsafe fn preventDefault(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).preventDefault)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn stopPropagation(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).stopPropagation)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn stopImmediatePropagation(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).stopImmediatePropagation)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn isTrusted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isTrusted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetcancelBubble(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetcancelBubble)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn cancelBubble(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cancelBubble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn srcElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).srcElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMEvent { - type Vtable = IDOMEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104ba_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub bubbles: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub cancelable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub currentTarget: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - currentTarget: usize, - pub defaultPrevented: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub eventPhase: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub target: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - target: usize, - pub timeStamp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub initEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - initEvent: usize, - pub preventDefault: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub stopPropagation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub stopImmediatePropagation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub isTrusted: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetcancelBubble: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub cancelBubble: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub srcElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - srcElement: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IDOMEventRegistrationCallback(::windows::core::IUnknown); -impl IDOMEventRegistrationCallback { - pub unsafe fn OnDOMEventListenerAdded<'a, P0, P1>(&self, pszeventtype: P0, phandler: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IScriptEventHandler>>, - { - (::windows::core::Interface::vtable(self).OnDOMEventListenerAdded)(::windows::core::Interface::as_raw(self), pszeventtype.into(), phandler.into().abi()).ok() - } - pub unsafe fn OnDOMEventListenerRemoved(&self, ullcookie: u64) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).OnDOMEventListenerRemoved)(::windows::core::Interface::as_raw(self), ullcookie).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMEventRegistrationCallback) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IDOMEventRegistrationCallback> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMEventRegistrationCallback) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IDOMEventRegistrationCallback> for ::windows::core::IUnknown { - fn from(value: &IDOMEventRegistrationCallback) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IDOMEventRegistrationCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IDOMEventRegistrationCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDOMEventRegistrationCallback {} -impl ::core::fmt::Debug for IDOMEventRegistrationCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMEventRegistrationCallback").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IDOMEventRegistrationCallback { - type Vtable = IDOMEventRegistrationCallback_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051083b_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IDOMEventRegistrationCallback_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub OnDOMEventListenerAdded: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszeventtype: ::windows::core::PCWSTR, phandler: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub OnDOMEventListenerRemoved: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ullcookie: u64) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMException(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMException { - pub unsafe fn Setcode(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setcode)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn code(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).code)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn message(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMException) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMException> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMException) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMException> for ::windows::core::IUnknown { - fn from(value: &IDOMException) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMException) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMException> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMException) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMException> for super::super::System::Com::IDispatch { - fn from(value: &IDOMException) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMException { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMException { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMException {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMException { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMException").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMException { - type Vtable = IDOMException_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051072b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMException_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setcode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub code: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub message: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - message: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMFocusEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMFocusEvent { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn relatedTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).relatedTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn initFocusEvent<'a, P0, P1, P2>(&self, eventtype: P0, canbubble: i16, cancelable: i16, view: P1, detail: i32, relatedtargetarg: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLWindow2>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IEventTarget>>, - { - (::windows::core::Interface::vtable(self).initFocusEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, view.into().abi(), detail, relatedtargetarg.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMFocusEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMFocusEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMFocusEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMFocusEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMFocusEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMFocusEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMFocusEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMFocusEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMFocusEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMFocusEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMFocusEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMFocusEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMFocusEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMFocusEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMFocusEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMFocusEvent { - type Vtable = IDOMFocusEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106cc_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMFocusEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub relatedTarget: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - relatedTarget: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub initFocusEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, view: *mut ::core::ffi::c_void, detail: i32, relatedtargetarg: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - initFocusEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMKeyboardEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMKeyboardEvent { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn key(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).key)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn location(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).location)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn ctrlKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ctrlKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn shiftKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).shiftKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn altKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).altKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn metaKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).metaKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn repeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).repeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn getModifierState<'a, P0>(&self, keyarg: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getModifierState)(::windows::core::Interface::as_raw(self), keyarg.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn initKeyboardEvent<'a, P0, P1, P2, P3, P4>(&self, eventtype: P0, canbubble: i16, cancelable: i16, viewarg: P1, keyarg: P2, locationarg: u32, modifierslistarg: P3, repeat: i16, locale: P4) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLWindow2>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P4: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).initKeyboardEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, viewarg.into().abi(), keyarg.into().abi(), locationarg, modifierslistarg.into().abi(), repeat, locale.into().abi()).ok() - } - pub unsafe fn keyCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).keyCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn charCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).charCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn which(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).which)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ie9_char(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ie9_char)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn locale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).locale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMKeyboardEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMKeyboardEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMKeyboardEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMKeyboardEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMKeyboardEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMKeyboardEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMKeyboardEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMKeyboardEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMKeyboardEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMKeyboardEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMKeyboardEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMKeyboardEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMKeyboardEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMKeyboardEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMKeyboardEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMKeyboardEvent { - type Vtable = IDOMKeyboardEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106d6_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMKeyboardEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub key: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - key: usize, - pub location: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT, - pub ctrlKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub shiftKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub altKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub metaKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub repeat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub getModifierState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, keyarg: ::core::mem::ManuallyDrop, state: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - getModifierState: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub initKeyboardEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, viewarg: *mut ::core::ffi::c_void, keyarg: ::core::mem::ManuallyDrop, locationarg: u32, modifierslistarg: ::core::mem::ManuallyDrop, repeat: i16, locale: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - initKeyboardEvent: usize, - pub keyCode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub charCode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub which: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ie9_char: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ie9_char: usize, - #[cfg(feature = "Win32_Foundation")] - pub locale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - locale: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMMSAnimationEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMMSAnimationEvent { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn animationName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn elapsedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).elapsedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn initMSAnimationEvent<'a, P0, P1>(&self, eventtype: P0, canbubble: i16, cancelable: i16, animationname: P1, elapsedtime: f32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).initMSAnimationEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, animationname.into().abi(), elapsedtime).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMMSAnimationEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMMSAnimationEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMMSAnimationEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMMSAnimationEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMMSAnimationEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMMSAnimationEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMMSAnimationEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMMSAnimationEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMMSAnimationEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMMSAnimationEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMMSAnimationEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMMSAnimationEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMMSAnimationEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMMSAnimationEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMMSAnimationEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMMSAnimationEvent { - type Vtable = IDOMMSAnimationEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107b7_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMMSAnimationEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub animationName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - animationName: usize, - pub elapsedTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub initMSAnimationEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, animationname: ::core::mem::ManuallyDrop, elapsedtime: f32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - initMSAnimationEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMMSManipulationEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMMSManipulationEvent { - pub unsafe fn lastState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lastState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn currentState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).currentState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn initMSManipulationEvent<'a, P0, P1>(&self, eventtype: P0, canbubble: i16, cancelable: i16, viewarg: P1, detailarg: i32, laststate: i32, currentstate: i32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLWindow2>>, - { - (::windows::core::Interface::vtable(self).initMSManipulationEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, viewarg.into().abi(), detailarg, laststate, currentstate).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMMSManipulationEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMMSManipulationEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMMSManipulationEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMMSManipulationEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMMSManipulationEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMMSManipulationEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMMSManipulationEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMMSManipulationEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMMSManipulationEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMMSManipulationEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMMSManipulationEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMMSManipulationEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMMSManipulationEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMMSManipulationEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMMSManipulationEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMMSManipulationEvent { - type Vtable = IDOMMSManipulationEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510816_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMMSManipulationEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub lastState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub currentState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub initMSManipulationEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, viewarg: *mut ::core::ffi::c_void, detailarg: i32, laststate: i32, currentstate: i32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - initMSManipulationEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMMSTransitionEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMMSTransitionEvent { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn propertyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).propertyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn elapsedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).elapsedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn initMSTransitionEvent<'a, P0, P1>(&self, eventtype: P0, canbubble: i16, cancelable: i16, propertyname: P1, elapsedtime: f32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).initMSTransitionEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, propertyname.into().abi(), elapsedtime).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMMSTransitionEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMMSTransitionEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMMSTransitionEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMMSTransitionEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMMSTransitionEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMMSTransitionEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMMSTransitionEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMMSTransitionEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMMSTransitionEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMMSTransitionEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMMSTransitionEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMMSTransitionEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMMSTransitionEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMMSTransitionEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMMSTransitionEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMMSTransitionEvent { - type Vtable = IDOMMSTransitionEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107b5_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMMSTransitionEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub propertyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - propertyName: usize, - pub elapsedTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub initMSTransitionEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, propertyname: ::core::mem::ManuallyDrop, elapsedtime: f32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - initMSTransitionEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMMessageEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMMessageEvent { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn origin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).origin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn source(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).source)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn initMessageEvent<'a, P0, P1, P2, P3, P4>(&self, eventtype: P0, canbubble: i16, cancelable: i16, data: P1, origin: P2, lasteventid: P3, source: P4) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P4: ::std::convert::Into<::windows::core::InParam<'a, IHTMLWindow2>>, - { - (::windows::core::Interface::vtable(self).initMessageEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, data.into().abi(), origin.into().abi(), lasteventid.into().abi(), source.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMMessageEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMMessageEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMMessageEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMMessageEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMMessageEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMMessageEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMMessageEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMMessageEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMMessageEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMMessageEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMMessageEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMMessageEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMMessageEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMMessageEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMMessageEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMMessageEvent { - type Vtable = IDOMMessageEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510720_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMMessageEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub data: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - data: usize, - #[cfg(feature = "Win32_Foundation")] - pub origin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - origin: usize, - #[cfg(feature = "Win32_System_Com")] - pub source: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - source: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub initMessageEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, data: ::core::mem::ManuallyDrop, origin: ::core::mem::ManuallyDrop, lasteventid: ::core::mem::ManuallyDrop, source: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - initMessageEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMMouseEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMMouseEvent { - pub unsafe fn screenX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).screenX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn screenY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).screenY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clientX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clientY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn ctrlKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ctrlKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn shiftKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).shiftKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn altKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).altKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn metaKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).metaKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn button(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).button)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn relatedTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).relatedTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn initMouseEvent<'a, P0, P1, P2>(&self, eventtype: P0, canbubble: i16, cancelable: i16, viewarg: P1, detailarg: i32, screenxarg: i32, screenyarg: i32, clientxarg: i32, clientyarg: i32, ctrlkeyarg: i16, altkeyarg: i16, shiftkeyarg: i16, metakeyarg: i16, buttonarg: u16, relatedtargetarg: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLWindow2>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IEventTarget>>, - { - (::windows::core::Interface::vtable(self).initMouseEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, viewarg.into().abi(), detailarg, screenxarg, screenyarg, clientxarg, clientyarg, ctrlkeyarg, altkeyarg, shiftkeyarg, metakeyarg, buttonarg, relatedtargetarg.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn getModifierState<'a, P0>(&self, keyarg: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getModifierState)(::windows::core::Interface::as_raw(self), keyarg.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn buttons(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).buttons)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn fromElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fromElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn toElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn offsetX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).offsetX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn offsetY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).offsetY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn pageX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn pageY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn layerX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layerX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn layerY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layerY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn which(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).which)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMMouseEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMMouseEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMMouseEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMMouseEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMMouseEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMMouseEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMMouseEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMMouseEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMMouseEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMMouseEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMMouseEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMMouseEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMMouseEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMMouseEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMMouseEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMMouseEvent { - type Vtable = IDOMMouseEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106ce_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMMouseEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub screenX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub screenY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clientX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clientY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub ctrlKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub shiftKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub altKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub metaKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub button: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub relatedTarget: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - relatedTarget: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub initMouseEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, viewarg: *mut ::core::ffi::c_void, detailarg: i32, screenxarg: i32, screenyarg: i32, clientxarg: i32, clientyarg: i32, ctrlkeyarg: i16, altkeyarg: i16, shiftkeyarg: i16, metakeyarg: i16, buttonarg: u16, relatedtargetarg: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - initMouseEvent: usize, - #[cfg(feature = "Win32_Foundation")] - pub getModifierState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, keyarg: ::core::mem::ManuallyDrop, activated: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - getModifierState: usize, - pub buttons: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub fromElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - fromElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub toElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - toElement: usize, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub offsetX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub offsetY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub pageX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub pageY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub layerX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub layerY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub which: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMMouseWheelEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMMouseWheelEvent { - pub unsafe fn wheelDelta(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).wheelDelta)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn initMouseWheelEvent<'a, P0, P1, P2, P3>(&self, eventtype: P0, canbubble: i16, cancelable: i16, viewarg: P1, detailarg: i32, screenxarg: i32, screenyarg: i32, clientxarg: i32, clientyarg: i32, buttonarg: u16, relatedtargetarg: P2, modifierslistarg: P3, wheeldeltaarg: i32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLWindow2>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IEventTarget>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).initMouseWheelEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, viewarg.into().abi(), detailarg, screenxarg, screenyarg, clientxarg, clientyarg, buttonarg, relatedtargetarg.into().abi(), modifierslistarg.into().abi(), wheeldeltaarg).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMMouseWheelEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMMouseWheelEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMMouseWheelEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMMouseWheelEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMMouseWheelEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMMouseWheelEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMMouseWheelEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMMouseWheelEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMMouseWheelEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMMouseWheelEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMMouseWheelEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMMouseWheelEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMMouseWheelEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMMouseWheelEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMMouseWheelEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMMouseWheelEvent { - type Vtable = IDOMMouseWheelEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106d0_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMMouseWheelEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub wheelDelta: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub initMouseWheelEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, viewarg: *mut ::core::ffi::c_void, detailarg: i32, screenxarg: i32, screenyarg: i32, clientxarg: i32, clientyarg: i32, buttonarg: u16, relatedtargetarg: *mut ::core::ffi::c_void, modifierslistarg: ::core::mem::ManuallyDrop, wheeldeltaarg: i32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - initMouseWheelEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMMutationEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMMutationEvent { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn relatedNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).relatedNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn prevValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).prevValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn newValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).newValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn attrName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).attrName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn attrChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).attrChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn initMutationEvent<'a, P0, P1, P2, P3, P4>(&self, eventtype: P0, canbubble: i16, cancelable: i16, relatednodearg: P1, prevvaluearg: P2, newvaluearg: P3, attrnamearg: P4, attrchangearg: u16) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P4: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).initMutationEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, relatednodearg.into().abi(), prevvaluearg.into().abi(), newvaluearg.into().abi(), attrnamearg.into().abi(), attrchangearg).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMMutationEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMMutationEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMMutationEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMMutationEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMMutationEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMMutationEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMMutationEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMMutationEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMMutationEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMMutationEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMMutationEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMMutationEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMMutationEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMMutationEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMMutationEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMMutationEvent { - type Vtable = IDOMMutationEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106da_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMMutationEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub relatedNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - relatedNode: usize, - #[cfg(feature = "Win32_Foundation")] - pub prevValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - prevValue: usize, - #[cfg(feature = "Win32_Foundation")] - pub newValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - newValue: usize, - #[cfg(feature = "Win32_Foundation")] - pub attrName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - attrName: usize, - pub attrChange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub initMutationEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, relatednodearg: *mut ::core::ffi::c_void, prevvaluearg: ::core::mem::ManuallyDrop, newvaluearg: ::core::mem::ManuallyDrop, attrnamearg: ::core::mem::ManuallyDrop, attrchangearg: u16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - initMutationEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMNodeIterator(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMNodeIterator { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn root(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).root)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn whatToShow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).whatToShow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn filter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).filter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn expandEntityReferences(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).expandEntityReferences)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn nextNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nextNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn previousNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).previousNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn detach(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).detach)(::windows::core::Interface::as_raw(self)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMNodeIterator) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMNodeIterator> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMNodeIterator) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMNodeIterator> for ::windows::core::IUnknown { - fn from(value: &IDOMNodeIterator) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMNodeIterator) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMNodeIterator> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMNodeIterator) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMNodeIterator> for super::super::System::Com::IDispatch { - fn from(value: &IDOMNodeIterator) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMNodeIterator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMNodeIterator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMNodeIterator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMNodeIterator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMNodeIterator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMNodeIterator { - type Vtable = IDOMNodeIterator_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510746_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMNodeIterator_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub root: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - root: usize, - pub whatToShow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub filter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - filter: usize, - pub expandEntityReferences: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub nextNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - nextNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub previousNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - previousNode: usize, - pub detach: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMParser(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMParser { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn parseFromString<'a, P0, P1>(&self, xmlsource: P0, mimetype: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).parseFromString)(::windows::core::Interface::as_raw(self), xmlsource.into().abi(), mimetype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMParser) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMParser> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMParser) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMParser> for ::windows::core::IUnknown { - fn from(value: &IDOMParser) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMParser) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMParser> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMParser) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMParser> for super::super::System::Com::IDispatch { - fn from(value: &IDOMParser) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMParser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMParser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMParser {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMParser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMParser").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMParser { - type Vtable = IDOMParser_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510781_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMParser_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub parseFromString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, xmlsource: ::core::mem::ManuallyDrop, mimetype: ::core::mem::ManuallyDrop, ppnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - parseFromString: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMParserFactory(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMParserFactory { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn create(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).create)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMParserFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMParserFactory> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMParserFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMParserFactory> for ::windows::core::IUnknown { - fn from(value: &IDOMParserFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMParserFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMParserFactory> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMParserFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMParserFactory> for super::super::System::Com::IDispatch { - fn from(value: &IDOMParserFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMParserFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMParserFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMParserFactory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMParserFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMParserFactory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMParserFactory { - type Vtable = IDOMParserFactory_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510783_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMParserFactory_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub create: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, __midl__idomparserfactory0000: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - create: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMProcessingInstruction(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMProcessingInstruction { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdata<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdata)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMProcessingInstruction) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMProcessingInstruction> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMProcessingInstruction) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMProcessingInstruction> for ::windows::core::IUnknown { - fn from(value: &IDOMProcessingInstruction) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMProcessingInstruction) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMProcessingInstruction> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMProcessingInstruction) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMProcessingInstruction> for super::super::System::Com::IDispatch { - fn from(value: &IDOMProcessingInstruction) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMProcessingInstruction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMProcessingInstruction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMProcessingInstruction {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMProcessingInstruction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMProcessingInstruction").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMProcessingInstruction { - type Vtable = IDOMProcessingInstruction_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510742_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMProcessingInstruction_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub target: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - target: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdata: usize, - #[cfg(feature = "Win32_Foundation")] - pub data: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - data: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMProgressEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMProgressEvent { - pub unsafe fn lengthComputable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lengthComputable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn loaded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).loaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn total(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).total)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn initProgressEvent<'a, P0>(&self, eventtype: P0, canbubble: i16, cancelable: i16, lengthcomputablearg: i16, loadedarg: u64, totalarg: u64) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).initProgressEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, lengthcomputablearg, loadedarg, totalarg).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMProgressEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMProgressEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMProgressEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMProgressEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMProgressEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMProgressEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMProgressEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMProgressEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMProgressEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMProgressEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMProgressEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMProgressEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMProgressEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMProgressEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMProgressEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMProgressEvent { - type Vtable = IDOMProgressEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051071e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMProgressEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub lengthComputable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub loaded: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub total: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub initProgressEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, lengthcomputablearg: i16, loadedarg: u64, totalarg: u64) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - initProgressEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMSiteModeEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMSiteModeEvent { - pub unsafe fn buttonID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).buttonID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn actionURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).actionURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMSiteModeEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMSiteModeEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMSiteModeEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMSiteModeEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMSiteModeEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMSiteModeEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMSiteModeEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMSiteModeEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMSiteModeEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMSiteModeEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMSiteModeEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMSiteModeEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMSiteModeEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMSiteModeEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMSiteModeEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMSiteModeEvent { - type Vtable = IDOMSiteModeEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510765_98b6_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMSiteModeEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub buttonID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub actionURL: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - actionURL: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMStorageEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMStorageEvent { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn key(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).key)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn oldValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oldValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn newValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).newValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn url(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).url)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn storageArea(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).storageArea)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn initStorageEvent<'a, P0, P1, P2, P3, P4, P5>(&self, eventtype: P0, canbubble: i16, cancelable: i16, keyarg: P1, oldvaluearg: P2, newvaluearg: P3, urlarg: P4, storageareaarg: P5) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P4: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P5: ::std::convert::Into<::windows::core::InParam<'a, IHTMLStorage>>, - { - (::windows::core::Interface::vtable(self).initStorageEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, keyarg.into().abi(), oldvaluearg.into().abi(), newvaluearg.into().abi(), urlarg.into().abi(), storageareaarg.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMStorageEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMStorageEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMStorageEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMStorageEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMStorageEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMStorageEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMStorageEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMStorageEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMStorageEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMStorageEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMStorageEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMStorageEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMStorageEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMStorageEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMStorageEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMStorageEvent { - type Vtable = IDOMStorageEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510722_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMStorageEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub key: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - key: usize, - #[cfg(feature = "Win32_Foundation")] - pub oldValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - oldValue: usize, - #[cfg(feature = "Win32_Foundation")] - pub newValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - newValue: usize, - #[cfg(feature = "Win32_Foundation")] - pub url: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - url: usize, - #[cfg(feature = "Win32_System_Com")] - pub storageArea: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - storageArea: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub initStorageEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, keyarg: ::core::mem::ManuallyDrop, oldvaluearg: ::core::mem::ManuallyDrop, newvaluearg: ::core::mem::ManuallyDrop, urlarg: ::core::mem::ManuallyDrop, storageareaarg: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - initStorageEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMTextEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMTextEvent { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn inputMethod(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).inputMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn initTextEvent<'a, P0, P1, P2, P3>(&self, eventtype: P0, canbubble: i16, cancelable: i16, viewarg: P1, dataarg: P2, inputmethod: u32, locale: P3) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLWindow2>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).initTextEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, viewarg.into().abi(), dataarg.into().abi(), inputmethod, locale.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn locale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).locale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMTextEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMTextEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMTextEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMTextEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMTextEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMTextEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMTextEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMTextEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMTextEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMTextEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMTextEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMTextEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMTextEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMTextEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMTextEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMTextEvent { - type Vtable = IDOMTextEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106d4_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMTextEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub data: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - data: usize, - pub inputMethod: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub initTextEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, viewarg: *mut ::core::ffi::c_void, dataarg: ::core::mem::ManuallyDrop, inputmethod: u32, locale: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - initTextEvent: usize, - #[cfg(feature = "Win32_Foundation")] - pub locale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - locale: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMTreeWalker(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMTreeWalker { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn root(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).root)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn whatToShow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).whatToShow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn filter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).filter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn expandEntityReferences(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).expandEntityReferences)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_currentNode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).putref_currentNode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn currentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).currentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn previousNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).previousNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn nextNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nextNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMTreeWalker) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMTreeWalker> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMTreeWalker) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMTreeWalker> for ::windows::core::IUnknown { - fn from(value: &IDOMTreeWalker) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMTreeWalker) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMTreeWalker> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMTreeWalker) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMTreeWalker> for super::super::System::Com::IDispatch { - fn from(value: &IDOMTreeWalker) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMTreeWalker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMTreeWalker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMTreeWalker {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMTreeWalker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMTreeWalker").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMTreeWalker { - type Vtable = IDOMTreeWalker_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510748_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMTreeWalker_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub root: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - root: usize, - pub whatToShow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub filter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - filter: usize, - pub expandEntityReferences: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub putref_currentNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_currentNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub currentNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - currentNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub parentNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - parentNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub firstChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - firstChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub lastChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - lastChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub previousSibling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - previousSibling: usize, - #[cfg(feature = "Win32_System_Com")] - pub nextSibling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - nextSibling: usize, - #[cfg(feature = "Win32_System_Com")] - pub previousNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - previousNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub nextNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - nextNode: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMUIEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMUIEvent { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn view(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).view)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn detail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).detail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn initUIEvent<'a, P0, P1>(&self, eventtype: P0, canbubble: i16, cancelable: i16, view: P1, detail: i32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLWindow2>>, - { - (::windows::core::Interface::vtable(self).initUIEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, view.into().abi(), detail).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMUIEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMUIEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMUIEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMUIEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMUIEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMUIEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMUIEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMUIEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMUIEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMUIEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMUIEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMUIEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMUIEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMUIEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMUIEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMUIEvent { - type Vtable = IDOMUIEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106ca_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMUIEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub view: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - view: usize, - pub detail: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub initUIEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, view: *mut ::core::ffi::c_void, detail: i32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - initUIEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMWheelEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMWheelEvent { - pub unsafe fn deltaX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).deltaX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deltaY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).deltaY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deltaZ(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).deltaZ)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deltaMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).deltaMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn initWheelEvent<'a, P0, P1, P2, P3>(&self, eventtype: P0, canbubble: i16, cancelable: i16, viewarg: P1, detailarg: i32, screenxarg: i32, screenyarg: i32, clientxarg: i32, clientyarg: i32, buttonarg: u16, relatedtargetarg: P2, modifierslistarg: P3, deltax: i32, deltay: i32, deltaz: i32, deltamode: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLWindow2>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IEventTarget>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).initWheelEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, viewarg.into().abi(), detailarg, screenxarg, screenyarg, clientxarg, clientyarg, buttonarg, relatedtargetarg.into().abi(), modifierslistarg.into().abi(), deltax, deltay, deltaz, deltamode).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMWheelEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMWheelEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMWheelEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMWheelEvent> for ::windows::core::IUnknown { - fn from(value: &IDOMWheelEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMWheelEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMWheelEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMWheelEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMWheelEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDOMWheelEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMWheelEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMWheelEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMWheelEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMWheelEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMWheelEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMWheelEvent { - type Vtable = IDOMWheelEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106d2_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMWheelEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub deltaX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub deltaY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub deltaZ: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub deltaMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub initWheelEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, canbubble: i16, cancelable: i16, viewarg: *mut ::core::ffi::c_void, detailarg: i32, screenxarg: i32, screenyarg: i32, clientxarg: i32, clientyarg: i32, buttonarg: u16, relatedtargetarg: *mut ::core::ffi::c_void, modifierslistarg: ::core::mem::ManuallyDrop, deltax: i32, deltay: i32, deltaz: i32, deltamode: u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - initWheelEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMXmlSerializer(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMXmlSerializer { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn serializeToString<'a, P0>(&self, pnode: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).serializeToString)(::windows::core::Interface::as_raw(self), pnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMXmlSerializer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMXmlSerializer> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMXmlSerializer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMXmlSerializer> for ::windows::core::IUnknown { - fn from(value: &IDOMXmlSerializer) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMXmlSerializer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMXmlSerializer> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMXmlSerializer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMXmlSerializer> for super::super::System::Com::IDispatch { - fn from(value: &IDOMXmlSerializer) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMXmlSerializer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMXmlSerializer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMXmlSerializer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMXmlSerializer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMXmlSerializer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMXmlSerializer { - type Vtable = IDOMXmlSerializer_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051077d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMXmlSerializer_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub serializeToString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnode: *mut ::core::ffi::c_void, pstring: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - serializeToString: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDOMXmlSerializerFactory(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDOMXmlSerializerFactory { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn create(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).create)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDOMXmlSerializerFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMXmlSerializerFactory> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDOMXmlSerializerFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMXmlSerializerFactory> for ::windows::core::IUnknown { - fn from(value: &IDOMXmlSerializerFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDOMXmlSerializerFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDOMXmlSerializerFactory> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDOMXmlSerializerFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDOMXmlSerializerFactory> for super::super::System::Com::IDispatch { - fn from(value: &IDOMXmlSerializerFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDOMXmlSerializerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDOMXmlSerializerFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDOMXmlSerializerFactory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDOMXmlSerializerFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDOMXmlSerializerFactory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDOMXmlSerializerFactory { - type Vtable = IDOMXmlSerializerFactory_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051077f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDOMXmlSerializerFactory_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub create: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, __midl__idomxmlserializerfactory0000: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - create: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IDebugCallbackNotificationHandler(::windows::core::IUnknown); -impl IDebugCallbackNotificationHandler { - pub unsafe fn RequestedCallbackTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).RequestedCallbackTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn BeforeDispatchEvent<'a, P0>(&self, pevent: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).BeforeDispatchEvent)(::windows::core::Interface::as_raw(self), pevent.into().abi()).ok() - } - pub unsafe fn DispatchEventComplete<'a, P0>(&self, pevent: P0, propagationstatus: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).DispatchEventComplete)(::windows::core::Interface::as_raw(self), pevent.into().abi(), propagationstatus).ok() - } - pub unsafe fn BeforeInvokeDomCallback<'a, P0, P1>(&self, pevent: P0, pcallback: P1, estage: DOM_EVENT_PHASE, propagationstatus: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IScriptEventHandler>>, - { - (::windows::core::Interface::vtable(self).BeforeInvokeDomCallback)(::windows::core::Interface::as_raw(self), pevent.into().abi(), pcallback.into().abi(), estage, propagationstatus).ok() - } - pub unsafe fn InvokeDomCallbackComplete<'a, P0, P1>(&self, pevent: P0, pcallback: P1, estage: DOM_EVENT_PHASE, propagationstatus: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IScriptEventHandler>>, - { - (::windows::core::Interface::vtable(self).InvokeDomCallbackComplete)(::windows::core::Interface::as_raw(self), pevent.into().abi(), pcallback.into().abi(), estage, propagationstatus).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn BeforeInvokeCallback<'a, P0, P1, P2>(&self, ecallbacktype: SCRIPT_TIMER_TYPE, callbackcookie: u32, pdisphandler: P0, ullhandlercookie: u64, functionname: P1, line: u32, column: u32, cchlength: u32, pdebugdocumentcontext: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).BeforeInvokeCallback)(::windows::core::Interface::as_raw(self), ecallbacktype, callbackcookie, pdisphandler.into().abi(), ullhandlercookie, functionname.into().abi(), line, column, cchlength, pdebugdocumentcontext.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn InvokeCallbackComplete<'a, P0, P1, P2>(&self, ecallbacktype: SCRIPT_TIMER_TYPE, callbackcookie: u32, pdisphandler: P0, ullhandlercookie: u64, functionname: P1, line: u32, column: u32, cchlength: u32, pdebugdocumentcontext: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).InvokeCallbackComplete)(::windows::core::Interface::as_raw(self), ecallbacktype, callbackcookie, pdisphandler.into().abi(), ullhandlercookie, functionname.into().abi(), line, column, cchlength, pdebugdocumentcontext.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDebugCallbackNotificationHandler) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IDebugCallbackNotificationHandler> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDebugCallbackNotificationHandler) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IDebugCallbackNotificationHandler> for ::windows::core::IUnknown { - fn from(value: &IDebugCallbackNotificationHandler) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IDebugCallbackNotificationHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IDebugCallbackNotificationHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugCallbackNotificationHandler {} -impl ::core::fmt::Debug for IDebugCallbackNotificationHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugCallbackNotificationHandler").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IDebugCallbackNotificationHandler { - type Vtable = IDebugCallbackNotificationHandler_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510842_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IDebugCallbackNotificationHandler_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub RequestedCallbackTypes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcallbackmask: *mut u32) -> ::windows::core::HRESULT, - pub BeforeDispatchEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pevent: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub DispatchEventComplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pevent: *mut ::core::ffi::c_void, propagationstatus: u32) -> ::windows::core::HRESULT, - pub BeforeInvokeDomCallback: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pevent: *mut ::core::ffi::c_void, pcallback: *mut ::core::ffi::c_void, estage: DOM_EVENT_PHASE, propagationstatus: u32) -> ::windows::core::HRESULT, - pub InvokeDomCallbackComplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pevent: *mut ::core::ffi::c_void, pcallback: *mut ::core::ffi::c_void, estage: DOM_EVENT_PHASE, propagationstatus: u32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub BeforeInvokeCallback: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ecallbacktype: SCRIPT_TIMER_TYPE, callbackcookie: u32, pdisphandler: *mut ::core::ffi::c_void, ullhandlercookie: u64, functionname: ::core::mem::ManuallyDrop, line: u32, column: u32, cchlength: u32, pdebugdocumentcontext: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - BeforeInvokeCallback: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub InvokeCallbackComplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ecallbacktype: SCRIPT_TIMER_TYPE, callbackcookie: u32, pdisphandler: *mut ::core::ffi::c_void, ullhandlercookie: u64, functionname: ::core::mem::ManuallyDrop, line: u32, column: u32, cchlength: u32, pdebugdocumentcontext: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - InvokeCallbackComplete: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IDeveloperConsoleMessageReceiver(::windows::core::IUnknown); -impl IDeveloperConsoleMessageReceiver { - pub unsafe fn Write<'a, P0, P1>(&self, source: P0, level: DEV_CONSOLE_MESSAGE_LEVEL, messageid: i32, messagetext: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).Write)(::windows::core::Interface::as_raw(self), source.into(), level, messageid, messagetext.into()).ok() - } - pub unsafe fn WriteWithUrl<'a, P0, P1, P2>(&self, source: P0, level: DEV_CONSOLE_MESSAGE_LEVEL, messageid: i32, messagetext: P1, fileurl: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).WriteWithUrl)(::windows::core::Interface::as_raw(self), source.into(), level, messageid, messagetext.into(), fileurl.into()).ok() - } - pub unsafe fn WriteWithUrlAndLine<'a, P0, P1, P2>(&self, source: P0, level: DEV_CONSOLE_MESSAGE_LEVEL, messageid: i32, messagetext: P1, fileurl: P2, line: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).WriteWithUrlAndLine)(::windows::core::Interface::as_raw(self), source.into(), level, messageid, messagetext.into(), fileurl.into(), line).ok() - } - pub unsafe fn WriteWithUrlLineAndColumn<'a, P0, P1, P2>(&self, source: P0, level: DEV_CONSOLE_MESSAGE_LEVEL, messageid: i32, messagetext: P1, fileurl: P2, line: u32, column: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).WriteWithUrlLineAndColumn)(::windows::core::Interface::as_raw(self), source.into(), level, messageid, messagetext.into(), fileurl.into(), line, column).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDeveloperConsoleMessageReceiver) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IDeveloperConsoleMessageReceiver> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDeveloperConsoleMessageReceiver) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IDeveloperConsoleMessageReceiver> for ::windows::core::IUnknown { - fn from(value: &IDeveloperConsoleMessageReceiver) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IDeveloperConsoleMessageReceiver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IDeveloperConsoleMessageReceiver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDeveloperConsoleMessageReceiver {} -impl ::core::fmt::Debug for IDeveloperConsoleMessageReceiver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDeveloperConsoleMessageReceiver").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IDeveloperConsoleMessageReceiver { - type Vtable = IDeveloperConsoleMessageReceiver_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510808_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IDeveloperConsoleMessageReceiver_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub Write: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, source: ::windows::core::PCWSTR, level: DEV_CONSOLE_MESSAGE_LEVEL, messageid: i32, messagetext: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, - pub WriteWithUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, source: ::windows::core::PCWSTR, level: DEV_CONSOLE_MESSAGE_LEVEL, messageid: i32, messagetext: ::windows::core::PCWSTR, fileurl: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, - pub WriteWithUrlAndLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, source: ::windows::core::PCWSTR, level: DEV_CONSOLE_MESSAGE_LEVEL, messageid: i32, messagetext: ::windows::core::PCWSTR, fileurl: ::windows::core::PCWSTR, line: u32) -> ::windows::core::HRESULT, - pub WriteWithUrlLineAndColumn: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, source: ::windows::core::PCWSTR, level: DEV_CONSOLE_MESSAGE_LEVEL, messageid: i32, messagetext: ::windows::core::PCWSTR, fileurl: ::windows::core::PCWSTR, line: u32, column: u32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDeviceRect(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDeviceRect {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDeviceRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDeviceRect> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDeviceRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDeviceRect> for ::windows::core::IUnknown { - fn from(value: &IDeviceRect) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDeviceRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDeviceRect> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDeviceRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDeviceRect> for super::super::System::Com::IDispatch { - fn from(value: &IDeviceRect) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDeviceRect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDeviceRect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDeviceRect {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDeviceRect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDeviceRect").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDeviceRect { - type Vtable = IDeviceRect_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6d5_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDeviceRect_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IDiagnosticsScriptEngine(::windows::core::IUnknown); -impl IDiagnosticsScriptEngine { - pub unsafe fn EvaluateScript<'a, P0, P1>(&self, pszscript: P0, pszscriptname: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).EvaluateScript)(::windows::core::Interface::as_raw(self), pszscript.into(), pszscriptname.into()).ok() - } - pub unsafe fn FireScriptMessageEvent(&self, psznames: *const ::windows::core::PWSTR, pszvalues: *const ::windows::core::PWSTR, ulpropertycount: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).FireScriptMessageEvent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psznames), ::core::mem::transmute(pszvalues), ::core::mem::transmute(ulpropertycount)).ok() - } - pub unsafe fn Detach(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Detach)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDiagnosticsScriptEngine) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IDiagnosticsScriptEngine> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDiagnosticsScriptEngine) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IDiagnosticsScriptEngine> for ::windows::core::IUnknown { - fn from(value: &IDiagnosticsScriptEngine) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IDiagnosticsScriptEngine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IDiagnosticsScriptEngine { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDiagnosticsScriptEngine {} -impl ::core::fmt::Debug for IDiagnosticsScriptEngine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiagnosticsScriptEngine").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IDiagnosticsScriptEngine { - type Vtable = IDiagnosticsScriptEngine_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510859_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IDiagnosticsScriptEngine_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub EvaluateScript: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszscript: ::windows::core::PCWSTR, pszscriptname: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, - pub FireScriptMessageEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psznames: *const ::windows::core::PWSTR, pszvalues: *const ::windows::core::PWSTR, ulpropertycount: u32) -> ::windows::core::HRESULT, - pub Detach: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IDiagnosticsScriptEngineProvider(::windows::core::IUnknown); -impl IDiagnosticsScriptEngineProvider { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn CreateDiagnosticsScriptEngine<'a, P0, P1>(&self, pscriptsite: P0, fdebuggingenabled: P1, ulprocessid: u32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IDiagnosticsScriptEngineSite>>, - P1: ::std::convert::Into, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CreateDiagnosticsScriptEngine)(::windows::core::Interface::as_raw(self), pscriptsite.into().abi(), fdebuggingenabled.into(), ulprocessid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDiagnosticsScriptEngineProvider) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IDiagnosticsScriptEngineProvider> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDiagnosticsScriptEngineProvider) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IDiagnosticsScriptEngineProvider> for ::windows::core::IUnknown { - fn from(value: &IDiagnosticsScriptEngineProvider) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IDiagnosticsScriptEngineProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IDiagnosticsScriptEngineProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDiagnosticsScriptEngineProvider {} -impl ::core::fmt::Debug for IDiagnosticsScriptEngineProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiagnosticsScriptEngineProvider").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IDiagnosticsScriptEngineProvider { - type Vtable = IDiagnosticsScriptEngineProvider_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051085a_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IDiagnosticsScriptEngineProvider_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub CreateDiagnosticsScriptEngine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pscriptsite: *mut ::core::ffi::c_void, fdebuggingenabled: super::super::Foundation::BOOL, ulprocessid: u32, ppengine: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - CreateDiagnosticsScriptEngine: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IDiagnosticsScriptEngineSite(::windows::core::IUnknown); -impl IDiagnosticsScriptEngineSite { - pub unsafe fn OnMessage(&self, pszdata: &[::windows::core::PWSTR]) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).OnMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pszdata)), pszdata.len() as _).ok() - } - #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] - #[cfg(feature = "Win32_System_Diagnostics_Debug")] - pub unsafe fn OnScriptError<'a, P0>(&self, pscripterror: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Diagnostics::Debug::IActiveScriptError>>, - { - (::windows::core::Interface::vtable(self).OnScriptError)(::windows::core::Interface::as_raw(self), pscripterror.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDiagnosticsScriptEngineSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IDiagnosticsScriptEngineSite> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDiagnosticsScriptEngineSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IDiagnosticsScriptEngineSite> for ::windows::core::IUnknown { - fn from(value: &IDiagnosticsScriptEngineSite) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IDiagnosticsScriptEngineSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IDiagnosticsScriptEngineSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDiagnosticsScriptEngineSite {} -impl ::core::fmt::Debug for IDiagnosticsScriptEngineSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiagnosticsScriptEngineSite").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IDiagnosticsScriptEngineSite { - type Vtable = IDiagnosticsScriptEngineSite_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510858_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IDiagnosticsScriptEngineSite_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub OnMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszdata: *const ::windows::core::PWSTR, uldatacount: u32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Diagnostics_Debug")] - pub OnScriptError: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pscripterror: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Diagnostics_Debug"))] - OnScriptError: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IDisplayPointer(::windows::core::IUnknown); -impl IDisplayPointer { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn MoveToPoint<'a, P0>(&self, ptpoint: super::super::Foundation::POINT, ecoordsystem: COORD_SYSTEM, pelementcontext: P0, dwhittestoptions: u32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).MoveToPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptpoint), ecoordsystem, pelementcontext.into().abi(), dwhittestoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn MoveUnit(&self, emoveunit: DISPLAY_MOVEUNIT, lxpos: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).MoveUnit)(::windows::core::Interface::as_raw(self), emoveunit, lxpos).ok() - } - pub unsafe fn PositionMarkupPointer<'a, P0>(&self, pmarkuppointer: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).PositionMarkupPointer)(::windows::core::Interface::as_raw(self), pmarkuppointer.into().abi()).ok() - } - pub unsafe fn MoveToPointer<'a, P0>(&self, pdisppointer: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, - { - (::windows::core::Interface::vtable(self).MoveToPointer)(::windows::core::Interface::as_raw(self), pdisppointer.into().abi()).ok() - } - pub unsafe fn SetPointerGravity(&self, egravity: POINTER_GRAVITY) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetPointerGravity)(::windows::core::Interface::as_raw(self), egravity).ok() - } - pub unsafe fn GetPointerGravity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetPointerGravity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetDisplayGravity(&self, egravity: DISPLAY_GRAVITY) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetDisplayGravity)(::windows::core::Interface::as_raw(self), egravity).ok() - } - pub unsafe fn GetDisplayGravity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetDisplayGravity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsPositioned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsPositioned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Unposition(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Unposition)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsEqualTo<'a, P0>(&self, pdisppointer: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsEqualTo)(::windows::core::Interface::as_raw(self), pdisppointer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsLeftOf<'a, P0>(&self, pdisppointer: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsLeftOf)(::windows::core::Interface::as_raw(self), pdisppointer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsRightOf<'a, P0>(&self, pdisppointer: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsRightOf)(::windows::core::Interface::as_raw(self), pdisppointer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsAtBOL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsAtBOL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn MoveToMarkupPointer<'a, P0, P1>(&self, ppointer: P0, pdisplinecontext: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, - { - (::windows::core::Interface::vtable(self).MoveToMarkupPointer)(::windows::core::Interface::as_raw(self), ppointer.into().abi(), pdisplinecontext.into().abi()).ok() - } - pub unsafe fn ScrollIntoView(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).ScrollIntoView)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn GetLineInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetLineInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn GetFlowElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetFlowElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn QueryBreaks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).QueryBreaks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDisplayPointer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IDisplayPointer> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDisplayPointer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IDisplayPointer> for ::windows::core::IUnknown { - fn from(value: &IDisplayPointer) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IDisplayPointer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IDisplayPointer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDisplayPointer {} -impl ::core::fmt::Debug for IDisplayPointer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDisplayPointer").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IDisplayPointer { - type Vtable = IDisplayPointer_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f69e_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IDisplayPointer_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub MoveToPoint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptpoint: super::super::Foundation::POINT, ecoordsystem: COORD_SYSTEM, pelementcontext: *mut ::core::ffi::c_void, dwhittestoptions: u32, pdwhittestresults: *mut u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - MoveToPoint: usize, - pub MoveUnit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, emoveunit: DISPLAY_MOVEUNIT, lxpos: i32) -> ::windows::core::HRESULT, - pub PositionMarkupPointer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pmarkuppointer: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub MoveToPointer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdisppointer: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub SetPointerGravity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, egravity: POINTER_GRAVITY) -> ::windows::core::HRESULT, - pub GetPointerGravity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pegravity: *mut POINTER_GRAVITY) -> ::windows::core::HRESULT, - pub SetDisplayGravity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, egravity: DISPLAY_GRAVITY) -> ::windows::core::HRESULT, - pub GetDisplayGravity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pegravity: *mut DISPLAY_GRAVITY) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub IsPositioned: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfpositioned: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsPositioned: usize, - pub Unposition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub IsEqualTo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdisppointer: *mut ::core::ffi::c_void, pfisequal: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsEqualTo: usize, - #[cfg(feature = "Win32_Foundation")] - pub IsLeftOf: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdisppointer: *mut ::core::ffi::c_void, pfisleftof: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsLeftOf: usize, - #[cfg(feature = "Win32_Foundation")] - pub IsRightOf: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdisppointer: *mut ::core::ffi::c_void, pfisrightof: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsRightOf: usize, - #[cfg(feature = "Win32_Foundation")] - pub IsAtBOL: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfbol: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsAtBOL: usize, - pub MoveToMarkupPointer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppointer: *mut ::core::ffi::c_void, pdisplinecontext: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub ScrollIntoView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub GetLineInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pplineinfo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub GetFlowElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pplayoutelement: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetFlowElement: usize, - pub QueryBreaks: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwbreaks: *mut u32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IDisplayServices(::windows::core::IUnknown); -impl IDisplayServices { - pub unsafe fn CreateDisplayPointer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CreateDisplayPointer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn TransformRect<'a, P0>(&self, prect: *mut super::super::Foundation::RECT, esource: COORD_SYSTEM, edestination: COORD_SYSTEM, pielement: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).TransformRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prect), esource, edestination, pielement.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn TransformPoint<'a, P0>(&self, ppoint: *mut super::super::Foundation::POINT, esource: COORD_SYSTEM, edestination: COORD_SYSTEM, pielement: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).TransformPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppoint), esource, edestination, pielement.into().abi()).ok() - } - pub unsafe fn GetCaret(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetCaret)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn GetComputedStyle<'a, P0>(&self, ppointer: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetComputedStyle)(::windows::core::Interface::as_raw(self), ppointer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn ScrollRectIntoView<'a, P0>(&self, pielement: P0, rect: super::super::Foundation::RECT) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).ScrollRectIntoView)(::windows::core::Interface::as_raw(self), pielement.into().abi(), ::core::mem::transmute(rect)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn HasFlowLayout<'a, P0>(&self, pielement: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HasFlowLayout)(::windows::core::Interface::as_raw(self), pielement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDisplayServices) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IDisplayServices> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDisplayServices) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IDisplayServices> for ::windows::core::IUnknown { - fn from(value: &IDisplayServices) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IDisplayServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IDisplayServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDisplayServices {} -impl ::core::fmt::Debug for IDisplayServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDisplayServices").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IDisplayServices { - type Vtable = IDisplayServices_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f69d_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IDisplayServices_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub CreateDisplayPointer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppdisppointer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub TransformRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prect: *mut super::super::Foundation::RECT, esource: COORD_SYSTEM, edestination: COORD_SYSTEM, pielement: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - TransformRect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub TransformPoint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppoint: *mut super::super::Foundation::POINT, esource: COORD_SYSTEM, edestination: COORD_SYSTEM, pielement: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - TransformPoint: usize, - pub GetCaret: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppcaret: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub GetComputedStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppointer: *mut ::core::ffi::c_void, ppcomputedstyle: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub ScrollRectIntoView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pielement: *mut ::core::ffi::c_void, rect: super::super::Foundation::RECT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - ScrollRectIntoView: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub HasFlowLayout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pielement: *mut ::core::ffi::c_void, pfhasflowlayout: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - HasFlowLayout: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IDithererImpl(::windows::core::IUnknown); -impl IDithererImpl { - #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] - #[cfg(feature = "Win32_Graphics_Gdi")] - pub unsafe fn SetDestColorTable(&self, ncolors: u32, prgbcolors: *const super::super::Graphics::Gdi::RGBQUAD) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetDestColorTable)(::windows::core::Interface::as_raw(self), ncolors, ::core::mem::transmute(prgbcolors)).ok() - } - pub unsafe fn SetEventSink<'a, P0>(&self, peventsink: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IImageDecodeEventSink>>, - { - (::windows::core::Interface::vtable(self).SetEventSink)(::windows::core::Interface::as_raw(self), peventsink.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDithererImpl) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IDithererImpl> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDithererImpl) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IDithererImpl> for ::windows::core::IUnknown { - fn from(value: &IDithererImpl) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IDithererImpl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IDithererImpl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDithererImpl {} -impl ::core::fmt::Debug for IDithererImpl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDithererImpl").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IDithererImpl { - type Vtable = IDithererImpl_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x7c48e840_3910_11d0_86fc_00a0c913f750); -} -#[repr(C)] -#[doc(hidden)] -pub struct IDithererImpl_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Graphics_Gdi")] - pub SetDestColorTable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ncolors: u32, prgbcolors: *const super::super::Graphics::Gdi::RGBQUAD) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Graphics_Gdi"))] - SetDestColorTable: usize, - pub SetEventSink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, peventsink: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IDocHostShowUI(::windows::core::IUnknown); -impl IDocHostShowUI { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ShowMessage<'a, P0, P1, P2, P3>(&self, hwnd: P0, lpstrtext: P1, lpstrcaption: P2, dwtype: u32, lpstrhelpfile: P3, dwhelpcontext: u32) -> ::windows::core::Result - where - P0: ::std::convert::Into, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, - P3: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ShowMessage)(::windows::core::Interface::as_raw(self), hwnd.into(), lpstrtext.into(), lpstrcaption.into(), dwtype, lpstrhelpfile.into(), dwhelpcontext, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn ShowHelp<'a, P0, P1, P2>(&self, hwnd: P0, pszhelpfile: P1, ucommand: u32, dwdata: u32, ptmouse: super::super::Foundation::POINT, pdispatchobjecthit: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).ShowHelp)(::windows::core::Interface::as_raw(self), hwnd.into(), pszhelpfile.into(), ucommand, dwdata, ::core::mem::transmute(ptmouse), pdispatchobjecthit.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDocHostShowUI) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IDocHostShowUI> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDocHostShowUI) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IDocHostShowUI> for ::windows::core::IUnknown { - fn from(value: &IDocHostShowUI) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IDocHostShowUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IDocHostShowUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDocHostShowUI {} -impl ::core::fmt::Debug for IDocHostShowUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDocHostShowUI").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IDocHostShowUI { - type Vtable = IDocHostShowUI_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc4d244b0_d43e_11cf_893b_00aa00bdce1a); -} -#[repr(C)] -#[doc(hidden)] -pub struct IDocHostShowUI_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub ShowMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hwnd: super::super::Foundation::HWND, lpstrtext: ::windows::core::PCWSTR, lpstrcaption: ::windows::core::PCWSTR, dwtype: u32, lpstrhelpfile: ::windows::core::PCWSTR, dwhelpcontext: u32, plresult: *mut super::super::Foundation::LRESULT) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ShowMessage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub ShowHelp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hwnd: super::super::Foundation::HWND, pszhelpfile: ::windows::core::PCWSTR, ucommand: u32, dwdata: u32, ptmouse: super::super::Foundation::POINT, pdispatchobjecthit: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - ShowHelp: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IDocHostUIHandler(::windows::core::IUnknown); -impl IDocHostUIHandler { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn ShowContextMenu<'a, P0, P1>(&self, dwid: u32, ppt: *const super::super::Foundation::POINT, pcmdtreserved: P0, pdispreserved: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).ShowContextMenu)(::windows::core::Interface::as_raw(self), dwid, ::core::mem::transmute(ppt), pcmdtreserved.into().abi(), pdispreserved.into().abi()).ok() - } - pub unsafe fn GetHostInfo(&self, pinfo: *mut DOCHOSTUIINFO) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).GetHostInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pinfo)).ok() - } - #[doc = "*Required features: `\"Win32_System_Ole\"`*"] - #[cfg(feature = "Win32_System_Ole")] - pub unsafe fn ShowUI<'a, P0, P1, P2, P3>(&self, dwid: u32, pactiveobject: P0, pcommandtarget: P1, pframe: P2, pdoc: P3) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Ole::IOleInPlaceActiveObject>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Ole::IOleCommandTarget>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Ole::IOleInPlaceFrame>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Ole::IOleInPlaceUIWindow>>, - { - (::windows::core::Interface::vtable(self).ShowUI)(::windows::core::Interface::as_raw(self), dwid, pactiveobject.into().abi(), pcommandtarget.into().abi(), pframe.into().abi(), pdoc.into().abi()).ok() - } - pub unsafe fn HideUI(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).HideUI)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn UpdateUI(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).UpdateUI)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn EnableModeless<'a, P0>(&self, fenable: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).EnableModeless)(::windows::core::Interface::as_raw(self), fenable.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn OnDocWindowActivate<'a, P0>(&self, factivate: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).OnDocWindowActivate)(::windows::core::Interface::as_raw(self), factivate.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn OnFrameWindowActivate<'a, P0>(&self, factivate: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).OnFrameWindowActivate)(::windows::core::Interface::as_raw(self), factivate.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] - pub unsafe fn ResizeBorder<'a, P0, P1>(&self, prcborder: *const super::super::Foundation::RECT, puiwindow: P0, framewindow: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Ole::IOleInPlaceUIWindow>>, - P1: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).ResizeBorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prcborder), puiwindow.into().abi(), framewindow.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] - pub unsafe fn TranslateAccelerator(&self, lpmsg: *const super::super::UI::WindowsAndMessaging::MSG, pguidcmdgroup: *const ::windows::core::GUID, ncmdid: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).TranslateAccelerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lpmsg), ::core::mem::transmute(pguidcmdgroup), ncmdid).ok() - } - pub unsafe fn GetOptionKeyPath(&self, pchkey: *mut ::windows::core::PWSTR, dw: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).GetOptionKeyPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pchkey), dw).ok() - } - #[doc = "*Required features: `\"Win32_System_Ole\"`*"] - #[cfg(feature = "Win32_System_Ole")] - pub unsafe fn GetDropTarget<'a, P0>(&self, pdroptarget: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Ole::IDropTarget>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetDropTarget)(::windows::core::Interface::as_raw(self), pdroptarget.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn GetExternal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetExternal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn TranslateUrl<'a, P0>(&self, dwtranslate: u32, pchurlin: P0) -> ::windows::core::Result<::windows::core::PWSTR> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).TranslateUrl)(::windows::core::Interface::as_raw(self), dwtranslate, pchurlin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn FilterDataObject<'a, P0>(&self, pdo: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDataObject>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).FilterDataObject)(::windows::core::Interface::as_raw(self), pdo.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDocHostUIHandler) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IDocHostUIHandler> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDocHostUIHandler) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IDocHostUIHandler> for ::windows::core::IUnknown { - fn from(value: &IDocHostUIHandler) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IDocHostUIHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IDocHostUIHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDocHostUIHandler {} -impl ::core::fmt::Debug for IDocHostUIHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDocHostUIHandler").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IDocHostUIHandler { - type Vtable = IDocHostUIHandler_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xbd3f23c0_d43e_11cf_893b_00aa00bdce1a); -} -#[repr(C)] -#[doc(hidden)] -pub struct IDocHostUIHandler_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub ShowContextMenu: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwid: u32, ppt: *const super::super::Foundation::POINT, pcmdtreserved: *mut ::core::ffi::c_void, pdispreserved: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - ShowContextMenu: usize, - pub GetHostInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinfo: *mut DOCHOSTUIINFO) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Ole")] - pub ShowUI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwid: u32, pactiveobject: *mut ::core::ffi::c_void, pcommandtarget: *mut ::core::ffi::c_void, pframe: *mut ::core::ffi::c_void, pdoc: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Ole"))] - ShowUI: usize, - pub HideUI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub UpdateUI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub EnableModeless: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fenable: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - EnableModeless: usize, - #[cfg(feature = "Win32_Foundation")] - pub OnDocWindowActivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, factivate: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - OnDocWindowActivate: usize, - #[cfg(feature = "Win32_Foundation")] - pub OnFrameWindowActivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, factivate: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - OnFrameWindowActivate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] - pub ResizeBorder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prcborder: *const super::super::Foundation::RECT, puiwindow: *mut ::core::ffi::c_void, framewindow: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole")))] - ResizeBorder: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] - pub TranslateAccelerator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpmsg: *const super::super::UI::WindowsAndMessaging::MSG, pguidcmdgroup: *const ::windows::core::GUID, ncmdid: u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] - TranslateAccelerator: usize, - pub GetOptionKeyPath: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pchkey: *mut ::windows::core::PWSTR, dw: u32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Ole")] - pub GetDropTarget: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdroptarget: *mut ::core::ffi::c_void, ppdroptarget: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Ole"))] - GetDropTarget: usize, - #[cfg(feature = "Win32_System_Com")] - pub GetExternal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppdispatch: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetExternal: usize, - pub TranslateUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwtranslate: u32, pchurlin: ::windows::core::PCWSTR, ppchurlout: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub FilterDataObject: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdo: *mut ::core::ffi::c_void, ppdoret: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - FilterDataObject: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IDocHostUIHandler2(::windows::core::IUnknown); -impl IDocHostUIHandler2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn ShowContextMenu<'a, P0, P1>(&self, dwid: u32, ppt: *const super::super::Foundation::POINT, pcmdtreserved: P0, pdispreserved: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).base__.ShowContextMenu)(::windows::core::Interface::as_raw(self), dwid, ::core::mem::transmute(ppt), pcmdtreserved.into().abi(), pdispreserved.into().abi()).ok() - } - pub unsafe fn GetHostInfo(&self, pinfo: *mut DOCHOSTUIINFO) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.GetHostInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pinfo)).ok() - } - #[doc = "*Required features: `\"Win32_System_Ole\"`*"] - #[cfg(feature = "Win32_System_Ole")] - pub unsafe fn ShowUI<'a, P0, P1, P2, P3>(&self, dwid: u32, pactiveobject: P0, pcommandtarget: P1, pframe: P2, pdoc: P3) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Ole::IOleInPlaceActiveObject>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Ole::IOleCommandTarget>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Ole::IOleInPlaceFrame>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Ole::IOleInPlaceUIWindow>>, - { - (::windows::core::Interface::vtable(self).base__.ShowUI)(::windows::core::Interface::as_raw(self), dwid, pactiveobject.into().abi(), pcommandtarget.into().abi(), pframe.into().abi(), pdoc.into().abi()).ok() - } - pub unsafe fn HideUI(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.HideUI)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn UpdateUI(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.UpdateUI)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn EnableModeless<'a, P0>(&self, fenable: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).base__.EnableModeless)(::windows::core::Interface::as_raw(self), fenable.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn OnDocWindowActivate<'a, P0>(&self, factivate: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).base__.OnDocWindowActivate)(::windows::core::Interface::as_raw(self), factivate.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn OnFrameWindowActivate<'a, P0>(&self, factivate: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).base__.OnFrameWindowActivate)(::windows::core::Interface::as_raw(self), factivate.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] - pub unsafe fn ResizeBorder<'a, P0, P1>(&self, prcborder: *const super::super::Foundation::RECT, puiwindow: P0, framewindow: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Ole::IOleInPlaceUIWindow>>, - P1: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).base__.ResizeBorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prcborder), puiwindow.into().abi(), framewindow.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] - pub unsafe fn TranslateAccelerator(&self, lpmsg: *const super::super::UI::WindowsAndMessaging::MSG, pguidcmdgroup: *const ::windows::core::GUID, ncmdid: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.TranslateAccelerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lpmsg), ::core::mem::transmute(pguidcmdgroup), ncmdid).ok() - } - pub unsafe fn GetOptionKeyPath(&self, pchkey: *mut ::windows::core::PWSTR, dw: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.GetOptionKeyPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pchkey), dw).ok() - } - #[doc = "*Required features: `\"Win32_System_Ole\"`*"] - #[cfg(feature = "Win32_System_Ole")] - pub unsafe fn GetDropTarget<'a, P0>(&self, pdroptarget: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Ole::IDropTarget>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetDropTarget)(::windows::core::Interface::as_raw(self), pdroptarget.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn GetExternal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetExternal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn TranslateUrl<'a, P0>(&self, dwtranslate: u32, pchurlin: P0) -> ::windows::core::Result<::windows::core::PWSTR> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.TranslateUrl)(::windows::core::Interface::as_raw(self), dwtranslate, pchurlin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn FilterDataObject<'a, P0>(&self, pdo: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDataObject>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.FilterDataObject)(::windows::core::Interface::as_raw(self), pdo.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn GetOverrideKeyPath(&self, pchkey: *mut ::windows::core::PWSTR, dw: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).GetOverrideKeyPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pchkey), dw).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDocHostUIHandler2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IDocHostUIHandler2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDocHostUIHandler2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IDocHostUIHandler2> for ::windows::core::IUnknown { - fn from(value: &IDocHostUIHandler2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for IDocHostUIHandler { - fn from(value: IDocHostUIHandler2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IDocHostUIHandler2> for &'a IDocHostUIHandler { - fn from(value: &'a IDocHostUIHandler2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IDocHostUIHandler2> for IDocHostUIHandler { - fn from(value: &IDocHostUIHandler2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IDocHostUIHandler2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IDocHostUIHandler2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDocHostUIHandler2 {} -impl ::core::fmt::Debug for IDocHostUIHandler2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDocHostUIHandler2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IDocHostUIHandler2 { - type Vtable = IDocHostUIHandler2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6d0_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IDocHostUIHandler2_Vtbl { - pub base__: IDocHostUIHandler_Vtbl, - pub GetOverrideKeyPath: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pchkey: *mut ::windows::core::PWSTR, dw: u32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IDocObjectService(::windows::core::IUnknown); -impl IDocObjectService { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn FireBeforeNavigate2<'a, P0, P1, P2, P3, P4>(&self, pdispatch: P0, lpszurl: P1, dwflags: u32, lpszframename: P2, ppostdata: *const u8, cbpostdata: u32, lpszheaders: P3, fplaynavsound: P4) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, - P3: ::std::convert::Into<::windows::core::PCWSTR>, - P4: ::std::convert::Into, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).FireBeforeNavigate2)(::windows::core::Interface::as_raw(self), pdispatch.into().abi(), lpszurl.into(), dwflags, lpszframename.into(), ::core::mem::transmute(ppostdata), cbpostdata, lpszheaders.into(), fplaynavsound.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn FireNavigateComplete2<'a, P0>(&self, phtmlwindow2: P0, dwflags: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLWindow2>>, - { - (::windows::core::Interface::vtable(self).FireNavigateComplete2)(::windows::core::Interface::as_raw(self), phtmlwindow2.into().abi(), dwflags).ok() - } - pub unsafe fn FireDownloadBegin(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).FireDownloadBegin)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn FireDownloadComplete(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).FireDownloadComplete)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn FireDocumentComplete<'a, P0>(&self, phtmlwindow: P0, dwflags: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLWindow2>>, - { - (::windows::core::Interface::vtable(self).FireDocumentComplete)(::windows::core::Interface::as_raw(self), phtmlwindow.into().abi(), dwflags).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn UpdateDesktopComponent<'a, P0>(&self, phtmlwindow: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLWindow2>>, - { - (::windows::core::Interface::vtable(self).UpdateDesktopComponent)(::windows::core::Interface::as_raw(self), phtmlwindow.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetPendingUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetPendingUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn ActiveElementChanged<'a, P0>(&self, phtmlelement: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).ActiveElementChanged)(::windows::core::Interface::as_raw(self), phtmlelement.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetUrlSearchComponent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetUrlSearchComponent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsErrorUrl<'a, P0>(&self, lpszurl: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsErrorUrl)(::windows::core::Interface::as_raw(self), lpszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDocObjectService) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IDocObjectService> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDocObjectService) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IDocObjectService> for ::windows::core::IUnknown { - fn from(value: &IDocObjectService) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IDocObjectService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IDocObjectService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDocObjectService {} -impl ::core::fmt::Debug for IDocObjectService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDocObjectService").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IDocObjectService { - type Vtable = IDocObjectService_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f801_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IDocObjectService_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub FireBeforeNavigate2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdispatch: *mut ::core::ffi::c_void, lpszurl: ::windows::core::PCWSTR, dwflags: u32, lpszframename: ::windows::core::PCWSTR, ppostdata: *const u8, cbpostdata: u32, lpszheaders: ::windows::core::PCWSTR, fplaynavsound: super::super::Foundation::BOOL, pfcancel: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - FireBeforeNavigate2: usize, - #[cfg(feature = "Win32_System_Com")] - pub FireNavigateComplete2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, phtmlwindow2: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - FireNavigateComplete2: usize, - pub FireDownloadBegin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub FireDownloadComplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub FireDocumentComplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, phtmlwindow: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - FireDocumentComplete: usize, - #[cfg(feature = "Win32_System_Com")] - pub UpdateDesktopComponent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, phtmlwindow: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - UpdateDesktopComponent: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetPendingUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrpendingurl: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetPendingUrl: usize, - #[cfg(feature = "Win32_System_Com")] - pub ActiveElementChanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, phtmlelement: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ActiveElementChanged: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetUrlSearchComponent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrsearch: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetUrlSearchComponent: usize, - #[cfg(feature = "Win32_Foundation")] - pub IsErrorUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpszurl: ::windows::core::PCWSTR, pfiserror: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsErrorUrl: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDocumentEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDocumentEvent { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn createEvent<'a, P0>(&self, eventtype: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDocumentEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDocumentEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDocumentEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDocumentEvent> for ::windows::core::IUnknown { - fn from(value: &IDocumentEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDocumentEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDocumentEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDocumentEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDocumentEvent> for super::super::System::Com::IDispatch { - fn from(value: &IDocumentEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDocumentEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDocumentEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDocumentEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDocumentEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDocumentEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDocumentEvent { - type Vtable = IDocumentEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104bc_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDocumentEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub createEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ::core::mem::ManuallyDrop, ppevent: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - createEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDocumentRange(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDocumentRange { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDocumentRange) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDocumentRange> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDocumentRange) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDocumentRange> for ::windows::core::IUnknown { - fn from(value: &IDocumentRange) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDocumentRange) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDocumentRange> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDocumentRange) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDocumentRange> for super::super::System::Com::IDispatch { - fn from(value: &IDocumentRange) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDocumentRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDocumentRange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDocumentRange {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDocumentRange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDocumentRange").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDocumentRange { - type Vtable = IDocumentRange_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104af_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDocumentRange_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub createRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppihtmldomrange: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createRange: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDocumentSelector(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDocumentSelector { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn querySelector<'a, P0>(&self, v: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).querySelector)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn querySelectorAll<'a, P0>(&self, v: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).querySelectorAll)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDocumentSelector) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDocumentSelector> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDocumentSelector) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDocumentSelector> for ::windows::core::IUnknown { - fn from(value: &IDocumentSelector) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDocumentSelector) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDocumentSelector> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDocumentSelector) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDocumentSelector> for super::super::System::Com::IDispatch { - fn from(value: &IDocumentSelector) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDocumentSelector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDocumentSelector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDocumentSelector {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDocumentSelector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDocumentSelector").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDocumentSelector { - type Vtable = IDocumentSelector_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510462_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDocumentSelector_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub querySelector: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pel: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - querySelector: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub querySelectorAll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pel: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - querySelectorAll: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDocumentTraversal(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDocumentTraversal { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn createNodeIterator<'a, P0>(&self, prootnode: P0, ulwhattoshow: i32, pfilter: *const super::super::System::Com::VARIANT, fentityreferenceexpansion: i16) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createNodeIterator)(::windows::core::Interface::as_raw(self), prootnode.into().abi(), ulwhattoshow, ::core::mem::transmute(pfilter), fentityreferenceexpansion, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn createTreeWalker<'a, P0>(&self, prootnode: P0, ulwhattoshow: i32, pfilter: *const super::super::System::Com::VARIANT, fentityreferenceexpansion: i16) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createTreeWalker)(::windows::core::Interface::as_raw(self), prootnode.into().abi(), ulwhattoshow, ::core::mem::transmute(pfilter), fentityreferenceexpansion, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDocumentTraversal) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDocumentTraversal> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDocumentTraversal) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDocumentTraversal> for ::windows::core::IUnknown { - fn from(value: &IDocumentTraversal) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDocumentTraversal) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDocumentTraversal> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDocumentTraversal) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDocumentTraversal> for super::super::System::Com::IDispatch { - fn from(value: &IDocumentTraversal) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDocumentTraversal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDocumentTraversal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDocumentTraversal {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDocumentTraversal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDocumentTraversal").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDocumentTraversal { - type Vtable = IDocumentTraversal_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510744_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDocumentTraversal_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub createNodeIterator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prootnode: *mut ::core::ffi::c_void, ulwhattoshow: i32, pfilter: *const super::super::System::Com::VARIANT, fentityreferenceexpansion: i16, ppnodeiterator: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - createNodeIterator: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub createTreeWalker: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prootnode: *mut ::core::ffi::c_void, ulwhattoshow: i32, pfilter: *const super::super::System::Com::VARIANT, fentityreferenceexpansion: i16, pptreewalker: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - createTreeWalker: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IDownloadBehavior(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IDownloadBehavior { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn startDownload<'a, P0, P1>(&self, bstrurl: P0, pdispcallback: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).startDownload)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), pdispcallback.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDownloadBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDownloadBehavior> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDownloadBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDownloadBehavior> for ::windows::core::IUnknown { - fn from(value: &IDownloadBehavior) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IDownloadBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IDownloadBehavior> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IDownloadBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IDownloadBehavior> for super::super::System::Com::IDispatch { - fn from(value: &IDownloadBehavior) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDownloadBehavior { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDownloadBehavior { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDownloadBehavior {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDownloadBehavior { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDownloadBehavior").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IDownloadBehavior { - type Vtable = IDownloadBehavior_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5bd_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IDownloadBehavior_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub startDownload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, pdispcallback: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - startDownload: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IDownloadManager(::windows::core::IUnknown); -impl IDownloadManager { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] - pub unsafe fn Download<'a, P0, P1, P2, P3>(&self, pmk: P0, pbc: P1, dwbindverb: u32, grfbindf: i32, pbindinfo: *const super::super::System::Com::BINDINFO, pszheaders: P2, pszredir: P3, uicp: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IMoniker>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IBindCtx>>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, - P3: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).Download)(::windows::core::Interface::as_raw(self), pmk.into().abi(), pbc.into().abi(), dwbindverb, grfbindf, ::core::mem::transmute(pbindinfo), pszheaders.into(), pszredir.into(), uicp).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IDownloadManager) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IDownloadManager> for &'a ::windows::core::IUnknown { - fn from(value: &'a IDownloadManager) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IDownloadManager> for ::windows::core::IUnknown { - fn from(value: &IDownloadManager) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IDownloadManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IDownloadManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDownloadManager {} -impl ::core::fmt::Debug for IDownloadManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDownloadManager").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IDownloadManager { - type Vtable = IDownloadManager_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x988934a4_064b_11d3_bb80_00104b35e7f9); -} -#[repr(C)] -#[doc(hidden)] -pub struct IDownloadManager_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] - pub Download: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pmk: *mut ::core::ffi::c_void, pbc: *mut ::core::ffi::c_void, dwbindverb: u32, grfbindf: i32, pbindinfo: *const super::super::System::Com::BINDINFO, pszheaders: ::windows::core::PCWSTR, pszredir: ::windows::core::PCWSTR, uicp: u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage")))] - Download: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_ARG_CLEAR_FORMS_ALL: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_ARG_CLEAR_FORMS_ALL_BUT_PASSWORDS: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_ARG_CLEAR_FORMS_PASSWORDS_ONLY: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_BEFORENAVIGATE_DOEXTERNALBROWSE: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_BEFORENAVIGATE_GETIDLIST: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_BEFORENAVIGATE_GETSHELLBROWSE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_CLEAR_AUTOCOMPLETE_FOR_FORMS: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_GET_INVOKE_DEFAULT_BROWSER_ON_NEW_WINDOW: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_SETID_AUTOCOMPLETE_FOR_FORMS: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IECMDID_SET_INVOKE_DEFAULT_BROWSER_ON_NEW_WINDOW: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IEGetProcessModule_PROC_NAME: &str = "IEGetProcessModule"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IEGetTabWindowExports_PROC_NAME: &str = "IEGetTabWindowExports"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub type IEISXMLNSREGISTEREDFN = ::core::option::Option ::windows::core::HRESULT>; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct IELAUNCHOPTION_FLAGS(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IELAUNCHOPTION_SCRIPTDEBUG: IELAUNCHOPTION_FLAGS = IELAUNCHOPTION_FLAGS(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IELAUNCHOPTION_FORCE_COMPAT: IELAUNCHOPTION_FLAGS = IELAUNCHOPTION_FLAGS(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IELAUNCHOPTION_FORCE_EDGE: IELAUNCHOPTION_FLAGS = IELAUNCHOPTION_FLAGS(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IELAUNCHOPTION_LOCK_ENGINE: IELAUNCHOPTION_FLAGS = IELAUNCHOPTION_FLAGS(8i32); -impl ::core::marker::Copy for IELAUNCHOPTION_FLAGS {} -impl ::core::clone::Clone for IELAUNCHOPTION_FLAGS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for IELAUNCHOPTION_FLAGS { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for IELAUNCHOPTION_FLAGS { - type Abi = Self; -} -impl ::core::fmt::Debug for IELAUNCHOPTION_FLAGS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IELAUNCHOPTION_FLAGS").field(&self.0).finish() - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub struct IELAUNCHURLINFO { - pub cbSize: u32, - pub dwCreationFlags: u32, - pub dwLaunchOptionFlags: u32, -} -impl ::core::marker::Copy for IELAUNCHURLINFO {} -impl ::core::clone::Clone for IELAUNCHURLINFO { - fn clone(&self) -> Self { - *self - } -} -impl ::core::fmt::Debug for IELAUNCHURLINFO { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("IELAUNCHURLINFO").field("cbSize", &self.cbSize).field("dwCreationFlags", &self.dwCreationFlags).field("dwLaunchOptionFlags", &self.dwLaunchOptionFlags).finish() - } -} -unsafe impl ::windows::core::Abi for IELAUNCHURLINFO { - type Abi = Self; -} -impl ::core::cmp::PartialEq for IELAUNCHURLINFO { - fn eq(&self, other: &Self) -> bool { - unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } - } -} -impl ::core::cmp::Eq for IELAUNCHURLINFO {} -impl ::core::default::Default for IELAUNCHURLINFO { - fn default() -> Self { - unsafe { ::core::mem::zeroed() } - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IEPROCESS_MODULE_NAME: &str = "IERtUtil.dll"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub type IEREGISTERXMLNSFN = ::core::option::Option ::windows::core::HRESULT>; -pub const IEWebDriverManager: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x90314af2_5250_47b3_89d8_6295fc23bc22); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IE_USE_OE_MAIL_HKEY: i32 = -2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IE_USE_OE_MAIL_KEY: &str = "Software\\Microsoft\\Internet Explorer\\Mail"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IE_USE_OE_MAIL_VALUE: &str = "Use Outlook Express"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IE_USE_OE_NEWS_HKEY: i32 = -2147483647i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IE_USE_OE_NEWS_KEY: &str = "Software\\Microsoft\\Internet Explorer\\News"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IE_USE_OE_NEWS_VALUE: &str = "Use Outlook Express"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IE_USE_OE_PRESENT_HKEY: i32 = -2147483646i32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IE_USE_OE_PRESENT_KEY: &str = "Software\\Microsoft\\Windows\\CurrentVersion\\app.paths\\msimn.exe"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementBehavior(::windows::core::IUnknown); -impl IElementBehavior { - pub unsafe fn Init<'a, P0>(&self, pbehaviorsite: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IElementBehaviorSite>>, - { - (::windows::core::Interface::vtable(self).Init)(::windows::core::Interface::as_raw(self), pbehaviorsite.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Notify(&self, levent: i32, pvar: *mut super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Notify)(::windows::core::Interface::as_raw(self), levent, ::core::mem::transmute(pvar)).ok() - } - pub unsafe fn Detach(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Detach)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementBehavior> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementBehavior> for ::windows::core::IUnknown { - fn from(value: &IElementBehavior) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementBehavior { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementBehavior { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementBehavior {} -impl ::core::fmt::Debug for IElementBehavior { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementBehavior").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementBehavior { - type Vtable = IElementBehavior_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f425_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementBehavior_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub Init: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbehaviorsite: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Notify: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, levent: i32, pvar: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Notify: usize, - pub Detach: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementBehaviorCategory(::windows::core::IUnknown); -impl IElementBehaviorCategory { - pub unsafe fn GetCategory(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetCategory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementBehaviorCategory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementBehaviorCategory> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementBehaviorCategory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementBehaviorCategory> for ::windows::core::IUnknown { - fn from(value: &IElementBehaviorCategory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementBehaviorCategory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementBehaviorCategory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementBehaviorCategory {} -impl ::core::fmt::Debug for IElementBehaviorCategory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementBehaviorCategory").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementBehaviorCategory { - type Vtable = IElementBehaviorCategory_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4ed_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementBehaviorCategory_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub GetCategory: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppchcategory: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementBehaviorFactory(::windows::core::IUnknown); -impl IElementBehaviorFactory { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn FindBehavior<'a, P0, P1, P2>(&self, bstrbehavior: P0, bstrbehaviorurl: P1, psite: P2) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IElementBehaviorSite>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).FindBehavior)(::windows::core::Interface::as_raw(self), bstrbehavior.into().abi(), bstrbehaviorurl.into().abi(), psite.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementBehaviorFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementBehaviorFactory> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementBehaviorFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementBehaviorFactory> for ::windows::core::IUnknown { - fn from(value: &IElementBehaviorFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementBehaviorFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementBehaviorFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementBehaviorFactory {} -impl ::core::fmt::Debug for IElementBehaviorFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementBehaviorFactory").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementBehaviorFactory { - type Vtable = IElementBehaviorFactory_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f429_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementBehaviorFactory_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub FindBehavior: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrbehavior: ::core::mem::ManuallyDrop, bstrbehaviorurl: ::core::mem::ManuallyDrop, psite: *mut ::core::ffi::c_void, ppbehavior: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - FindBehavior: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementBehaviorFocus(::windows::core::IUnknown); -impl IElementBehaviorFocus { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetFocusRect(&self, prect: *const super::super::Foundation::RECT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).GetFocusRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prect)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementBehaviorFocus) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementBehaviorFocus> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementBehaviorFocus) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementBehaviorFocus> for ::windows::core::IUnknown { - fn from(value: &IElementBehaviorFocus) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementBehaviorFocus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementBehaviorFocus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementBehaviorFocus {} -impl ::core::fmt::Debug for IElementBehaviorFocus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementBehaviorFocus").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementBehaviorFocus { - type Vtable = IElementBehaviorFocus_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6b6_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementBehaviorFocus_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub GetFocusRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prect: *const super::super::Foundation::RECT) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetFocusRect: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementBehaviorLayout(::windows::core::IUnknown); -impl IElementBehaviorLayout { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetSize(&self, dwflags: i32, sizecontent: super::super::Foundation::SIZE, ppttranslateby: *mut super::super::Foundation::POINT, ppttopleft: *mut super::super::Foundation::POINT, psizeproposed: *mut super::super::Foundation::SIZE) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(sizecontent), ::core::mem::transmute(ppttranslateby), ::core::mem::transmute(ppttopleft), ::core::mem::transmute(psizeproposed)).ok() - } - pub unsafe fn GetLayoutInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetLayoutInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetPosition(&self, lflags: i32, ppttopleft: *mut super::super::Foundation::POINT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).GetPosition)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(ppttopleft)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn MapSize(&self, psizein: *const super::super::Foundation::SIZE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).MapSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psizein), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementBehaviorLayout) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementBehaviorLayout> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementBehaviorLayout) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementBehaviorLayout> for ::windows::core::IUnknown { - fn from(value: &IElementBehaviorLayout) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementBehaviorLayout { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementBehaviorLayout { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementBehaviorLayout {} -impl ::core::fmt::Debug for IElementBehaviorLayout { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementBehaviorLayout").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementBehaviorLayout { - type Vtable = IElementBehaviorLayout_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6ba_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementBehaviorLayout_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub GetSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: i32, sizecontent: super::super::Foundation::SIZE, ppttranslateby: *mut super::super::Foundation::POINT, ppttopleft: *mut super::super::Foundation::POINT, psizeproposed: *mut super::super::Foundation::SIZE) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetSize: usize, - pub GetLayoutInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pllayoutinfo: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub GetPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lflags: i32, ppttopleft: *mut super::super::Foundation::POINT) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetPosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub MapSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psizein: *const super::super::Foundation::SIZE, prcout: *mut super::super::Foundation::RECT) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - MapSize: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementBehaviorLayout2(::windows::core::IUnknown); -impl IElementBehaviorLayout2 { - pub unsafe fn GetTextDescent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetTextDescent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementBehaviorLayout2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementBehaviorLayout2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementBehaviorLayout2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementBehaviorLayout2> for ::windows::core::IUnknown { - fn from(value: &IElementBehaviorLayout2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementBehaviorLayout2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementBehaviorLayout2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementBehaviorLayout2 {} -impl ::core::fmt::Debug for IElementBehaviorLayout2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementBehaviorLayout2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementBehaviorLayout2 { - type Vtable = IElementBehaviorLayout2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f846_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementBehaviorLayout2_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub GetTextDescent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pldescent: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementBehaviorRender(::windows::core::IUnknown); -impl IElementBehaviorRender { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] - pub unsafe fn Draw<'a, P0, P1>(&self, hdc: P0, llayer: i32, prect: *const super::super::Foundation::RECT, preserved: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).Draw)(::windows::core::Interface::as_raw(self), hdc.into(), llayer, ::core::mem::transmute(prect), preserved.into().abi()).ok() - } - pub unsafe fn GetRenderInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetRenderInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn HitTestPoint<'a, P0>(&self, ppoint: *const super::super::Foundation::POINT, preserved: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HitTestPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppoint), preserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementBehaviorRender) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementBehaviorRender> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementBehaviorRender) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementBehaviorRender> for ::windows::core::IUnknown { - fn from(value: &IElementBehaviorRender) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementBehaviorRender { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementBehaviorRender { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementBehaviorRender {} -impl ::core::fmt::Debug for IElementBehaviorRender { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementBehaviorRender").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementBehaviorRender { - type Vtable = IElementBehaviorRender_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4aa_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementBehaviorRender_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] - pub Draw: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hdc: super::super::Graphics::Gdi::HDC, llayer: i32, prect: *const super::super::Foundation::RECT, preserved: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi")))] - Draw: usize, - pub GetRenderInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, plrenderinfo: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub HitTestPoint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppoint: *const super::super::Foundation::POINT, preserved: *mut ::core::ffi::c_void, pbhit: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - HitTestPoint: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementBehaviorSite(::windows::core::IUnknown); -impl IElementBehaviorSite { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn GetElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn RegisterNotification(&self, levent: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).RegisterNotification)(::windows::core::Interface::as_raw(self), levent).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementBehaviorSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementBehaviorSite> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementBehaviorSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementBehaviorSite> for ::windows::core::IUnknown { - fn from(value: &IElementBehaviorSite) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementBehaviorSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementBehaviorSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementBehaviorSite {} -impl ::core::fmt::Debug for IElementBehaviorSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementBehaviorSite").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementBehaviorSite { - type Vtable = IElementBehaviorSite_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f427_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementBehaviorSite_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_System_Com")] - pub GetElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppelement: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetElement: usize, - pub RegisterNotification: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, levent: i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementBehaviorSiteCategory(::windows::core::IUnknown); -impl IElementBehaviorSiteCategory { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn GetRelatedBehaviors<'a, P0>(&self, ldirection: i32, pchcategory: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetRelatedBehaviors)(::windows::core::Interface::as_raw(self), ldirection, pchcategory.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementBehaviorSiteCategory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementBehaviorSiteCategory> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementBehaviorSiteCategory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementBehaviorSiteCategory> for ::windows::core::IUnknown { - fn from(value: &IElementBehaviorSiteCategory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementBehaviorSiteCategory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementBehaviorSiteCategory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementBehaviorSiteCategory {} -impl ::core::fmt::Debug for IElementBehaviorSiteCategory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementBehaviorSiteCategory").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementBehaviorSiteCategory { - type Vtable = IElementBehaviorSiteCategory_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4ee_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementBehaviorSiteCategory_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_System_Com")] - pub GetRelatedBehaviors: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ldirection: i32, pchcategory: ::windows::core::PCWSTR, ppenumerator: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetRelatedBehaviors: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementBehaviorSiteLayout(::windows::core::IUnknown); -impl IElementBehaviorSiteLayout { - pub unsafe fn InvalidateLayoutInfo(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).InvalidateLayoutInfo)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn InvalidateSize(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).InvalidateSize)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetMediaResolution(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetMediaResolution)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementBehaviorSiteLayout) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementBehaviorSiteLayout> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementBehaviorSiteLayout) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementBehaviorSiteLayout> for ::windows::core::IUnknown { - fn from(value: &IElementBehaviorSiteLayout) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementBehaviorSiteLayout { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementBehaviorSiteLayout { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementBehaviorSiteLayout {} -impl ::core::fmt::Debug for IElementBehaviorSiteLayout { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementBehaviorSiteLayout").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementBehaviorSiteLayout { - type Vtable = IElementBehaviorSiteLayout_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6b7_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementBehaviorSiteLayout_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub InvalidateLayoutInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub InvalidateSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub GetMediaResolution: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psizeresolution: *mut super::super::Foundation::SIZE) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetMediaResolution: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementBehaviorSiteLayout2(::windows::core::IUnknown); -impl IElementBehaviorSiteLayout2 { - #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] - #[cfg(feature = "Win32_Graphics_Gdi")] - pub unsafe fn GetFontInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetFontInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementBehaviorSiteLayout2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementBehaviorSiteLayout2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementBehaviorSiteLayout2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementBehaviorSiteLayout2> for ::windows::core::IUnknown { - fn from(value: &IElementBehaviorSiteLayout2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementBehaviorSiteLayout2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementBehaviorSiteLayout2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementBehaviorSiteLayout2 {} -impl ::core::fmt::Debug for IElementBehaviorSiteLayout2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementBehaviorSiteLayout2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementBehaviorSiteLayout2 { - type Vtable = IElementBehaviorSiteLayout2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f847_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementBehaviorSiteLayout2_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Graphics_Gdi")] - pub GetFontInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, plf: *mut super::super::Graphics::Gdi::LOGFONTW) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Graphics_Gdi"))] - GetFontInfo: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementBehaviorSiteOM(::windows::core::IUnknown); -impl IElementBehaviorSiteOM { - pub unsafe fn RegisterEvent<'a, P0>(&self, pchevent: P0, lflags: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).RegisterEvent)(::windows::core::Interface::as_raw(self), pchevent.into(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn GetEventCookie<'a, P0>(&self, pchevent: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetEventCookie)(::windows::core::Interface::as_raw(self), pchevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn FireEvent<'a, P0>(&self, lcookie: i32, peventobject: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLEventObj>>, - { - (::windows::core::Interface::vtable(self).FireEvent)(::windows::core::Interface::as_raw(self), lcookie, peventobject.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn CreateEventObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CreateEventObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn RegisterName<'a, P0>(&self, pchname: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).RegisterName)(::windows::core::Interface::as_raw(self), pchname.into()).ok() - } - pub unsafe fn RegisterUrn<'a, P0>(&self, pchurn: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).RegisterUrn)(::windows::core::Interface::as_raw(self), pchurn.into()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementBehaviorSiteOM) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementBehaviorSiteOM> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementBehaviorSiteOM) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementBehaviorSiteOM> for ::windows::core::IUnknown { - fn from(value: &IElementBehaviorSiteOM) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementBehaviorSiteOM { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementBehaviorSiteOM { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementBehaviorSiteOM {} -impl ::core::fmt::Debug for IElementBehaviorSiteOM { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementBehaviorSiteOM").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementBehaviorSiteOM { - type Vtable = IElementBehaviorSiteOM_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f489_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementBehaviorSiteOM_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub RegisterEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pchevent: ::windows::core::PCWSTR, lflags: i32, plcookie: *mut i32) -> ::windows::core::HRESULT, - pub GetEventCookie: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pchevent: ::windows::core::PCWSTR, plcookie: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub FireEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lcookie: i32, peventobject: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - FireEvent: usize, - #[cfg(feature = "Win32_System_Com")] - pub CreateEventObject: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppeventobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - CreateEventObject: usize, - pub RegisterName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pchname: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, - pub RegisterUrn: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pchurn: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementBehaviorSiteOM2(::windows::core::IUnknown); -impl IElementBehaviorSiteOM2 { - pub unsafe fn RegisterEvent<'a, P0>(&self, pchevent: P0, lflags: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.RegisterEvent)(::windows::core::Interface::as_raw(self), pchevent.into(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn GetEventCookie<'a, P0>(&self, pchevent: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetEventCookie)(::windows::core::Interface::as_raw(self), pchevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn FireEvent<'a, P0>(&self, lcookie: i32, peventobject: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLEventObj>>, - { - (::windows::core::Interface::vtable(self).base__.FireEvent)(::windows::core::Interface::as_raw(self), lcookie, peventobject.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn CreateEventObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.CreateEventObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn RegisterName<'a, P0>(&self, pchname: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).base__.RegisterName)(::windows::core::Interface::as_raw(self), pchname.into()).ok() - } - pub unsafe fn RegisterUrn<'a, P0>(&self, pchurn: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).base__.RegisterUrn)(::windows::core::Interface::as_raw(self), pchurn.into()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn GetDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementBehaviorSiteOM2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementBehaviorSiteOM2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementBehaviorSiteOM2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementBehaviorSiteOM2> for ::windows::core::IUnknown { - fn from(value: &IElementBehaviorSiteOM2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for IElementBehaviorSiteOM { - fn from(value: IElementBehaviorSiteOM2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementBehaviorSiteOM2> for &'a IElementBehaviorSiteOM { - fn from(value: &'a IElementBehaviorSiteOM2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementBehaviorSiteOM2> for IElementBehaviorSiteOM { - fn from(value: &IElementBehaviorSiteOM2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementBehaviorSiteOM2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementBehaviorSiteOM2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementBehaviorSiteOM2 {} -impl ::core::fmt::Debug for IElementBehaviorSiteOM2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementBehaviorSiteOM2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementBehaviorSiteOM2 { - type Vtable = IElementBehaviorSiteOM2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f659_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementBehaviorSiteOM2_Vtbl { - pub base__: IElementBehaviorSiteOM_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub GetDefaults: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppdefaults: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetDefaults: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementBehaviorSiteRender(::windows::core::IUnknown); -impl IElementBehaviorSiteRender { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Invalidate(&self, prect: *const super::super::Foundation::RECT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Invalidate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prect)).ok() - } - pub unsafe fn InvalidateRenderInfo(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).InvalidateRenderInfo)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn InvalidateStyle(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).InvalidateStyle)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementBehaviorSiteRender) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementBehaviorSiteRender> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementBehaviorSiteRender) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementBehaviorSiteRender> for ::windows::core::IUnknown { - fn from(value: &IElementBehaviorSiteRender) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementBehaviorSiteRender { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementBehaviorSiteRender { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementBehaviorSiteRender {} -impl ::core::fmt::Debug for IElementBehaviorSiteRender { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementBehaviorSiteRender").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementBehaviorSiteRender { - type Vtable = IElementBehaviorSiteRender_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4a7_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementBehaviorSiteRender_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub Invalidate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prect: *const super::super::Foundation::RECT) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Invalidate: usize, - pub InvalidateRenderInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub InvalidateStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementBehaviorSubmit(::windows::core::IUnknown); -impl IElementBehaviorSubmit { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn GetSubmitInfo<'a, P0>(&self, psubmitdata: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLSubmitData>>, - { - (::windows::core::Interface::vtable(self).GetSubmitInfo)(::windows::core::Interface::as_raw(self), psubmitdata.into().abi()).ok() - } - pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementBehaviorSubmit) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementBehaviorSubmit> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementBehaviorSubmit) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementBehaviorSubmit> for ::windows::core::IUnknown { - fn from(value: &IElementBehaviorSubmit) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementBehaviorSubmit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementBehaviorSubmit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementBehaviorSubmit {} -impl ::core::fmt::Debug for IElementBehaviorSubmit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementBehaviorSubmit").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementBehaviorSubmit { - type Vtable = IElementBehaviorSubmit_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f646_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementBehaviorSubmit_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_System_Com")] - pub GetSubmitInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psubmitdata: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetSubmitInfo: usize, - pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementNamespace(::windows::core::IUnknown); -impl IElementNamespace { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn AddTag<'a, P0>(&self, bstrtagname: P0, lflags: i32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).AddTag)(::windows::core::Interface::as_raw(self), bstrtagname.into().abi(), lflags).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementNamespace) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementNamespace> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementNamespace) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementNamespace> for ::windows::core::IUnknown { - fn from(value: &IElementNamespace) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementNamespace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementNamespace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementNamespace {} -impl ::core::fmt::Debug for IElementNamespace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementNamespace").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementNamespace { - type Vtable = IElementNamespace_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f671_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementNamespace_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub AddTag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrtagname: ::core::mem::ManuallyDrop, lflags: i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - AddTag: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementNamespaceFactory(::windows::core::IUnknown); -impl IElementNamespaceFactory { - pub unsafe fn Create<'a, P0>(&self, pnamespace: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IElementNamespace>>, - { - (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), pnamespace.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementNamespaceFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementNamespaceFactory> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementNamespaceFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementNamespaceFactory> for ::windows::core::IUnknown { - fn from(value: &IElementNamespaceFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementNamespaceFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementNamespaceFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementNamespaceFactory {} -impl ::core::fmt::Debug for IElementNamespaceFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementNamespaceFactory").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementNamespaceFactory { - type Vtable = IElementNamespaceFactory_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f672_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementNamespaceFactory_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub Create: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnamespace: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementNamespaceFactory2(::windows::core::IUnknown); -impl IElementNamespaceFactory2 { - pub unsafe fn Create<'a, P0>(&self, pnamespace: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IElementNamespace>>, - { - (::windows::core::Interface::vtable(self).base__.Create)(::windows::core::Interface::as_raw(self), pnamespace.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn CreateWithImplementation<'a, P0, P1>(&self, pnamespace: P0, bstrimplementation: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IElementNamespace>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).CreateWithImplementation)(::windows::core::Interface::as_raw(self), pnamespace.into().abi(), bstrimplementation.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementNamespaceFactory2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementNamespaceFactory2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementNamespaceFactory2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementNamespaceFactory2> for ::windows::core::IUnknown { - fn from(value: &IElementNamespaceFactory2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for IElementNamespaceFactory { - fn from(value: IElementNamespaceFactory2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementNamespaceFactory2> for &'a IElementNamespaceFactory { - fn from(value: &'a IElementNamespaceFactory2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementNamespaceFactory2> for IElementNamespaceFactory { - fn from(value: &IElementNamespaceFactory2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementNamespaceFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementNamespaceFactory2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementNamespaceFactory2 {} -impl ::core::fmt::Debug for IElementNamespaceFactory2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementNamespaceFactory2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementNamespaceFactory2 { - type Vtable = IElementNamespaceFactory2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f805_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementNamespaceFactory2_Vtbl { - pub base__: IElementNamespaceFactory_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub CreateWithImplementation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnamespace: *mut ::core::ffi::c_void, bstrimplementation: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - CreateWithImplementation: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementNamespaceFactoryCallback(::windows::core::IUnknown); -impl IElementNamespaceFactoryCallback { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Resolve<'a, P0, P1, P2, P3>(&self, bstrnamespace: P0, bstrtagname: P1, bstrattrs: P2, pnamespace: P3) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, IElementNamespace>>, - { - (::windows::core::Interface::vtable(self).Resolve)(::windows::core::Interface::as_raw(self), bstrnamespace.into().abi(), bstrtagname.into().abi(), bstrattrs.into().abi(), pnamespace.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementNamespaceFactoryCallback) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementNamespaceFactoryCallback> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementNamespaceFactoryCallback) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementNamespaceFactoryCallback> for ::windows::core::IUnknown { - fn from(value: &IElementNamespaceFactoryCallback) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementNamespaceFactoryCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementNamespaceFactoryCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementNamespaceFactoryCallback {} -impl ::core::fmt::Debug for IElementNamespaceFactoryCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementNamespaceFactoryCallback").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementNamespaceFactoryCallback { - type Vtable = IElementNamespaceFactoryCallback_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f7fd_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementNamespaceFactoryCallback_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub Resolve: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrnamespace: ::core::mem::ManuallyDrop, bstrtagname: ::core::mem::ManuallyDrop, bstrattrs: ::core::mem::ManuallyDrop, pnamespace: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Resolve: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementNamespaceTable(::windows::core::IUnknown); -impl IElementNamespaceTable { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn AddNamespace<'a, P0, P1>(&self, bstrnamespace: P0, bstrurn: P1, lflags: i32, pvarfactory: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).AddNamespace)(::windows::core::Interface::as_raw(self), bstrnamespace.into().abi(), bstrurn.into().abi(), lflags, ::core::mem::transmute(pvarfactory)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementNamespaceTable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementNamespaceTable> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementNamespaceTable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementNamespaceTable> for ::windows::core::IUnknown { - fn from(value: &IElementNamespaceTable) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementNamespaceTable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementNamespaceTable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementNamespaceTable {} -impl ::core::fmt::Debug for IElementNamespaceTable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementNamespaceTable").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementNamespaceTable { - type Vtable = IElementNamespaceTable_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f670_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementNamespaceTable_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub AddNamespace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrnamespace: ::core::mem::ManuallyDrop, bstrurn: ::core::mem::ManuallyDrop, lflags: i32, pvarfactory: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - AddNamespace: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IElementSegment(::windows::core::IUnknown); -impl IElementSegment { - pub unsafe fn GetPointers<'a, P0, P1>(&self, pistart: P0, piend: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).base__.GetPointers)(::windows::core::Interface::as_raw(self), pistart.into().abi(), piend.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn GetElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetPrimary<'a, P0>(&self, fprimary: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).SetPrimary)(::windows::core::Interface::as_raw(self), fprimary.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsPrimary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsPrimary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementSegment) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementSegment> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementSegment) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementSegment> for ::windows::core::IUnknown { - fn from(value: &IElementSegment) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for ISegment { - fn from(value: IElementSegment) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IElementSegment> for &'a ISegment { - fn from(value: &'a IElementSegment) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IElementSegment> for ISegment { - fn from(value: &IElementSegment) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IElementSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IElementSegment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IElementSegment {} -impl ::core::fmt::Debug for IElementSegment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementSegment").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IElementSegment { - type Vtable = IElementSegment_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f68f_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IElementSegment_Vtbl { - pub base__: ISegment_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub GetElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppielement: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetElement: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetPrimary: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fprimary: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetPrimary: usize, - #[cfg(feature = "Win32_Foundation")] - pub IsPrimary: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfprimary: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsPrimary: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IElementSelector(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IElementSelector { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn querySelector<'a, P0>(&self, v: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).querySelector)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn querySelectorAll<'a, P0>(&self, v: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).querySelectorAll)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementSelector) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IElementSelector> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementSelector) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IElementSelector> for ::windows::core::IUnknown { - fn from(value: &IElementSelector) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IElementSelector) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IElementSelector> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IElementSelector) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IElementSelector> for super::super::System::Com::IDispatch { - fn from(value: &IElementSelector) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IElementSelector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IElementSelector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IElementSelector {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IElementSelector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementSelector").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IElementSelector { - type Vtable = IElementSelector_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510463_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IElementSelector_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub querySelector: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pel: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - querySelector: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub querySelectorAll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pel: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - querySelectorAll: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IElementTraversal(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IElementTraversal { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn firstElementChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).firstElementChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn lastElementChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lastElementChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn previousElementSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).previousElementSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn nextElementSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nextElementSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn childElementCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).childElementCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IElementTraversal) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IElementTraversal> for &'a ::windows::core::IUnknown { - fn from(value: &'a IElementTraversal) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IElementTraversal> for ::windows::core::IUnknown { - fn from(value: &IElementTraversal) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IElementTraversal) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IElementTraversal> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IElementTraversal) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IElementTraversal> for super::super::System::Com::IDispatch { - fn from(value: &IElementTraversal) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IElementTraversal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IElementTraversal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IElementTraversal {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IElementTraversal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IElementTraversal").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IElementTraversal { - type Vtable = IElementTraversal_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510736_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IElementTraversal_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub firstElementChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - firstElementChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub lastElementChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - lastElementChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub previousElementSibling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - previousElementSibling: usize, - #[cfg(feature = "Win32_System_Com")] - pub nextElementSibling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - nextElementSibling: usize, - pub childElementCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IEnumManagerFrames(::windows::core::IUnknown); -impl IEnumManagerFrames { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Next(&self, ppwindows: &mut [*mut super::super::Foundation::HWND], pceltfetched: *mut u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ppwindows.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(ppwindows)), ::core::mem::transmute(pceltfetched)).ok() - } - pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Skip(&self, celt: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() - } - pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IEnumManagerFrames) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IEnumManagerFrames> for &'a ::windows::core::IUnknown { - fn from(value: &'a IEnumManagerFrames) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IEnumManagerFrames> for ::windows::core::IUnknown { - fn from(value: &IEnumManagerFrames) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IEnumManagerFrames { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IEnumManagerFrames { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumManagerFrames {} -impl ::core::fmt::Debug for IEnumManagerFrames { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumManagerFrames").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IEnumManagerFrames { - type Vtable = IEnumManagerFrames_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3caa826a_9b1f_4a79_bc81_f0430ded1648); -} -#[repr(C)] -#[doc(hidden)] -pub struct IEnumManagerFrames_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub Next: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, celt: u32, ppwindows: *mut *mut super::super::Foundation::HWND, pceltfetched: *mut u32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Next: usize, - pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcelt: *mut u32) -> ::windows::core::HRESULT, - pub Skip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, celt: u32) -> ::windows::core::HRESULT, - pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub Clone: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IEnumOpenServiceActivity(::windows::core::IUnknown); -impl IEnumOpenServiceActivity { - pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), rgelt.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(rgelt)), ::core::mem::transmute(pceltfetched)).ok() - } - pub unsafe fn Skip(&self, celt: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() - } - pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IEnumOpenServiceActivity) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IEnumOpenServiceActivity> for &'a ::windows::core::IUnknown { - fn from(value: &'a IEnumOpenServiceActivity) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IEnumOpenServiceActivity> for ::windows::core::IUnknown { - fn from(value: &IEnumOpenServiceActivity) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IEnumOpenServiceActivity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IEnumOpenServiceActivity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumOpenServiceActivity {} -impl ::core::fmt::Debug for IEnumOpenServiceActivity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumOpenServiceActivity").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IEnumOpenServiceActivity { - type Vtable = IEnumOpenServiceActivity_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa436d7d2_17c3_4ef4_a1e8_5c86faff26c0); -} -#[repr(C)] -#[doc(hidden)] -pub struct IEnumOpenServiceActivity_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub Next: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, celt: u32, rgelt: *mut *mut ::core::ffi::c_void, pceltfetched: *mut u32) -> ::windows::core::HRESULT, - pub Skip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, celt: u32) -> ::windows::core::HRESULT, - pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub Clone: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IEnumOpenServiceActivityCategory(::windows::core::IUnknown); -impl IEnumOpenServiceActivityCategory { - pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), rgelt.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(rgelt)), ::core::mem::transmute(pceltfetched)).ok() - } - pub unsafe fn Skip(&self, celt: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() - } - pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IEnumOpenServiceActivityCategory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IEnumOpenServiceActivityCategory> for &'a ::windows::core::IUnknown { - fn from(value: &'a IEnumOpenServiceActivityCategory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IEnumOpenServiceActivityCategory> for ::windows::core::IUnknown { - fn from(value: &IEnumOpenServiceActivityCategory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IEnumOpenServiceActivityCategory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IEnumOpenServiceActivityCategory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumOpenServiceActivityCategory {} -impl ::core::fmt::Debug for IEnumOpenServiceActivityCategory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumOpenServiceActivityCategory").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IEnumOpenServiceActivityCategory { - type Vtable = IEnumOpenServiceActivityCategory_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x33627a56_8c9a_4430_8fd1_b5f5c771afb6); -} -#[repr(C)] -#[doc(hidden)] -pub struct IEnumOpenServiceActivityCategory_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub Next: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, celt: u32, rgelt: *mut *mut ::core::ffi::c_void, pceltfetched: *mut u32) -> ::windows::core::HRESULT, - pub Skip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, celt: u32) -> ::windows::core::HRESULT, - pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub Clone: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IEnumPrivacyRecords(::windows::core::IUnknown); -impl IEnumPrivacyRecords { - pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetPrivacyImpacted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetPrivacyImpacted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Next(&self, pbstrurl: *mut super::super::Foundation::BSTR, pbstrpolicyref: *mut super::super::Foundation::BSTR, pdwreserved: *mut i32, pdwprivacyflags: *mut u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbstrurl), ::core::mem::transmute(pbstrpolicyref), ::core::mem::transmute(pdwreserved), ::core::mem::transmute(pdwprivacyflags)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IEnumPrivacyRecords) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IEnumPrivacyRecords> for &'a ::windows::core::IUnknown { - fn from(value: &'a IEnumPrivacyRecords) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IEnumPrivacyRecords> for ::windows::core::IUnknown { - fn from(value: &IEnumPrivacyRecords) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IEnumPrivacyRecords { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IEnumPrivacyRecords { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumPrivacyRecords {} -impl ::core::fmt::Debug for IEnumPrivacyRecords { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumPrivacyRecords").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IEnumPrivacyRecords { - type Vtable = IEnumPrivacyRecords_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f844_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IEnumPrivacyRecords_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub GetSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psize: *mut u32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub GetPrivacyImpacted: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstate: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetPrivacyImpacted: usize, - #[cfg(feature = "Win32_Foundation")] - pub Next: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrurl: *mut super::super::Foundation::BSTR, pbstrpolicyref: *mut super::super::Foundation::BSTR, pdwreserved: *mut i32, pdwprivacyflags: *mut u32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Next: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IEnumSTATURL(::windows::core::IUnknown); -impl IEnumSTATURL { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Next(&self, celt: u32, rgelt: *mut STATURL, pceltfetched: *mut u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), celt, ::core::mem::transmute(rgelt), ::core::mem::transmute(pceltfetched)).ok() - } - pub unsafe fn Skip(&self, celt: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() - } - pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetFilter<'a, P0>(&self, poszfilter: P0, dwflags: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).SetFilter)(::windows::core::Interface::as_raw(self), poszfilter.into(), dwflags).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IEnumSTATURL) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IEnumSTATURL> for &'a ::windows::core::IUnknown { - fn from(value: &'a IEnumSTATURL) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IEnumSTATURL> for ::windows::core::IUnknown { - fn from(value: &IEnumSTATURL) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IEnumSTATURL { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IEnumSTATURL { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSTATURL {} -impl ::core::fmt::Debug for IEnumSTATURL { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSTATURL").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IEnumSTATURL { - type Vtable = IEnumSTATURL_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3c374a42_bae4_11cf_bf7d_00aa006946ee); -} -#[repr(C)] -#[doc(hidden)] -pub struct IEnumSTATURL_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub Next: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, celt: u32, rgelt: *mut STATURL, pceltfetched: *mut u32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Next: usize, - pub Skip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, celt: u32) -> ::windows::core::HRESULT, - pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub Clone: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub SetFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, poszfilter: ::windows::core::PCWSTR, dwflags: u32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IEventException(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IEventException { - pub unsafe fn Setcode(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setcode)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn code(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).code)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn message(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IEventException) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IEventException> for &'a ::windows::core::IUnknown { - fn from(value: &'a IEventException) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IEventException> for ::windows::core::IUnknown { - fn from(value: &IEventException) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IEventException) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IEventException> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IEventException) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IEventException> for super::super::System::Com::IDispatch { - fn from(value: &IEventException) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IEventException { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IEventException { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IEventException {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IEventException { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEventException").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IEventException { - type Vtable = IEventException_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051073a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IEventException_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setcode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub code: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub message: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - message: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IEventTarget(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IEventTarget { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn addEventListener<'a, P0, P1>(&self, r#type: P0, listener: P1, usecapture: i16) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).addEventListener)(::windows::core::Interface::as_raw(self), r#type.into().abi(), listener.into().abi(), usecapture).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn removeEventListener<'a, P0, P1>(&self, r#type: P0, listener: P1, usecapture: i16) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).removeEventListener)(::windows::core::Interface::as_raw(self), r#type.into().abi(), listener.into().abi(), usecapture).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn dispatchEvent<'a, P0>(&self, evt: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IDOMEvent>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dispatchEvent)(::windows::core::Interface::as_raw(self), evt.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IEventTarget) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IEventTarget> for &'a ::windows::core::IUnknown { - fn from(value: &'a IEventTarget) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IEventTarget> for ::windows::core::IUnknown { - fn from(value: &IEventTarget) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IEventTarget) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IEventTarget> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IEventTarget) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IEventTarget> for super::super::System::Com::IDispatch { - fn from(value: &IEventTarget) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IEventTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IEventTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IEventTarget {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IEventTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEventTarget").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IEventTarget { - type Vtable = IEventTarget_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104b9_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IEventTarget_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub addEventListener: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: ::core::mem::ManuallyDrop, listener: *mut ::core::ffi::c_void, usecapture: i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - addEventListener: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub removeEventListener: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: ::core::mem::ManuallyDrop, listener: *mut ::core::ffi::c_void, usecapture: i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - removeEventListener: usize, - #[cfg(feature = "Win32_System_Com")] - pub dispatchEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, evt: *mut ::core::ffi::c_void, pfresult: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - dispatchEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IEventTarget2(::windows::core::IUnknown); -impl IEventTarget2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn GetRegisteredEventTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetRegisteredEventTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn GetListenersForType<'a, P0>(&self, pszeventtype: P0) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetListenersForType)(::windows::core::Interface::as_raw(self), pszeventtype.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) - } - pub unsafe fn RegisterForDOMEventListeners<'a, P0>(&self, pcallback: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IDOMEventRegistrationCallback>>, - { - (::windows::core::Interface::vtable(self).RegisterForDOMEventListeners)(::windows::core::Interface::as_raw(self), pcallback.into().abi()).ok() - } - pub unsafe fn UnregisterForDOMEventListeners<'a, P0>(&self, pcallback: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IDOMEventRegistrationCallback>>, - { - (::windows::core::Interface::vtable(self).UnregisterForDOMEventListeners)(::windows::core::Interface::as_raw(self), pcallback.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IEventTarget2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IEventTarget2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IEventTarget2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IEventTarget2> for ::windows::core::IUnknown { - fn from(value: &IEventTarget2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IEventTarget2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IEventTarget2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEventTarget2 {} -impl ::core::fmt::Debug for IEventTarget2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEventTarget2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IEventTarget2 { - type Vtable = IEventTarget2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510839_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IEventTarget2_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_System_Com")] - pub GetRegisteredEventTypes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppeventtypearray: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetRegisteredEventTypes: usize, - #[cfg(feature = "Win32_System_Com")] - pub GetListenersForType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszeventtype: ::windows::core::PCWSTR, ppeventhandlerarray: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetListenersForType: usize, - pub RegisterForDOMEventListeners: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcallback: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub UnregisterForDOMEventListeners: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcallback: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IExtensionValidation(::windows::core::IUnknown); -impl IExtensionValidation { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Validate<'a, P0, P1, P2, P3>(&self, extensionguid: *const ::windows::core::GUID, extensionmodulepath: P0, extensionfileversionms: u32, extensionfileversionls: u32, htmldocumenttop: P1, htmldocumentsubframe: P2, htmlelement: P3, contexts: ExtensionValidationContexts) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDocument2>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDocument2>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Validate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(extensionguid), extensionmodulepath.into(), extensionfileversionms, extensionfileversionls, htmldocumenttop.into().abi(), htmldocumentsubframe.into().abi(), htmlelement.into().abi(), contexts, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn DisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IExtensionValidation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IExtensionValidation> for &'a ::windows::core::IUnknown { - fn from(value: &'a IExtensionValidation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IExtensionValidation> for ::windows::core::IUnknown { - fn from(value: &IExtensionValidation) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IExtensionValidation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IExtensionValidation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExtensionValidation {} -impl ::core::fmt::Debug for IExtensionValidation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExtensionValidation").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IExtensionValidation { - type Vtable = IExtensionValidation_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x7d33f73d_8525_4e0f_87db_830288baff44); -} -#[repr(C)] -#[doc(hidden)] -pub struct IExtensionValidation_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_System_Com")] - pub Validate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, extensionguid: *const ::windows::core::GUID, extensionmodulepath: ::windows::core::PCWSTR, extensionfileversionms: u32, extensionfileversionls: u32, htmldocumenttop: *mut ::core::ffi::c_void, htmldocumentsubframe: *mut ::core::ffi::c_void, htmlelement: *mut ::core::ffi::c_void, contexts: ExtensionValidationContexts, results: *mut ExtensionValidationResults) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Validate: usize, - pub DisplayName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, displayname: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IFontNames(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IFontNames { - pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IFontNames) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IFontNames> for &'a ::windows::core::IUnknown { - fn from(value: &'a IFontNames) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IFontNames> for ::windows::core::IUnknown { - fn from(value: &IFontNames) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IFontNames) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IFontNames> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IFontNames) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IFontNames> for super::super::System::Com::IDispatch { - fn from(value: &IFontNames) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFontNames { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFontNames { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFontNames {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFontNames { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFontNames").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IFontNames { - type Vtable = IFontNames_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f839_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IFontNames_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub _NewEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub Count: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarindex: *const super::super::System::Com::VARIANT, pbstrfontname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IGetSVGDocument(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IGetSVGDocument { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getSVGDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getSVGDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IGetSVGDocument) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IGetSVGDocument> for &'a ::windows::core::IUnknown { - fn from(value: &'a IGetSVGDocument) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IGetSVGDocument> for ::windows::core::IUnknown { - fn from(value: &IGetSVGDocument) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IGetSVGDocument) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IGetSVGDocument> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IGetSVGDocument) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IGetSVGDocument> for super::super::System::Com::IDispatch { - fn from(value: &IGetSVGDocument) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGetSVGDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGetSVGDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGetSVGDocument {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGetSVGDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetSVGDocument").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IGetSVGDocument { - type Vtable = IGetSVGDocument_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105ab_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IGetSVGDocument_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub getSVGDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppsvgdocument: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getSVGDocument: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTCAttachBehavior(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTCAttachBehavior { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn fireEvent<'a, P0>(&self, evt: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).fireEvent)(::windows::core::Interface::as_raw(self), evt.into().abi()).ok() - } - pub unsafe fn detachEvent(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).detachEvent)(::windows::core::Interface::as_raw(self)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTCAttachBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTCAttachBehavior> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTCAttachBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTCAttachBehavior> for ::windows::core::IUnknown { - fn from(value: &IHTCAttachBehavior) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTCAttachBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTCAttachBehavior> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTCAttachBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTCAttachBehavior> for super::super::System::Com::IDispatch { - fn from(value: &IHTCAttachBehavior) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTCAttachBehavior { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTCAttachBehavior { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTCAttachBehavior {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTCAttachBehavior { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTCAttachBehavior").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTCAttachBehavior { - type Vtable = IHTCAttachBehavior_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5f4_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTCAttachBehavior_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub fireEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, evt: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - fireEvent: usize, - pub detachEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTCAttachBehavior2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTCAttachBehavior2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn fireEvent<'a, P0>(&self, evt: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).fireEvent)(::windows::core::Interface::as_raw(self), evt.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTCAttachBehavior2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTCAttachBehavior2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTCAttachBehavior2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTCAttachBehavior2> for ::windows::core::IUnknown { - fn from(value: &IHTCAttachBehavior2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTCAttachBehavior2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTCAttachBehavior2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTCAttachBehavior2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTCAttachBehavior2> for super::super::System::Com::IDispatch { - fn from(value: &IHTCAttachBehavior2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTCAttachBehavior2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTCAttachBehavior2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTCAttachBehavior2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTCAttachBehavior2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTCAttachBehavior2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTCAttachBehavior2 { - type Vtable = IHTCAttachBehavior2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f7eb_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTCAttachBehavior2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub fireEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, evt: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - fireEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTCDefaultDispatch(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTCDefaultDispatch { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn element(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).element)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createEventObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createEventObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn defaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).defaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn document(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTCDefaultDispatch) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTCDefaultDispatch> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTCDefaultDispatch) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTCDefaultDispatch> for ::windows::core::IUnknown { - fn from(value: &IHTCDefaultDispatch) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTCDefaultDispatch) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTCDefaultDispatch> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTCDefaultDispatch) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTCDefaultDispatch> for super::super::System::Com::IDispatch { - fn from(value: &IHTCDefaultDispatch) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTCDefaultDispatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTCDefaultDispatch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTCDefaultDispatch {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTCDefaultDispatch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTCDefaultDispatch").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTCDefaultDispatch { - type Vtable = IHTCDefaultDispatch_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4fd_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTCDefaultDispatch_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub element: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - element: usize, - #[cfg(feature = "Win32_System_Com")] - pub createEventObject: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createEventObject: usize, - #[cfg(feature = "Win32_System_Com")] - pub defaults: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - defaults: usize, - #[cfg(feature = "Win32_System_Com")] - pub document: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - document: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTCDescBehavior(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTCDescBehavior { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn urn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).urn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTCDescBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTCDescBehavior> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTCDescBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTCDescBehavior> for ::windows::core::IUnknown { - fn from(value: &IHTCDescBehavior) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTCDescBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTCDescBehavior> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTCDescBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTCDescBehavior> for super::super::System::Com::IDispatch { - fn from(value: &IHTCDescBehavior) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTCDescBehavior { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTCDescBehavior { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTCDescBehavior {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTCDescBehavior { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTCDescBehavior").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTCDescBehavior { - type Vtable = IHTCDescBehavior_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5dc_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTCDescBehavior_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub urn: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - urn: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTCEventBehavior(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTCEventBehavior { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn fire<'a, P0>(&self, pvar: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLEventObj>>, - { - (::windows::core::Interface::vtable(self).fire)(::windows::core::Interface::as_raw(self), pvar.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTCEventBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTCEventBehavior> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTCEventBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTCEventBehavior> for ::windows::core::IUnknown { - fn from(value: &IHTCEventBehavior) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTCEventBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTCEventBehavior> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTCEventBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTCEventBehavior> for super::super::System::Com::IDispatch { - fn from(value: &IHTCEventBehavior) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTCEventBehavior { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTCEventBehavior { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTCEventBehavior {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTCEventBehavior { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTCEventBehavior").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTCEventBehavior { - type Vtable = IHTCEventBehavior_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4ff_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTCEventBehavior_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub fire: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvar: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - fire: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTCMethodBehavior(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTCMethodBehavior {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTCMethodBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTCMethodBehavior> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTCMethodBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTCMethodBehavior> for ::windows::core::IUnknown { - fn from(value: &IHTCMethodBehavior) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTCMethodBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTCMethodBehavior> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTCMethodBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTCMethodBehavior> for super::super::System::Com::IDispatch { - fn from(value: &IHTCMethodBehavior) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTCMethodBehavior { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTCMethodBehavior { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTCMethodBehavior {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTCMethodBehavior { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTCMethodBehavior").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTCMethodBehavior { - type Vtable = IHTCMethodBehavior_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f631_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTCMethodBehavior_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTCPropertyBehavior(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTCPropertyBehavior { - pub unsafe fn fireChange(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).fireChange)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTCPropertyBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTCPropertyBehavior> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTCPropertyBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTCPropertyBehavior> for ::windows::core::IUnknown { - fn from(value: &IHTCPropertyBehavior) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTCPropertyBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTCPropertyBehavior> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTCPropertyBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTCPropertyBehavior> for super::super::System::Com::IDispatch { - fn from(value: &IHTCPropertyBehavior) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTCPropertyBehavior { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTCPropertyBehavior { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTCPropertyBehavior {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTCPropertyBehavior { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTCPropertyBehavior").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTCPropertyBehavior { - type Vtable = IHTCPropertyBehavior_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5df_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTCPropertyBehavior_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub fireChange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setvalue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - value: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAnchorElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAnchorElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethref<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethref)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settarget<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settarget)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setrel<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setrel)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setrev<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setrev)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rev(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rev)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Seturn<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Seturn)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn urn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).urn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetMethods<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetMethods)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Methods(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Methods)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethost<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethost)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn host(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).host)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethostname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethostname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn hostname(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hostname)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setpathname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setpathname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pathname(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pathname)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setport<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setport)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn port(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).port)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setprotocol<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setprotocol)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsearch<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsearch)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn search(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).search)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethash<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethash)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn hash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonblur<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonblur)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onblur(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onblur)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonfocus<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonfocus)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onfocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onfocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetaccessKey<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetaccessKey)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn accessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).accessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn protocolLong(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).protocolLong)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn mimeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).mimeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn nameProp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nameProp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettabIndex(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SettabIndex)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn tabIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tabIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn focus(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).focus)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn blur(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).blur)(::windows::core::Interface::as_raw(self)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAnchorElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAnchorElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAnchorElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAnchorElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLAnchorElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAnchorElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAnchorElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAnchorElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAnchorElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAnchorElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAnchorElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAnchorElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAnchorElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAnchorElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAnchorElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAnchorElement { - type Vtable = IHTMLAnchorElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f1da_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAnchorElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Sethref: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethref: usize, - #[cfg(feature = "Win32_Foundation")] - pub href: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - href: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settarget: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settarget: usize, - #[cfg(feature = "Win32_Foundation")] - pub target: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - target: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setrel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setrel: usize, - #[cfg(feature = "Win32_Foundation")] - pub rel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rel: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setrev: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setrev: usize, - #[cfg(feature = "Win32_Foundation")] - pub rev: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rev: usize, - #[cfg(feature = "Win32_Foundation")] - pub Seturn: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Seturn: usize, - #[cfg(feature = "Win32_Foundation")] - pub urn: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - urn: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetMethods: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetMethods: usize, - #[cfg(feature = "Win32_Foundation")] - pub Methods: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Methods: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(feature = "Win32_Foundation")] - pub Sethost: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethost: usize, - #[cfg(feature = "Win32_Foundation")] - pub host: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - host: usize, - #[cfg(feature = "Win32_Foundation")] - pub Sethostname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethostname: usize, - #[cfg(feature = "Win32_Foundation")] - pub hostname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - hostname: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setpathname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setpathname: usize, - #[cfg(feature = "Win32_Foundation")] - pub pathname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pathname: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setport: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setport: usize, - #[cfg(feature = "Win32_Foundation")] - pub port: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - port: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setprotocol: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setprotocol: usize, - #[cfg(feature = "Win32_Foundation")] - pub protocol: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - protocol: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setsearch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsearch: usize, - #[cfg(feature = "Win32_Foundation")] - pub search: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - search: usize, - #[cfg(feature = "Win32_Foundation")] - pub Sethash: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethash: usize, - #[cfg(feature = "Win32_Foundation")] - pub hash: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - hash: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonblur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonblur: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onblur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onblur: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonfocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonfocus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onfocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onfocus: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetaccessKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetaccessKey: usize, - #[cfg(feature = "Win32_Foundation")] - pub accessKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - accessKey: usize, - #[cfg(feature = "Win32_Foundation")] - pub protocolLong: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - protocolLong: usize, - #[cfg(feature = "Win32_Foundation")] - pub mimeType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - mimeType: usize, - #[cfg(feature = "Win32_Foundation")] - pub nameProp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - nameProp: usize, - pub SettabIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub tabIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub focus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub blur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAnchorElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAnchorElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcharset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcharset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn charset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).charset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcoords<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcoords)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn coords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).coords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethreflang<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethreflang)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn hreflang(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hreflang)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setshape<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setshape)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn shape(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).shape)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settype<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAnchorElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAnchorElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAnchorElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAnchorElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLAnchorElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAnchorElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAnchorElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAnchorElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAnchorElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAnchorElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAnchorElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAnchorElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAnchorElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAnchorElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAnchorElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAnchorElement2 { - type Vtable = IHTMLAnchorElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f825_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAnchorElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setcharset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcharset: usize, - #[cfg(feature = "Win32_Foundation")] - pub charset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - charset: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setcoords: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcoords: usize, - #[cfg(feature = "Win32_Foundation")] - pub coords: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - coords: usize, - #[cfg(feature = "Win32_Foundation")] - pub Sethreflang: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethreflang: usize, - #[cfg(feature = "Win32_Foundation")] - pub hreflang: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - hreflang: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setshape: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setshape: usize, - #[cfg(feature = "Win32_Foundation")] - pub shape: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - shape: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settype: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAnchorElement3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAnchorElement3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setshape<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setshape)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn shape(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).shape)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcoords<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcoords)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn coords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).coords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethref<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethref)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAnchorElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAnchorElement3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAnchorElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAnchorElement3> for ::windows::core::IUnknown { - fn from(value: &IHTMLAnchorElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAnchorElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAnchorElement3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAnchorElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAnchorElement3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAnchorElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAnchorElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAnchorElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAnchorElement3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAnchorElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAnchorElement3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAnchorElement3 { - type Vtable = IHTMLAnchorElement3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051041d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAnchorElement3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setshape: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setshape: usize, - #[cfg(feature = "Win32_Foundation")] - pub shape: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - shape: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setcoords: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcoords: usize, - #[cfg(feature = "Win32_Foundation")] - pub coords: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - coords: usize, - #[cfg(feature = "Win32_Foundation")] - pub Sethref: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethref: usize, - #[cfg(feature = "Win32_Foundation")] - pub href: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - href: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAppBehavior(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAppBehavior { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetapplicationName<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetapplicationName)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn applicationName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).applicationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setversion<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setversion)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Seticon<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Seticon)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn icon(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).icon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetsingleInstance<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetsingleInstance)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn singleInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).singleInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetminimizeButton<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetminimizeButton)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn minimizeButton(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).minimizeButton)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmaximizeButton<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmaximizeButton)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn maximizeButton(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).maximizeButton)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setborder<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setborder)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetsysMenu<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetsysMenu)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn sysMenu(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).sysMenu)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcaption<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcaption)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn caption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).caption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwindowState<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwindowState)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn windowState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).windowState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetshowInTaskBar<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetshowInTaskBar)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn showInTaskBar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).showInTaskBar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn commandLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).commandLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAppBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAppBehavior> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAppBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAppBehavior> for ::windows::core::IUnknown { - fn from(value: &IHTMLAppBehavior) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAppBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAppBehavior> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAppBehavior) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAppBehavior> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAppBehavior) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAppBehavior { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAppBehavior { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAppBehavior {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAppBehavior { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAppBehavior").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAppBehavior { - type Vtable = IHTMLAppBehavior_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5ca_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAppBehavior_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetapplicationName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetapplicationName: usize, - #[cfg(feature = "Win32_Foundation")] - pub applicationName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - applicationName: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setversion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setversion: usize, - #[cfg(feature = "Win32_Foundation")] - pub version: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - version: usize, - #[cfg(feature = "Win32_Foundation")] - pub Seticon: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Seticon: usize, - #[cfg(feature = "Win32_Foundation")] - pub icon: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - icon: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetsingleInstance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetsingleInstance: usize, - #[cfg(feature = "Win32_Foundation")] - pub singleInstance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - singleInstance: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetminimizeButton: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetminimizeButton: usize, - #[cfg(feature = "Win32_Foundation")] - pub minimizeButton: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - minimizeButton: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmaximizeButton: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmaximizeButton: usize, - #[cfg(feature = "Win32_Foundation")] - pub maximizeButton: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - maximizeButton: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setborder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setborder: usize, - #[cfg(feature = "Win32_Foundation")] - pub border: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - border: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetsysMenu: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetsysMenu: usize, - #[cfg(feature = "Win32_Foundation")] - pub sysMenu: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - sysMenu: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setcaption: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcaption: usize, - #[cfg(feature = "Win32_Foundation")] - pub caption: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - caption: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwindowState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwindowState: usize, - #[cfg(feature = "Win32_Foundation")] - pub windowState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - windowState: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetshowInTaskBar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetshowInTaskBar: usize, - #[cfg(feature = "Win32_Foundation")] - pub showInTaskBar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - showInTaskBar: usize, - #[cfg(feature = "Win32_Foundation")] - pub commandLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - commandLine: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAppBehavior2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAppBehavior2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcontextMenu<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcontextMenu)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn contextMenu(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).contextMenu)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetinnerBorder<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetinnerBorder)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn innerBorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).innerBorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setscroll<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setscroll)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn scroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetscrollFlat<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetscrollFlat)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn scrollFlat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollFlat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setselection<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setselection)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn selection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).selection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAppBehavior2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAppBehavior2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAppBehavior2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAppBehavior2> for ::windows::core::IUnknown { - fn from(value: &IHTMLAppBehavior2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAppBehavior2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAppBehavior2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAppBehavior2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAppBehavior2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAppBehavior2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAppBehavior2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAppBehavior2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAppBehavior2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAppBehavior2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAppBehavior2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAppBehavior2 { - type Vtable = IHTMLAppBehavior2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5c9_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAppBehavior2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetcontextMenu: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcontextMenu: usize, - #[cfg(feature = "Win32_Foundation")] - pub contextMenu: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - contextMenu: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetinnerBorder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetinnerBorder: usize, - #[cfg(feature = "Win32_Foundation")] - pub innerBorder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - innerBorder: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setscroll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setscroll: usize, - #[cfg(feature = "Win32_Foundation")] - pub scroll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - scroll: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetscrollFlat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetscrollFlat: usize, - #[cfg(feature = "Win32_Foundation")] - pub scrollFlat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - scrollFlat: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setselection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setselection: usize, - #[cfg(feature = "Win32_Foundation")] - pub selection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - selection: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAppBehavior3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAppBehavior3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setnavigable<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setnavigable)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn navigable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).navigable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAppBehavior3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAppBehavior3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAppBehavior3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAppBehavior3> for ::windows::core::IUnknown { - fn from(value: &IHTMLAppBehavior3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAppBehavior3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAppBehavior3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAppBehavior3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAppBehavior3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAppBehavior3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAppBehavior3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAppBehavior3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAppBehavior3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAppBehavior3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAppBehavior3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAppBehavior3 { - type Vtable = IHTMLAppBehavior3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5cd_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAppBehavior3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setnavigable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setnavigable: usize, - #[cfg(feature = "Win32_Foundation")] - pub navigable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - navigable: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLApplicationCache(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLApplicationCache { - pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonchecking<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonchecking)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onchecking(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onchecking)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonerror<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonerror)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonnoupdate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonnoupdate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onnoupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onnoupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondownloading<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondownloading)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondownloading(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondownloading)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonprogress<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonprogress)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onprogress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onprogress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonupdateready<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonupdateready)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onupdateready(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onupdateready)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoncached<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoncached)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oncached(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oncached)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonobsolete<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonobsolete)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onobsolete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onobsolete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn update(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).update)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn swapCache(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).swapCache)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn abort(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).abort)(::windows::core::Interface::as_raw(self)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLApplicationCache) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLApplicationCache> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLApplicationCache) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLApplicationCache> for ::windows::core::IUnknown { - fn from(value: &IHTMLApplicationCache) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLApplicationCache) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLApplicationCache> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLApplicationCache) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLApplicationCache> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLApplicationCache) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLApplicationCache { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLApplicationCache { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLApplicationCache {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLApplicationCache { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLApplicationCache").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLApplicationCache { - type Vtable = IHTMLApplicationCache_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510828_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLApplicationCache_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub status: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonchecking: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonchecking: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onchecking: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onchecking: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonnoupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonnoupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onnoupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onnoupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondownloading: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondownloading: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondownloading: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondownloading: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonprogress: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonprogress: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onprogress: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onprogress: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonupdateready: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonupdateready: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onupdateready: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onupdateready: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoncached: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoncached: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oncached: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oncached: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonobsolete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonobsolete: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onobsolete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onobsolete: usize, - pub update: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub swapCache: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub abort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAreaElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAreaElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setshape<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setshape)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn shape(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).shape)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcoords<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcoords)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn coords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).coords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethref<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethref)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settarget<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settarget)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalt<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalt)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn alt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).alt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetnoHref(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetnoHref)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn noHref(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).noHref)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethost<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethost)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn host(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).host)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethostname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethostname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn hostname(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hostname)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setpathname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setpathname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pathname(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pathname)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setport<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setport)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn port(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).port)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setprotocol<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setprotocol)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsearch<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsearch)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn search(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).search)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethash<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethash)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn hash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonblur<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonblur)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onblur(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onblur)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonfocus<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonfocus)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onfocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onfocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettabIndex(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SettabIndex)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn tabIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tabIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn focus(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).focus)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn blur(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).blur)(::windows::core::Interface::as_raw(self)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAreaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAreaElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAreaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAreaElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLAreaElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAreaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAreaElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAreaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAreaElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAreaElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAreaElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAreaElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAreaElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAreaElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAreaElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAreaElement { - type Vtable = IHTMLAreaElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f265_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAreaElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setshape: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setshape: usize, - #[cfg(feature = "Win32_Foundation")] - pub shape: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - shape: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setcoords: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcoords: usize, - #[cfg(feature = "Win32_Foundation")] - pub coords: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - coords: usize, - #[cfg(feature = "Win32_Foundation")] - pub Sethref: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethref: usize, - #[cfg(feature = "Win32_Foundation")] - pub href: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - href: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settarget: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settarget: usize, - #[cfg(feature = "Win32_Foundation")] - pub target: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - target: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setalt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalt: usize, - #[cfg(feature = "Win32_Foundation")] - pub alt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - alt: usize, - pub SetnoHref: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub noHref: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Sethost: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethost: usize, - #[cfg(feature = "Win32_Foundation")] - pub host: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - host: usize, - #[cfg(feature = "Win32_Foundation")] - pub Sethostname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethostname: usize, - #[cfg(feature = "Win32_Foundation")] - pub hostname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - hostname: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setpathname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setpathname: usize, - #[cfg(feature = "Win32_Foundation")] - pub pathname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pathname: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setport: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setport: usize, - #[cfg(feature = "Win32_Foundation")] - pub port: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - port: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setprotocol: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setprotocol: usize, - #[cfg(feature = "Win32_Foundation")] - pub protocol: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - protocol: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setsearch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsearch: usize, - #[cfg(feature = "Win32_Foundation")] - pub search: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - search: usize, - #[cfg(feature = "Win32_Foundation")] - pub Sethash: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethash: usize, - #[cfg(feature = "Win32_Foundation")] - pub hash: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - hash: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonblur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonblur: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onblur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onblur: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonfocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonfocus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onfocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onfocus: usize, - pub SettabIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub tabIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub focus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub blur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAreaElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAreaElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setshape<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setshape)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn shape(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).shape)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcoords<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcoords)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn coords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).coords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethref<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethref)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAreaElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAreaElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAreaElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAreaElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLAreaElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAreaElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAreaElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAreaElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAreaElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAreaElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAreaElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAreaElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAreaElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAreaElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAreaElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAreaElement2 { - type Vtable = IHTMLAreaElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051041f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAreaElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setshape: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setshape: usize, - #[cfg(feature = "Win32_Foundation")] - pub shape: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - shape: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setcoords: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcoords: usize, - #[cfg(feature = "Win32_Foundation")] - pub coords: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - coords: usize, - #[cfg(feature = "Win32_Foundation")] - pub Sethref: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethref: usize, - #[cfg(feature = "Win32_Foundation")] - pub href: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - href: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAreasCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAreasCollection { - pub unsafe fn Setlength(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setlength)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn item<'a, P0, P1>(&self, name: P0, index: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), name.into().abi(), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn tags<'a, P0>(&self, tagname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tags)(::windows::core::Interface::as_raw(self), tagname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn add<'a, P0, P1>(&self, element: P0, before: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).add)(::windows::core::Interface::as_raw(self), element.into().abi(), before.into().abi()).ok() - } - pub unsafe fn remove(&self, index: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).remove)(::windows::core::Interface::as_raw(self), index).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAreasCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAreasCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAreasCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAreasCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLAreasCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAreasCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAreasCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAreasCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAreasCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAreasCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAreasCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAreasCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAreasCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAreasCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAreasCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAreasCollection { - type Vtable = IHTMLAreasCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f383_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAreasCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setlength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub _newEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, index: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - item: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub tags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, tagname: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - tags: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, element: *mut ::core::ffi::c_void, before: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - add: usize, - pub remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAreasCollection2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAreasCollection2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn urns<'a, P0>(&self, urn: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).urns)(::windows::core::Interface::as_raw(self), urn.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAreasCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAreasCollection2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAreasCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAreasCollection2> for ::windows::core::IUnknown { - fn from(value: &IHTMLAreasCollection2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAreasCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAreasCollection2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAreasCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAreasCollection2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAreasCollection2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAreasCollection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAreasCollection2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAreasCollection2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAreasCollection2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAreasCollection2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAreasCollection2 { - type Vtable = IHTMLAreasCollection2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5ec_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAreasCollection2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub urns: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, urn: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - urns: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAreasCollection3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAreasCollection3 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn namedItem<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).namedItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAreasCollection3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAreasCollection3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAreasCollection3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAreasCollection3> for ::windows::core::IUnknown { - fn from(value: &IHTMLAreasCollection3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAreasCollection3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAreasCollection3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAreasCollection3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAreasCollection3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAreasCollection3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAreasCollection3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAreasCollection3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAreasCollection3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAreasCollection3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAreasCollection3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAreasCollection3 { - type Vtable = IHTMLAreasCollection3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f837_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAreasCollection3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub namedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - namedItem: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAreasCollection4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAreasCollection4 { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn namedItem<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).namedItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAreasCollection4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAreasCollection4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAreasCollection4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAreasCollection4> for ::windows::core::IUnknown { - fn from(value: &IHTMLAreasCollection4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAreasCollection4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAreasCollection4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAreasCollection4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAreasCollection4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAreasCollection4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAreasCollection4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAreasCollection4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAreasCollection4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAreasCollection4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAreasCollection4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAreasCollection4 { - type Vtable = IHTMLAreasCollection4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510492_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAreasCollection4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - item: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub namedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - namedItem: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAttributeCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAttributeCollection { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn item(&self, name: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(name), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAttributeCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAttributeCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAttributeCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAttributeCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLAttributeCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAttributeCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAttributeCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAttributeCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAttributeCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAttributeCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAttributeCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAttributeCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAttributeCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAttributeCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAttributeCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAttributeCollection { - type Vtable = IHTMLAttributeCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4c3_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAttributeCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub _newEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: *const super::super::System::Com::VARIANT, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAttributeCollection2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAttributeCollection2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn getNamedItem<'a, P0>(&self, bstrname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getNamedItem)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn setNamedItem<'a, P0>(&self, ppnode: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).setNamedItem)(::windows::core::Interface::as_raw(self), ppnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn removeNamedItem<'a, P0>(&self, bstrname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeNamedItem)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAttributeCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAttributeCollection2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAttributeCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAttributeCollection2> for ::windows::core::IUnknown { - fn from(value: &IHTMLAttributeCollection2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAttributeCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAttributeCollection2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAttributeCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAttributeCollection2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAttributeCollection2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAttributeCollection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAttributeCollection2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAttributeCollection2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAttributeCollection2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAttributeCollection2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAttributeCollection2 { - type Vtable = IHTMLAttributeCollection2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f80a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAttributeCollection2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub getNamedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, newretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - getNamedItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub setNamedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppnode: *mut ::core::ffi::c_void, newretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - setNamedItem: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub removeNamedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, newretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - removeNamedItem: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAttributeCollection3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAttributeCollection3 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn getNamedItem<'a, P0>(&self, bstrname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getNamedItem)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn setNamedItem<'a, P0>(&self, pnodein: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).setNamedItem)(::windows::core::Interface::as_raw(self), pnodein.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn removeNamedItem<'a, P0>(&self, bstrname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeNamedItem)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAttributeCollection3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAttributeCollection3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAttributeCollection3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAttributeCollection3> for ::windows::core::IUnknown { - fn from(value: &IHTMLAttributeCollection3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAttributeCollection3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAttributeCollection3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAttributeCollection3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAttributeCollection3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAttributeCollection3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAttributeCollection3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAttributeCollection3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAttributeCollection3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAttributeCollection3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAttributeCollection3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAttributeCollection3 { - type Vtable = IHTMLAttributeCollection3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510469_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAttributeCollection3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub getNamedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - getNamedItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub setNamedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnodein: *mut ::core::ffi::c_void, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - setNamedItem: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub removeNamedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - removeNamedItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - item: usize, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAttributeCollection4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAttributeCollection4 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getNamedItemNS<'a, P0>(&self, pvarns: *const super::super::System::Com::VARIANT, bstrname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getNamedItemNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn setNamedItemNS<'a, P0>(&self, pnodein: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute2>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).setNamedItemNS)(::windows::core::Interface::as_raw(self), pnodein.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn removeNamedItemNS<'a, P0>(&self, pvarns: *const super::super::System::Com::VARIANT, bstrname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeNamedItemNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn getNamedItem<'a, P0>(&self, bstrname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getNamedItem)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn setNamedItem<'a, P0>(&self, pnodein: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute2>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).setNamedItem)(::windows::core::Interface::as_raw(self), pnodein.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn removeNamedItem<'a, P0>(&self, bstrname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeNamedItem)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAttributeCollection4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAttributeCollection4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAttributeCollection4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAttributeCollection4> for ::windows::core::IUnknown { - fn from(value: &IHTMLAttributeCollection4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAttributeCollection4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAttributeCollection4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAttributeCollection4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAttributeCollection4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAttributeCollection4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAttributeCollection4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAttributeCollection4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAttributeCollection4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAttributeCollection4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAttributeCollection4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAttributeCollection4 { - type Vtable = IHTMLAttributeCollection4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106fa_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAttributeCollection4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getNamedItemNS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, bstrname: ::core::mem::ManuallyDrop, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getNamedItemNS: usize, - #[cfg(feature = "Win32_System_Com")] - pub setNamedItemNS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnodein: *mut ::core::ffi::c_void, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - setNamedItemNS: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub removeNamedItemNS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, bstrname: ::core::mem::ManuallyDrop, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - removeNamedItemNS: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub getNamedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - getNamedItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub setNamedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnodein: *mut ::core::ffi::c_void, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - setNamedItem: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub removeNamedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - removeNamedItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppnodeout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - item: usize, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAudioElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAudioElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAudioElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAudioElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAudioElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAudioElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLAudioElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAudioElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAudioElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAudioElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAudioElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAudioElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAudioElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAudioElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAudioElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAudioElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAudioElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAudioElement { - type Vtable = IHTMLAudioElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510708_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAudioElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLAudioElementFactory(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLAudioElementFactory { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn create<'a, P0>(&self, src: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).create)(::windows::core::Interface::as_raw(self), src.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLAudioElementFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAudioElementFactory> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLAudioElementFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAudioElementFactory> for ::windows::core::IUnknown { - fn from(value: &IHTMLAudioElementFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLAudioElementFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLAudioElementFactory> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLAudioElementFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLAudioElementFactory> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLAudioElementFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLAudioElementFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLAudioElementFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLAudioElementFactory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLAudioElementFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLAudioElementFactory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLAudioElementFactory { - type Vtable = IHTMLAudioElementFactory_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107eb_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLAudioElementFactory_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub create: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, src: ::core::mem::ManuallyDrop, __midl__ihtmlaudioelementfactory0000: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - create: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLBGsound(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLBGsound { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setloop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setloop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn r#loop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#loop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setvolume<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setvolume)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn volume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).volume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setbalance<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setbalance)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn balance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).balance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLBGsound) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBGsound> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLBGsound) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBGsound> for ::windows::core::IUnknown { - fn from(value: &IHTMLBGsound) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLBGsound) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBGsound> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLBGsound) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBGsound> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLBGsound) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLBGsound { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLBGsound { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLBGsound {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLBGsound { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLBGsound").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLBGsound { - type Vtable = IHTMLBGsound_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f369_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLBGsound_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub src: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - src: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setloop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setloop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub r#loop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - r#loop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setvolume: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setvolume: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub volume: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - volume: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setbalance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setbalance: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub balance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - balance: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLBRElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLBRElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setclear<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setclear)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn clear(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLBRElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBRElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLBRElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBRElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLBRElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLBRElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBRElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLBRElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBRElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLBRElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLBRElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLBRElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLBRElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLBRElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLBRElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLBRElement { - type Vtable = IHTMLBRElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f1f0_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLBRElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setclear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setclear: usize, - #[cfg(feature = "Win32_Foundation")] - pub clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - clear: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLBaseElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLBaseElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethref<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethref)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settarget<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settarget)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLBaseElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBaseElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLBaseElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBaseElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLBaseElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLBaseElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBaseElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLBaseElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBaseElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLBaseElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLBaseElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLBaseElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLBaseElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLBaseElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLBaseElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLBaseElement { - type Vtable = IHTMLBaseElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f204_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLBaseElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Sethref: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethref: usize, - #[cfg(feature = "Win32_Foundation")] - pub href: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - href: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settarget: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settarget: usize, - #[cfg(feature = "Win32_Foundation")] - pub target: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - target: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLBaseElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLBaseElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethref<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethref)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLBaseElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBaseElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLBaseElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBaseElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLBaseElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLBaseElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBaseElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLBaseElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBaseElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLBaseElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLBaseElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLBaseElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLBaseElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLBaseElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLBaseElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLBaseElement2 { - type Vtable = IHTMLBaseElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510420_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLBaseElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Sethref: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethref: usize, - #[cfg(feature = "Win32_Foundation")] - pub href: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - href: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLBaseFontElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLBaseFontElement { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setcolor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setcolor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setface<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setface)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn face(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).face)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setsize(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setsize)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLBaseFontElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBaseFontElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLBaseFontElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBaseFontElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLBaseFontElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLBaseFontElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBaseFontElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLBaseFontElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBaseFontElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLBaseFontElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLBaseFontElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLBaseFontElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLBaseFontElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLBaseFontElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLBaseFontElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLBaseFontElement { - type Vtable = IHTMLBaseFontElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f202_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLBaseFontElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setcolor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setcolor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub color: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - color: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setface: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setface: usize, - #[cfg(feature = "Win32_Foundation")] - pub face: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - face: usize, - pub Setsize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub size: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLBlockElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLBlockElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setclear<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setclear)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn clear(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLBlockElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBlockElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLBlockElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBlockElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLBlockElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLBlockElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBlockElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLBlockElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBlockElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLBlockElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLBlockElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLBlockElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLBlockElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLBlockElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLBlockElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLBlockElement { - type Vtable = IHTMLBlockElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f208_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLBlockElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setclear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setclear: usize, - #[cfg(feature = "Win32_Foundation")] - pub clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - clear: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLBlockElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLBlockElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcite<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcite)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setwidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLBlockElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBlockElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLBlockElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBlockElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLBlockElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLBlockElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBlockElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLBlockElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBlockElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLBlockElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLBlockElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLBlockElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLBlockElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLBlockElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLBlockElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLBlockElement2 { - type Vtable = IHTMLBlockElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f823_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLBlockElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setcite: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcite: usize, - #[cfg(feature = "Win32_Foundation")] - pub cite: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cite: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setwidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - width: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLBlockElement3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLBlockElement3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcite<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcite)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLBlockElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBlockElement3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLBlockElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBlockElement3> for ::windows::core::IUnknown { - fn from(value: &IHTMLBlockElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLBlockElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBlockElement3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLBlockElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBlockElement3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLBlockElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLBlockElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLBlockElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLBlockElement3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLBlockElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLBlockElement3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLBlockElement3 { - type Vtable = IHTMLBlockElement3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510494_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLBlockElement3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setcite: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcite: usize, - #[cfg(feature = "Win32_Foundation")] - pub cite: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cite: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLBodyElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLBodyElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setbackground<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setbackground)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn background(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).background)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbgProperties<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbgProperties)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn bgProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bgProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetleftMargin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetleftMargin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn leftMargin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).leftMargin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SettopMargin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SettopMargin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn topMargin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).topMargin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetrightMargin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetrightMargin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn rightMargin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rightMargin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbottomMargin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbottomMargin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn bottomMargin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bottomMargin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetnoWrap(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetnoWrap)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn noWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).noWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbgColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbgColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn bgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Settext<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Settext)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setlink<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setlink)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn link(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).link)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetvLink<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetvLink)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn vLink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetaLink<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetaLink)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn aLink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).aLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonunload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonunload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onunload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onunload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setscroll<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setscroll)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn scroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonselect<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonselect)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbeforeunload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbeforeunload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbeforeunload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbeforeunload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createTextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createTextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLBodyElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBodyElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLBodyElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBodyElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLBodyElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLBodyElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBodyElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLBodyElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBodyElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLBodyElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLBodyElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLBodyElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLBodyElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLBodyElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLBodyElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLBodyElement { - type Vtable = IHTMLBodyElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f1d8_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLBodyElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setbackground: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setbackground: usize, - #[cfg(feature = "Win32_Foundation")] - pub background: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - background: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbgProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbgProperties: usize, - #[cfg(feature = "Win32_Foundation")] - pub bgProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - bgProperties: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetleftMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetleftMargin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub leftMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - leftMargin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SettopMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SettopMargin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub topMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - topMargin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetrightMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetrightMargin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub rightMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - rightMargin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbottomMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbottomMargin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub bottomMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - bottomMargin: usize, - pub SetnoWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub noWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbgColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbgColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub bgColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - bgColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Settext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Settext: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub text: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - text: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setlink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setlink: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub link: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - link: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetvLink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetvLink: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub vLink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - vLink: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetaLink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetaLink: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub aLink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - aLink: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonunload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonunload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onunload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onunload: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setscroll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setscroll: usize, - #[cfg(feature = "Win32_Foundation")] - pub scroll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - scroll: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonselect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onselect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbeforeunload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbeforeunload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbeforeunload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbeforeunload: usize, - #[cfg(feature = "Win32_System_Com")] - pub createTextRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createTextRange: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLBodyElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLBodyElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbeforeprint<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbeforeprint)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbeforeprint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbeforeprint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonafterprint<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonafterprint)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onafterprint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onafterprint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLBodyElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBodyElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLBodyElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBodyElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLBodyElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLBodyElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBodyElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLBodyElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBodyElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLBodyElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLBodyElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLBodyElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLBodyElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLBodyElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLBodyElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLBodyElement2 { - type Vtable = IHTMLBodyElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5c5_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLBodyElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbeforeprint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbeforeprint: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbeforeprint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbeforeprint: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonafterprint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonafterprint: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onafterprint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onafterprint: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLBodyElement3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLBodyElement3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setbackground<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setbackground)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn background(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).background)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setononline<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setononline)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ononline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ononline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonoffline<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonoffline)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onoffline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onoffline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonhashchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonhashchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onhashchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onhashchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLBodyElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBodyElement3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLBodyElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBodyElement3> for ::windows::core::IUnknown { - fn from(value: &IHTMLBodyElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLBodyElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBodyElement3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLBodyElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBodyElement3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLBodyElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLBodyElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLBodyElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLBodyElement3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLBodyElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLBodyElement3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLBodyElement3 { - type Vtable = IHTMLBodyElement3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510422_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLBodyElement3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setbackground: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setbackground: usize, - #[cfg(feature = "Win32_Foundation")] - pub background: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - background: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setononline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setononline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ononline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ononline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonoffline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonoffline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onoffline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onoffline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonhashchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonhashchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onhashchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onhashchange: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLBodyElement4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLBodyElement4 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmessage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmessage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonstorage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonstorage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onstorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onstorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLBodyElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBodyElement4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLBodyElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBodyElement4> for ::windows::core::IUnknown { - fn from(value: &IHTMLBodyElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLBodyElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBodyElement4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLBodyElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBodyElement4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLBodyElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLBodyElement4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLBodyElement4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLBodyElement4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLBodyElement4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLBodyElement4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLBodyElement4 { - type Vtable = IHTMLBodyElement4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510795_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLBodyElement4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmessage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmessage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonstorage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonstorage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onstorage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onstorage: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLBodyElement5(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLBodyElement5 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonpopstate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonpopstate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onpopstate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onpopstate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLBodyElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBodyElement5> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLBodyElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBodyElement5> for ::windows::core::IUnknown { - fn from(value: &IHTMLBodyElement5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLBodyElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBodyElement5> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLBodyElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBodyElement5> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLBodyElement5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLBodyElement5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLBodyElement5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLBodyElement5 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLBodyElement5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLBodyElement5").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLBodyElement5 { - type Vtable = IHTMLBodyElement5_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510822_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLBodyElement5_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonpopstate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonpopstate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onpopstate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onpopstate: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLBookmarkCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLBookmarkCollection { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLBookmarkCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBookmarkCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLBookmarkCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBookmarkCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLBookmarkCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLBookmarkCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLBookmarkCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLBookmarkCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLBookmarkCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLBookmarkCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLBookmarkCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLBookmarkCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLBookmarkCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLBookmarkCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLBookmarkCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLBookmarkCollection { - type Vtable = IHTMLBookmarkCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4ce_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLBookmarkCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub _newEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pvarbookmark: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLButtonElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLButtonElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setstatus<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setstatus)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createTextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createTextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLButtonElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLButtonElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLButtonElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLButtonElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLButtonElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLButtonElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLButtonElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLButtonElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLButtonElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLButtonElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLButtonElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLButtonElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLButtonElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLButtonElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLButtonElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLButtonElement { - type Vtable = IHTMLButtonElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2bb_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLButtonElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setstatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setstatus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub status: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - status: usize, - pub Setdisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub disabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub form: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - form: usize, - #[cfg(feature = "Win32_System_Com")] - pub createTextRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createTextRange: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLButtonElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLButtonElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settype<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLButtonElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLButtonElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLButtonElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLButtonElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLButtonElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLButtonElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLButtonElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLButtonElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLButtonElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLButtonElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLButtonElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLButtonElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLButtonElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLButtonElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLButtonElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLButtonElement2 { - type Vtable = IHTMLButtonElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106f3_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLButtonElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Settype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settype: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCSSImportRule(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCSSImportRule { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setmedia<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setmedia)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn styleSheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).styleSheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCSSImportRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSImportRule> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCSSImportRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSImportRule> for ::windows::core::IUnknown { - fn from(value: &IHTMLCSSImportRule) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCSSImportRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSImportRule> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCSSImportRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSImportRule> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCSSImportRule) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCSSImportRule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCSSImportRule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCSSImportRule {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCSSImportRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCSSImportRule").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCSSImportRule { - type Vtable = IHTMLCSSImportRule_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106ea_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCSSImportRule_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub href: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - href: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setmedia: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setmedia: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub media: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - media: usize, - #[cfg(feature = "Win32_System_Com")] - pub styleSheet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - styleSheet: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCSSMediaList(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCSSMediaList { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmediaText<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmediaText)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn mediaText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).mediaText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn appendMedium<'a, P0>(&self, bstrmedium: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).appendMedium)(::windows::core::Interface::as_raw(self), bstrmedium.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn deleteMedium<'a, P0>(&self, bstrmedium: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).deleteMedium)(::windows::core::Interface::as_raw(self), bstrmedium.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCSSMediaList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSMediaList> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCSSMediaList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSMediaList> for ::windows::core::IUnknown { - fn from(value: &IHTMLCSSMediaList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCSSMediaList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSMediaList> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCSSMediaList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSMediaList> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCSSMediaList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCSSMediaList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCSSMediaList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCSSMediaList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCSSMediaList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCSSMediaList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCSSMediaList { - type Vtable = IHTMLCSSMediaList_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510731_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCSSMediaList_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetmediaText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmediaText: usize, - #[cfg(feature = "Win32_Foundation")] - pub mediaText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - mediaText: usize, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pbstrmedium: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - item: usize, - #[cfg(feature = "Win32_Foundation")] - pub appendMedium: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrmedium: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - appendMedium: usize, - #[cfg(feature = "Win32_Foundation")] - pub deleteMedium: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrmedium: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - deleteMedium: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCSSMediaRule(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCSSMediaRule { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setmedia<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setmedia)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn cssRules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cssRules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn insertRule<'a, P0>(&self, bstrrule: P0, lindex: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertRule)(::windows::core::Interface::as_raw(self), bstrrule.into().abi(), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deleteRule(&self, lindex: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deleteRule)(::windows::core::Interface::as_raw(self), lindex).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCSSMediaRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSMediaRule> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCSSMediaRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSMediaRule> for ::windows::core::IUnknown { - fn from(value: &IHTMLCSSMediaRule) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCSSMediaRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSMediaRule> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCSSMediaRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSMediaRule> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCSSMediaRule) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCSSMediaRule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCSSMediaRule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCSSMediaRule {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCSSMediaRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCSSMediaRule").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCSSMediaRule { - type Vtable = IHTMLCSSMediaRule_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106eb_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCSSMediaRule_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setmedia: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setmedia: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub media: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - media: usize, - #[cfg(feature = "Win32_System_Com")] - pub cssRules: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - cssRules: usize, - #[cfg(feature = "Win32_Foundation")] - pub insertRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrrule: ::core::mem::ManuallyDrop, lindex: i32, plnewindex: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - insertRule: usize, - pub deleteRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lindex: i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCSSNamespaceRule(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCSSNamespaceRule { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn namespaceURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).namespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn prefix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).prefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCSSNamespaceRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSNamespaceRule> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCSSNamespaceRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSNamespaceRule> for ::windows::core::IUnknown { - fn from(value: &IHTMLCSSNamespaceRule) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCSSNamespaceRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSNamespaceRule> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCSSNamespaceRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSNamespaceRule> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCSSNamespaceRule) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCSSNamespaceRule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCSSNamespaceRule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCSSNamespaceRule {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCSSNamespaceRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCSSNamespaceRule").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCSSNamespaceRule { - type Vtable = IHTMLCSSNamespaceRule_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106ee_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCSSNamespaceRule_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub namespaceURI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - namespaceURI: usize, - #[cfg(feature = "Win32_Foundation")] - pub prefix: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - prefix: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCSSRule(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCSSRule { - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcssText<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcssText)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cssText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cssText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn parentRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).parentRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn parentStyleSheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).parentStyleSheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCSSRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSRule> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCSSRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSRule> for ::windows::core::IUnknown { - fn from(value: &IHTMLCSSRule) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCSSRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSRule> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCSSRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSRule> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCSSRule) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCSSRule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCSSRule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCSSRule {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCSSRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCSSRule").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCSSRule { - type Vtable = IHTMLCSSRule_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106e9_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCSSRule_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetcssText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcssText: usize, - #[cfg(feature = "Win32_Foundation")] - pub cssText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cssText: usize, - #[cfg(feature = "Win32_System_Com")] - pub parentRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - parentRule: usize, - #[cfg(feature = "Win32_System_Com")] - pub parentStyleSheet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - parentStyleSheet: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCSSStyleDeclaration(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCSSStyleDeclaration { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn parentRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).parentRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn getPropertyValue<'a, P0>(&self, bstrpropertyname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getPropertyValue)(::windows::core::Interface::as_raw(self), bstrpropertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn getPropertyPriority<'a, P0>(&self, bstrpropertyname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getPropertyPriority)(::windows::core::Interface::as_raw(self), bstrpropertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn removeProperty<'a, P0>(&self, bstrpropertyname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeProperty)(::windows::core::Interface::as_raw(self), bstrpropertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn setProperty<'a, P0>(&self, bstrpropertyname: P0, pvarpropertyvalue: *const super::super::System::Com::VARIANT, pvarpropertypriority: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).setProperty)(::windows::core::Interface::as_raw(self), bstrpropertyname.into().abi(), ::core::mem::transmute(pvarpropertyvalue), ::core::mem::transmute(pvarpropertypriority)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetfontFamily<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetfontFamily)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontFamily(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontFamily)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetfontStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetfontStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetfontVariant<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetfontVariant)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontVariant(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontVariant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetfontWeight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetfontWeight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontWeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontWeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetfontSize<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetfontSize)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn fontSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setfont<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setfont)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn font(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).font)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setcolor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setcolor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setbackground<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setbackground)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn background(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).background)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbackgroundColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn backgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbackgroundImage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundImage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbackgroundRepeat<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundRepeat)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundRepeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundRepeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbackgroundAttachment<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundAttachment)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundAttachment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundAttachment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbackgroundPosition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundPosition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbackgroundPositionX<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundPositionX)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn backgroundPositionX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundPositionX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbackgroundPositionY<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundPositionY)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn backgroundPositionY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundPositionY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetwordSpacing<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetwordSpacing)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn wordSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).wordSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetletterSpacing<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetletterSpacing)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn letterSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).letterSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextDecoration<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextDecoration)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textDecoration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textDecoration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetverticalAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetverticalAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn verticalAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).verticalAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextTransform<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextTransform)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SettextIndent<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SettextIndent)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn textIndent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textIndent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetlineHeight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetlineHeight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn lineHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lineHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmarginTop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmarginTop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmarginRight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmarginRight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmarginBottom<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmarginBottom)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmarginLeft<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmarginLeft)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setmargin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setmargin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn margin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).margin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetpaddingTop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetpaddingTop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn paddingTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).paddingTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetpaddingRight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetpaddingRight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn paddingRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).paddingRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetpaddingBottom<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetpaddingBottom)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn paddingBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).paddingBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetpaddingLeft<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetpaddingLeft)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn paddingLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).paddingLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setpadding<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setpadding)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn padding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).padding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setborder<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setborder)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderTop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderTop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderRight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderRight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderBottom<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderBottom)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderLeft<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderLeft)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderTopColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderTopColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderTopColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderTopColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderRightColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderRightColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderRightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderRightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderBottomColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderBottomColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderBottomColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderBottomColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderLeftColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderLeftColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderLeftColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderLeftColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderTopWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderTopWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderTopWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderTopWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderRightWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderRightWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderRightWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderRightWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderBottomWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderBottomWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderBottomWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderBottomWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderLeftWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderLeftWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderLeftWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderLeftWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderTopStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderTopStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderTopStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderTopStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderRightStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderRightStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderRightStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderRightStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderBottomStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderBottomStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderBottomStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderBottomStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderLeftStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderLeftStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderLeftStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderLeftStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setwidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setheight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetstyleFloat<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetstyleFloat)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn styleFloat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).styleFloat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setclear<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setclear)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn clear(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdisplay<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdisplay)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn display(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).display)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvisibility<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvisibility)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn visibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).visibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlistStyleType<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlistStyleType)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn listStyleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).listStyleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlistStylePosition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlistStylePosition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn listStylePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).listStylePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlistStyleImage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlistStyleImage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn listStyleImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).listStyleImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlistStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlistStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn listStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).listStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwhiteSpace<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwhiteSpace)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn whiteSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).whiteSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Settop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Settop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setleft<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setleft)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetzIndex<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetzIndex)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn zIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).zIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setoverflow<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setoverflow)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn overflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).overflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetpageBreakBefore<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetpageBreakBefore)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pageBreakBefore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageBreakBefore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetpageBreakAfter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetpageBreakAfter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pageBreakAfter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageBreakAfter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcssText<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcssText)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cssText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cssText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcursor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcursor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cursor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cursor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setclip<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setclip)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn clip(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setfilter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setfilter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn filter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).filter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettableLayout<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettableLayout)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn tableLayout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tableLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderCollapse<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderCollapse)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderCollapse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderCollapse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdirection<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdirection)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setbehavior<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setbehavior)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn behavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).behavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setposition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setposition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn position(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).position)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetunicodeBidi<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetunicodeBidi)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn unicodeBidi(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).unicodeBidi)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setbottom<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setbottom)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn bottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setright<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setright)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn right(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).right)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetimeMode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetimeMode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn imeMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).imeMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetrubyAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetrubyAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rubyAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rubyAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetrubyPosition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetrubyPosition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rubyPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rubyPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetrubyOverhang<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetrubyOverhang)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rubyOverhang(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rubyOverhang)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetlayoutGridChar<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetlayoutGridChar)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn layoutGridChar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGridChar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetlayoutGridLine<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetlayoutGridLine)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn layoutGridLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGridLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlayoutGridMode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlayoutGridMode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn layoutGridMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGridMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlayoutGridType<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlayoutGridType)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn layoutGridType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGridType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlayoutGrid<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlayoutGrid)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn layoutGrid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGrid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextAutospace<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextAutospace)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textAutospace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textAutospace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwordBreak<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwordBreak)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn wordBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).wordBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlineBreak<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlineBreak)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn lineBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lineBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextJustify<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextJustify)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textJustify(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textJustify)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextJustifyTrim<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextJustifyTrim)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textJustifyTrim(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textJustifyTrim)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SettextKashida<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SettextKashida)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn textKashida(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textKashida)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetoverflowX<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetoverflowX)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn overflowX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).overflowX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetoverflowY<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetoverflowY)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn overflowY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).overflowY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setaccelerator<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setaccelerator)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn accelerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).accelerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlayoutFlow<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlayoutFlow)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn layoutFlow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutFlow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setzoom<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setzoom)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn zoom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).zoom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwordWrap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwordWrap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn wordWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).wordWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextUnderlinePosition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextUnderlinePosition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textUnderlinePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textUnderlinePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarBaseColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarBaseColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarBaseColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarBaseColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarFaceColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarFaceColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarFaceColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarFaceColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setscrollbar3dLightColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setscrollbar3dLightColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbar3dLightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbar3dLightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarShadowColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarShadowColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarShadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarShadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarHighlightColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarHighlightColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarHighlightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarHighlightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarDarkShadowColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarDarkShadowColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarDarkShadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarDarkShadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarArrowColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarArrowColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarArrowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarArrowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarTrackColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarTrackColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarTrackColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarTrackColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwritingMode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwritingMode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn writingMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).writingMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextAlignLast<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextAlignLast)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textAlignLast(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textAlignLast)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SettextKashidaSpace<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SettextKashidaSpace)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn textKashidaSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textKashidaSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextOverflow<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextOverflow)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textOverflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textOverflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetminHeight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetminHeight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn minHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).minHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsInterpolationMode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsInterpolationMode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msInterpolationMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msInterpolationMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmaxHeight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmaxHeight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn maxHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).maxHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetminWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetminWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn minWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).minWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmaxWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmaxWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn maxWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).maxWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcontent<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcontent)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn content(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).content)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcaptionSide<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcaptionSide)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn captionSide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).captionSide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcounterIncrement<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcounterIncrement)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn counterIncrement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).counterIncrement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcounterReset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcounterReset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn counterReset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).counterReset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setoutline<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setoutline)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn outline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetoutlineWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetoutlineWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn outlineWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outlineWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetoutlineStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetoutlineStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn outlineStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outlineStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetoutlineColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetoutlineColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn outlineColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outlineColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetboxSizing<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetboxSizing)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn boxSizing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).boxSizing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderSpacing<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderSpacing)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setorphans<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setorphans)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn orphans(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).orphans)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setwidows<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setwidows)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn widows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).widows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetpageBreakInside<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetpageBreakInside)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pageBreakInside(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageBreakInside)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetemptyCells<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetemptyCells)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn emptyCells(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).emptyCells)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsBlockProgression<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsBlockProgression)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msBlockProgression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msBlockProgression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setquotes<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setquotes)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn quotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).quotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetalignmentBaseline<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetalignmentBaseline)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn alignmentBaseline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).alignmentBaseline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbaselineShift<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbaselineShift)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn baselineShift(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).baselineShift)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdominantBaseline<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetdominantBaseline)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dominantBaseline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dominantBaseline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetfontSizeAdjust<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetfontSizeAdjust)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn fontSizeAdjust(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontSizeAdjust)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetfontStretch<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetfontStretch)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontStretch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontStretch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setopacity<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setopacity)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn opacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).opacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetclipPath<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetclipPath)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn clipPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clipPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetclipRule<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetclipRule)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn clipRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clipRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setfill<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setfill)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fill(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fill)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetfillOpacity<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetfillOpacity)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn fillOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fillOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetfillRule<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetfillRule)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fillRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fillRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setkerning<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setkerning)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn kerning(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).kerning)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setmarker<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setmarker)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn marker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmarkerEnd<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmarkerEnd)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn markerEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).markerEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmarkerMid<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmarkerMid)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn markerMid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).markerMid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmarkerStart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmarkerStart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn markerStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).markerStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setmask<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setmask)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn mask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).mask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetpointerEvents<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetpointerEvents)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pointerEvents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pointerEvents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetstopColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetstopColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn stopColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).stopColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetstopOpacity<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetstopOpacity)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn stopOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).stopOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setstroke<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setstroke)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn stroke(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).stroke)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetstrokeDasharray<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetstrokeDasharray)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn strokeDasharray(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).strokeDasharray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetstrokeDashoffset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetstrokeDashoffset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn strokeDashoffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).strokeDashoffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetstrokeLinecap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetstrokeLinecap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn strokeLinecap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).strokeLinecap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetstrokeLinejoin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetstrokeLinejoin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn strokeLinejoin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).strokeLinejoin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetstrokeMiterlimit<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetstrokeMiterlimit)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn strokeMiterlimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).strokeMiterlimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetstrokeOpacity<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetstrokeOpacity)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn strokeOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).strokeOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetstrokeWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetstrokeWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn strokeWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).strokeWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextAnchor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextAnchor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textAnchor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textAnchor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetglyphOrientationHorizontal<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetglyphOrientationHorizontal)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn glyphOrientationHorizontal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).glyphOrientationHorizontal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetglyphOrientationVertical<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetglyphOrientationVertical)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn glyphOrientationVertical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).glyphOrientationVertical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderRadius<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderRadius)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderRadius(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderRadius)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderTopLeftRadius<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderTopLeftRadius)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderTopLeftRadius(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderTopLeftRadius)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderTopRightRadius<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderTopRightRadius)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderTopRightRadius(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderTopRightRadius)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderBottomRightRadius<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderBottomRightRadius)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderBottomRightRadius(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderBottomRightRadius)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderBottomLeftRadius<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderBottomLeftRadius)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderBottomLeftRadius(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderBottomLeftRadius)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetclipTop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetclipTop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn clipTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clipTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetclipRight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetclipRight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn clipRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clipRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn clipBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clipBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetclipLeft<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetclipLeft)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn clipLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clipLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcssFloat<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcssFloat)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cssFloat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cssFloat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbackgroundClip<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundClip)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundClip(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundClip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbackgroundOrigin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundOrigin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundOrigin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbackgroundSize<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundSize)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetboxShadow<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetboxShadow)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn boxShadow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).boxShadow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsTransform<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsTransform)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsTransformOrigin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsTransformOrigin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msTransformOrigin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msTransformOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCSSStyleDeclaration) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSStyleDeclaration> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCSSStyleDeclaration) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSStyleDeclaration> for ::windows::core::IUnknown { - fn from(value: &IHTMLCSSStyleDeclaration) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCSSStyleDeclaration) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSStyleDeclaration> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCSSStyleDeclaration) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSStyleDeclaration> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCSSStyleDeclaration) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCSSStyleDeclaration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCSSStyleDeclaration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCSSStyleDeclaration {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCSSStyleDeclaration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCSSStyleDeclaration").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCSSStyleDeclaration { - type Vtable = IHTMLCSSStyleDeclaration_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510740_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCSSStyleDeclaration_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub parentRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - parentRule: usize, - #[cfg(feature = "Win32_Foundation")] - pub getPropertyValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrpropertyname: ::core::mem::ManuallyDrop, pbstrpropertyvalue: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - getPropertyValue: usize, - #[cfg(feature = "Win32_Foundation")] - pub getPropertyPriority: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrpropertyname: ::core::mem::ManuallyDrop, pbstrpropertypriority: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - getPropertyPriority: usize, - #[cfg(feature = "Win32_Foundation")] - pub removeProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrpropertyname: ::core::mem::ManuallyDrop, pbstrpropertyvalue: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - removeProperty: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub setProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrpropertyname: ::core::mem::ManuallyDrop, pvarpropertyvalue: *const super::super::System::Com::VARIANT, pvarpropertypriority: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - setProperty: usize, - #[cfg(feature = "Win32_Foundation")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pbstrpropertyname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - item: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetfontFamily: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetfontFamily: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontFamily: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontFamily: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetfontStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetfontStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetfontVariant: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetfontVariant: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontVariant: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontVariant: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetfontWeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetfontWeight: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontWeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontWeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetfontSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetfontSize: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub fontSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - fontSize: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setfont: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setfont: usize, - #[cfg(feature = "Win32_Foundation")] - pub font: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - font: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setcolor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setcolor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub color: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - color: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setbackground: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setbackground: usize, - #[cfg(feature = "Win32_Foundation")] - pub background: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - background: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbackgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbackgroundColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub backgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - backgroundColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbackgroundImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbackgroundImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbackgroundRepeat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbackgroundRepeat: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundRepeat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundRepeat: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbackgroundAttachment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbackgroundAttachment: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundAttachment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundAttachment: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbackgroundPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbackgroundPosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundPosition: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbackgroundPositionX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbackgroundPositionX: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub backgroundPositionX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - backgroundPositionX: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbackgroundPositionY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbackgroundPositionY: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub backgroundPositionY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - backgroundPositionY: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetwordSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetwordSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub wordSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - wordSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetletterSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetletterSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub letterSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - letterSpacing: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextDecoration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextDecoration: usize, - #[cfg(feature = "Win32_Foundation")] - pub textDecoration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textDecoration: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetverticalAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetverticalAlign: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub verticalAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - verticalAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextTransform: usize, - #[cfg(feature = "Win32_Foundation")] - pub textTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textTransform: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub textAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textAlign: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SettextIndent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SettextIndent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub textIndent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - textIndent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetlineHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetlineHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub lineHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - lineHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmarginTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmarginTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmarginRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmarginRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmarginBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmarginBottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginBottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmarginLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmarginLeft: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginLeft: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setmargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setmargin: usize, - #[cfg(feature = "Win32_Foundation")] - pub margin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - margin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetpaddingTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetpaddingTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub paddingTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - paddingTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetpaddingRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetpaddingRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub paddingRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - paddingRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetpaddingBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetpaddingBottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub paddingBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - paddingBottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetpaddingLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetpaddingLeft: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub paddingLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - paddingLeft: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setpadding: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setpadding: usize, - #[cfg(feature = "Win32_Foundation")] - pub padding: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - padding: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setborder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setborder: usize, - #[cfg(feature = "Win32_Foundation")] - pub border: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - border: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderTop: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderTop: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderRight: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderRight: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderBottom: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderBottom: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderLeft: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderLeft: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderTopColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderTopColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderTopColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderTopColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderRightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderRightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderRightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderRightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderBottomColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderBottomColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderBottomColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderBottomColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderLeftColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderLeftColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderLeftColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderLeftColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderTopWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderTopWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderTopWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderTopWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderRightWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderRightWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderRightWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderRightWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderBottomWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderBottomWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderBottomWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderBottomWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderLeftWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderLeftWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderLeftWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderLeftWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderTopStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderTopStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderTopStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderTopStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderRightStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderRightStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderRightStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderRightStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderBottomStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderBottomStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderBottomStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderBottomStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderLeftStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderLeftStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderLeftStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderLeftStyle: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setwidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - width: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setheight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setheight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - height: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetstyleFloat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetstyleFloat: usize, - #[cfg(feature = "Win32_Foundation")] - pub styleFloat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - styleFloat: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setclear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setclear: usize, - #[cfg(feature = "Win32_Foundation")] - pub clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - clear: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdisplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdisplay: usize, - #[cfg(feature = "Win32_Foundation")] - pub display: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - display: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvisibility: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvisibility: usize, - #[cfg(feature = "Win32_Foundation")] - pub visibility: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - visibility: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlistStyleType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlistStyleType: usize, - #[cfg(feature = "Win32_Foundation")] - pub listStyleType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - listStyleType: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlistStylePosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlistStylePosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub listStylePosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - listStylePosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlistStyleImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlistStyleImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub listStyleImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - listStyleImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlistStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlistStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub listStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - listStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwhiteSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwhiteSpace: usize, - #[cfg(feature = "Win32_Foundation")] - pub whiteSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - whiteSpace: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Settop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Settop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub top: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - top: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setleft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setleft: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub left: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - left: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetzIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetzIndex: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub zIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - zIndex: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setoverflow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setoverflow: usize, - #[cfg(feature = "Win32_Foundation")] - pub overflow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - overflow: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetpageBreakBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetpageBreakBefore: usize, - #[cfg(feature = "Win32_Foundation")] - pub pageBreakBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pageBreakBefore: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetpageBreakAfter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetpageBreakAfter: usize, - #[cfg(feature = "Win32_Foundation")] - pub pageBreakAfter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pageBreakAfter: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcssText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcssText: usize, - #[cfg(feature = "Win32_Foundation")] - pub cssText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cssText: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setcursor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcursor: usize, - #[cfg(feature = "Win32_Foundation")] - pub cursor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cursor: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setclip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setclip: usize, - #[cfg(feature = "Win32_Foundation")] - pub clip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - clip: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setfilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setfilter: usize, - #[cfg(feature = "Win32_Foundation")] - pub filter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - filter: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettableLayout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettableLayout: usize, - #[cfg(feature = "Win32_Foundation")] - pub tableLayout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - tableLayout: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderCollapse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderCollapse: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderCollapse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderCollapse: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdirection: usize, - #[cfg(feature = "Win32_Foundation")] - pub direction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - direction: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setbehavior: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setbehavior: usize, - #[cfg(feature = "Win32_Foundation")] - pub behavior: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - behavior: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setposition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setposition: usize, - #[cfg(feature = "Win32_Foundation")] - pub position: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - position: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetunicodeBidi: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetunicodeBidi: usize, - #[cfg(feature = "Win32_Foundation")] - pub unicodeBidi: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - unicodeBidi: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setbottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setbottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub bottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - bottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setright: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setright: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub right: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - right: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetimeMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetimeMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub imeMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - imeMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetrubyAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetrubyAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub rubyAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rubyAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetrubyPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetrubyPosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub rubyPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rubyPosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetrubyOverhang: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetrubyOverhang: usize, - #[cfg(feature = "Win32_Foundation")] - pub rubyOverhang: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rubyOverhang: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetlayoutGridChar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetlayoutGridChar: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub layoutGridChar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - layoutGridChar: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetlayoutGridLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetlayoutGridLine: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub layoutGridLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - layoutGridLine: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlayoutGridMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlayoutGridMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub layoutGridMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - layoutGridMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlayoutGridType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlayoutGridType: usize, - #[cfg(feature = "Win32_Foundation")] - pub layoutGridType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - layoutGridType: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlayoutGrid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlayoutGrid: usize, - #[cfg(feature = "Win32_Foundation")] - pub layoutGrid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - layoutGrid: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextAutospace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextAutospace: usize, - #[cfg(feature = "Win32_Foundation")] - pub textAutospace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textAutospace: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwordBreak: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwordBreak: usize, - #[cfg(feature = "Win32_Foundation")] - pub wordBreak: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - wordBreak: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlineBreak: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlineBreak: usize, - #[cfg(feature = "Win32_Foundation")] - pub lineBreak: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - lineBreak: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextJustify: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextJustify: usize, - #[cfg(feature = "Win32_Foundation")] - pub textJustify: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textJustify: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextJustifyTrim: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextJustifyTrim: usize, - #[cfg(feature = "Win32_Foundation")] - pub textJustifyTrim: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textJustifyTrim: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SettextKashida: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SettextKashida: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub textKashida: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - textKashida: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetoverflowX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetoverflowX: usize, - #[cfg(feature = "Win32_Foundation")] - pub overflowX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - overflowX: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetoverflowY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetoverflowY: usize, - #[cfg(feature = "Win32_Foundation")] - pub overflowY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - overflowY: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setaccelerator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setaccelerator: usize, - #[cfg(feature = "Win32_Foundation")] - pub accelerator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - accelerator: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlayoutFlow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlayoutFlow: usize, - #[cfg(feature = "Win32_Foundation")] - pub layoutFlow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - layoutFlow: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setzoom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setzoom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub zoom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - zoom: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwordWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwordWrap: usize, - #[cfg(feature = "Win32_Foundation")] - pub wordWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - wordWrap: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextUnderlinePosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextUnderlinePosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub textUnderlinePosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textUnderlinePosition: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarBaseColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarBaseColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarBaseColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarBaseColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarFaceColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarFaceColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarFaceColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarFaceColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setscrollbar3dLightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setscrollbar3dLightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbar3dLightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbar3dLightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarShadowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarShadowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarShadowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarShadowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarHighlightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarHighlightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarHighlightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarHighlightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarDarkShadowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarDarkShadowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarDarkShadowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarDarkShadowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarArrowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarArrowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarArrowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarArrowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarTrackColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarTrackColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarTrackColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarTrackColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwritingMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwritingMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub writingMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - writingMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextAlignLast: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextAlignLast: usize, - #[cfg(feature = "Win32_Foundation")] - pub textAlignLast: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textAlignLast: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SettextKashidaSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SettextKashidaSpace: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub textKashidaSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - textKashidaSpace: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextOverflow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextOverflow: usize, - #[cfg(feature = "Win32_Foundation")] - pub textOverflow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textOverflow: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetminHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetminHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub minHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - minHeight: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsInterpolationMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsInterpolationMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub msInterpolationMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msInterpolationMode: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmaxHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmaxHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub maxHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - maxHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetminWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetminWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub minWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - minWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmaxWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmaxWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub maxWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - maxWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setcontent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcontent: usize, - #[cfg(feature = "Win32_Foundation")] - pub content: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - content: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcaptionSide: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcaptionSide: usize, - #[cfg(feature = "Win32_Foundation")] - pub captionSide: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - captionSide: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcounterIncrement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcounterIncrement: usize, - #[cfg(feature = "Win32_Foundation")] - pub counterIncrement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - counterIncrement: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcounterReset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcounterReset: usize, - #[cfg(feature = "Win32_Foundation")] - pub counterReset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - counterReset: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setoutline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setoutline: usize, - #[cfg(feature = "Win32_Foundation")] - pub outline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - outline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetoutlineWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetoutlineWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub outlineWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - outlineWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetoutlineStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetoutlineStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub outlineStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - outlineStyle: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetoutlineColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetoutlineColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub outlineColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - outlineColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetboxSizing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetboxSizing: usize, - #[cfg(feature = "Win32_Foundation")] - pub boxSizing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - boxSizing: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderSpacing: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setorphans: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setorphans: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub orphans: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - orphans: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setwidows: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setwidows: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub widows: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - widows: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetpageBreakInside: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetpageBreakInside: usize, - #[cfg(feature = "Win32_Foundation")] - pub pageBreakInside: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pageBreakInside: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetemptyCells: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetemptyCells: usize, - #[cfg(feature = "Win32_Foundation")] - pub emptyCells: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - emptyCells: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsBlockProgression: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsBlockProgression: usize, - #[cfg(feature = "Win32_Foundation")] - pub msBlockProgression: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msBlockProgression: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setquotes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setquotes: usize, - #[cfg(feature = "Win32_Foundation")] - pub quotes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - quotes: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetalignmentBaseline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetalignmentBaseline: usize, - #[cfg(feature = "Win32_Foundation")] - pub alignmentBaseline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - alignmentBaseline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbaselineShift: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbaselineShift: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub baselineShift: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - baselineShift: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetdominantBaseline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetdominantBaseline: usize, - #[cfg(feature = "Win32_Foundation")] - pub dominantBaseline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dominantBaseline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetfontSizeAdjust: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetfontSizeAdjust: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub fontSizeAdjust: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - fontSizeAdjust: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetfontStretch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetfontStretch: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontStretch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontStretch: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setopacity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setopacity: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub opacity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - opacity: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetclipPath: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetclipPath: usize, - #[cfg(feature = "Win32_Foundation")] - pub clipPath: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - clipPath: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetclipRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetclipRule: usize, - #[cfg(feature = "Win32_Foundation")] - pub clipRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - clipRule: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setfill: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setfill: usize, - #[cfg(feature = "Win32_Foundation")] - pub fill: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fill: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetfillOpacity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetfillOpacity: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub fillOpacity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - fillOpacity: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetfillRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetfillRule: usize, - #[cfg(feature = "Win32_Foundation")] - pub fillRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fillRule: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setkerning: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setkerning: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub kerning: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - kerning: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setmarker: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setmarker: usize, - #[cfg(feature = "Win32_Foundation")] - pub marker: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - marker: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmarkerEnd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmarkerEnd: usize, - #[cfg(feature = "Win32_Foundation")] - pub markerEnd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - markerEnd: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmarkerMid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmarkerMid: usize, - #[cfg(feature = "Win32_Foundation")] - pub markerMid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - markerMid: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmarkerStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmarkerStart: usize, - #[cfg(feature = "Win32_Foundation")] - pub markerStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - markerStart: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setmask: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setmask: usize, - #[cfg(feature = "Win32_Foundation")] - pub mask: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - mask: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetpointerEvents: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetpointerEvents: usize, - #[cfg(feature = "Win32_Foundation")] - pub pointerEvents: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pointerEvents: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetstopColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetstopColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub stopColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - stopColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetstopOpacity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetstopOpacity: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub stopOpacity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - stopOpacity: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setstroke: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setstroke: usize, - #[cfg(feature = "Win32_Foundation")] - pub stroke: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - stroke: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetstrokeDasharray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetstrokeDasharray: usize, - #[cfg(feature = "Win32_Foundation")] - pub strokeDasharray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - strokeDasharray: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetstrokeDashoffset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetstrokeDashoffset: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub strokeDashoffset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - strokeDashoffset: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetstrokeLinecap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetstrokeLinecap: usize, - #[cfg(feature = "Win32_Foundation")] - pub strokeLinecap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - strokeLinecap: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetstrokeLinejoin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetstrokeLinejoin: usize, - #[cfg(feature = "Win32_Foundation")] - pub strokeLinejoin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - strokeLinejoin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetstrokeMiterlimit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetstrokeMiterlimit: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub strokeMiterlimit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - strokeMiterlimit: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetstrokeOpacity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetstrokeOpacity: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub strokeOpacity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - strokeOpacity: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetstrokeWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetstrokeWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub strokeWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - strokeWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextAnchor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextAnchor: usize, - #[cfg(feature = "Win32_Foundation")] - pub textAnchor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textAnchor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetglyphOrientationHorizontal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetglyphOrientationHorizontal: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub glyphOrientationHorizontal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - glyphOrientationHorizontal: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetglyphOrientationVertical: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetglyphOrientationVertical: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub glyphOrientationVertical: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - glyphOrientationVertical: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderRadius: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderRadius: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderRadius: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderRadius: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderTopLeftRadius: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderTopLeftRadius: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderTopLeftRadius: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderTopLeftRadius: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderTopRightRadius: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderTopRightRadius: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderTopRightRadius: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderTopRightRadius: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderBottomRightRadius: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderBottomRightRadius: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderBottomRightRadius: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderBottomRightRadius: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderBottomLeftRadius: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderBottomLeftRadius: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderBottomLeftRadius: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderBottomLeftRadius: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetclipTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetclipTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub clipTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - clipTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetclipRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetclipRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub clipRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - clipRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub clipBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - clipBottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetclipLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetclipLeft: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub clipLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - clipLeft: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcssFloat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcssFloat: usize, - #[cfg(feature = "Win32_Foundation")] - pub cssFloat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cssFloat: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbackgroundClip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbackgroundClip: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundClip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundClip: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbackgroundOrigin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbackgroundOrigin: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundOrigin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundOrigin: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbackgroundSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbackgroundSize: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundSize: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetboxShadow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetboxShadow: usize, - #[cfg(feature = "Win32_Foundation")] - pub boxShadow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - boxShadow: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsTransform: usize, - #[cfg(feature = "Win32_Foundation")] - pub msTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msTransform: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsTransformOrigin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsTransformOrigin: usize, - #[cfg(feature = "Win32_Foundation")] - pub msTransformOrigin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msTransformOrigin: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCSSStyleDeclaration2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCSSStyleDeclaration2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsScrollChaining<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsScrollChaining)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msScrollChaining(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msScrollChaining)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsContentZooming<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsContentZooming)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msContentZooming(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msContentZooming)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsContentZoomSnapType<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsContentZoomSnapType)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msContentZoomSnapType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msContentZoomSnapType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsScrollRails<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsScrollRails)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msScrollRails(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msScrollRails)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsContentZoomChaining<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsContentZoomChaining)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msContentZoomChaining(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msContentZoomChaining)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsScrollSnapType<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsScrollSnapType)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msScrollSnapType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msScrollSnapType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsContentZoomLimit<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsContentZoomLimit)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msContentZoomLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msContentZoomLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsContentZoomSnap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsContentZoomSnap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msContentZoomSnap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msContentZoomSnap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsContentZoomSnapPoints<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsContentZoomSnapPoints)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msContentZoomSnapPoints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msContentZoomSnapPoints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsContentZoomLimitMin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsContentZoomLimitMin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msContentZoomLimitMin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msContentZoomLimitMin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsContentZoomLimitMax<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsContentZoomLimitMax)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msContentZoomLimitMax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msContentZoomLimitMax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsScrollSnapX<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsScrollSnapX)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msScrollSnapX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msScrollSnapX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsScrollSnapY<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsScrollSnapY)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msScrollSnapY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msScrollSnapY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsScrollSnapPointsX<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsScrollSnapPointsX)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msScrollSnapPointsX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msScrollSnapPointsX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsScrollSnapPointsY<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsScrollSnapPointsY)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msScrollSnapPointsY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msScrollSnapPointsY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsGridColumn<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsGridColumn)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msGridColumn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msGridColumn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsGridColumnAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsGridColumnAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msGridColumnAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msGridColumnAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsGridColumns<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsGridColumns)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msGridColumns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msGridColumns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsGridColumnSpan<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsGridColumnSpan)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msGridColumnSpan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msGridColumnSpan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsGridRow<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsGridRow)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msGridRow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msGridRow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsGridRowAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsGridRowAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msGridRowAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msGridRowAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsGridRows<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsGridRows)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msGridRows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msGridRows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsGridRowSpan<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsGridRowSpan)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msGridRowSpan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msGridRowSpan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsWrapThrough<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsWrapThrough)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msWrapThrough(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msWrapThrough)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsWrapMargin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsWrapMargin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msWrapMargin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msWrapMargin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsWrapFlow<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsWrapFlow)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msWrapFlow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msWrapFlow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsAnimationName<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsAnimationName)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msAnimationName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msAnimationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsAnimationDuration<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsAnimationDuration)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msAnimationDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msAnimationDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsAnimationTimingFunction<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsAnimationTimingFunction)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msAnimationTimingFunction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msAnimationTimingFunction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsAnimationDelay<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsAnimationDelay)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msAnimationDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msAnimationDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsAnimationDirection<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsAnimationDirection)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msAnimationDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msAnimationDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsAnimationPlayState<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsAnimationPlayState)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msAnimationPlayState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msAnimationPlayState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsAnimationIterationCount<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsAnimationIterationCount)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msAnimationIterationCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msAnimationIterationCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsAnimation<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsAnimation)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msAnimation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msAnimation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsAnimationFillMode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsAnimationFillMode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msAnimationFillMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msAnimationFillMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcolorInterpolationFilters<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcolorInterpolationFilters)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn colorInterpolationFilters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).colorInterpolationFilters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetcolumnCount<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetcolumnCount)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn columnCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).columnCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetcolumnWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetcolumnWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn columnWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).columnWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetcolumnGap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetcolumnGap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn columnGap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).columnGap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcolumnFill<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcolumnFill)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn columnFill(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).columnFill)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcolumnSpan<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcolumnSpan)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn columnSpan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).columnSpan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcolumns<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcolumns)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn columns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).columns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcolumnRule<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcolumnRule)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn columnRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).columnRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetcolumnRuleColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetcolumnRuleColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn columnRuleColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).columnRuleColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcolumnRuleStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcolumnRuleStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn columnRuleStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).columnRuleStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetcolumnRuleWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetcolumnRuleWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn columnRuleWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).columnRuleWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbreakBefore<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbreakBefore)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn breakBefore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).breakBefore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbreakAfter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbreakAfter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn breakAfter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).breakAfter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbreakInside<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbreakInside)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn breakInside(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).breakInside)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetfloodColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetfloodColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn floodColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).floodColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetfloodOpacity<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetfloodOpacity)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn floodOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).floodOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetlightingColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetlightingColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn lightingColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lightingColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsScrollLimitXMin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsScrollLimitXMin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msScrollLimitXMin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msScrollLimitXMin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsScrollLimitYMin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsScrollLimitYMin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msScrollLimitYMin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msScrollLimitYMin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsScrollLimitXMax<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsScrollLimitXMax)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msScrollLimitXMax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msScrollLimitXMax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsScrollLimitYMax<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsScrollLimitYMax)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msScrollLimitYMax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msScrollLimitYMax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsScrollLimit<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsScrollLimit)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msScrollLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msScrollLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextShadow<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextShadow)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textShadow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textShadow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsFlowFrom<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsFlowFrom)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msFlowFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msFlowFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsFlowInto<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsFlowInto)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msFlowInto(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msFlowInto)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsHyphens<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsHyphens)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msHyphens(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msHyphens)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsHyphenateLimitZone<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsHyphenateLimitZone)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msHyphenateLimitZone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msHyphenateLimitZone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsHyphenateLimitChars<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsHyphenateLimitChars)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msHyphenateLimitChars(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msHyphenateLimitChars)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsHyphenateLimitLines<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsHyphenateLimitLines)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msHyphenateLimitLines(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msHyphenateLimitLines)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsHighContrastAdjust<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsHighContrastAdjust)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msHighContrastAdjust(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msHighContrastAdjust)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetenableBackground<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetenableBackground)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn enableBackground(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).enableBackground)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsFontFeatureSettings<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsFontFeatureSettings)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msFontFeatureSettings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msFontFeatureSettings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsUserSelect<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsUserSelect)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msUserSelect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msUserSelect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsOverflowStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsOverflowStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msOverflowStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msOverflowStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsTransformStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsTransformStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msTransformStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msTransformStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsBackfaceVisibility<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsBackfaceVisibility)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msBackfaceVisibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msBackfaceVisibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsPerspective<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsPerspective)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msPerspective(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msPerspective)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsPerspectiveOrigin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsPerspectiveOrigin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msPerspectiveOrigin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msPerspectiveOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsTransitionProperty<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsTransitionProperty)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msTransitionProperty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msTransitionProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsTransitionDuration<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsTransitionDuration)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msTransitionDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msTransitionDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsTransitionTimingFunction<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsTransitionTimingFunction)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msTransitionTimingFunction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msTransitionTimingFunction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsTransitionDelay<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsTransitionDelay)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msTransitionDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msTransitionDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsTransition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsTransition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msTransition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msTransition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsTouchAction<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsTouchAction)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msTouchAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msTouchAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsScrollTranslation<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsScrollTranslation)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msScrollTranslation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msScrollTranslation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsFlex<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsFlex)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msFlex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msFlex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsFlexPositive<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsFlexPositive)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msFlexPositive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msFlexPositive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsFlexNegative<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsFlexNegative)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msFlexNegative(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msFlexNegative)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsFlexPreferredSize<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsFlexPreferredSize)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msFlexPreferredSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msFlexPreferredSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsFlexFlow<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsFlexFlow)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msFlexFlow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msFlexFlow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsFlexDirection<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsFlexDirection)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msFlexDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msFlexDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsFlexWrap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsFlexWrap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msFlexWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msFlexWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsFlexAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsFlexAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msFlexAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msFlexAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsFlexItemAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsFlexItemAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msFlexItemAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msFlexItemAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsFlexPack<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsFlexPack)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msFlexPack(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msFlexPack)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsFlexLinePack<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsFlexLinePack)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msFlexLinePack(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msFlexLinePack)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsFlexOrder<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsFlexOrder)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msFlexOrder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msFlexOrder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsTouchSelect<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsTouchSelect)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msTouchSelect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msTouchSelect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settransform<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settransform)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn transform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).transform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettransformOrigin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettransformOrigin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn transformOrigin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).transformOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettransformStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettransformStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn transformStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).transformStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbackfaceVisibility<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbackfaceVisibility)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backfaceVisibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backfaceVisibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setperspective<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setperspective)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn perspective(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).perspective)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetperspectiveOrigin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetperspectiveOrigin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn perspectiveOrigin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).perspectiveOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettransitionProperty<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettransitionProperty)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn transitionProperty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).transitionProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettransitionDuration<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettransitionDuration)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn transitionDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).transitionDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettransitionTimingFunction<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettransitionTimingFunction)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn transitionTimingFunction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).transitionTimingFunction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettransitionDelay<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettransitionDelay)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn transitionDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).transitionDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settransition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settransition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn transition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).transition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetfontFeatureSettings<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetfontFeatureSettings)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontFeatureSettings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontFeatureSettings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetanimationName<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetanimationName)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn animationName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetanimationDuration<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetanimationDuration)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn animationDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animationDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetanimationTimingFunction<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetanimationTimingFunction)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn animationTimingFunction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animationTimingFunction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetanimationDelay<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetanimationDelay)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn animationDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animationDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetanimationDirection<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetanimationDirection)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn animationDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animationDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetanimationPlayState<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetanimationPlayState)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn animationPlayState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animationPlayState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetanimationIterationCount<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetanimationIterationCount)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn animationIterationCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animationIterationCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setanimation<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setanimation)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn animation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetanimationFillMode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetanimationFillMode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn animationFillMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animationFillMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCSSStyleDeclaration2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSStyleDeclaration2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCSSStyleDeclaration2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSStyleDeclaration2> for ::windows::core::IUnknown { - fn from(value: &IHTMLCSSStyleDeclaration2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCSSStyleDeclaration2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSStyleDeclaration2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCSSStyleDeclaration2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSStyleDeclaration2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCSSStyleDeclaration2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCSSStyleDeclaration2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCSSStyleDeclaration2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCSSStyleDeclaration2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCSSStyleDeclaration2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCSSStyleDeclaration2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCSSStyleDeclaration2 { - type Vtable = IHTMLCSSStyleDeclaration2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107d1_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCSSStyleDeclaration2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetmsScrollChaining: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsScrollChaining: usize, - #[cfg(feature = "Win32_Foundation")] - pub msScrollChaining: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msScrollChaining: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsContentZooming: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsContentZooming: usize, - #[cfg(feature = "Win32_Foundation")] - pub msContentZooming: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msContentZooming: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsContentZoomSnapType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsContentZoomSnapType: usize, - #[cfg(feature = "Win32_Foundation")] - pub msContentZoomSnapType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msContentZoomSnapType: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsScrollRails: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsScrollRails: usize, - #[cfg(feature = "Win32_Foundation")] - pub msScrollRails: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msScrollRails: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsContentZoomChaining: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsContentZoomChaining: usize, - #[cfg(feature = "Win32_Foundation")] - pub msContentZoomChaining: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msContentZoomChaining: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsScrollSnapType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsScrollSnapType: usize, - #[cfg(feature = "Win32_Foundation")] - pub msScrollSnapType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msScrollSnapType: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsContentZoomLimit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsContentZoomLimit: usize, - #[cfg(feature = "Win32_Foundation")] - pub msContentZoomLimit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msContentZoomLimit: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsContentZoomSnap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsContentZoomSnap: usize, - #[cfg(feature = "Win32_Foundation")] - pub msContentZoomSnap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msContentZoomSnap: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsContentZoomSnapPoints: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsContentZoomSnapPoints: usize, - #[cfg(feature = "Win32_Foundation")] - pub msContentZoomSnapPoints: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msContentZoomSnapPoints: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsContentZoomLimitMin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsContentZoomLimitMin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msContentZoomLimitMin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msContentZoomLimitMin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsContentZoomLimitMax: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsContentZoomLimitMax: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msContentZoomLimitMax: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msContentZoomLimitMax: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsScrollSnapX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsScrollSnapX: usize, - #[cfg(feature = "Win32_Foundation")] - pub msScrollSnapX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msScrollSnapX: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsScrollSnapY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsScrollSnapY: usize, - #[cfg(feature = "Win32_Foundation")] - pub msScrollSnapY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msScrollSnapY: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsScrollSnapPointsX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsScrollSnapPointsX: usize, - #[cfg(feature = "Win32_Foundation")] - pub msScrollSnapPointsX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msScrollSnapPointsX: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsScrollSnapPointsY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsScrollSnapPointsY: usize, - #[cfg(feature = "Win32_Foundation")] - pub msScrollSnapPointsY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msScrollSnapPointsY: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsGridColumn: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsGridColumn: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msGridColumn: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msGridColumn: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsGridColumnAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsGridColumnAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub msGridColumnAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msGridColumnAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsGridColumns: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsGridColumns: usize, - #[cfg(feature = "Win32_Foundation")] - pub msGridColumns: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msGridColumns: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsGridColumnSpan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsGridColumnSpan: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msGridColumnSpan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msGridColumnSpan: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsGridRow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsGridRow: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msGridRow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msGridRow: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsGridRowAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsGridRowAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub msGridRowAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msGridRowAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsGridRows: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsGridRows: usize, - #[cfg(feature = "Win32_Foundation")] - pub msGridRows: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msGridRows: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsGridRowSpan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsGridRowSpan: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msGridRowSpan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msGridRowSpan: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsWrapThrough: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsWrapThrough: usize, - #[cfg(feature = "Win32_Foundation")] - pub msWrapThrough: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msWrapThrough: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsWrapMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsWrapMargin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msWrapMargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msWrapMargin: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsWrapFlow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsWrapFlow: usize, - #[cfg(feature = "Win32_Foundation")] - pub msWrapFlow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msWrapFlow: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsAnimationName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsAnimationName: usize, - #[cfg(feature = "Win32_Foundation")] - pub msAnimationName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msAnimationName: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsAnimationDuration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsAnimationDuration: usize, - #[cfg(feature = "Win32_Foundation")] - pub msAnimationDuration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msAnimationDuration: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsAnimationTimingFunction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsAnimationTimingFunction: usize, - #[cfg(feature = "Win32_Foundation")] - pub msAnimationTimingFunction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msAnimationTimingFunction: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsAnimationDelay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsAnimationDelay: usize, - #[cfg(feature = "Win32_Foundation")] - pub msAnimationDelay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msAnimationDelay: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsAnimationDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsAnimationDirection: usize, - #[cfg(feature = "Win32_Foundation")] - pub msAnimationDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msAnimationDirection: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsAnimationPlayState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsAnimationPlayState: usize, - #[cfg(feature = "Win32_Foundation")] - pub msAnimationPlayState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msAnimationPlayState: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsAnimationIterationCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsAnimationIterationCount: usize, - #[cfg(feature = "Win32_Foundation")] - pub msAnimationIterationCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msAnimationIterationCount: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsAnimation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsAnimation: usize, - #[cfg(feature = "Win32_Foundation")] - pub msAnimation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msAnimation: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsAnimationFillMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsAnimationFillMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub msAnimationFillMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msAnimationFillMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcolorInterpolationFilters: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcolorInterpolationFilters: usize, - #[cfg(feature = "Win32_Foundation")] - pub colorInterpolationFilters: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - colorInterpolationFilters: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetcolumnCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetcolumnCount: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub columnCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - columnCount: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetcolumnWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetcolumnWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub columnWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - columnWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetcolumnGap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetcolumnGap: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub columnGap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - columnGap: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcolumnFill: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcolumnFill: usize, - #[cfg(feature = "Win32_Foundation")] - pub columnFill: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - columnFill: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcolumnSpan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcolumnSpan: usize, - #[cfg(feature = "Win32_Foundation")] - pub columnSpan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - columnSpan: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setcolumns: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcolumns: usize, - #[cfg(feature = "Win32_Foundation")] - pub columns: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - columns: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcolumnRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcolumnRule: usize, - #[cfg(feature = "Win32_Foundation")] - pub columnRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - columnRule: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetcolumnRuleColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetcolumnRuleColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub columnRuleColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - columnRuleColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcolumnRuleStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcolumnRuleStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub columnRuleStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - columnRuleStyle: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetcolumnRuleWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetcolumnRuleWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub columnRuleWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - columnRuleWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbreakBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbreakBefore: usize, - #[cfg(feature = "Win32_Foundation")] - pub breakBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - breakBefore: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbreakAfter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbreakAfter: usize, - #[cfg(feature = "Win32_Foundation")] - pub breakAfter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - breakAfter: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbreakInside: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbreakInside: usize, - #[cfg(feature = "Win32_Foundation")] - pub breakInside: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - breakInside: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetfloodColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetfloodColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub floodColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - floodColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetfloodOpacity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetfloodOpacity: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub floodOpacity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - floodOpacity: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetlightingColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetlightingColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub lightingColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - lightingColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsScrollLimitXMin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsScrollLimitXMin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msScrollLimitXMin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msScrollLimitXMin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsScrollLimitYMin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsScrollLimitYMin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msScrollLimitYMin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msScrollLimitYMin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsScrollLimitXMax: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsScrollLimitXMax: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msScrollLimitXMax: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msScrollLimitXMax: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsScrollLimitYMax: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsScrollLimitYMax: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msScrollLimitYMax: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msScrollLimitYMax: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsScrollLimit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsScrollLimit: usize, - #[cfg(feature = "Win32_Foundation")] - pub msScrollLimit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msScrollLimit: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextShadow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextShadow: usize, - #[cfg(feature = "Win32_Foundation")] - pub textShadow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textShadow: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsFlowFrom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsFlowFrom: usize, - #[cfg(feature = "Win32_Foundation")] - pub msFlowFrom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msFlowFrom: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsFlowInto: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsFlowInto: usize, - #[cfg(feature = "Win32_Foundation")] - pub msFlowInto: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msFlowInto: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsHyphens: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsHyphens: usize, - #[cfg(feature = "Win32_Foundation")] - pub msHyphens: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msHyphens: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsHyphenateLimitZone: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsHyphenateLimitZone: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msHyphenateLimitZone: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msHyphenateLimitZone: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsHyphenateLimitChars: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsHyphenateLimitChars: usize, - #[cfg(feature = "Win32_Foundation")] - pub msHyphenateLimitChars: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msHyphenateLimitChars: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsHyphenateLimitLines: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsHyphenateLimitLines: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msHyphenateLimitLines: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msHyphenateLimitLines: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsHighContrastAdjust: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsHighContrastAdjust: usize, - #[cfg(feature = "Win32_Foundation")] - pub msHighContrastAdjust: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msHighContrastAdjust: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetenableBackground: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetenableBackground: usize, - #[cfg(feature = "Win32_Foundation")] - pub enableBackground: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - enableBackground: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsFontFeatureSettings: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsFontFeatureSettings: usize, - #[cfg(feature = "Win32_Foundation")] - pub msFontFeatureSettings: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msFontFeatureSettings: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsUserSelect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsUserSelect: usize, - #[cfg(feature = "Win32_Foundation")] - pub msUserSelect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msUserSelect: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsOverflowStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsOverflowStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub msOverflowStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msOverflowStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsTransformStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsTransformStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub msTransformStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msTransformStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsBackfaceVisibility: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsBackfaceVisibility: usize, - #[cfg(feature = "Win32_Foundation")] - pub msBackfaceVisibility: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msBackfaceVisibility: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsPerspective: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsPerspective: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msPerspective: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msPerspective: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsPerspectiveOrigin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsPerspectiveOrigin: usize, - #[cfg(feature = "Win32_Foundation")] - pub msPerspectiveOrigin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msPerspectiveOrigin: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsTransitionProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsTransitionProperty: usize, - #[cfg(feature = "Win32_Foundation")] - pub msTransitionProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msTransitionProperty: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsTransitionDuration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsTransitionDuration: usize, - #[cfg(feature = "Win32_Foundation")] - pub msTransitionDuration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msTransitionDuration: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsTransitionTimingFunction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsTransitionTimingFunction: usize, - #[cfg(feature = "Win32_Foundation")] - pub msTransitionTimingFunction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msTransitionTimingFunction: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsTransitionDelay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsTransitionDelay: usize, - #[cfg(feature = "Win32_Foundation")] - pub msTransitionDelay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msTransitionDelay: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsTransition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsTransition: usize, - #[cfg(feature = "Win32_Foundation")] - pub msTransition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msTransition: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsTouchAction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsTouchAction: usize, - #[cfg(feature = "Win32_Foundation")] - pub msTouchAction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msTouchAction: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsScrollTranslation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsScrollTranslation: usize, - #[cfg(feature = "Win32_Foundation")] - pub msScrollTranslation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msScrollTranslation: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsFlex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsFlex: usize, - #[cfg(feature = "Win32_Foundation")] - pub msFlex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msFlex: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsFlexPositive: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsFlexPositive: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msFlexPositive: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msFlexPositive: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsFlexNegative: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsFlexNegative: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msFlexNegative: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msFlexNegative: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsFlexPreferredSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsFlexPreferredSize: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msFlexPreferredSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msFlexPreferredSize: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsFlexFlow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsFlexFlow: usize, - #[cfg(feature = "Win32_Foundation")] - pub msFlexFlow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msFlexFlow: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsFlexDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsFlexDirection: usize, - #[cfg(feature = "Win32_Foundation")] - pub msFlexDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msFlexDirection: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsFlexWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsFlexWrap: usize, - #[cfg(feature = "Win32_Foundation")] - pub msFlexWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msFlexWrap: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsFlexAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsFlexAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub msFlexAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msFlexAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsFlexItemAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsFlexItemAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub msFlexItemAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msFlexItemAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsFlexPack: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsFlexPack: usize, - #[cfg(feature = "Win32_Foundation")] - pub msFlexPack: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msFlexPack: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsFlexLinePack: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsFlexLinePack: usize, - #[cfg(feature = "Win32_Foundation")] - pub msFlexLinePack: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msFlexLinePack: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsFlexOrder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsFlexOrder: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msFlexOrder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msFlexOrder: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsTouchSelect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsTouchSelect: usize, - #[cfg(feature = "Win32_Foundation")] - pub msTouchSelect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msTouchSelect: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settransform: usize, - #[cfg(feature = "Win32_Foundation")] - pub transform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - transform: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettransformOrigin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettransformOrigin: usize, - #[cfg(feature = "Win32_Foundation")] - pub transformOrigin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - transformOrigin: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettransformStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettransformStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub transformStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - transformStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbackfaceVisibility: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbackfaceVisibility: usize, - #[cfg(feature = "Win32_Foundation")] - pub backfaceVisibility: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backfaceVisibility: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setperspective: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setperspective: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub perspective: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - perspective: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetperspectiveOrigin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetperspectiveOrigin: usize, - #[cfg(feature = "Win32_Foundation")] - pub perspectiveOrigin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - perspectiveOrigin: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettransitionProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettransitionProperty: usize, - #[cfg(feature = "Win32_Foundation")] - pub transitionProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - transitionProperty: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettransitionDuration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettransitionDuration: usize, - #[cfg(feature = "Win32_Foundation")] - pub transitionDuration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - transitionDuration: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettransitionTimingFunction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettransitionTimingFunction: usize, - #[cfg(feature = "Win32_Foundation")] - pub transitionTimingFunction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - transitionTimingFunction: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettransitionDelay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettransitionDelay: usize, - #[cfg(feature = "Win32_Foundation")] - pub transitionDelay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - transitionDelay: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settransition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settransition: usize, - #[cfg(feature = "Win32_Foundation")] - pub transition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - transition: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetfontFeatureSettings: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetfontFeatureSettings: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontFeatureSettings: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontFeatureSettings: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetanimationName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetanimationName: usize, - #[cfg(feature = "Win32_Foundation")] - pub animationName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - animationName: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetanimationDuration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetanimationDuration: usize, - #[cfg(feature = "Win32_Foundation")] - pub animationDuration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - animationDuration: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetanimationTimingFunction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetanimationTimingFunction: usize, - #[cfg(feature = "Win32_Foundation")] - pub animationTimingFunction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - animationTimingFunction: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetanimationDelay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetanimationDelay: usize, - #[cfg(feature = "Win32_Foundation")] - pub animationDelay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - animationDelay: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetanimationDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetanimationDirection: usize, - #[cfg(feature = "Win32_Foundation")] - pub animationDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - animationDirection: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetanimationPlayState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetanimationPlayState: usize, - #[cfg(feature = "Win32_Foundation")] - pub animationPlayState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - animationPlayState: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetanimationIterationCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetanimationIterationCount: usize, - #[cfg(feature = "Win32_Foundation")] - pub animationIterationCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - animationIterationCount: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setanimation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setanimation: usize, - #[cfg(feature = "Win32_Foundation")] - pub animation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - animation: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetanimationFillMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetanimationFillMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub animationFillMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - animationFillMode: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCSSStyleDeclaration3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCSSStyleDeclaration3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setflex<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setflex)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn flex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).flex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetflexDirection<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetflexDirection)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn flexDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).flexDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetflexWrap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetflexWrap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn flexWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).flexWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetflexFlow<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetflexFlow)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn flexFlow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).flexFlow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetflexGrow<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetflexGrow)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn flexGrow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).flexGrow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetflexShrink<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetflexShrink)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn flexShrink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).flexShrink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetflexBasis<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetflexBasis)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn flexBasis(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).flexBasis)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetjustifyContent<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetjustifyContent)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn justifyContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).justifyContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetalignItems<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetalignItems)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn alignItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).alignItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetalignSelf<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetalignSelf)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn alignSelf(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).alignSelf)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetalignContent<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetalignContent)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn alignContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).alignContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderImage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderImage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderImageSource<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderImageSource)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderImageSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderImageSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderImageSlice<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderImageSlice)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderImageSlice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderImageSlice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderImageWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderImageWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderImageWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderImageWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderImageOutset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderImageOutset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderImageOutset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderImageOutset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderImageRepeat<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderImageRepeat)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderImageRepeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderImageRepeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsImeAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsImeAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msImeAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msImeAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsTextCombineHorizontal<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsTextCombineHorizontal)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msTextCombineHorizontal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msTextCombineHorizontal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettouchAction<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettouchAction)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn touchAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).touchAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCSSStyleDeclaration3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSStyleDeclaration3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCSSStyleDeclaration3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSStyleDeclaration3> for ::windows::core::IUnknown { - fn from(value: &IHTMLCSSStyleDeclaration3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCSSStyleDeclaration3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSStyleDeclaration3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCSSStyleDeclaration3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSStyleDeclaration3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCSSStyleDeclaration3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCSSStyleDeclaration3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCSSStyleDeclaration3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCSSStyleDeclaration3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCSSStyleDeclaration3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCSSStyleDeclaration3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCSSStyleDeclaration3 { - type Vtable = IHTMLCSSStyleDeclaration3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051085c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCSSStyleDeclaration3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setflex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setflex: usize, - #[cfg(feature = "Win32_Foundation")] - pub flex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - flex: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetflexDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetflexDirection: usize, - #[cfg(feature = "Win32_Foundation")] - pub flexDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - flexDirection: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetflexWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetflexWrap: usize, - #[cfg(feature = "Win32_Foundation")] - pub flexWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - flexWrap: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetflexFlow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetflexFlow: usize, - #[cfg(feature = "Win32_Foundation")] - pub flexFlow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - flexFlow: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetflexGrow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetflexGrow: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub flexGrow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - flexGrow: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetflexShrink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetflexShrink: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub flexShrink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - flexShrink: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetflexBasis: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetflexBasis: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub flexBasis: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - flexBasis: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetjustifyContent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetjustifyContent: usize, - #[cfg(feature = "Win32_Foundation")] - pub justifyContent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - justifyContent: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetalignItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetalignItems: usize, - #[cfg(feature = "Win32_Foundation")] - pub alignItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - alignItems: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetalignSelf: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetalignSelf: usize, - #[cfg(feature = "Win32_Foundation")] - pub alignSelf: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - alignSelf: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetalignContent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetalignContent: usize, - #[cfg(feature = "Win32_Foundation")] - pub alignContent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - alignContent: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderImageSource: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderImageSource: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderImageSource: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderImageSource: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderImageSlice: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderImageSlice: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderImageSlice: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderImageSlice: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderImageWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderImageWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderImageWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderImageWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderImageOutset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderImageOutset: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderImageOutset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderImageOutset: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderImageRepeat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderImageRepeat: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderImageRepeat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderImageRepeat: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsImeAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsImeAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub msImeAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msImeAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsTextCombineHorizontal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsTextCombineHorizontal: usize, - #[cfg(feature = "Win32_Foundation")] - pub msTextCombineHorizontal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msTextCombineHorizontal: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettouchAction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettouchAction: usize, - #[cfg(feature = "Win32_Foundation")] - pub touchAction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - touchAction: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCSSStyleDeclaration4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCSSStyleDeclaration4 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitAppearance<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitAppearance)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitAppearance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitAppearance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitUserSelect<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitUserSelect)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitUserSelect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitUserSelect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBoxAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBoxAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBoxAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBoxAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetwebkitBoxOrdinalGroup<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBoxOrdinalGroup)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn webkitBoxOrdinalGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBoxOrdinalGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBoxPack<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBoxPack)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBoxPack(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBoxPack)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetwebkitBoxFlex<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBoxFlex)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn webkitBoxFlex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBoxFlex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBoxOrient<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBoxOrient)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBoxOrient(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBoxOrient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBoxDirection<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBoxDirection)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBoxDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBoxDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitTransform<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitTransform)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBackgroundSize<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBackgroundSize)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBackgroundSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBackgroundSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBackfaceVisibility<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBackfaceVisibility)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBackfaceVisibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBackfaceVisibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitAnimation<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitAnimation)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitAnimation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitAnimation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitTransition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitTransition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitTransition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitTransition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitAnimationName<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitAnimationName)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitAnimationName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitAnimationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitAnimationDuration<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitAnimationDuration)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitAnimationDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitAnimationDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitAnimationTimingFunction<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitAnimationTimingFunction)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitAnimationTimingFunction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitAnimationTimingFunction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitAnimationDelay<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitAnimationDelay)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitAnimationDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitAnimationDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitAnimationIterationCount<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitAnimationIterationCount)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitAnimationIterationCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitAnimationIterationCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitAnimationDirection<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitAnimationDirection)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitAnimationDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitAnimationDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitAnimationPlayState<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitAnimationPlayState)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitAnimationPlayState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitAnimationPlayState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitTransitionProperty<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitTransitionProperty)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitTransitionProperty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitTransitionProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitTransitionDuration<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitTransitionDuration)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitTransitionDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitTransitionDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitTransitionTimingFunction<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitTransitionTimingFunction)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitTransitionTimingFunction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitTransitionTimingFunction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitTransitionDelay<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitTransitionDelay)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitTransitionDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitTransitionDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBackgroundAttachment<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBackgroundAttachment)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBackgroundAttachment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBackgroundAttachment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetwebkitBackgroundColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBackgroundColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn webkitBackgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBackgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBackgroundClip<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBackgroundClip)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBackgroundClip(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBackgroundClip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBackgroundImage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBackgroundImage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBackgroundImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBackgroundImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBackgroundRepeat<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBackgroundRepeat)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBackgroundRepeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBackgroundRepeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBackgroundOrigin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBackgroundOrigin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBackgroundOrigin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBackgroundOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBackgroundPosition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBackgroundPosition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBackgroundPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBackgroundPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetwebkitBackgroundPositionX<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBackgroundPositionX)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn webkitBackgroundPositionX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBackgroundPositionX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetwebkitBackgroundPositionY<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBackgroundPositionY)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn webkitBackgroundPositionY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBackgroundPositionY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBackground<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBackground)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBackground(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBackground)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitTransformOrigin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitTransformOrigin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitTransformOrigin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitTransformOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmsTextSizeAdjust<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmsTextSizeAdjust)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msTextSizeAdjust(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msTextSizeAdjust)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetwebkitTextSizeAdjust<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetwebkitTextSizeAdjust)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn webkitTextSizeAdjust(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitTextSizeAdjust)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBorderImage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBorderImage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBorderImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBorderImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBorderImageSource<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBorderImageSource)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBorderImageSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBorderImageSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBorderImageSlice<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBorderImageSlice)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBorderImageSlice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBorderImageSlice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBorderImageWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBorderImageWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBorderImageWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBorderImageWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBorderImageOutset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBorderImageOutset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBorderImageOutset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBorderImageOutset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBorderImageRepeat<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBorderImageRepeat)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBorderImageRepeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBorderImageRepeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitBoxSizing<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitBoxSizing)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitBoxSizing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitBoxSizing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwebkitAnimationFillMode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwebkitAnimationFillMode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn webkitAnimationFillMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).webkitAnimationFillMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCSSStyleDeclaration4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSStyleDeclaration4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCSSStyleDeclaration4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSStyleDeclaration4> for ::windows::core::IUnknown { - fn from(value: &IHTMLCSSStyleDeclaration4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCSSStyleDeclaration4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCSSStyleDeclaration4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCSSStyleDeclaration4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCSSStyleDeclaration4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCSSStyleDeclaration4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCSSStyleDeclaration4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCSSStyleDeclaration4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCSSStyleDeclaration4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCSSStyleDeclaration4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCSSStyleDeclaration4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCSSStyleDeclaration4 { - type Vtable = IHTMLCSSStyleDeclaration4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd6100f3b_27c8_4132_afea_f0e4b1e00060); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCSSStyleDeclaration4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitAppearance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitAppearance: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitAppearance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitAppearance: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitUserSelect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitUserSelect: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitUserSelect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitUserSelect: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBoxAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBoxAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBoxAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBoxAlign: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetwebkitBoxOrdinalGroup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetwebkitBoxOrdinalGroup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub webkitBoxOrdinalGroup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - webkitBoxOrdinalGroup: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBoxPack: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBoxPack: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBoxPack: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBoxPack: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetwebkitBoxFlex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetwebkitBoxFlex: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub webkitBoxFlex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - webkitBoxFlex: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBoxOrient: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBoxOrient: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBoxOrient: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBoxOrient: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBoxDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBoxDirection: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBoxDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBoxDirection: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitTransform: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitTransform: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBackgroundSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBackgroundSize: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBackgroundSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBackgroundSize: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBackfaceVisibility: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBackfaceVisibility: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBackfaceVisibility: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBackfaceVisibility: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitAnimation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitAnimation: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitAnimation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitAnimation: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitTransition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitTransition: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitTransition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitTransition: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitAnimationName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitAnimationName: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitAnimationName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitAnimationName: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitAnimationDuration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitAnimationDuration: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitAnimationDuration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitAnimationDuration: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitAnimationTimingFunction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitAnimationTimingFunction: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitAnimationTimingFunction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitAnimationTimingFunction: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitAnimationDelay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitAnimationDelay: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitAnimationDelay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitAnimationDelay: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitAnimationIterationCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitAnimationIterationCount: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitAnimationIterationCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitAnimationIterationCount: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitAnimationDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitAnimationDirection: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitAnimationDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitAnimationDirection: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitAnimationPlayState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitAnimationPlayState: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitAnimationPlayState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitAnimationPlayState: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitTransitionProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitTransitionProperty: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitTransitionProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitTransitionProperty: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitTransitionDuration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitTransitionDuration: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitTransitionDuration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitTransitionDuration: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitTransitionTimingFunction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitTransitionTimingFunction: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitTransitionTimingFunction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitTransitionTimingFunction: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitTransitionDelay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitTransitionDelay: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitTransitionDelay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitTransitionDelay: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBackgroundAttachment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBackgroundAttachment: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBackgroundAttachment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBackgroundAttachment: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetwebkitBackgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetwebkitBackgroundColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub webkitBackgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - webkitBackgroundColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBackgroundClip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBackgroundClip: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBackgroundClip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBackgroundClip: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBackgroundImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBackgroundImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBackgroundImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBackgroundImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBackgroundRepeat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBackgroundRepeat: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBackgroundRepeat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBackgroundRepeat: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBackgroundOrigin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBackgroundOrigin: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBackgroundOrigin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBackgroundOrigin: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBackgroundPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBackgroundPosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBackgroundPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBackgroundPosition: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetwebkitBackgroundPositionX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetwebkitBackgroundPositionX: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub webkitBackgroundPositionX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - webkitBackgroundPositionX: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetwebkitBackgroundPositionY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetwebkitBackgroundPositionY: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub webkitBackgroundPositionY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - webkitBackgroundPositionY: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBackground: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBackground: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBackground: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBackground: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitTransformOrigin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitTransformOrigin: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitTransformOrigin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitTransformOrigin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmsTextSizeAdjust: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmsTextSizeAdjust: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msTextSizeAdjust: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msTextSizeAdjust: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetwebkitTextSizeAdjust: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetwebkitTextSizeAdjust: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub webkitTextSizeAdjust: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - webkitTextSizeAdjust: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBorderImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBorderImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBorderImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBorderImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBorderImageSource: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBorderImageSource: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBorderImageSource: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBorderImageSource: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBorderImageSlice: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBorderImageSlice: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBorderImageSlice: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBorderImageSlice: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBorderImageWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBorderImageWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBorderImageWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBorderImageWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBorderImageOutset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBorderImageOutset: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBorderImageOutset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBorderImageOutset: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBorderImageRepeat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBorderImageRepeat: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBorderImageRepeat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBorderImageRepeat: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitBoxSizing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitBoxSizing: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitBoxSizing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitBoxSizing: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwebkitAnimationFillMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwebkitAnimationFillMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub webkitAnimationFillMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - webkitAnimationFillMode: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCanvasElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCanvasElement { - pub unsafe fn Setwidth(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setheight(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn getContext<'a, P0>(&self, contextid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getContext)(::windows::core::Interface::as_raw(self), contextid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn toDataURL<'a, P0, P1>(&self, r#type: P0, jpegquality: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toDataURL)(::windows::core::Interface::as_raw(self), r#type.into().abi(), jpegquality.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCanvasElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCanvasElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCanvasElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCanvasElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLCanvasElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCanvasElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCanvasElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCanvasElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCanvasElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCanvasElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCanvasElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCanvasElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCanvasElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCanvasElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCanvasElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCanvasElement { - type Vtable = IHTMLCanvasElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106e4_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCanvasElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Setheight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub getContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contextid: ::core::mem::ManuallyDrop, ppcontext: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - getContext: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub toDataURL: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: ::core::mem::ManuallyDrop, jpegquality: ::core::mem::ManuallyDrop, purl: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - toDataURL: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLCaret(::windows::core::IUnknown); -impl IHTMLCaret { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn MoveCaretToPointer<'a, P0, P1>(&self, pdisppointer: P0, fscrollintoview: P1, edir: CARET_DIRECTION) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, - P1: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).MoveCaretToPointer)(::windows::core::Interface::as_raw(self), pdisppointer.into().abi(), fscrollintoview.into(), edir).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn MoveCaretToPointerEx<'a, P0, P1, P2>(&self, pdisppointer: P0, fvisible: P1, fscrollintoview: P2, edir: CARET_DIRECTION) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, - P1: ::std::convert::Into, - P2: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).MoveCaretToPointerEx)(::windows::core::Interface::as_raw(self), pdisppointer.into().abi(), fvisible.into(), fscrollintoview.into(), edir).ok() - } - pub unsafe fn MoveMarkupPointerToCaret<'a, P0>(&self, pimarkuppointer: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).MoveMarkupPointerToCaret)(::windows::core::Interface::as_raw(self), pimarkuppointer.into().abi()).ok() - } - pub unsafe fn MoveDisplayPointerToCaret<'a, P0>(&self, pdisppointer: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, - { - (::windows::core::Interface::vtable(self).MoveDisplayPointerToCaret)(::windows::core::Interface::as_raw(self), pdisppointer.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsVisible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsVisible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Show<'a, P0>(&self, fscrollintoview: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).Show)(::windows::core::Interface::as_raw(self), fscrollintoview.into()).ok() - } - pub unsafe fn Hide(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Hide)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn InsertText<'a, P0>(&self, ptext: P0, llen: i32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).InsertText)(::windows::core::Interface::as_raw(self), ptext.into(), llen).ok() - } - pub unsafe fn ScrollIntoView(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).ScrollIntoView)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetLocation<'a, P0>(&self, ppoint: *mut super::super::Foundation::POINT, ftranslate: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).GetLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppoint), ftranslate.into()).ok() - } - pub unsafe fn GetCaretDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetCaretDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetCaretDirection(&self, edir: CARET_DIRECTION) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetCaretDirection)(::windows::core::Interface::as_raw(self), edir).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCaret) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLCaret> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCaret) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLCaret> for ::windows::core::IUnknown { - fn from(value: &IHTMLCaret) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLCaret { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLCaret { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLCaret {} -impl ::core::fmt::Debug for IHTMLCaret { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCaret").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLCaret { - type Vtable = IHTMLCaret_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f604_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCaret_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub MoveCaretToPointer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdisppointer: *mut ::core::ffi::c_void, fscrollintoview: super::super::Foundation::BOOL, edir: CARET_DIRECTION) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - MoveCaretToPointer: usize, - #[cfg(feature = "Win32_Foundation")] - pub MoveCaretToPointerEx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdisppointer: *mut ::core::ffi::c_void, fvisible: super::super::Foundation::BOOL, fscrollintoview: super::super::Foundation::BOOL, edir: CARET_DIRECTION) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - MoveCaretToPointerEx: usize, - pub MoveMarkupPointerToCaret: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pimarkuppointer: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub MoveDisplayPointerToCaret: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdisppointer: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub IsVisible: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pisvisible: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsVisible: usize, - #[cfg(feature = "Win32_Foundation")] - pub Show: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fscrollintoview: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Show: usize, - pub Hide: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub InsertText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptext: ::windows::core::PCWSTR, llen: i32) -> ::windows::core::HRESULT, - pub ScrollIntoView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub GetLocation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppoint: *mut super::super::Foundation::POINT, ftranslate: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetLocation: usize, - pub GetCaretDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pedir: *mut CARET_DIRECTION) -> ::windows::core::HRESULT, - pub SetCaretDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, edir: CARET_DIRECTION) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLChangeLog(::windows::core::IUnknown); -impl IHTMLChangeLog { - pub unsafe fn GetNextChange(&self, pbbuffer: *const u8, nbuffersize: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetNextChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbbuffer), nbuffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLChangeLog) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLChangeLog> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLChangeLog) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLChangeLog> for ::windows::core::IUnknown { - fn from(value: &IHTMLChangeLog) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLChangeLog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLChangeLog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLChangeLog {} -impl ::core::fmt::Debug for IHTMLChangeLog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLChangeLog").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLChangeLog { - type Vtable = IHTMLChangeLog_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f649_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLChangeLog_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub GetNextChange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbbuffer: *const u8, nbuffersize: i32, pnrecordlength: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLChangePlayback(::windows::core::IUnknown); -impl IHTMLChangePlayback { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ExecChange<'a, P0>(&self, pbrecord: *const u8, fforward: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).ExecChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbrecord), fforward.into()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLChangePlayback) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLChangePlayback> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLChangePlayback) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLChangePlayback> for ::windows::core::IUnknown { - fn from(value: &IHTMLChangePlayback) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLChangePlayback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLChangePlayback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLChangePlayback {} -impl ::core::fmt::Debug for IHTMLChangePlayback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLChangePlayback").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLChangePlayback { - type Vtable = IHTMLChangePlayback_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6e0_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLChangePlayback_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub ExecChange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbrecord: *const u8, fforward: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ExecChange: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLChangeSink(::windows::core::IUnknown); -impl IHTMLChangeSink { - pub unsafe fn Notify(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Notify)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLChangeSink) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLChangeSink> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLChangeSink) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLChangeSink> for ::windows::core::IUnknown { - fn from(value: &IHTMLChangeSink) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLChangeSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLChangeSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLChangeSink {} -impl ::core::fmt::Debug for IHTMLChangeSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLChangeSink").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLChangeSink { - type Vtable = IHTMLChangeSink_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f64a_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLChangeSink_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub Notify: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCommentElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCommentElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settext<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settext)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setatomic(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setatomic)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn atomic(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).atomic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCommentElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCommentElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCommentElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCommentElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLCommentElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCommentElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCommentElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCommentElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCommentElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCommentElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCommentElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCommentElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCommentElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCommentElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCommentElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCommentElement { - type Vtable = IHTMLCommentElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f20c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCommentElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Settext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settext: usize, - #[cfg(feature = "Win32_Foundation")] - pub text: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - text: usize, - pub Setatomic: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub atomic: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCommentElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCommentElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdata<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdata)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn substringData(&self, offset: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).substringData)(::windows::core::Interface::as_raw(self), offset, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn appendData<'a, P0>(&self, bstrstring: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).appendData)(::windows::core::Interface::as_raw(self), bstrstring.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn insertData<'a, P0>(&self, offset: i32, bstrstring: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).insertData)(::windows::core::Interface::as_raw(self), offset, bstrstring.into().abi()).ok() - } - pub unsafe fn deleteData(&self, offset: i32, count: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deleteData)(::windows::core::Interface::as_raw(self), offset, count).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn replaceData<'a, P0>(&self, offset: i32, count: i32, bstrstring: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).replaceData)(::windows::core::Interface::as_raw(self), offset, count, bstrstring.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCommentElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCommentElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCommentElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCommentElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLCommentElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCommentElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCommentElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCommentElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCommentElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCommentElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCommentElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCommentElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCommentElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCommentElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCommentElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCommentElement2 { - type Vtable = IHTMLCommentElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f813_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCommentElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setdata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdata: usize, - #[cfg(feature = "Win32_Foundation")] - pub data: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - data: usize, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub substringData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, count: i32, pbstrsubstring: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - substringData: usize, - #[cfg(feature = "Win32_Foundation")] - pub appendData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - appendData: usize, - #[cfg(feature = "Win32_Foundation")] - pub insertData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - insertData: usize, - pub deleteData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, count: i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub replaceData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, count: i32, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - replaceData: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCommentElement3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCommentElement3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn substringData(&self, offset: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).substringData)(::windows::core::Interface::as_raw(self), offset, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn insertData<'a, P0>(&self, offset: i32, bstrstring: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).insertData)(::windows::core::Interface::as_raw(self), offset, bstrstring.into().abi()).ok() - } - pub unsafe fn deleteData(&self, offset: i32, count: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deleteData)(::windows::core::Interface::as_raw(self), offset, count).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn replaceData<'a, P0>(&self, offset: i32, count: i32, bstrstring: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).replaceData)(::windows::core::Interface::as_raw(self), offset, count, bstrstring.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCommentElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCommentElement3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCommentElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCommentElement3> for ::windows::core::IUnknown { - fn from(value: &IHTMLCommentElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCommentElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCommentElement3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCommentElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCommentElement3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCommentElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCommentElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCommentElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCommentElement3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCommentElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCommentElement3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCommentElement3 { - type Vtable = IHTMLCommentElement3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051073f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCommentElement3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub substringData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, count: i32, pbstrsubstring: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - substringData: usize, - #[cfg(feature = "Win32_Foundation")] - pub insertData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - insertData: usize, - pub deleteData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, count: i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub replaceData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, count: i32, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - replaceData: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLComputedStyle(::windows::core::IUnknown); -impl IHTMLComputedStyle { - pub unsafe fn bold(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bold)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn italic(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).italic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn underline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).underline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn overline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).overline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn strikeOut(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).strikeOut)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn subScript(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).subScript)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn superScript(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).superScript)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn explicitFace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).explicitFace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn fontWeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontWeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn fontSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn fontName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn hasBgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasBgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn textColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn backgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn preFormatted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).preFormatted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn blockDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).blockDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn OL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).OL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn IsEqual<'a, P0>(&self, pcomputedstyle: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLComputedStyle>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsEqual)(::windows::core::Interface::as_raw(self), pcomputedstyle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLComputedStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLComputedStyle> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLComputedStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLComputedStyle> for ::windows::core::IUnknown { - fn from(value: &IHTMLComputedStyle) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLComputedStyle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLComputedStyle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLComputedStyle {} -impl ::core::fmt::Debug for IHTMLComputedStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLComputedStyle").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLComputedStyle { - type Vtable = IHTMLComputedStyle_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6c3_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLComputedStyle_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub bold: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub italic: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub underline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub overline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub strikeOut: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub subScript: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub superScript: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub explicitFace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub fontWeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub fontSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub fontName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i8) -> ::windows::core::HRESULT, - pub hasBgColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub textColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT, - pub backgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT, - pub preFormatted: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub direction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub blockDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub OL: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub IsEqual: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcomputedstyle: *mut ::core::ffi::c_void, pfequal: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLControlElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLControlElement { - pub unsafe fn SettabIndex(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SettabIndex)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn tabIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tabIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn focus(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).focus)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetaccessKey<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetaccessKey)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn accessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).accessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonblur<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonblur)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onblur(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onblur)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonfocus<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonfocus)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onfocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onfocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonresize<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonresize)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onresize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onresize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn blur(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).blur)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn addFilter<'a, P0>(&self, punk: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).addFilter)(::windows::core::Interface::as_raw(self), punk.into().abi()).ok() - } - pub unsafe fn removeFilter<'a, P0>(&self, punk: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).removeFilter)(::windows::core::Interface::as_raw(self), punk.into().abi()).ok() - } - pub unsafe fn clientHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clientWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clientTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clientLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLControlElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLControlElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLControlElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLControlElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLControlElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLControlElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLControlElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLControlElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLControlElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLControlElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLControlElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLControlElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLControlElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLControlElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLControlElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLControlElement { - type Vtable = IHTMLControlElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4e9_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLControlElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SettabIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub tabIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub focus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetaccessKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetaccessKey: usize, - #[cfg(feature = "Win32_Foundation")] - pub accessKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - accessKey: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonblur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonblur: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onblur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onblur: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonfocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonfocus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onfocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onfocus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonresize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonresize: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onresize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onresize: usize, - pub blur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub addFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, punk: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub removeFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, punk: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub clientHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clientWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clientTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clientLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLControlRange(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLControlRange { - pub unsafe fn select(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).select)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn add<'a, P0>(&self, item: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLControlElement>>, - { - (::windows::core::Interface::vtable(self).add)(::windows::core::Interface::as_raw(self), item.into().abi()).ok() - } - pub unsafe fn remove(&self, index: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).remove)(::windows::core::Interface::as_raw(self), index).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollIntoView<'a, P0>(&self, varargstart: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).scrollIntoView)(::windows::core::Interface::as_raw(self), varargstart.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn queryCommandSupported<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandSupported)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn queryCommandEnabled<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandEnabled)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn queryCommandState<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandState)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn queryCommandIndeterm<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandIndeterm)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn queryCommandText<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandText)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn queryCommandValue<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandValue)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn execCommand<'a, P0, P1>(&self, cmdid: P0, showui: i16, value: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).execCommand)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), showui, value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn execCommandShowHelp<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).execCommandShowHelp)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn commonParentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).commonParentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLControlRange) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLControlRange> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLControlRange) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLControlRange> for ::windows::core::IUnknown { - fn from(value: &IHTMLControlRange) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLControlRange) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLControlRange> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLControlRange) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLControlRange> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLControlRange) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLControlRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLControlRange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLControlRange {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLControlRange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLControlRange").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLControlRange { - type Vtable = IHTMLControlRange_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f29c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLControlRange_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub select: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, item: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - add: usize, - pub remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - item: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollIntoView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, varargstart: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollIntoView: usize, - #[cfg(feature = "Win32_Foundation")] - pub queryCommandSupported: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - queryCommandSupported: usize, - #[cfg(feature = "Win32_Foundation")] - pub queryCommandEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - queryCommandEnabled: usize, - #[cfg(feature = "Win32_Foundation")] - pub queryCommandState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - queryCommandState: usize, - #[cfg(feature = "Win32_Foundation")] - pub queryCommandIndeterm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - queryCommandIndeterm: usize, - #[cfg(feature = "Win32_Foundation")] - pub queryCommandText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pcmdtext: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - queryCommandText: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub queryCommandValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pcmdvalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - queryCommandValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub execCommand: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, showui: i16, value: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - execCommand: usize, - #[cfg(feature = "Win32_Foundation")] - pub execCommandShowHelp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - execCommandShowHelp: usize, - #[cfg(feature = "Win32_System_Com")] - pub commonParentElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, parent: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - commonParentElement: usize, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLControlRange2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLControlRange2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn addElement<'a, P0>(&self, item: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).addElement)(::windows::core::Interface::as_raw(self), item.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLControlRange2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLControlRange2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLControlRange2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLControlRange2> for ::windows::core::IUnknown { - fn from(value: &IHTMLControlRange2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLControlRange2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLControlRange2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLControlRange2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLControlRange2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLControlRange2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLControlRange2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLControlRange2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLControlRange2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLControlRange2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLControlRange2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLControlRange2 { - type Vtable = IHTMLControlRange2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f65e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLControlRange2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub addElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, item: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - addElement: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCurrentStyle(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCurrentStyle { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn position(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).position)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn styleFloat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).styleFloat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn backgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontFamily(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontFamily)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontVariant(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontVariant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn fontWeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontWeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn fontSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn backgroundPositionX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundPositionX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn backgroundPositionY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundPositionY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundRepeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundRepeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderLeftColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderLeftColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderTopColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderTopColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderRightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderRightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderBottomColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderBottomColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderTopStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderTopStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderRightStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderRightStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderBottomStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderBottomStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderLeftStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderLeftStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderTopWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderTopWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderRightWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderRightWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderBottomWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderBottomWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderLeftWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderLeftWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn paddingLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).paddingLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn paddingTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).paddingTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn paddingRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).paddingRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn paddingBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).paddingBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textDecoration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textDecoration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn display(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).display)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn visibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).visibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn zIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).zIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn letterSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).letterSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn lineHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lineHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn textIndent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textIndent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn verticalAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).verticalAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundAttachment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundAttachment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn clear(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn listStyleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).listStyleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn listStylePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).listStylePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn listStyleImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).listStyleImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn clipTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clipTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn clipRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clipRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn clipBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clipBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn clipLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clipLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn overflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).overflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pageBreakBefore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageBreakBefore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pageBreakAfter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageBreakAfter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cursor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cursor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn tableLayout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tableLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderCollapse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderCollapse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn behavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).behavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getAttribute<'a, P0>(&self, strattributename: P0, lflags: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn unicodeBidi(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).unicodeBidi)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn right(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).right)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn bottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn imeMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).imeMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rubyAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rubyAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rubyPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rubyPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rubyOverhang(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rubyOverhang)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textAutospace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textAutospace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn lineBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lineBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn wordBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).wordBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textJustify(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textJustify)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textJustifyTrim(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textJustifyTrim)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn textKashida(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textKashida)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn blockDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).blockDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn layoutGridChar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGridChar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn layoutGridLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGridLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn layoutGridMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGridMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn layoutGridType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGridType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn padding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).padding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn margin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).margin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn accelerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).accelerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn overflowX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).overflowX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn overflowY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).overflowY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCurrentStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCurrentStyle> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCurrentStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCurrentStyle> for ::windows::core::IUnknown { - fn from(value: &IHTMLCurrentStyle) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCurrentStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCurrentStyle> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCurrentStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCurrentStyle> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCurrentStyle) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCurrentStyle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCurrentStyle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCurrentStyle {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCurrentStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCurrentStyle").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCurrentStyle { - type Vtable = IHTMLCurrentStyle_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3db_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCurrentStyle_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub position: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - position: usize, - #[cfg(feature = "Win32_Foundation")] - pub styleFloat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - styleFloat: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub color: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - color: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub backgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - backgroundColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontFamily: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontFamily: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontVariant: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontVariant: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub fontWeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - fontWeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub fontSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - fontSize: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundImage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub backgroundPositionX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - backgroundPositionX: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub backgroundPositionY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - backgroundPositionY: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundRepeat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundRepeat: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderLeftColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderLeftColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderTopColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderTopColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderRightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderRightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderBottomColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderBottomColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderTopStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderTopStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderRightStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderRightStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderBottomStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderBottomStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderLeftStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderLeftStyle: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderTopWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderTopWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderRightWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderRightWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderBottomWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderBottomWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderLeftWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderLeftWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub left: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - left: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub top: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - top: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - width: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - height: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub paddingLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - paddingLeft: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub paddingTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - paddingTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub paddingRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - paddingRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub paddingBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - paddingBottom: usize, - #[cfg(feature = "Win32_Foundation")] - pub textAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub textDecoration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textDecoration: usize, - #[cfg(feature = "Win32_Foundation")] - pub display: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - display: usize, - #[cfg(feature = "Win32_Foundation")] - pub visibility: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - visibility: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub zIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - zIndex: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub letterSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - letterSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub lineHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - lineHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub textIndent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - textIndent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub verticalAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - verticalAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundAttachment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundAttachment: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginBottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginLeft: usize, - #[cfg(feature = "Win32_Foundation")] - pub clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - clear: usize, - #[cfg(feature = "Win32_Foundation")] - pub listStyleType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - listStyleType: usize, - #[cfg(feature = "Win32_Foundation")] - pub listStylePosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - listStylePosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub listStyleImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - listStyleImage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub clipTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - clipTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub clipRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - clipRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub clipBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - clipBottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub clipLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - clipLeft: usize, - #[cfg(feature = "Win32_Foundation")] - pub overflow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - overflow: usize, - #[cfg(feature = "Win32_Foundation")] - pub pageBreakBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pageBreakBefore: usize, - #[cfg(feature = "Win32_Foundation")] - pub pageBreakAfter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pageBreakAfter: usize, - #[cfg(feature = "Win32_Foundation")] - pub cursor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cursor: usize, - #[cfg(feature = "Win32_Foundation")] - pub tableLayout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - tableLayout: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderCollapse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderCollapse: usize, - #[cfg(feature = "Win32_Foundation")] - pub direction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - direction: usize, - #[cfg(feature = "Win32_Foundation")] - pub behavior: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - behavior: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, attributevalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getAttribute: usize, - #[cfg(feature = "Win32_Foundation")] - pub unicodeBidi: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - unicodeBidi: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub right: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - right: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub bottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - bottom: usize, - #[cfg(feature = "Win32_Foundation")] - pub imeMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - imeMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub rubyAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rubyAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub rubyPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rubyPosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub rubyOverhang: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rubyOverhang: usize, - #[cfg(feature = "Win32_Foundation")] - pub textAutospace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textAutospace: usize, - #[cfg(feature = "Win32_Foundation")] - pub lineBreak: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - lineBreak: usize, - #[cfg(feature = "Win32_Foundation")] - pub wordBreak: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - wordBreak: usize, - #[cfg(feature = "Win32_Foundation")] - pub textJustify: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textJustify: usize, - #[cfg(feature = "Win32_Foundation")] - pub textJustifyTrim: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textJustifyTrim: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub textKashida: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - textKashida: usize, - #[cfg(feature = "Win32_Foundation")] - pub blockDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - blockDirection: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub layoutGridChar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - layoutGridChar: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub layoutGridLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - layoutGridLine: usize, - #[cfg(feature = "Win32_Foundation")] - pub layoutGridMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - layoutGridMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub layoutGridType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - layoutGridType: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub padding: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - padding: usize, - #[cfg(feature = "Win32_Foundation")] - pub margin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - margin: usize, - #[cfg(feature = "Win32_Foundation")] - pub accelerator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - accelerator: usize, - #[cfg(feature = "Win32_Foundation")] - pub overflowX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - overflowX: usize, - #[cfg(feature = "Win32_Foundation")] - pub overflowY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - overflowY: usize, - #[cfg(feature = "Win32_Foundation")] - pub textTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textTransform: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCurrentStyle2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCurrentStyle2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn layoutFlow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutFlow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn wordWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).wordWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textUnderlinePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textUnderlinePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn hasLayout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarBaseColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarBaseColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarFaceColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarFaceColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbar3dLightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbar3dLightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarShadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarShadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarHighlightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarHighlightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarDarkShadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarDarkShadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarArrowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarArrowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarTrackColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarTrackColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn writingMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).writingMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn zoom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).zoom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn filter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).filter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textAlignLast(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textAlignLast)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn textKashidaSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textKashidaSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn isBlock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCurrentStyle2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCurrentStyle2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCurrentStyle2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCurrentStyle2> for ::windows::core::IUnknown { - fn from(value: &IHTMLCurrentStyle2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCurrentStyle2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCurrentStyle2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCurrentStyle2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCurrentStyle2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCurrentStyle2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCurrentStyle2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCurrentStyle2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCurrentStyle2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCurrentStyle2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCurrentStyle2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCurrentStyle2 { - type Vtable = IHTMLCurrentStyle2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f658_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCurrentStyle2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub layoutFlow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - layoutFlow: usize, - #[cfg(feature = "Win32_Foundation")] - pub wordWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - wordWrap: usize, - #[cfg(feature = "Win32_Foundation")] - pub textUnderlinePosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textUnderlinePosition: usize, - pub hasLayout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarBaseColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarBaseColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarFaceColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarFaceColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbar3dLightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbar3dLightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarShadowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarShadowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarHighlightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarHighlightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarDarkShadowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarDarkShadowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarArrowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarArrowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarTrackColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarTrackColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub writingMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - writingMode: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub zoom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - zoom: usize, - #[cfg(feature = "Win32_Foundation")] - pub filter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - filter: usize, - #[cfg(feature = "Win32_Foundation")] - pub textAlignLast: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textAlignLast: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub textKashidaSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - textKashidaSpace: usize, - pub isBlock: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCurrentStyle3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCurrentStyle3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textOverflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textOverflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn minHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).minHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn wordSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).wordSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn whiteSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).whiteSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCurrentStyle3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCurrentStyle3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCurrentStyle3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCurrentStyle3> for ::windows::core::IUnknown { - fn from(value: &IHTMLCurrentStyle3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCurrentStyle3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCurrentStyle3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCurrentStyle3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCurrentStyle3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCurrentStyle3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCurrentStyle3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCurrentStyle3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCurrentStyle3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCurrentStyle3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCurrentStyle3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCurrentStyle3 { - type Vtable = IHTMLCurrentStyle3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f818_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCurrentStyle3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub textOverflow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textOverflow: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub minHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - minHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub wordSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - wordSpacing: usize, - #[cfg(feature = "Win32_Foundation")] - pub whiteSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - whiteSpace: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCurrentStyle4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCurrentStyle4 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msInterpolationMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msInterpolationMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn maxHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).maxHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn minWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).minWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn maxWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).maxWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCurrentStyle4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCurrentStyle4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCurrentStyle4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCurrentStyle4> for ::windows::core::IUnknown { - fn from(value: &IHTMLCurrentStyle4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCurrentStyle4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCurrentStyle4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCurrentStyle4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCurrentStyle4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCurrentStyle4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCurrentStyle4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCurrentStyle4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCurrentStyle4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCurrentStyle4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCurrentStyle4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCurrentStyle4 { - type Vtable = IHTMLCurrentStyle4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f33b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCurrentStyle4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub msInterpolationMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msInterpolationMode: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub maxHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - maxHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub minWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - minWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub maxWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - maxWidth: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLCurrentStyle5(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLCurrentStyle5 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn captionSide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).captionSide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn outline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn outlineWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outlineWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn outlineStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outlineStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn outlineColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outlineColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn boxSizing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).boxSizing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn orphans(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).orphans)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn widows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).widows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pageBreakInside(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageBreakInside)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn emptyCells(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).emptyCells)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msBlockProgression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msBlockProgression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn quotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).quotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLCurrentStyle5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCurrentStyle5> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLCurrentStyle5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCurrentStyle5> for ::windows::core::IUnknown { - fn from(value: &IHTMLCurrentStyle5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLCurrentStyle5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLCurrentStyle5> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLCurrentStyle5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLCurrentStyle5> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLCurrentStyle5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLCurrentStyle5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLCurrentStyle5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLCurrentStyle5 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLCurrentStyle5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLCurrentStyle5").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLCurrentStyle5 { - type Vtable = IHTMLCurrentStyle5_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510481_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLCurrentStyle5_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub captionSide: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - captionSide: usize, - #[cfg(feature = "Win32_Foundation")] - pub outline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - outline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub outlineWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - outlineWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub outlineStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - outlineStyle: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub outlineColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - outlineColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub boxSizing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - boxSizing: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub orphans: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - orphans: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub widows: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - widows: usize, - #[cfg(feature = "Win32_Foundation")] - pub pageBreakInside: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pageBreakInside: usize, - #[cfg(feature = "Win32_Foundation")] - pub emptyCells: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - emptyCells: usize, - #[cfg(feature = "Win32_Foundation")] - pub msBlockProgression: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msBlockProgression: usize, - #[cfg(feature = "Win32_Foundation")] - pub quotes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - quotes: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDDElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDDElement { - pub unsafe fn SetnoWrap(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetnoWrap)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn noWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).noWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDDElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDDElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDDElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDDElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLDDElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDDElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDDElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDDElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDDElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDDElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDDElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDDElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDDElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDDElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDDElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDDElement { - type Vtable = IHTMLDDElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f1f2_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDDElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetnoWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub noWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDListElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDListElement { - pub unsafe fn Setcompact(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setcompact)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn compact(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).compact)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDListElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDListElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDListElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDListElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLDListElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDListElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDListElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDListElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDListElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDListElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDListElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDListElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDListElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDListElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDListElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDListElement { - type Vtable = IHTMLDListElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f1f1_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDListElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setcompact: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub compact: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDOMAttribute(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDOMAttribute { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn nodeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nodeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetnodeValue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetnodeValue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn nodeValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nodeValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn specified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).specified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDOMAttribute) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMAttribute> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDOMAttribute) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMAttribute> for ::windows::core::IUnknown { - fn from(value: &IHTMLDOMAttribute) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDOMAttribute) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMAttribute> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDOMAttribute) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMAttribute> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDOMAttribute) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDOMAttribute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDOMAttribute { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDOMAttribute {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDOMAttribute { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDOMAttribute").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDOMAttribute { - type Vtable = IHTMLDOMAttribute_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4b0_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDOMAttribute_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub nodeName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - nodeName: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetnodeValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetnodeValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub nodeValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - nodeValue: usize, - pub specified: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDOMAttribute2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDOMAttribute2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn expando(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).expando)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn nodeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nodeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn insertBefore<'a, P0, P1>(&self, newchild: P0, refchild: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn replaceChild<'a, P0, P1>(&self, newchild: P0, oldchild: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn removeChild<'a, P0>(&self, oldchild: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeChild)(::windows::core::Interface::as_raw(self), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn appendChild<'a, P0>(&self, newchild: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn hasChildNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasChildNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn cloneNode(&self, fdeep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cloneNode)(::windows::core::Interface::as_raw(self), fdeep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDOMAttribute2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMAttribute2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDOMAttribute2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMAttribute2> for ::windows::core::IUnknown { - fn from(value: &IHTMLDOMAttribute2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDOMAttribute2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMAttribute2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDOMAttribute2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMAttribute2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDOMAttribute2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDOMAttribute2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDOMAttribute2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDOMAttribute2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDOMAttribute2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDOMAttribute2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDOMAttribute2 { - type Vtable = IHTMLDOMAttribute2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f810_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDOMAttribute2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, - pub expando: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub nodeType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub parentNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - parentNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub childNodes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - childNodes: usize, - #[cfg(feature = "Win32_System_Com")] - pub firstChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - firstChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub lastChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - lastChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub previousSibling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - previousSibling: usize, - #[cfg(feature = "Win32_System_Com")] - pub nextSibling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - nextSibling: usize, - #[cfg(feature = "Win32_System_Com")] - pub attributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - attributes: usize, - #[cfg(feature = "Win32_System_Com")] - pub ownerDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ownerDocument: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub insertBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, refchild: ::core::mem::ManuallyDrop, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - insertBefore: usize, - #[cfg(feature = "Win32_System_Com")] - pub replaceChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, oldchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - replaceChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub removeChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, oldchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - removeChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub appendChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - appendChild: usize, - pub hasChildNodes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fchildren: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub cloneNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fdeep: i16, clonednode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - cloneNode: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDOMAttribute3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDOMAttribute3 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetnodeValue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetnodeValue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn nodeValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nodeValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn specified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).specified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn ownerElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ownerElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDOMAttribute3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMAttribute3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDOMAttribute3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMAttribute3> for ::windows::core::IUnknown { - fn from(value: &IHTMLDOMAttribute3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDOMAttribute3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMAttribute3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDOMAttribute3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMAttribute3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDOMAttribute3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDOMAttribute3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDOMAttribute3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDOMAttribute3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDOMAttribute3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDOMAttribute3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDOMAttribute3 { - type Vtable = IHTMLDOMAttribute3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510468_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDOMAttribute3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetnodeValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetnodeValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub nodeValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - nodeValue: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, - pub specified: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub ownerElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ownerElement: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDOMAttribute4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDOMAttribute4 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetnodeValue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetnodeValue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn nodeValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nodeValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn nodeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nodeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn hasAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn hasChildNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasChildNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn normalize(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).normalize)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn specified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).specified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDOMAttribute4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMAttribute4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDOMAttribute4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMAttribute4> for ::windows::core::IUnknown { - fn from(value: &IHTMLDOMAttribute4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDOMAttribute4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMAttribute4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDOMAttribute4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMAttribute4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDOMAttribute4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDOMAttribute4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDOMAttribute4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDOMAttribute4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDOMAttribute4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDOMAttribute4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDOMAttribute4 { - type Vtable = IHTMLDOMAttribute4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106f9_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDOMAttribute4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetnodeValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetnodeValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub nodeValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - nodeValue: usize, - #[cfg(feature = "Win32_Foundation")] - pub nodeName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - nodeName: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, - #[cfg(feature = "Win32_System_Com")] - pub firstChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - firstChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub lastChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - lastChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub childNodes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - childNodes: usize, - pub hasAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfhasattributes: *mut i16) -> ::windows::core::HRESULT, - pub hasChildNodes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fchildren: *mut i16) -> ::windows::core::HRESULT, - pub normalize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub specified: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDOMChildrenCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDOMChildrenCollection { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDOMChildrenCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMChildrenCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDOMChildrenCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMChildrenCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLDOMChildrenCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDOMChildrenCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMChildrenCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDOMChildrenCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMChildrenCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDOMChildrenCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDOMChildrenCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDOMChildrenCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDOMChildrenCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDOMChildrenCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDOMChildrenCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDOMChildrenCollection { - type Vtable = IHTMLDOMChildrenCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5ab_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDOMChildrenCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub _newEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppitem: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDOMChildrenCollection2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDOMChildrenCollection2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDOMChildrenCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMChildrenCollection2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDOMChildrenCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMChildrenCollection2> for ::windows::core::IUnknown { - fn from(value: &IHTMLDOMChildrenCollection2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDOMChildrenCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMChildrenCollection2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDOMChildrenCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMChildrenCollection2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDOMChildrenCollection2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDOMChildrenCollection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDOMChildrenCollection2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDOMChildrenCollection2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDOMChildrenCollection2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDOMChildrenCollection2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDOMChildrenCollection2 { - type Vtable = IHTMLDOMChildrenCollection2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510791_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDOMChildrenCollection2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppitem: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDOMConstructor(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDOMConstructor { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn constructor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).constructor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn LookupGetter<'a, P0>(&self, propname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).LookupGetter)(::windows::core::Interface::as_raw(self), propname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn LookupSetter<'a, P0>(&self, propname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).LookupSetter)(::windows::core::Interface::as_raw(self), propname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn DefineGetter<'a, P0>(&self, propname: P0, pdisphandler: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).DefineGetter)(::windows::core::Interface::as_raw(self), propname.into().abi(), ::core::mem::transmute(pdisphandler)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn DefineSetter<'a, P0>(&self, propname: P0, pdisphandler: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).DefineSetter)(::windows::core::Interface::as_raw(self), propname.into().abi(), ::core::mem::transmute(pdisphandler)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDOMConstructor) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMConstructor> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDOMConstructor) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMConstructor> for ::windows::core::IUnknown { - fn from(value: &IHTMLDOMConstructor) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDOMConstructor) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMConstructor> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDOMConstructor) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMConstructor> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDOMConstructor) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDOMConstructor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDOMConstructor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDOMConstructor {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDOMConstructor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDOMConstructor").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDOMConstructor { - type Vtable = IHTMLDOMConstructor_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051049b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDOMConstructor_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub constructor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - constructor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub LookupGetter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, ppdisphandler: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - LookupGetter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub LookupSetter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, ppdisphandler: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - LookupSetter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub DefineGetter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, pdisphandler: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - DefineGetter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub DefineSetter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, pdisphandler: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - DefineSetter: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDOMConstructorCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDOMConstructorCollection { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Attr(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Attr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn BehaviorUrnsCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).BehaviorUrnsCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn BookmarkCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).BookmarkCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn CompatibleInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CompatibleInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn CompatibleInfoCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CompatibleInfoCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn ControlRangeCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ControlRangeCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn CSSCurrentStyleDeclaration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CSSCurrentStyleDeclaration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn CSSRuleList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CSSRuleList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn CSSRuleStyleDeclaration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CSSRuleStyleDeclaration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn CSSStyleDeclaration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CSSStyleDeclaration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn CSSStyleRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CSSStyleRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn CSSStyleSheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CSSStyleSheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn DataTransfer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).DataTransfer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn DOMImplementation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).DOMImplementation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Element(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Element)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn History(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).History)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTCElementBehaviorDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTCElementBehaviorDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLAnchorElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLAnchorElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLAreaElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLAreaElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLAreasCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLAreasCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLBaseElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLBaseElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLBaseFontElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLBaseFontElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLBGSoundElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLBGSoundElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLBlockElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLBlockElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLBodyElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLBodyElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLBRElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLBRElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLButtonElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLButtonElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLCommentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLCommentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLDDElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLDDElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLDivElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLDivElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLDListElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLDListElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLDTElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLDTElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLEmbedElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLEmbedElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLFieldSetElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLFieldSetElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLFontElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLFontElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLFormElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLFormElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLFrameElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLFrameElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLFrameSetElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLFrameSetElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLGenericElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLGenericElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLHeadElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLHeadElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLHeadingElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLHeadingElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLHRElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLHRElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLHtmlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLHtmlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLIFrameElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLIFrameElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLImageElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLImageElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLInputElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLInputElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLIsIndexElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLIsIndexElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLLabelElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLLabelElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLLegendElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLLegendElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLLIElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLLIElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLLinkElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLLinkElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLMapElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLMapElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLMarqueeElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLMarqueeElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLMetaElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLMetaElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLModelessDialog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLModelessDialog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLNamespaceInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLNamespaceInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLNamespaceInfoCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLNamespaceInfoCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLNextIdElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLNextIdElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLNoShowElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLNoShowElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLObjectElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLObjectElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLOListElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLOListElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLOptionElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLOptionElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLParagraphElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLParagraphElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLParamElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLParamElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLPhraseElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLPhraseElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLPluginsCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLPluginsCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLPopup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLPopup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLScriptElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLScriptElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLSelectElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLSelectElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLSpanElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLSpanElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLStyleElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLStyleElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLTableCaptionElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLTableCaptionElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLTableCellElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLTableCellElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLTableColElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLTableColElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLTableElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLTableElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLTableRowElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLTableRowElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLTableSectionElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLTableSectionElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLTextAreaElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLTextAreaElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLTextElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLTextElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLTitleElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLTitleElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLUListElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLUListElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn HTMLUnknownElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HTMLUnknownElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Location(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Location)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn NamedNodeMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).NamedNodeMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Navigator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Navigator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn NodeList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).NodeList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Option(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Option)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Screen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Screen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Selection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Selection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn StaticNodeList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).StaticNodeList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Storage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Storage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn StyleSheetList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).StyleSheetList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn StyleSheetPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).StyleSheetPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn StyleSheetPageList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).StyleSheetPageList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn TextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).TextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn TextRangeCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).TextRangeCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn TextRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).TextRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn TextRectangleList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).TextRectangleList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Window(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Window)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn XDomainRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).XDomainRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn XMLHttpRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).XMLHttpRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDOMConstructorCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMConstructorCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDOMConstructorCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMConstructorCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLDOMConstructorCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDOMConstructorCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMConstructorCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDOMConstructorCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMConstructorCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDOMConstructorCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDOMConstructorCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDOMConstructorCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDOMConstructorCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDOMConstructorCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDOMConstructorCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDOMConstructorCollection { - type Vtable = IHTMLDOMConstructorCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051049c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDOMConstructorCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub Attr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Attr: usize, - #[cfg(feature = "Win32_System_Com")] - pub BehaviorUrnsCollection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - BehaviorUrnsCollection: usize, - #[cfg(feature = "Win32_System_Com")] - pub BookmarkCollection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - BookmarkCollection: usize, - #[cfg(feature = "Win32_System_Com")] - pub CompatibleInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - CompatibleInfo: usize, - #[cfg(feature = "Win32_System_Com")] - pub CompatibleInfoCollection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - CompatibleInfoCollection: usize, - #[cfg(feature = "Win32_System_Com")] - pub ControlRangeCollection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ControlRangeCollection: usize, - #[cfg(feature = "Win32_System_Com")] - pub CSSCurrentStyleDeclaration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - CSSCurrentStyleDeclaration: usize, - #[cfg(feature = "Win32_System_Com")] - pub CSSRuleList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - CSSRuleList: usize, - #[cfg(feature = "Win32_System_Com")] - pub CSSRuleStyleDeclaration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - CSSRuleStyleDeclaration: usize, - #[cfg(feature = "Win32_System_Com")] - pub CSSStyleDeclaration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - CSSStyleDeclaration: usize, - #[cfg(feature = "Win32_System_Com")] - pub CSSStyleRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - CSSStyleRule: usize, - #[cfg(feature = "Win32_System_Com")] - pub CSSStyleSheet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - CSSStyleSheet: usize, - #[cfg(feature = "Win32_System_Com")] - pub DataTransfer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - DataTransfer: usize, - #[cfg(feature = "Win32_System_Com")] - pub DOMImplementation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - DOMImplementation: usize, - #[cfg(feature = "Win32_System_Com")] - pub Element: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Element: usize, - #[cfg(feature = "Win32_System_Com")] - pub Event: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Event: usize, - #[cfg(feature = "Win32_System_Com")] - pub History: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - History: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTCElementBehaviorDefaults: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTCElementBehaviorDefaults: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLAnchorElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLAnchorElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLAreaElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLAreaElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLAreasCollection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLAreasCollection: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLBaseElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLBaseElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLBaseFontElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLBaseFontElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLBGSoundElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLBGSoundElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLBlockElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLBlockElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLBodyElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLBodyElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLBRElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLBRElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLButtonElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLButtonElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLCollection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLCollection: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLCommentElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLCommentElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLDDElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLDDElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLDivElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLDivElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLDocument: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLDListElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLDListElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLDTElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLDTElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLEmbedElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLEmbedElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLFieldSetElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLFieldSetElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLFontElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLFontElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLFormElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLFormElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLFrameElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLFrameElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLFrameSetElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLFrameSetElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLGenericElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLGenericElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLHeadElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLHeadElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLHeadingElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLHeadingElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLHRElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLHRElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLHtmlElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLHtmlElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLIFrameElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLIFrameElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLImageElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLImageElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLInputElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLInputElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLIsIndexElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLIsIndexElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLLabelElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLLabelElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLLegendElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLLegendElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLLIElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLLIElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLLinkElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLLinkElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLMapElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLMapElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLMarqueeElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLMarqueeElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLMetaElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLMetaElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLModelessDialog: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLModelessDialog: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLNamespaceInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLNamespaceInfo: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLNamespaceInfoCollection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLNamespaceInfoCollection: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLNextIdElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLNextIdElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLNoShowElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLNoShowElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLObjectElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLObjectElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLOListElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLOListElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLOptionElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLOptionElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLParagraphElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLParagraphElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLParamElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLParamElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLPhraseElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLPhraseElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLPluginsCollection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLPluginsCollection: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLPopup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLPopup: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLScriptElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLScriptElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLSelectElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLSelectElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLSpanElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLSpanElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLStyleElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLStyleElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLTableCaptionElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLTableCaptionElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLTableCellElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLTableCellElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLTableColElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLTableColElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLTableElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLTableElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLTableRowElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLTableRowElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLTableSectionElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLTableSectionElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLTextAreaElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLTextAreaElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLTextElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLTextElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLTitleElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLTitleElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLUListElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLUListElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub HTMLUnknownElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - HTMLUnknownElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub Image: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Image: usize, - #[cfg(feature = "Win32_System_Com")] - pub Location: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Location: usize, - #[cfg(feature = "Win32_System_Com")] - pub NamedNodeMap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - NamedNodeMap: usize, - #[cfg(feature = "Win32_System_Com")] - pub Navigator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Navigator: usize, - #[cfg(feature = "Win32_System_Com")] - pub NodeList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - NodeList: usize, - #[cfg(feature = "Win32_System_Com")] - pub Option: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Option: usize, - #[cfg(feature = "Win32_System_Com")] - pub Screen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Screen: usize, - #[cfg(feature = "Win32_System_Com")] - pub Selection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Selection: usize, - #[cfg(feature = "Win32_System_Com")] - pub StaticNodeList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - StaticNodeList: usize, - #[cfg(feature = "Win32_System_Com")] - pub Storage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Storage: usize, - #[cfg(feature = "Win32_System_Com")] - pub StyleSheetList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - StyleSheetList: usize, - #[cfg(feature = "Win32_System_Com")] - pub StyleSheetPage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - StyleSheetPage: usize, - #[cfg(feature = "Win32_System_Com")] - pub StyleSheetPageList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - StyleSheetPageList: usize, - #[cfg(feature = "Win32_System_Com")] - pub Text: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Text: usize, - #[cfg(feature = "Win32_System_Com")] - pub TextRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - TextRange: usize, - #[cfg(feature = "Win32_System_Com")] - pub TextRangeCollection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - TextRangeCollection: usize, - #[cfg(feature = "Win32_System_Com")] - pub TextRectangle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - TextRectangle: usize, - #[cfg(feature = "Win32_System_Com")] - pub TextRectangleList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - TextRectangleList: usize, - #[cfg(feature = "Win32_System_Com")] - pub Window: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Window: usize, - #[cfg(feature = "Win32_System_Com")] - pub XDomainRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - XDomainRequest: usize, - #[cfg(feature = "Win32_System_Com")] - pub XMLHttpRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - XMLHttpRequest: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDOMImplementation(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDOMImplementation { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn hasFeature<'a, P0, P1>(&self, bstrfeature: P0, version: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasFeature)(::windows::core::Interface::as_raw(self), bstrfeature.into().abi(), version.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDOMImplementation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMImplementation> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDOMImplementation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMImplementation> for ::windows::core::IUnknown { - fn from(value: &IHTMLDOMImplementation) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDOMImplementation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMImplementation> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDOMImplementation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMImplementation> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDOMImplementation) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDOMImplementation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDOMImplementation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDOMImplementation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDOMImplementation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDOMImplementation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDOMImplementation { - type Vtable = IHTMLDOMImplementation_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f80d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDOMImplementation_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub hasFeature: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrfeature: ::core::mem::ManuallyDrop, version: ::core::mem::ManuallyDrop, pfhasfeature: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - hasFeature: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDOMImplementation2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDOMImplementation2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn createDocumentType<'a, P0>(&self, bstrqualifiedname: P0, pvarpublicid: *const super::super::System::Com::VARIANT, pvarsystemid: *const super::super::System::Com::VARIANT) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createDocumentType)(::windows::core::Interface::as_raw(self), bstrqualifiedname.into().abi(), ::core::mem::transmute(pvarpublicid), ::core::mem::transmute(pvarsystemid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn createDocument<'a, P0>(&self, pvarns: *const super::super::System::Com::VARIANT, pvartagname: *const super::super::System::Com::VARIANT, pdocumenttype: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IDOMDocumentType>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), ::core::mem::transmute(pvartagname), pdocumenttype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn createHTMLDocument<'a, P0>(&self, bstrtitle: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createHTMLDocument)(::windows::core::Interface::as_raw(self), bstrtitle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn hasFeature<'a, P0, P1>(&self, bstrfeature: P0, version: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasFeature)(::windows::core::Interface::as_raw(self), bstrfeature.into().abi(), version.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDOMImplementation2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMImplementation2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDOMImplementation2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMImplementation2> for ::windows::core::IUnknown { - fn from(value: &IHTMLDOMImplementation2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDOMImplementation2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMImplementation2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDOMImplementation2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMImplementation2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDOMImplementation2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDOMImplementation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDOMImplementation2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDOMImplementation2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDOMImplementation2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDOMImplementation2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDOMImplementation2 { - type Vtable = IHTMLDOMImplementation2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051073c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDOMImplementation2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub createDocumentType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrqualifiedname: ::core::mem::ManuallyDrop, pvarpublicid: *const super::super::System::Com::VARIANT, pvarsystemid: *const super::super::System::Com::VARIANT, newdocumenttype: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - createDocumentType: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub createDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, pvartagname: *const super::super::System::Com::VARIANT, pdocumenttype: *mut ::core::ffi::c_void, ppnewdocument: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - createDocument: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub createHTMLDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrtitle: ::core::mem::ManuallyDrop, ppnewdocument: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - createHTMLDocument: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub hasFeature: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrfeature: ::core::mem::ManuallyDrop, version: ::core::mem::ManuallyDrop, pfhasfeature: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - hasFeature: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDOMNode(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDOMNode { - pub unsafe fn nodeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nodeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn hasChildNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasChildNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn insertBefore<'a, P0, P1>(&self, newchild: P0, refchild: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn removeChild<'a, P0>(&self, oldchild: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeChild)(::windows::core::Interface::as_raw(self), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn replaceChild<'a, P0, P1>(&self, newchild: P0, oldchild: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn cloneNode(&self, fdeep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cloneNode)(::windows::core::Interface::as_raw(self), fdeep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn removeNode(&self, fdeep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeNode)(::windows::core::Interface::as_raw(self), fdeep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn swapNode<'a, P0>(&self, othernode: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).swapNode)(::windows::core::Interface::as_raw(self), othernode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn replaceNode<'a, P0>(&self, replacement: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).replaceNode)(::windows::core::Interface::as_raw(self), replacement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn appendChild<'a, P0>(&self, newchild: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn nodeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nodeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetnodeValue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetnodeValue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn nodeValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nodeValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDOMNode) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMNode> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDOMNode) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMNode> for ::windows::core::IUnknown { - fn from(value: &IHTMLDOMNode) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDOMNode) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMNode> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDOMNode) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMNode> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDOMNode) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDOMNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDOMNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDOMNode {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDOMNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDOMNode").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDOMNode { - type Vtable = IHTMLDOMNode_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5da_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDOMNode_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub nodeType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub parentNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - parentNode: usize, - pub hasChildNodes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fchildren: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub childNodes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - childNodes: usize, - #[cfg(feature = "Win32_System_Com")] - pub attributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - attributes: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub insertBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, refchild: ::core::mem::ManuallyDrop, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - insertBefore: usize, - #[cfg(feature = "Win32_System_Com")] - pub removeChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, oldchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - removeChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub replaceChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, oldchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - replaceChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub cloneNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fdeep: i16, clonednode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - cloneNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub removeNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fdeep: i16, removed: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - removeNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub swapNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, othernode: *mut ::core::ffi::c_void, swappednode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - swapNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub replaceNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, replacement: *mut ::core::ffi::c_void, replaced: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - replaceNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub appendChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - appendChild: usize, - #[cfg(feature = "Win32_Foundation")] - pub nodeName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - nodeName: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetnodeValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetnodeValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub nodeValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - nodeValue: usize, - #[cfg(feature = "Win32_System_Com")] - pub firstChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - firstChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub lastChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - lastChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub previousSibling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - previousSibling: usize, - #[cfg(feature = "Win32_System_Com")] - pub nextSibling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - nextSibling: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDOMNode2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDOMNode2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDOMNode2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMNode2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDOMNode2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMNode2> for ::windows::core::IUnknown { - fn from(value: &IHTMLDOMNode2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDOMNode2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMNode2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDOMNode2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMNode2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDOMNode2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDOMNode2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDOMNode2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDOMNode2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDOMNode2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDOMNode2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDOMNode2 { - type Vtable = IHTMLDOMNode2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f80b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDOMNode2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub ownerDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ownerDocument: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDOMNode3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDOMNode3 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setprefix<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setprefix)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn prefix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).prefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn localName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).localName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn namespaceURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).namespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SettextContent<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SettextContent)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn textContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn isEqualNode<'a, P0>(&self, othernode: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode3>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isEqualNode)(::windows::core::Interface::as_raw(self), othernode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn lookupNamespaceURI(&self, pvarprefix: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lookupNamespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarprefix), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn lookupPrefix(&self, pvarnamespaceuri: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lookupPrefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarnamespaceuri), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn isDefaultNamespace(&self, pvarnamespace: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isDefaultNamespace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarnamespace), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn appendChild<'a, P0>(&self, newchild: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn insertBefore<'a, P0, P1>(&self, newchild: P0, refchild: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn removeChild<'a, P0>(&self, oldchild: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeChild)(::windows::core::Interface::as_raw(self), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn replaceChild<'a, P0, P1>(&self, newchild: P0, oldchild: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn isSameNode<'a, P0>(&self, othernode: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode3>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isSameNode)(::windows::core::Interface::as_raw(self), othernode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn compareDocumentPosition<'a, P0>(&self, othernode: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).compareDocumentPosition)(::windows::core::Interface::as_raw(self), othernode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn isSupported<'a, P0, P1>(&self, feature: P0, version: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isSupported)(::windows::core::Interface::as_raw(self), feature.into().abi(), version.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDOMNode3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMNode3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDOMNode3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMNode3> for ::windows::core::IUnknown { - fn from(value: &IHTMLDOMNode3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDOMNode3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMNode3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDOMNode3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMNode3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDOMNode3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDOMNode3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDOMNode3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDOMNode3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDOMNode3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDOMNode3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDOMNode3 { - type Vtable = IHTMLDOMNode3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106e0_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDOMNode3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setprefix: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setprefix: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub prefix: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - prefix: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub localName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - localName: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub namespaceURI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - namespaceURI: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SettextContent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SettextContent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub textContent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - textContent: usize, - #[cfg(feature = "Win32_System_Com")] - pub isEqualNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, othernode: *mut ::core::ffi::c_void, isequal: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - isEqualNode: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub lookupNamespaceURI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarprefix: *const super::super::System::Com::VARIANT, pvarnamespaceuri: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - lookupNamespaceURI: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub lookupPrefix: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarnamespaceuri: *const super::super::System::Com::VARIANT, pvarprefix: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - lookupPrefix: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub isDefaultNamespace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarnamespace: *const super::super::System::Com::VARIANT, pfdefaultnamespace: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - isDefaultNamespace: usize, - #[cfg(feature = "Win32_System_Com")] - pub appendChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - appendChild: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub insertBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, refchild: ::core::mem::ManuallyDrop, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - insertBefore: usize, - #[cfg(feature = "Win32_System_Com")] - pub removeChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, oldchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - removeChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub replaceChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newchild: *mut ::core::ffi::c_void, oldchild: *mut ::core::ffi::c_void, node: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - replaceChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub isSameNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, othernode: *mut ::core::ffi::c_void, issame: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - isSameNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub compareDocumentPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, othernode: *mut ::core::ffi::c_void, flags: *mut u16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - compareDocumentPosition: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub isSupported: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, feature: ::core::mem::ManuallyDrop, version: ::core::mem::ManuallyDrop, pfissupported: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - isSupported: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDOMRange(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDOMRange { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn startContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).startContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn startOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).startOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn endContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).endContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn endOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).endOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn collapsed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).collapsed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn commonAncestorContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).commonAncestorContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn setStart<'a, P0>(&self, refnode: P0, offset: i32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).setStart)(::windows::core::Interface::as_raw(self), refnode.into().abi(), offset).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn setEnd<'a, P0>(&self, refnode: P0, offset: i32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).setEnd)(::windows::core::Interface::as_raw(self), refnode.into().abi(), offset).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn setStartBefore<'a, P0>(&self, refnode: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).setStartBefore)(::windows::core::Interface::as_raw(self), refnode.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn setStartAfter<'a, P0>(&self, refnode: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).setStartAfter)(::windows::core::Interface::as_raw(self), refnode.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn setEndBefore<'a, P0>(&self, refnode: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).setEndBefore)(::windows::core::Interface::as_raw(self), refnode.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn setEndAfter<'a, P0>(&self, refnode: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).setEndAfter)(::windows::core::Interface::as_raw(self), refnode.into().abi()).ok() - } - pub unsafe fn collapse(&self, tostart: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).collapse)(::windows::core::Interface::as_raw(self), tostart).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn selectNode<'a, P0>(&self, refnode: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).selectNode)(::windows::core::Interface::as_raw(self), refnode.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn selectNodeContents<'a, P0>(&self, refnode: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).selectNodeContents)(::windows::core::Interface::as_raw(self), refnode.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn compareBoundaryPoints<'a, P0>(&self, how: i16, sourcerange: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).compareBoundaryPoints)(::windows::core::Interface::as_raw(self), how, sourcerange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deleteContents(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deleteContents)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn extractContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).extractContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn cloneContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cloneContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn insertNode<'a, P0>(&self, newnode: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).insertNode)(::windows::core::Interface::as_raw(self), newnode.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn surroundContents<'a, P0>(&self, newparent: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).surroundContents)(::windows::core::Interface::as_raw(self), newparent.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn cloneRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cloneRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn detach(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).detach)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getClientRects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getClientRects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getBoundingClientRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getBoundingClientRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDOMRange) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMRange> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDOMRange) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMRange> for ::windows::core::IUnknown { - fn from(value: &IHTMLDOMRange) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDOMRange) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMRange> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDOMRange) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMRange> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDOMRange) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDOMRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDOMRange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDOMRange {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDOMRange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDOMRange").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDOMRange { - type Vtable = IHTMLDOMRange_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104ae_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDOMRange_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub startContainer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - startContainer: usize, - pub startOffset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub endContainer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - endContainer: usize, - pub endOffset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub collapsed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub commonAncestorContainer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - commonAncestorContainer: usize, - #[cfg(feature = "Win32_System_Com")] - pub setStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, refnode: *mut ::core::ffi::c_void, offset: i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - setStart: usize, - #[cfg(feature = "Win32_System_Com")] - pub setEnd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, refnode: *mut ::core::ffi::c_void, offset: i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - setEnd: usize, - #[cfg(feature = "Win32_System_Com")] - pub setStartBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, refnode: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - setStartBefore: usize, - #[cfg(feature = "Win32_System_Com")] - pub setStartAfter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, refnode: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - setStartAfter: usize, - #[cfg(feature = "Win32_System_Com")] - pub setEndBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, refnode: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - setEndBefore: usize, - #[cfg(feature = "Win32_System_Com")] - pub setEndAfter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, refnode: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - setEndAfter: usize, - pub collapse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, tostart: i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub selectNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, refnode: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - selectNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub selectNodeContents: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, refnode: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - selectNodeContents: usize, - #[cfg(feature = "Win32_System_Com")] - pub compareBoundaryPoints: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, how: i16, sourcerange: *mut ::core::ffi::c_void, compareresult: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - compareBoundaryPoints: usize, - pub deleteContents: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub extractContents: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppdocumentfragment: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - extractContents: usize, - #[cfg(feature = "Win32_System_Com")] - pub cloneContents: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppdocumentfragment: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - cloneContents: usize, - #[cfg(feature = "Win32_System_Com")] - pub insertNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newnode: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - insertNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub surroundContents: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newparent: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - surroundContents: usize, - #[cfg(feature = "Win32_System_Com")] - pub cloneRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppclonedrange: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - cloneRange: usize, - #[cfg(feature = "Win32_Foundation")] - pub toString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prangestring: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - toString: usize, - pub detach: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub getClientRects: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pprectcol: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getClientRects: usize, - #[cfg(feature = "Win32_System_Com")] - pub getBoundingClientRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pprect: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getBoundingClientRect: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDOMTextNode(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDOMTextNode { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdata<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdata)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn splitText(&self, offset: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).splitText)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDOMTextNode) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMTextNode> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDOMTextNode) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMTextNode> for ::windows::core::IUnknown { - fn from(value: &IHTMLDOMTextNode) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDOMTextNode) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMTextNode> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDOMTextNode) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMTextNode> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDOMTextNode) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDOMTextNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDOMTextNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDOMTextNode {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDOMTextNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDOMTextNode").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDOMTextNode { - type Vtable = IHTMLDOMTextNode_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4b1_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDOMTextNode_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setdata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdata: usize, - #[cfg(feature = "Win32_Foundation")] - pub data: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - data: usize, - #[cfg(feature = "Win32_Foundation")] - pub toString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - toString: usize, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub splitText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, pretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - splitText: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDOMTextNode2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDOMTextNode2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn substringData(&self, offset: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).substringData)(::windows::core::Interface::as_raw(self), offset, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn appendData<'a, P0>(&self, bstrstring: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).appendData)(::windows::core::Interface::as_raw(self), bstrstring.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn insertData<'a, P0>(&self, offset: i32, bstrstring: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).insertData)(::windows::core::Interface::as_raw(self), offset, bstrstring.into().abi()).ok() - } - pub unsafe fn deleteData(&self, offset: i32, count: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deleteData)(::windows::core::Interface::as_raw(self), offset, count).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn replaceData<'a, P0>(&self, offset: i32, count: i32, bstrstring: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).replaceData)(::windows::core::Interface::as_raw(self), offset, count, bstrstring.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDOMTextNode2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMTextNode2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDOMTextNode2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMTextNode2> for ::windows::core::IUnknown { - fn from(value: &IHTMLDOMTextNode2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDOMTextNode2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMTextNode2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDOMTextNode2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMTextNode2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDOMTextNode2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDOMTextNode2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDOMTextNode2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDOMTextNode2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDOMTextNode2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDOMTextNode2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDOMTextNode2 { - type Vtable = IHTMLDOMTextNode2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f809_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDOMTextNode2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub substringData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, count: i32, pbstrsubstring: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - substringData: usize, - #[cfg(feature = "Win32_Foundation")] - pub appendData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - appendData: usize, - #[cfg(feature = "Win32_Foundation")] - pub insertData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - insertData: usize, - pub deleteData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, count: i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub replaceData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, count: i32, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - replaceData: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDOMTextNode3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDOMTextNode3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn substringData(&self, offset: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).substringData)(::windows::core::Interface::as_raw(self), offset, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn insertData<'a, P0>(&self, offset: i32, bstrstring: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).insertData)(::windows::core::Interface::as_raw(self), offset, bstrstring.into().abi()).ok() - } - pub unsafe fn deleteData(&self, offset: i32, count: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deleteData)(::windows::core::Interface::as_raw(self), offset, count).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn replaceData<'a, P0>(&self, offset: i32, count: i32, bstrstring: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).replaceData)(::windows::core::Interface::as_raw(self), offset, count, bstrstring.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn splitText(&self, offset: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).splitText)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn wholeText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).wholeText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn replaceWholeText<'a, P0>(&self, bstrtext: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).replaceWholeText)(::windows::core::Interface::as_raw(self), bstrtext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn hasAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn normalize(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).normalize)(::windows::core::Interface::as_raw(self)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDOMTextNode3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMTextNode3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDOMTextNode3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMTextNode3> for ::windows::core::IUnknown { - fn from(value: &IHTMLDOMTextNode3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDOMTextNode3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDOMTextNode3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDOMTextNode3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDOMTextNode3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDOMTextNode3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDOMTextNode3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDOMTextNode3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDOMTextNode3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDOMTextNode3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDOMTextNode3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDOMTextNode3 { - type Vtable = IHTMLDOMTextNode3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051073e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDOMTextNode3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub substringData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, count: i32, pbstrsubstring: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - substringData: usize, - #[cfg(feature = "Win32_Foundation")] - pub insertData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - insertData: usize, - pub deleteData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, count: i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub replaceData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, count: i32, bstrstring: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - replaceData: usize, - #[cfg(feature = "Win32_System_Com")] - pub splitText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: i32, pretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - splitText: usize, - #[cfg(feature = "Win32_Foundation")] - pub wholeText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - wholeText: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub replaceWholeText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrtext: ::core::mem::ManuallyDrop, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - replaceWholeText: usize, - pub hasAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfhasattributes: *mut i16) -> ::windows::core::HRESULT, - pub normalize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDTElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDTElement { - pub unsafe fn SetnoWrap(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetnoWrap)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn noWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).noWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDTElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDTElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDTElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDTElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLDTElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDTElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDTElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDTElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDTElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDTElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDTElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDTElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDTElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDTElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDTElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDTElement { - type Vtable = IHTMLDTElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f1f3_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDTElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetnoWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub noWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDataTransfer(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDataTransfer { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn setData<'a, P0>(&self, format: P0, data: *const super::super::System::Com::VARIANT) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).setData)(::windows::core::Interface::as_raw(self), format.into().abi(), ::core::mem::transmute(data), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getData<'a, P0>(&self, format: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getData)(::windows::core::Interface::as_raw(self), format.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn clearData<'a, P0>(&self, format: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clearData)(::windows::core::Interface::as_raw(self), format.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdropEffect<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetdropEffect)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dropEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dropEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SeteffectAllowed<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SeteffectAllowed)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn effectAllowed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).effectAllowed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDataTransfer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDataTransfer> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDataTransfer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDataTransfer> for ::windows::core::IUnknown { - fn from(value: &IHTMLDataTransfer) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDataTransfer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDataTransfer> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDataTransfer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDataTransfer> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDataTransfer) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDataTransfer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDataTransfer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDataTransfer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDataTransfer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDataTransfer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDataTransfer { - type Vtable = IHTMLDataTransfer_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4b3_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDataTransfer_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub setData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, format: ::core::mem::ManuallyDrop, data: *const super::super::System::Com::VARIANT, pret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - setData: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, format: ::core::mem::ManuallyDrop, pvarret: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getData: usize, - #[cfg(feature = "Win32_Foundation")] - pub clearData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, format: ::core::mem::ManuallyDrop, pret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - clearData: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetdropEffect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetdropEffect: usize, - #[cfg(feature = "Win32_Foundation")] - pub dropEffect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dropEffect: usize, - #[cfg(feature = "Win32_Foundation")] - pub SeteffectAllowed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SeteffectAllowed: usize, - #[cfg(feature = "Win32_Foundation")] - pub effectAllowed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - effectAllowed: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDatabinding(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDatabinding { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdataFld<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetdataFld)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dataFld(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dataFld)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdataSrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetdataSrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dataSrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dataSrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdataFormatAs<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetdataFormatAs)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dataFormatAs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dataFormatAs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDatabinding) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDatabinding> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDatabinding) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDatabinding> for ::windows::core::IUnknown { - fn from(value: &IHTMLDatabinding) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDatabinding) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDatabinding> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDatabinding) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDatabinding> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDatabinding) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDatabinding { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDatabinding { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDatabinding {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDatabinding { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDatabinding").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDatabinding { - type Vtable = IHTMLDatabinding_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3f2_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDatabinding_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetdataFld: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetdataFld: usize, - #[cfg(feature = "Win32_Foundation")] - pub dataFld: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dataFld: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetdataSrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetdataSrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub dataSrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dataSrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetdataFormatAs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetdataFormatAs: usize, - #[cfg(feature = "Win32_Foundation")] - pub dataFormatAs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dataFormatAs: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDialog(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDialog { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetdialogTop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetdialogTop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn dialogTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dialogTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetdialogLeft<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetdialogLeft)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn dialogLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dialogLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetdialogWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetdialogWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn dialogWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dialogWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetdialogHeight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetdialogHeight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn dialogHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dialogHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn dialogArguments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dialogArguments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn menuArguments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).menuArguments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetreturnValue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetreturnValue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn returnValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).returnValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn close(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).close)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDialog) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDialog> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDialog) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDialog> for ::windows::core::IUnknown { - fn from(value: &IHTMLDialog) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDialog) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDialog> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDialog) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDialog> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDialog) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDialog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDialog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDialog {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDialog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDialog").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDialog { - type Vtable = IHTMLDialog_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f216_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDialog_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetdialogTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetdialogTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub dialogTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - dialogTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetdialogLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetdialogLeft: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub dialogLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - dialogLeft: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetdialogWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetdialogWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub dialogWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - dialogWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetdialogHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetdialogHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub dialogHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - dialogHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub dialogArguments: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - dialogArguments: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub menuArguments: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - menuArguments: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetreturnValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetreturnValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub returnValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - returnValue: usize, - pub close: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub toString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - toString: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDialog2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDialog2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setstatus<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setstatus)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setresizable<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setresizable)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn resizable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).resizable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDialog2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDialog2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDialog2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDialog2> for ::windows::core::IUnknown { - fn from(value: &IHTMLDialog2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDialog2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDialog2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDialog2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDialog2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDialog2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDialog2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDialog2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDialog2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDialog2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDialog2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDialog2 { - type Vtable = IHTMLDialog2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5e0_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDialog2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setstatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setstatus: usize, - #[cfg(feature = "Win32_Foundation")] - pub status: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - status: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setresizable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setresizable: usize, - #[cfg(feature = "Win32_Foundation")] - pub resizable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - resizable: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDialog3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDialog3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setunadorned<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setunadorned)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn unadorned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).unadorned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdialogHide<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetdialogHide)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dialogHide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dialogHide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDialog3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDialog3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDialog3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDialog3> for ::windows::core::IUnknown { - fn from(value: &IHTMLDialog3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDialog3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDialog3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDialog3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDialog3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDialog3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDialog3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDialog3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDialog3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDialog3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDialog3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDialog3 { - type Vtable = IHTMLDialog3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f388_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDialog3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setunadorned: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setunadorned: usize, - #[cfg(feature = "Win32_Foundation")] - pub unadorned: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - unadorned: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetdialogHide: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetdialogHide: usize, - #[cfg(feature = "Win32_Foundation")] - pub dialogHide: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dialogHide: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDivElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDivElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetnoWrap(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetnoWrap)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn noWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).noWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDivElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDivElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDivElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDivElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLDivElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDivElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDivElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDivElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDivElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDivElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDivElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDivElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDivElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDivElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDivElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDivElement { - type Vtable = IHTMLDivElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f200_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDivElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, - pub SetnoWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub noWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDivPosition(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDivPosition { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDivPosition) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDivPosition> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDivPosition) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDivPosition> for ::windows::core::IUnknown { - fn from(value: &IHTMLDivPosition) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDivPosition) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDivPosition> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDivPosition) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDivPosition> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDivPosition) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDivPosition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDivPosition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDivPosition {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDivPosition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDivPosition").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDivPosition { - type Vtable = IHTMLDivPosition_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f212_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDivPosition_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDocument(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDocument { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Script(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Script)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDocument) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocument> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDocument) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocument> for ::windows::core::IUnknown { - fn from(value: &IHTMLDocument) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDocument) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocument> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDocument) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocument> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDocument) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDocument {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDocument").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDocument { - type Vtable = IHTMLDocument_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x626fc520_a41e_11cf_a731_00a0c9082637); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDocument_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub Script: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Script: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDocument2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDocument2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Script(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.Script)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn all(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).all)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn body(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).body)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn activeElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).activeElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn images(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).images)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn applets(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).applets)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn links(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).links)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn forms(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).forms)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn anchors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).anchors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settitle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settitle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn scripts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scripts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdesignMode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetdesignMode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn designMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).designMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn selection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).selection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn frames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).frames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn embeds(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).embeds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn plugins(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).plugins)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetalinkColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetalinkColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn alinkColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).alinkColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbgColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbgColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn bgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetfgColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetfgColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn fgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetlinkColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetlinkColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn linkColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).linkColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetvlinkColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetvlinkColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn vlinkColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vlinkColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn referrer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).referrer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn location(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).location)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn lastModified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lastModified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetURL<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetURL)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn URL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).URL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdomain<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdomain)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn domain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).domain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcookie<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcookie)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setexpando(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setexpando)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn expando(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).expando)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcharset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcharset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn charset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).charset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdefaultCharset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetdefaultCharset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn defaultCharset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).defaultCharset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn mimeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).mimeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fileSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fileSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fileCreatedDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fileCreatedDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fileModifiedDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fileModifiedDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fileUpdatedDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fileUpdatedDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn security(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).security)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn nameProp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nameProp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn write(&self, psarray: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).write)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psarray)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn writeln(&self, psarray: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).writeln)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psarray)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn open<'a, P0, P1, P2, P3>(&self, url: P0, name: P1, features: P2, replace: P3) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).open)(::windows::core::Interface::as_raw(self), url.into().abi(), name.into().abi(), features.into().abi(), replace.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn close(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).close)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn clear(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn queryCommandSupported<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandSupported)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn queryCommandEnabled<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandEnabled)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn queryCommandState<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandState)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn queryCommandIndeterm<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandIndeterm)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn queryCommandText<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandText)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn queryCommandValue<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandValue)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn execCommand<'a, P0, P1>(&self, cmdid: P0, showui: i16, value: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).execCommand)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), showui, value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn execCommandShowHelp<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).execCommandShowHelp)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn createElement<'a, P0>(&self, etag: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createElement)(::windows::core::Interface::as_raw(self), etag.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonhelp<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonhelp)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onhelp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onhelp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonclick<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonclick)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onclick(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onclick)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondblclick<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondblclick)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondblclick(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondblclick)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonkeyup<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonkeyup)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onkeyup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onkeyup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonkeydown<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonkeydown)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onkeydown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onkeydown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonkeypress<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonkeypress)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onkeypress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onkeypress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmouseup<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmouseup)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmouseup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmouseup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmousedown<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmousedown)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmousedown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmousedown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmousemove<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmousemove)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmousemove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmousemove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmouseout<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmouseout)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmouseout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmouseout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmouseover<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmouseover)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmouseover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmouseover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonreadystatechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonreadystatechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonafterupdate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonafterupdate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onafterupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onafterupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonrowexit<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonrowexit)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onrowexit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onrowexit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonrowenter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonrowenter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onrowenter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onrowenter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondragstart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondragstart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondragstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondragstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonselectstart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonselectstart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onselectstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onselectstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn elementFromPoint(&self, x: i32, y: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).elementFromPoint)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn parentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).parentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn styleSheets(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).styleSheets)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbeforeupdate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbeforeupdate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbeforeupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbeforeupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonerrorupdate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonerrorupdate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onerrorupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onerrorupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn createStyleSheet<'a, P0>(&self, bstrhref: P0, lindex: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createStyleSheet)(::windows::core::Interface::as_raw(self), bstrhref.into().abi(), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDocument2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocument2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDocument2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocument2> for ::windows::core::IUnknown { - fn from(value: &IHTMLDocument2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDocument2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocument2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDocument2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocument2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDocument2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for IHTMLDocument { - fn from(value: IHTMLDocument2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocument2> for &'a IHTMLDocument { - fn from(value: &'a IHTMLDocument2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocument2> for IHTMLDocument { - fn from(value: &IHTMLDocument2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDocument2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDocument2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDocument2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDocument2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDocument2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDocument2 { - type Vtable = IHTMLDocument2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x332c4425_26cb_11d0_b483_00c04fd90119); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDocument2_Vtbl { - pub base__: IHTMLDocument_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub all: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - all: usize, - #[cfg(feature = "Win32_System_Com")] - pub body: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - body: usize, - #[cfg(feature = "Win32_System_Com")] - pub activeElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - activeElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub images: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - images: usize, - #[cfg(feature = "Win32_System_Com")] - pub applets: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - applets: usize, - #[cfg(feature = "Win32_System_Com")] - pub links: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - links: usize, - #[cfg(feature = "Win32_System_Com")] - pub forms: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - forms: usize, - #[cfg(feature = "Win32_System_Com")] - pub anchors: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - anchors: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settitle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settitle: usize, - #[cfg(feature = "Win32_Foundation")] - pub title: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - title: usize, - #[cfg(feature = "Win32_System_Com")] - pub scripts: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - scripts: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetdesignMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetdesignMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub designMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - designMode: usize, - #[cfg(feature = "Win32_System_Com")] - pub selection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - selection: usize, - #[cfg(feature = "Win32_Foundation")] - pub readyState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - readyState: usize, - #[cfg(feature = "Win32_System_Com")] - pub frames: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - frames: usize, - #[cfg(feature = "Win32_System_Com")] - pub embeds: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - embeds: usize, - #[cfg(feature = "Win32_System_Com")] - pub plugins: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - plugins: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetalinkColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetalinkColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub alinkColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - alinkColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbgColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbgColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub bgColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - bgColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetfgColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetfgColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub fgColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - fgColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetlinkColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetlinkColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub linkColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - linkColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetvlinkColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetvlinkColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub vlinkColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - vlinkColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub referrer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - referrer: usize, - #[cfg(feature = "Win32_System_Com")] - pub location: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - location: usize, - #[cfg(feature = "Win32_Foundation")] - pub lastModified: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - lastModified: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetURL: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetURL: usize, - #[cfg(feature = "Win32_Foundation")] - pub URL: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - URL: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdomain: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdomain: usize, - #[cfg(feature = "Win32_Foundation")] - pub domain: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - domain: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setcookie: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcookie: usize, - #[cfg(feature = "Win32_Foundation")] - pub cookie: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cookie: usize, - pub Setexpando: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub expando: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setcharset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcharset: usize, - #[cfg(feature = "Win32_Foundation")] - pub charset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - charset: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetdefaultCharset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetdefaultCharset: usize, - #[cfg(feature = "Win32_Foundation")] - pub defaultCharset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - defaultCharset: usize, - #[cfg(feature = "Win32_Foundation")] - pub mimeType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - mimeType: usize, - #[cfg(feature = "Win32_Foundation")] - pub fileSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fileSize: usize, - #[cfg(feature = "Win32_Foundation")] - pub fileCreatedDate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fileCreatedDate: usize, - #[cfg(feature = "Win32_Foundation")] - pub fileModifiedDate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fileModifiedDate: usize, - #[cfg(feature = "Win32_Foundation")] - pub fileUpdatedDate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fileUpdatedDate: usize, - #[cfg(feature = "Win32_Foundation")] - pub security: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - security: usize, - #[cfg(feature = "Win32_Foundation")] - pub protocol: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - protocol: usize, - #[cfg(feature = "Win32_Foundation")] - pub nameProp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - nameProp: usize, - #[cfg(feature = "Win32_System_Com")] - pub write: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psarray: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - write: usize, - #[cfg(feature = "Win32_System_Com")] - pub writeln: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psarray: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - writeln: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub open: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, url: ::core::mem::ManuallyDrop, name: ::core::mem::ManuallyDrop, features: ::core::mem::ManuallyDrop, replace: ::core::mem::ManuallyDrop, pomwindowresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - open: usize, - pub close: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub queryCommandSupported: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - queryCommandSupported: usize, - #[cfg(feature = "Win32_Foundation")] - pub queryCommandEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - queryCommandEnabled: usize, - #[cfg(feature = "Win32_Foundation")] - pub queryCommandState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - queryCommandState: usize, - #[cfg(feature = "Win32_Foundation")] - pub queryCommandIndeterm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - queryCommandIndeterm: usize, - #[cfg(feature = "Win32_Foundation")] - pub queryCommandText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pcmdtext: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - queryCommandText: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub queryCommandValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pcmdvalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - queryCommandValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub execCommand: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, showui: i16, value: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - execCommand: usize, - #[cfg(feature = "Win32_Foundation")] - pub execCommandShowHelp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - execCommandShowHelp: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub createElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, etag: ::core::mem::ManuallyDrop, newelem: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - createElement: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonhelp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonhelp: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onhelp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onhelp: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonclick: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonclick: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onclick: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onclick: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondblclick: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondblclick: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondblclick: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondblclick: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonkeyup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonkeyup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onkeyup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onkeyup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonkeydown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonkeydown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onkeydown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onkeydown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonkeypress: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonkeypress: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onkeypress: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onkeypress: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmouseup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmouseup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmouseup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmouseup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmousedown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmousedown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmousedown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmousedown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmousemove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmousemove: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmousemove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmousemove: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmouseout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmouseout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmouseout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmouseout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmouseover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmouseover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmouseover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmouseover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonreadystatechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onreadystatechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonafterupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonafterupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onafterupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onafterupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonrowexit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonrowexit: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onrowexit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onrowexit: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonrowenter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonrowenter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onrowenter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onrowenter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondragstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondragstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondragstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondragstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonselectstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonselectstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onselectstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onselectstart: usize, - #[cfg(feature = "Win32_System_Com")] - pub elementFromPoint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: i32, y: i32, elementhit: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - elementFromPoint: usize, - #[cfg(feature = "Win32_System_Com")] - pub parentWindow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - parentWindow: usize, - #[cfg(feature = "Win32_System_Com")] - pub styleSheets: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - styleSheets: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbeforeupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbeforeupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbeforeupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbeforeupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonerrorupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonerrorupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onerrorupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onerrorupdate: usize, - #[cfg(feature = "Win32_Foundation")] - pub toString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - toString: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub createStyleSheet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrhref: ::core::mem::ManuallyDrop, lindex: i32, ppnewstylesheet: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - createStyleSheet: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDocument3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDocument3 { - pub unsafe fn releaseCapture(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).releaseCapture)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn recalc(&self, fforce: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).recalc)(::windows::core::Interface::as_raw(self), fforce).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn createTextNode<'a, P0>(&self, text: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createTextNode)(::windows::core::Interface::as_raw(self), text.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn documentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).documentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn uniqueID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).uniqueID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn attachEvent<'a, P0, P1>(&self, event: P0, pdisp: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).attachEvent)(::windows::core::Interface::as_raw(self), event.into().abi(), pdisp.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn detachEvent<'a, P0, P1>(&self, event: P0, pdisp: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).detachEvent)(::windows::core::Interface::as_raw(self), event.into().abi(), pdisp.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonrowsdelete<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonrowsdelete)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onrowsdelete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onrowsdelete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonrowsinserted<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonrowsinserted)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onrowsinserted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onrowsinserted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoncellchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoncellchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oncellchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oncellchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondatasetchanged<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondatasetchanged)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondatasetchanged(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondatasetchanged)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondataavailable<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondataavailable)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondataavailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondataavailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondatasetcomplete<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondatasetcomplete)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondatasetcomplete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondatasetcomplete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonpropertychange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonpropertychange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onpropertychange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onpropertychange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdir<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdir)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dir(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dir)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoncontextmenu<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoncontextmenu)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oncontextmenu(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oncontextmenu)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonstop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonstop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onstop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onstop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createDocumentFragment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createDocumentFragment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn parentDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).parentDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetenableDownload(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetenableDownload)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn enableDownload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).enableDownload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbaseUrl<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbaseUrl)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn baseUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).baseUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetinheritStyleSheets(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetinheritStyleSheets)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn inheritStyleSheets(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).inheritStyleSheets)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbeforeeditfocus<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbeforeeditfocus)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbeforeeditfocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbeforeeditfocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn getElementsByName<'a, P0>(&self, v: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getElementsByName)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn getElementById<'a, P0>(&self, v: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getElementById)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn getElementsByTagName<'a, P0>(&self, v: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getElementsByTagName)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDocument3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocument3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDocument3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocument3> for ::windows::core::IUnknown { - fn from(value: &IHTMLDocument3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDocument3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocument3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDocument3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocument3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDocument3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDocument3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDocument3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDocument3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDocument3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDocument3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDocument3 { - type Vtable = IHTMLDocument3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f485_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDocument3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub releaseCapture: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub recalc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fforce: i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub createTextNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, text: ::core::mem::ManuallyDrop, newtextnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - createTextNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub documentElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - documentElement: usize, - #[cfg(feature = "Win32_Foundation")] - pub uniqueID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - uniqueID: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub attachEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, event: ::core::mem::ManuallyDrop, pdisp: *mut ::core::ffi::c_void, pfresult: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - attachEvent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub detachEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, event: ::core::mem::ManuallyDrop, pdisp: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - detachEvent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonrowsdelete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonrowsdelete: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onrowsdelete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onrowsdelete: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonrowsinserted: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonrowsinserted: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onrowsinserted: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onrowsinserted: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoncellchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoncellchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oncellchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oncellchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondatasetchanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondatasetchanged: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondatasetchanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondatasetchanged: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondataavailable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondataavailable: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondataavailable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondataavailable: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondatasetcomplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondatasetcomplete: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondatasetcomplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondatasetcomplete: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonpropertychange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonpropertychange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onpropertychange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onpropertychange: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdir: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdir: usize, - #[cfg(feature = "Win32_Foundation")] - pub dir: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dir: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoncontextmenu: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoncontextmenu: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oncontextmenu: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oncontextmenu: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonstop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonstop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onstop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onstop: usize, - #[cfg(feature = "Win32_System_Com")] - pub createDocumentFragment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnewdoc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createDocumentFragment: usize, - #[cfg(feature = "Win32_System_Com")] - pub parentDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - parentDocument: usize, - pub SetenableDownload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub enableDownload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetbaseUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbaseUrl: usize, - #[cfg(feature = "Win32_Foundation")] - pub baseUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - baseUrl: usize, - #[cfg(feature = "Win32_System_Com")] - pub childNodes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - childNodes: usize, - pub SetinheritStyleSheets: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub inheritStyleSheets: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbeforeeditfocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbeforeeditfocus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbeforeeditfocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbeforeeditfocus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub getElementsByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pelcoll: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - getElementsByName: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub getElementById: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pel: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - getElementById: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub getElementsByTagName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pelcoll: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - getElementsByTagName: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDocument4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDocument4 { - pub unsafe fn focus(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).focus)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn hasFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonselectionchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonselectionchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onselectionchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onselectionchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn namespaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).namespaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn createDocumentFromUrl<'a, P0, P1>(&self, bstrurl: P0, bstroptions: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createDocumentFromUrl)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), bstroptions.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setmedia<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setmedia)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn createEventObject(&self, pvareventobject: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createEventObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvareventobject), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn fireEvent<'a, P0>(&self, bstreventname: P0, pvareventobject: *const super::super::System::Com::VARIANT) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fireEvent)(::windows::core::Interface::as_raw(self), bstreventname.into().abi(), ::core::mem::transmute(pvareventobject), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn createRenderStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createRenderStyle)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoncontrolselect<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoncontrolselect)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oncontrolselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oncontrolselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn URLUnencoded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).URLUnencoded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDocument4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocument4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDocument4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocument4> for ::windows::core::IUnknown { - fn from(value: &IHTMLDocument4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDocument4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocument4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDocument4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocument4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDocument4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDocument4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDocument4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDocument4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDocument4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDocument4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDocument4 { - type Vtable = IHTMLDocument4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f69a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDocument4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub focus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub hasFocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pffocus: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonselectionchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonselectionchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onselectionchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onselectionchange: usize, - #[cfg(feature = "Win32_System_Com")] - pub namespaces: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - namespaces: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub createDocumentFromUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, bstroptions: ::core::mem::ManuallyDrop, newdoc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - createDocumentFromUrl: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setmedia: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setmedia: usize, - #[cfg(feature = "Win32_Foundation")] - pub media: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - media: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub createEventObject: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvareventobject: *const super::super::System::Com::VARIANT, ppeventobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - createEventObject: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub fireEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstreventname: ::core::mem::ManuallyDrop, pvareventobject: *const super::super::System::Com::VARIANT, pfcancelled: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - fireEvent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub createRenderStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, ppihtmlrenderstyle: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - createRenderStyle: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoncontrolselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoncontrolselect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oncontrolselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oncontrolselect: usize, - #[cfg(feature = "Win32_Foundation")] - pub URLUnencoded: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - URLUnencoded: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDocument5(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDocument5 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmousewheel<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmousewheel)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmousewheel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmousewheel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn doctype(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).doctype)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn implementation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).implementation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn createAttribute<'a, P0>(&self, bstrattrname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createAttribute)(::windows::core::Interface::as_raw(self), bstrattrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn createComment<'a, P0>(&self, bstrdata: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createComment)(::windows::core::Interface::as_raw(self), bstrdata.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonfocusin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonfocusin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onfocusin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onfocusin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonfocusout<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonfocusout)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onfocusout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onfocusout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonactivate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonactivate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondeactivate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondeactivate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondeactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondeactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbeforeactivate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbeforeactivate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbeforeactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbeforeactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbeforedeactivate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbeforedeactivate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbeforedeactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbeforedeactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn compatMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).compatMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDocument5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocument5> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDocument5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocument5> for ::windows::core::IUnknown { - fn from(value: &IHTMLDocument5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDocument5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocument5> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDocument5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocument5> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDocument5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDocument5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDocument5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDocument5 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDocument5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDocument5").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDocument5 { - type Vtable = IHTMLDocument5_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f80c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDocument5_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmousewheel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmousewheel: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmousewheel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmousewheel: usize, - #[cfg(feature = "Win32_System_Com")] - pub doctype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - doctype: usize, - #[cfg(feature = "Win32_System_Com")] - pub implementation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - implementation: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub createAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrattrname: ::core::mem::ManuallyDrop, ppattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - createAttribute: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub createComment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrdata: ::core::mem::ManuallyDrop, ppretnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - createComment: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonfocusin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonfocusin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onfocusin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onfocusin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonfocusout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonfocusout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onfocusout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onfocusout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonactivate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onactivate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondeactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondeactivate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondeactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondeactivate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbeforeactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbeforeactivate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbeforeactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbeforeactivate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbeforedeactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbeforedeactivate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbeforedeactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbeforedeactivate: usize, - #[cfg(feature = "Win32_Foundation")] - pub compatMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - compatMode: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDocument6(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDocument6 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn compatible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).compatible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn documentMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).documentMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonstorage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonstorage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onstorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onstorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonstoragecommit<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonstoragecommit)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onstoragecommit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onstoragecommit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn getElementById<'a, P0>(&self, bstrid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getElementById)(::windows::core::Interface::as_raw(self), bstrid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn updateSettings(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).updateSettings)(::windows::core::Interface::as_raw(self)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDocument6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocument6> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDocument6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocument6> for ::windows::core::IUnknown { - fn from(value: &IHTMLDocument6) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDocument6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocument6> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDocument6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocument6> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDocument6) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDocument6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDocument6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDocument6 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDocument6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDocument6").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDocument6 { - type Vtable = IHTMLDocument6_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510417_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDocument6_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub compatible: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - compatible: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub documentMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - documentMode: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonstorage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonstorage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onstorage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onstorage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonstoragecommit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonstoragecommit: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onstoragecommit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onstoragecommit: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub getElementById: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrid: ::core::mem::ManuallyDrop, ppretelement: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - getElementById: usize, - pub updateSettings: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDocument7(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDocument7 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn defaultView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).defaultView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn createCDATASection<'a, P0>(&self, text: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createCDATASection)(::windows::core::Interface::as_raw(self), text.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getElementsByTagNameNS<'a, P0>(&self, pvarns: *const super::super::System::Com::VARIANT, bstrlocalname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getElementsByTagNameNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), bstrlocalname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn createElementNS<'a, P0>(&self, pvarns: *const super::super::System::Com::VARIANT, bstrtag: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createElementNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), bstrtag.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn createAttributeNS<'a, P0>(&self, pvarns: *const super::super::System::Com::VARIANT, bstrattrname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createAttributeNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), bstrattrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsthumbnailclick<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsthumbnailclick)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsthumbnailclick(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsthumbnailclick)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn characterSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).characterSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn createElement<'a, P0>(&self, bstrtag: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createElement)(::windows::core::Interface::as_raw(self), bstrtag.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn createAttribute<'a, P0>(&self, bstrattrname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createAttribute)(::windows::core::Interface::as_raw(self), bstrattrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn getElementsByClassName<'a, P0>(&self, v: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getElementsByClassName)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn createProcessingInstruction<'a, P0, P1>(&self, bstrtarget: P0, bstrdata: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createProcessingInstruction)(::windows::core::Interface::as_raw(self), bstrtarget.into().abi(), bstrdata.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn adoptNode<'a, P0>(&self, pnodesource: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).adoptNode)(::windows::core::Interface::as_raw(self), pnodesource.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmssitemodejumplistitemremoved<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmssitemodejumplistitemremoved)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmssitemodejumplistitemremoved(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmssitemodejumplistitemremoved)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn all(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).all)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn inputEncoding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).inputEncoding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn xmlEncoding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).xmlEncoding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetxmlStandalone(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetxmlStandalone)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn xmlStandalone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).xmlStandalone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetxmlVersion<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetxmlVersion)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn xmlVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).xmlVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn hasAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonabort<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonabort)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onabort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onabort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonblur<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonblur)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onblur(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onblur)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoncanplay<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoncanplay)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oncanplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oncanplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoncanplaythrough<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoncanplaythrough)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oncanplaythrough(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oncanplaythrough)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondrag<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondrag)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondrag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondrag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondragend<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondragend)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondragend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondragend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondragenter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondragenter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondragenter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondragenter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondragleave<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondragleave)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondragleave(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondragleave)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondragover<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondragover)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondragover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondragover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondrop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondrop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondrop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondrop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondurationchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondurationchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondurationchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondurationchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonemptied<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonemptied)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onemptied(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onemptied)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonended<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonended)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onended(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onended)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonerror<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonerror)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonfocus<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonfocus)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onfocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onfocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoninput<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoninput)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oninput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oninput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonloadeddata<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonloadeddata)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onloadeddata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onloadeddata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonloadedmetadata<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonloadedmetadata)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onloadedmetadata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onloadedmetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonloadstart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonloadstart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onloadstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onloadstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonpause<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonpause)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onpause(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onpause)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonplay<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonplay)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonplaying<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonplaying)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onplaying(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onplaying)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonprogress<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonprogress)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onprogress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onprogress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonratechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonratechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onratechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onratechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonreset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonreset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onreset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onreset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonscroll<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonscroll)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onscroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onscroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonseeked<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonseeked)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onseeked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onseeked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonseeking<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonseeking)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onseeking(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onseeking)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonselect<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonselect)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonstalled<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonstalled)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonsubmit<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonsubmit)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onsubmit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onsubmit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonsuspend<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonsuspend)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onsuspend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onsuspend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setontimeupdate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setontimeupdate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ontimeupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ontimeupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonvolumechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonvolumechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onvolumechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onvolumechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonwaiting<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonwaiting)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onwaiting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onwaiting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn normalize(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).normalize)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn importNode<'a, P0>(&self, pnodesource: P0, fdeep: i16) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).importNode)(::windows::core::Interface::as_raw(self), pnodesource.into().abi(), fdeep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn parentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).parentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_body<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).putref_body)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn body(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).body)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn head(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).head)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDocument7) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocument7> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDocument7) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocument7> for ::windows::core::IUnknown { - fn from(value: &IHTMLDocument7) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDocument7) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocument7> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDocument7) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocument7> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDocument7) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDocument7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDocument7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDocument7 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDocument7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDocument7").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDocument7 { - type Vtable = IHTMLDocument7_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104b8_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDocument7_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub defaultView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - defaultView: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub createCDATASection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, text: ::core::mem::ManuallyDrop, newcdatasectionnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - createCDATASection: usize, - #[cfg(feature = "Win32_System_Com")] - pub getSelection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppihtmlselection: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getSelection: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getElementsByTagNameNS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, bstrlocalname: ::core::mem::ManuallyDrop, pelcoll: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getElementsByTagNameNS: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub createElementNS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, bstrtag: ::core::mem::ManuallyDrop, newelem: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - createElementNS: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub createAttributeNS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, bstrattrname: ::core::mem::ManuallyDrop, ppattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - createAttributeNS: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsthumbnailclick: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsthumbnailclick: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsthumbnailclick: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsthumbnailclick: usize, - #[cfg(feature = "Win32_Foundation")] - pub characterSet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - characterSet: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub createElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrtag: ::core::mem::ManuallyDrop, newelem: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - createElement: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub createAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrattrname: ::core::mem::ManuallyDrop, ppattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - createAttribute: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub getElementsByClassName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pel: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - getElementsByClassName: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub createProcessingInstruction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrtarget: ::core::mem::ManuallyDrop, bstrdata: ::core::mem::ManuallyDrop, newprocessinginstruction: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - createProcessingInstruction: usize, - #[cfg(feature = "Win32_System_Com")] - pub adoptNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnodesource: *mut ::core::ffi::c_void, ppnodedest: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - adoptNode: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmssitemodejumplistitemremoved: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmssitemodejumplistitemremoved: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmssitemodejumplistitemremoved: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmssitemodejumplistitemremoved: usize, - #[cfg(feature = "Win32_System_Com")] - pub all: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - all: usize, - #[cfg(feature = "Win32_Foundation")] - pub inputEncoding: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - inputEncoding: usize, - #[cfg(feature = "Win32_Foundation")] - pub xmlEncoding: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - xmlEncoding: usize, - pub SetxmlStandalone: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub xmlStandalone: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetxmlVersion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetxmlVersion: usize, - #[cfg(feature = "Win32_Foundation")] - pub xmlVersion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - xmlVersion: usize, - pub hasAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfhasattributes: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonabort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonabort: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onabort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onabort: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonblur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonblur: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onblur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onblur: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoncanplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoncanplay: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oncanplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oncanplay: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoncanplaythrough: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoncanplaythrough: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oncanplaythrough: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oncanplaythrough: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondrag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondrag: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondrag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondrag: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondragend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondragend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondragend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondragend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondragenter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondragenter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondragenter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondragenter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondragleave: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondragleave: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondragleave: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondragleave: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondragover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondragover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondragover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondragover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondrop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondrop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondrop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondrop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondurationchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondurationchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondurationchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondurationchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonemptied: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonemptied: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onemptied: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onemptied: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonended: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonended: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onended: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onended: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonfocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonfocus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onfocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onfocus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoninput: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoninput: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oninput: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oninput: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonloadeddata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonloadeddata: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onloadeddata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onloadeddata: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonloadedmetadata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonloadedmetadata: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onloadedmetadata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onloadedmetadata: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonloadstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonloadstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onloadstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onloadstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonpause: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonpause: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onpause: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onpause: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonplay: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onplay: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonplaying: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonplaying: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onplaying: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onplaying: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonprogress: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonprogress: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onprogress: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onprogress: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonratechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonratechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onratechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onratechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonreset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonreset: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onreset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onreset: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonscroll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonscroll: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onscroll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onscroll: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonseeked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonseeked: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onseeked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onseeked: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonseeking: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonseeking: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onseeking: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onseeking: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonselect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onselect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonstalled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonstalled: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onstalled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onstalled: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonsubmit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonsubmit: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onsubmit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onsubmit: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonsuspend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonsuspend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onsuspend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onsuspend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setontimeupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setontimeupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ontimeupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ontimeupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonvolumechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonvolumechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onvolumechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onvolumechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonwaiting: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonwaiting: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onwaiting: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onwaiting: usize, - pub normalize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub importNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnodesource: *mut ::core::ffi::c_void, fdeep: i16, ppnodedest: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - importNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub parentWindow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - parentWindow: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_body: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_body: usize, - #[cfg(feature = "Win32_System_Com")] - pub body: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - body: usize, - #[cfg(feature = "Win32_System_Com")] - pub head: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - head: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDocument8(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDocument8 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmscontentzoom<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmscontentzoom)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmscontentzoom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmscontentzoom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointerdown<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointerdown)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointerdown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointerdown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointermove<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointermove)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointermove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointermove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointerup<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointerup)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointerup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointerup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointerover<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointerover)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointerover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointerover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointerout<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointerout)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointerout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointerout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointercancel<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointercancel)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointercancel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointercancel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointerhover<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointerhover)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointerhover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointerhover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgesturestart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgesturestart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgesturestart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgesturestart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgesturechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgesturechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgesturechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgesturechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgestureend<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgestureend)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgestureend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgestureend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgesturehold<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgesturehold)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgesturehold(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgesturehold)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgesturetap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgesturetap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgesturetap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgesturetap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgesturedoubletap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgesturedoubletap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgesturedoubletap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgesturedoubletap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsinertiastart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsinertiastart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsinertiastart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsinertiastart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn elementsFromPoint(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).elementsFromPoint)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn elementsFromRect(&self, left: f32, top: f32, width: f32, height: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).elementsFromRect)(::windows::core::Interface::as_raw(self), left, top, width, height, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsmanipulationstatechanged<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsmanipulationstatechanged)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsmanipulationstatechanged(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsmanipulationstatechanged)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmsCapsLockWarningOff(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetmsCapsLockWarningOff)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn msCapsLockWarningOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msCapsLockWarningOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDocument8) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocument8> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDocument8) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocument8> for ::windows::core::IUnknown { - fn from(value: &IHTMLDocument8) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDocument8) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocument8> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDocument8) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocument8> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDocument8) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDocument8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDocument8 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDocument8 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDocument8 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDocument8").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDocument8 { - type Vtable = IHTMLDocument8_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107d0_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDocument8_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmscontentzoom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmscontentzoom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmscontentzoom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmscontentzoom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointerdown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointerdown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointerdown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointerdown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointermove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointermove: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointermove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointermove: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointerup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointerup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointerup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointerup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointerover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointerover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointerover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointerover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointerout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointerout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointerout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointerout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointercancel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointercancel: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointercancel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointercancel: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointerhover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointerhover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointerhover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointerhover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgesturestart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgesturestart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgesturestart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgesturestart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgesturechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgesturechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgesturechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgesturechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgestureend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgestureend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgestureend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgestureend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgesturehold: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgesturehold: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgesturehold: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgesturehold: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgesturetap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgesturetap: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgesturetap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgesturetap: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgesturedoubletap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgesturedoubletap: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgesturedoubletap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgesturedoubletap: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsinertiastart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsinertiastart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsinertiastart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsinertiastart: usize, - #[cfg(feature = "Win32_System_Com")] - pub elementsFromPoint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, elementshit: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - elementsFromPoint: usize, - #[cfg(feature = "Win32_System_Com")] - pub elementsFromRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, left: f32, top: f32, width: f32, height: f32, elementshit: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - elementsFromRect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsmanipulationstatechanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsmanipulationstatechanged: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsmanipulationstatechanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsmanipulationstatechanged: usize, - pub SetmsCapsLockWarningOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub msCapsLockWarningOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDocumentCompatibleInfo(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDocumentCompatibleInfo { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn userAgent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).userAgent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDocumentCompatibleInfo) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocumentCompatibleInfo> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDocumentCompatibleInfo) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocumentCompatibleInfo> for ::windows::core::IUnknown { - fn from(value: &IHTMLDocumentCompatibleInfo) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDocumentCompatibleInfo) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocumentCompatibleInfo> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDocumentCompatibleInfo) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocumentCompatibleInfo> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDocumentCompatibleInfo) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDocumentCompatibleInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDocumentCompatibleInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDocumentCompatibleInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDocumentCompatibleInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDocumentCompatibleInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDocumentCompatibleInfo { - type Vtable = IHTMLDocumentCompatibleInfo_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051041a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDocumentCompatibleInfo_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub userAgent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - userAgent: usize, - #[cfg(feature = "Win32_Foundation")] - pub version: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - version: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLDocumentCompatibleInfoCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLDocumentCompatibleInfoCollection { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLDocumentCompatibleInfoCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocumentCompatibleInfoCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLDocumentCompatibleInfoCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocumentCompatibleInfoCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLDocumentCompatibleInfoCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLDocumentCompatibleInfoCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLDocumentCompatibleInfoCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLDocumentCompatibleInfoCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLDocumentCompatibleInfoCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLDocumentCompatibleInfoCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLDocumentCompatibleInfoCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLDocumentCompatibleInfoCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLDocumentCompatibleInfoCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLDocumentCompatibleInfoCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLDocumentCompatibleInfoCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLDocumentCompatibleInfoCollection { - type Vtable = IHTMLDocumentCompatibleInfoCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510418_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLDocumentCompatibleInfoCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, compatibleinfo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLEditDesigner(::windows::core::IUnknown); -impl IHTMLEditDesigner { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn PreHandleEvent<'a, P0>(&self, inevtdispid: i32, pieventobj: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLEventObj>>, - { - (::windows::core::Interface::vtable(self).PreHandleEvent)(::windows::core::Interface::as_raw(self), inevtdispid, pieventobj.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn PostHandleEvent<'a, P0>(&self, inevtdispid: i32, pieventobj: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLEventObj>>, - { - (::windows::core::Interface::vtable(self).PostHandleEvent)(::windows::core::Interface::as_raw(self), inevtdispid, pieventobj.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn TranslateAccelerator<'a, P0>(&self, inevtdispid: i32, pieventobj: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLEventObj>>, - { - (::windows::core::Interface::vtable(self).TranslateAccelerator)(::windows::core::Interface::as_raw(self), inevtdispid, pieventobj.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn PostEditorEventNotify<'a, P0>(&self, inevtdispid: i32, pieventobj: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLEventObj>>, - { - (::windows::core::Interface::vtable(self).PostEditorEventNotify)(::windows::core::Interface::as_raw(self), inevtdispid, pieventobj.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLEditDesigner) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLEditDesigner> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLEditDesigner) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLEditDesigner> for ::windows::core::IUnknown { - fn from(value: &IHTMLEditDesigner) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLEditDesigner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLEditDesigner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLEditDesigner {} -impl ::core::fmt::Debug for IHTMLEditDesigner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLEditDesigner").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLEditDesigner { - type Vtable = IHTMLEditDesigner_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f662_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLEditDesigner_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_System_Com")] - pub PreHandleEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, inevtdispid: i32, pieventobj: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - PreHandleEvent: usize, - #[cfg(feature = "Win32_System_Com")] - pub PostHandleEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, inevtdispid: i32, pieventobj: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - PostHandleEvent: usize, - #[cfg(feature = "Win32_System_Com")] - pub TranslateAccelerator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, inevtdispid: i32, pieventobj: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - TranslateAccelerator: usize, - #[cfg(feature = "Win32_System_Com")] - pub PostEditorEventNotify: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, inevtdispid: i32, pieventobj: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - PostEditorEventNotify: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLEditHost(::windows::core::IUnknown); -impl IHTMLEditHost { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn SnapRect<'a, P0>(&self, pielement: P0, prcnew: *mut super::super::Foundation::RECT, ehandle: ELEMENT_CORNER) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).SnapRect)(::windows::core::Interface::as_raw(self), pielement.into().abi(), ::core::mem::transmute(prcnew), ehandle).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLEditHost) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLEditHost> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLEditHost) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLEditHost> for ::windows::core::IUnknown { - fn from(value: &IHTMLEditHost) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLEditHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLEditHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLEditHost {} -impl ::core::fmt::Debug for IHTMLEditHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLEditHost").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLEditHost { - type Vtable = IHTMLEditHost_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6a0_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLEditHost_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub SnapRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pielement: *mut ::core::ffi::c_void, prcnew: *mut super::super::Foundation::RECT, ehandle: ELEMENT_CORNER) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - SnapRect: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLEditHost2(::windows::core::IUnknown); -impl IHTMLEditHost2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn SnapRect<'a, P0>(&self, pielement: P0, prcnew: *mut super::super::Foundation::RECT, ehandle: ELEMENT_CORNER) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).base__.SnapRect)(::windows::core::Interface::as_raw(self), pielement.into().abi(), ::core::mem::transmute(prcnew), ehandle).ok() - } - pub unsafe fn PreDrag(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).PreDrag)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLEditHost2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLEditHost2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLEditHost2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLEditHost2> for ::windows::core::IUnknown { - fn from(value: &IHTMLEditHost2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for IHTMLEditHost { - fn from(value: IHTMLEditHost2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLEditHost2> for &'a IHTMLEditHost { - fn from(value: &'a IHTMLEditHost2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLEditHost2> for IHTMLEditHost { - fn from(value: &IHTMLEditHost2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLEditHost2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLEditHost2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLEditHost2 {} -impl ::core::fmt::Debug for IHTMLEditHost2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLEditHost2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLEditHost2 { - type Vtable = IHTMLEditHost2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f848_98b5_11cf_bb82_00aa00bdce0d); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLEditHost2_Vtbl { - pub base__: IHTMLEditHost_Vtbl, - pub PreDrag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLEditServices(::windows::core::IUnknown); -impl IHTMLEditServices { - pub unsafe fn AddDesigner<'a, P0>(&self, pidesigner: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLEditDesigner>>, - { - (::windows::core::Interface::vtable(self).AddDesigner)(::windows::core::Interface::as_raw(self), pidesigner.into().abi()).ok() - } - pub unsafe fn RemoveDesigner<'a, P0>(&self, pidesigner: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLEditDesigner>>, - { - (::windows::core::Interface::vtable(self).RemoveDesigner)(::windows::core::Interface::as_raw(self), pidesigner.into().abi()).ok() - } - pub unsafe fn GetSelectionServices<'a, P0>(&self, picontainer: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupContainer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetSelectionServices)(::windows::core::Interface::as_raw(self), picontainer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn MoveToSelectionAnchor<'a, P0>(&self, pistartanchor: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).MoveToSelectionAnchor)(::windows::core::Interface::as_raw(self), pistartanchor.into().abi()).ok() - } - pub unsafe fn MoveToSelectionEnd<'a, P0>(&self, piendanchor: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).MoveToSelectionEnd)(::windows::core::Interface::as_raw(self), piendanchor.into().abi()).ok() - } - pub unsafe fn SelectRange<'a, P0, P1>(&self, pstart: P0, pend: P1, etype: SELECTION_TYPE) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).SelectRange)(::windows::core::Interface::as_raw(self), pstart.into().abi(), pend.into().abi(), etype).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLEditServices) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLEditServices> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLEditServices) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLEditServices> for ::windows::core::IUnknown { - fn from(value: &IHTMLEditServices) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLEditServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLEditServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLEditServices {} -impl ::core::fmt::Debug for IHTMLEditServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLEditServices").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLEditServices { - type Vtable = IHTMLEditServices_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f663_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLEditServices_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub AddDesigner: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pidesigner: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub RemoveDesigner: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pidesigner: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub GetSelectionServices: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, picontainer: *mut ::core::ffi::c_void, ppselsvc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub MoveToSelectionAnchor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pistartanchor: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub MoveToSelectionEnd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, piendanchor: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub SelectRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstart: *mut ::core::ffi::c_void, pend: *mut ::core::ffi::c_void, etype: SELECTION_TYPE) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLEditServices2(::windows::core::IUnknown); -impl IHTMLEditServices2 { - pub unsafe fn AddDesigner<'a, P0>(&self, pidesigner: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLEditDesigner>>, - { - (::windows::core::Interface::vtable(self).base__.AddDesigner)(::windows::core::Interface::as_raw(self), pidesigner.into().abi()).ok() - } - pub unsafe fn RemoveDesigner<'a, P0>(&self, pidesigner: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLEditDesigner>>, - { - (::windows::core::Interface::vtable(self).base__.RemoveDesigner)(::windows::core::Interface::as_raw(self), pidesigner.into().abi()).ok() - } - pub unsafe fn GetSelectionServices<'a, P0>(&self, picontainer: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupContainer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetSelectionServices)(::windows::core::Interface::as_raw(self), picontainer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn MoveToSelectionAnchor<'a, P0>(&self, pistartanchor: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).base__.MoveToSelectionAnchor)(::windows::core::Interface::as_raw(self), pistartanchor.into().abi()).ok() - } - pub unsafe fn MoveToSelectionEnd<'a, P0>(&self, piendanchor: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).base__.MoveToSelectionEnd)(::windows::core::Interface::as_raw(self), piendanchor.into().abi()).ok() - } - pub unsafe fn SelectRange<'a, P0, P1>(&self, pstart: P0, pend: P1, etype: SELECTION_TYPE) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).base__.SelectRange)(::windows::core::Interface::as_raw(self), pstart.into().abi(), pend.into().abi(), etype).ok() - } - pub unsafe fn MoveToSelectionAnchorEx<'a, P0>(&self, pistartanchor: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, - { - (::windows::core::Interface::vtable(self).MoveToSelectionAnchorEx)(::windows::core::Interface::as_raw(self), pistartanchor.into().abi()).ok() - } - pub unsafe fn MoveToSelectionEndEx<'a, P0>(&self, piendanchor: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, - { - (::windows::core::Interface::vtable(self).MoveToSelectionEndEx)(::windows::core::Interface::as_raw(self), piendanchor.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn FreezeVirtualCaretPos<'a, P0>(&self, frecompute: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).FreezeVirtualCaretPos)(::windows::core::Interface::as_raw(self), frecompute.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn UnFreezeVirtualCaretPos<'a, P0>(&self, freset: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).UnFreezeVirtualCaretPos)(::windows::core::Interface::as_raw(self), freset.into()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLEditServices2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLEditServices2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLEditServices2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLEditServices2> for ::windows::core::IUnknown { - fn from(value: &IHTMLEditServices2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for IHTMLEditServices { - fn from(value: IHTMLEditServices2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLEditServices2> for &'a IHTMLEditServices { - fn from(value: &'a IHTMLEditServices2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLEditServices2> for IHTMLEditServices { - fn from(value: &IHTMLEditServices2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLEditServices2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLEditServices2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLEditServices2 {} -impl ::core::fmt::Debug for IHTMLEditServices2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLEditServices2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLEditServices2 { - type Vtable = IHTMLEditServices2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f812_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLEditServices2_Vtbl { - pub base__: IHTMLEditServices_Vtbl, - pub MoveToSelectionAnchorEx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pistartanchor: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub MoveToSelectionEndEx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, piendanchor: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub FreezeVirtualCaretPos: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, frecompute: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - FreezeVirtualCaretPos: usize, - #[cfg(feature = "Win32_Foundation")] - pub UnFreezeVirtualCaretPos: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, freset: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - UnFreezeVirtualCaretPos: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLElement { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn setAttribute<'a, P0, P1>(&self, strattributename: P0, attributevalue: P1, lflags: i32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).setAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), attributevalue.into().abi(), lflags).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getAttribute<'a, P0>(&self, strattributename: P0, lflags: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn removeAttribute<'a, P0>(&self, strattributename: P0, lflags: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetclassName<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetclassName)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn className(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).className)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setid<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setid)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn tagName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tagName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn parentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).parentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn style(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).style)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonhelp<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonhelp)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onhelp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onhelp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonclick<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonclick)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onclick(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onclick)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondblclick<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondblclick)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondblclick(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondblclick)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonkeydown<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonkeydown)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onkeydown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onkeydown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonkeyup<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonkeyup)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onkeyup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onkeyup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonkeypress<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonkeypress)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onkeypress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onkeypress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmouseout<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmouseout)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmouseout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmouseout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmouseover<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmouseover)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmouseover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmouseover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmousemove<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmousemove)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmousemove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmousemove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmousedown<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmousedown)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmousedown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmousedown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmouseup<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmouseup)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmouseup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmouseup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn document(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settitle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settitle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setlanguage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setlanguage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn language(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).language)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonselectstart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonselectstart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onselectstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onselectstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollIntoView<'a, P0>(&self, varargstart: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).scrollIntoView)(::windows::core::Interface::as_raw(self), varargstart.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn contains<'a, P0>(&self, pchild: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).contains)(::windows::core::Interface::as_raw(self), pchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn sourceIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).sourceIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn recordNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).recordNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setlang<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setlang)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn lang(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lang)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn offsetLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).offsetLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn offsetTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).offsetTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn offsetWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).offsetWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn offsetHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).offsetHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn offsetParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).offsetParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetinnerHTML<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetinnerHTML)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn innerHTML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).innerHTML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetinnerText<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetinnerText)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn innerText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).innerText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetouterHTML<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetouterHTML)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn outerHTML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outerHTML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetouterText<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetouterText)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn outerText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outerText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn insertAdjacentHTML<'a, P0, P1>(&self, r#where: P0, html: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).insertAdjacentHTML)(::windows::core::Interface::as_raw(self), r#where.into().abi(), html.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn insertAdjacentText<'a, P0, P1>(&self, r#where: P0, text: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).insertAdjacentText)(::windows::core::Interface::as_raw(self), r#where.into().abi(), text.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn parentTextEdit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).parentTextEdit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn isTextEdit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isTextEdit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn click(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).click)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn filters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).filters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondragstart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondragstart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondragstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondragstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbeforeupdate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbeforeupdate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbeforeupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbeforeupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonafterupdate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonafterupdate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onafterupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onafterupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonerrorupdate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonerrorupdate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onerrorupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onerrorupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonrowexit<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonrowexit)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onrowexit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onrowexit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonrowenter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonrowenter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onrowenter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onrowenter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondatasetchanged<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondatasetchanged)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondatasetchanged(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondatasetchanged)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondataavailable<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondataavailable)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondataavailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondataavailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondatasetcomplete<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondatasetcomplete)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondatasetcomplete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondatasetcomplete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonfilterchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonfilterchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onfilterchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onfilterchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn children(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).children)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn all(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).all)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLElement { - type Vtable = IHTMLElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f1ff_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub setAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, attributevalue: ::core::mem::ManuallyDrop, lflags: i32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - setAttribute: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, attributevalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getAttribute: usize, - #[cfg(feature = "Win32_Foundation")] - pub removeAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, pfsuccess: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - removeAttribute: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetclassName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetclassName: usize, - #[cfg(feature = "Win32_Foundation")] - pub className: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - className: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setid: usize, - #[cfg(feature = "Win32_Foundation")] - pub id: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - id: usize, - #[cfg(feature = "Win32_Foundation")] - pub tagName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - tagName: usize, - #[cfg(feature = "Win32_System_Com")] - pub parentElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - parentElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub style: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - style: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonhelp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonhelp: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onhelp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onhelp: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonclick: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonclick: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onclick: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onclick: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondblclick: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondblclick: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondblclick: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondblclick: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonkeydown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonkeydown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onkeydown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onkeydown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonkeyup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonkeyup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onkeyup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onkeyup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonkeypress: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonkeypress: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onkeypress: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onkeypress: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmouseout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmouseout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmouseout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmouseout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmouseover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmouseover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmouseover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmouseover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmousemove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmousemove: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmousemove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmousemove: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmousedown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmousedown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmousedown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmousedown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmouseup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmouseup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmouseup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmouseup: usize, - #[cfg(feature = "Win32_System_Com")] - pub document: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - document: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settitle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settitle: usize, - #[cfg(feature = "Win32_Foundation")] - pub title: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - title: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setlanguage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setlanguage: usize, - #[cfg(feature = "Win32_Foundation")] - pub language: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - language: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonselectstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonselectstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onselectstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onselectstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollIntoView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, varargstart: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollIntoView: usize, - #[cfg(feature = "Win32_System_Com")] - pub contains: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pchild: *mut ::core::ffi::c_void, pfresult: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - contains: usize, - pub sourceIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub recordNumber: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - recordNumber: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setlang: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setlang: usize, - #[cfg(feature = "Win32_Foundation")] - pub lang: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - lang: usize, - pub offsetLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub offsetTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub offsetWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub offsetHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub offsetParent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - offsetParent: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetinnerHTML: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetinnerHTML: usize, - #[cfg(feature = "Win32_Foundation")] - pub innerHTML: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - innerHTML: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetinnerText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetinnerText: usize, - #[cfg(feature = "Win32_Foundation")] - pub innerText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - innerText: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetouterHTML: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetouterHTML: usize, - #[cfg(feature = "Win32_Foundation")] - pub outerHTML: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - outerHTML: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetouterText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetouterText: usize, - #[cfg(feature = "Win32_Foundation")] - pub outerText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - outerText: usize, - #[cfg(feature = "Win32_Foundation")] - pub insertAdjacentHTML: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#where: ::core::mem::ManuallyDrop, html: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - insertAdjacentHTML: usize, - #[cfg(feature = "Win32_Foundation")] - pub insertAdjacentText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#where: ::core::mem::ManuallyDrop, text: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - insertAdjacentText: usize, - #[cfg(feature = "Win32_System_Com")] - pub parentTextEdit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - parentTextEdit: usize, - pub isTextEdit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub click: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub filters: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - filters: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondragstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondragstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondragstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondragstart: usize, - #[cfg(feature = "Win32_Foundation")] - pub toString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - toString: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbeforeupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbeforeupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbeforeupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbeforeupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonafterupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonafterupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onafterupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onafterupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonerrorupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonerrorupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onerrorupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onerrorupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonrowexit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonrowexit: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onrowexit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onrowexit: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonrowenter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonrowenter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onrowenter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onrowenter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondatasetchanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondatasetchanged: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondatasetchanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondatasetchanged: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondataavailable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondataavailable: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondataavailable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondataavailable: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondatasetcomplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondatasetcomplete: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondatasetcomplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondatasetcomplete: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonfilterchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonfilterchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onfilterchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onfilterchange: usize, - #[cfg(feature = "Win32_System_Com")] - pub children: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - children: usize, - #[cfg(feature = "Win32_System_Com")] - pub all: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - all: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn scopeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scopeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn setCapture(&self, containercapture: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).setCapture)(::windows::core::Interface::as_raw(self), containercapture).ok() - } - pub unsafe fn releaseCapture(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).releaseCapture)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonlosecapture<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonlosecapture)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onlosecapture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onlosecapture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn componentFromPoint(&self, x: i32, y: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).componentFromPoint)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn doScroll<'a, P0>(&self, component: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).doScroll)(::windows::core::Interface::as_raw(self), component.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonscroll<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonscroll)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onscroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onscroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondrag<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondrag)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondrag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondrag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondragend<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondragend)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondragend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondragend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondragenter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondragenter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondragenter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondragenter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondragover<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondragover)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondragover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondragover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondragleave<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondragleave)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondragleave(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondragleave)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondrop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondrop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondrop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondrop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbeforecut<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbeforecut)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbeforecut(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbeforecut)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoncut<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoncut)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oncut(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oncut)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbeforecopy<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbeforecopy)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbeforecopy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbeforecopy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoncopy<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoncopy)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oncopy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oncopy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbeforepaste<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbeforepaste)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbeforepaste(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbeforepaste)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonpaste<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonpaste)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onpaste(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onpaste)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn currentStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).currentStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonpropertychange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonpropertychange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onpropertychange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onpropertychange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getClientRects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getClientRects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getBoundingClientRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getBoundingClientRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn setExpression<'a, P0, P1, P2>(&self, propname: P0, expression: P1, language: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).setExpression)(::windows::core::Interface::as_raw(self), propname.into().abi(), expression.into().abi(), language.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getExpression<'a, P0>(&self, propname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getExpression)(::windows::core::Interface::as_raw(self), propname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn removeExpression<'a, P0>(&self, propname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeExpression)(::windows::core::Interface::as_raw(self), propname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettabIndex(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SettabIndex)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn tabIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tabIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn focus(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).focus)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetaccessKey<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetaccessKey)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn accessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).accessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonblur<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonblur)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onblur(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onblur)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonfocus<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonfocus)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onfocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onfocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonresize<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonresize)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onresize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onresize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn blur(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).blur)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn addFilter<'a, P0>(&self, punk: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).addFilter)(::windows::core::Interface::as_raw(self), punk.into().abi()).ok() - } - pub unsafe fn removeFilter<'a, P0>(&self, punk: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).removeFilter)(::windows::core::Interface::as_raw(self), punk.into().abi()).ok() - } - pub unsafe fn clientHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clientWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clientTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clientLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn attachEvent<'a, P0, P1>(&self, event: P0, pdisp: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).attachEvent)(::windows::core::Interface::as_raw(self), event.into().abi(), pdisp.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn detachEvent<'a, P0, P1>(&self, event: P0, pdisp: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).detachEvent)(::windows::core::Interface::as_raw(self), event.into().abi(), pdisp.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonreadystatechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonreadystatechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonrowsdelete<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonrowsdelete)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onrowsdelete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onrowsdelete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonrowsinserted<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonrowsinserted)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onrowsinserted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onrowsinserted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoncellchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoncellchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oncellchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oncellchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdir<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdir)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dir(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dir)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createControlRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createControlRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn scrollHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn scrollWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetscrollTop(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetscrollTop)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn scrollTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetscrollLeft(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetscrollLeft)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn scrollLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clearAttributes(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).clearAttributes)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn mergeAttributes<'a, P0>(&self, mergethis: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).mergeAttributes)(::windows::core::Interface::as_raw(self), mergethis.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoncontextmenu<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoncontextmenu)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oncontextmenu(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oncontextmenu)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn insertAdjacentElement<'a, P0, P1>(&self, r#where: P0, insertedelement: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertAdjacentElement)(::windows::core::Interface::as_raw(self), r#where.into().abi(), insertedelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn applyElement<'a, P0, P1>(&self, apply: P0, r#where: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).applyElement)(::windows::core::Interface::as_raw(self), apply.into().abi(), r#where.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn getAdjacentText<'a, P0>(&self, r#where: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getAdjacentText)(::windows::core::Interface::as_raw(self), r#where.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn replaceAdjacentText<'a, P0, P1>(&self, r#where: P0, newtext: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).replaceAdjacentText)(::windows::core::Interface::as_raw(self), r#where.into().abi(), newtext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn canHaveChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).canHaveChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn addBehavior<'a, P0>(&self, bstrurl: P0, pvarfactory: *const super::super::System::Com::VARIANT) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).addBehavior)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(pvarfactory), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn removeBehavior(&self, cookie: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeBehavior)(::windows::core::Interface::as_raw(self), cookie, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn runtimeStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).runtimeStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn behaviorUrns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).behaviorUrns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettagUrn<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettagUrn)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn tagUrn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tagUrn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbeforeeditfocus<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbeforeeditfocus)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbeforeeditfocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbeforeeditfocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn readyStateValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readyStateValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn getElementsByTagName<'a, P0>(&self, v: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getElementsByTagName)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLElement2 { - type Vtable = IHTMLElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f434_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub scopeName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - scopeName: usize, - pub setCapture: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, containercapture: i16) -> ::windows::core::HRESULT, - pub releaseCapture: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonlosecapture: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonlosecapture: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onlosecapture: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onlosecapture: usize, - #[cfg(feature = "Win32_Foundation")] - pub componentFromPoint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: i32, y: i32, component: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - componentFromPoint: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub doScroll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, component: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - doScroll: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonscroll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonscroll: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onscroll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onscroll: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondrag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondrag: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondrag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondrag: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondragend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondragend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondragend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondragend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondragenter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondragenter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondragenter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondragenter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondragover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondragover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondragover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondragover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondragleave: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondragleave: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondragleave: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondragleave: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondrop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondrop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondrop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondrop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbeforecut: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbeforecut: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbeforecut: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbeforecut: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoncut: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoncut: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oncut: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oncut: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbeforecopy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbeforecopy: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbeforecopy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbeforecopy: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoncopy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoncopy: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oncopy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oncopy: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbeforepaste: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbeforepaste: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbeforepaste: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbeforepaste: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonpaste: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonpaste: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onpaste: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onpaste: usize, - #[cfg(feature = "Win32_System_Com")] - pub currentStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - currentStyle: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonpropertychange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonpropertychange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onpropertychange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onpropertychange: usize, - #[cfg(feature = "Win32_System_Com")] - pub getClientRects: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prectcol: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getClientRects: usize, - #[cfg(feature = "Win32_System_Com")] - pub getBoundingClientRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prect: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getBoundingClientRect: usize, - #[cfg(feature = "Win32_Foundation")] - pub setExpression: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, expression: ::core::mem::ManuallyDrop, language: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - setExpression: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getExpression: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, expression: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getExpression: usize, - #[cfg(feature = "Win32_Foundation")] - pub removeExpression: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, pfsuccess: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - removeExpression: usize, - pub SettabIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub tabIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub focus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetaccessKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetaccessKey: usize, - #[cfg(feature = "Win32_Foundation")] - pub accessKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - accessKey: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonblur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonblur: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onblur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onblur: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonfocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonfocus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onfocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onfocus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonresize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonresize: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onresize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onresize: usize, - pub blur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub addFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, punk: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub removeFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, punk: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub clientHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clientWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clientTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clientLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub attachEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, event: ::core::mem::ManuallyDrop, pdisp: *mut ::core::ffi::c_void, pfresult: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - attachEvent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub detachEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, event: ::core::mem::ManuallyDrop, pdisp: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - detachEvent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub readyState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - readyState: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonreadystatechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onreadystatechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonrowsdelete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonrowsdelete: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onrowsdelete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onrowsdelete: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonrowsinserted: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonrowsinserted: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onrowsinserted: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onrowsinserted: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoncellchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoncellchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oncellchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oncellchange: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdir: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdir: usize, - #[cfg(feature = "Win32_Foundation")] - pub dir: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dir: usize, - #[cfg(feature = "Win32_System_Com")] - pub createControlRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createControlRange: usize, - pub scrollHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub scrollWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetscrollTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub scrollTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetscrollLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub scrollLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clearAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub mergeAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, mergethis: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - mergeAttributes: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoncontextmenu: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoncontextmenu: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oncontextmenu: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oncontextmenu: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub insertAdjacentElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#where: ::core::mem::ManuallyDrop, insertedelement: *mut ::core::ffi::c_void, inserted: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - insertAdjacentElement: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub applyElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, apply: *mut ::core::ffi::c_void, r#where: ::core::mem::ManuallyDrop, applied: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - applyElement: usize, - #[cfg(feature = "Win32_Foundation")] - pub getAdjacentText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#where: ::core::mem::ManuallyDrop, text: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - getAdjacentText: usize, - #[cfg(feature = "Win32_Foundation")] - pub replaceAdjacentText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#where: ::core::mem::ManuallyDrop, newtext: ::core::mem::ManuallyDrop, oldtext: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - replaceAdjacentText: usize, - pub canHaveChildren: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub addBehavior: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, pvarfactory: *const super::super::System::Com::VARIANT, pcookie: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - addBehavior: usize, - pub removeBehavior: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cookie: i32, pfresult: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub runtimeStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - runtimeStyle: usize, - #[cfg(feature = "Win32_System_Com")] - pub behaviorUrns: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - behaviorUrns: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettagUrn: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettagUrn: usize, - #[cfg(feature = "Win32_Foundation")] - pub tagUrn: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - tagUrn: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbeforeeditfocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbeforeeditfocus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbeforeeditfocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbeforeeditfocus: usize, - pub readyStateValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub getElementsByTagName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pelcoll: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - getElementsByTagName: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLElement3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLElement3 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn mergeAttributes<'a, P0>(&self, mergethis: P0, pvarflags: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).mergeAttributes)(::windows::core::Interface::as_raw(self), mergethis.into().abi(), ::core::mem::transmute(pvarflags)).ok() - } - pub unsafe fn isMultiLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isMultiLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn canHaveHTML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).canHaveHTML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonlayoutcomplete<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonlayoutcomplete)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onlayoutcomplete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onlayoutcomplete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonpage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonpage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onpage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onpage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetinflateBlock(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetinflateBlock)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn inflateBlock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).inflateBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbeforedeactivate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbeforedeactivate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbeforedeactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbeforedeactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn setActive(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).setActive)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcontentEditable<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcontentEditable)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn contentEditable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).contentEditable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn isContentEditable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isContentEditable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SethideFocus(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SethideFocus)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn hideFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hideFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn isDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmove<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmove)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoncontrolselect<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoncontrolselect)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oncontrolselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oncontrolselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn fireEvent<'a, P0>(&self, bstreventname: P0, pvareventobject: *const super::super::System::Com::VARIANT) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fireEvent)(::windows::core::Interface::as_raw(self), bstreventname.into().abi(), ::core::mem::transmute(pvareventobject), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonresizestart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonresizestart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onresizestart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onresizestart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonresizeend<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonresizeend)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onresizeend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onresizeend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmovestart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmovestart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmovestart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmovestart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmoveend<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmoveend)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmoveend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmoveend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmouseenter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmouseenter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmouseenter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmouseenter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmouseleave<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmouseleave)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmouseleave(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmouseleave)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonactivate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonactivate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondeactivate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondeactivate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondeactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondeactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn dragDrop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dragDrop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn glyphMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).glyphMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElement3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElement3> for ::windows::core::IUnknown { - fn from(value: &IHTMLElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElement3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElement3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLElement3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLElement3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLElement3 { - type Vtable = IHTMLElement3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f673_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLElement3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub mergeAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, mergethis: *mut ::core::ffi::c_void, pvarflags: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - mergeAttributes: usize, - pub isMultiLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub canHaveHTML: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonlayoutcomplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonlayoutcomplete: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onlayoutcomplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onlayoutcomplete: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonpage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonpage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onpage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onpage: usize, - pub SetinflateBlock: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub inflateBlock: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbeforedeactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbeforedeactivate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbeforedeactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbeforedeactivate: usize, - pub setActive: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetcontentEditable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcontentEditable: usize, - #[cfg(feature = "Win32_Foundation")] - pub contentEditable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - contentEditable: usize, - pub isContentEditable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SethideFocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub hideFocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setdisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub disabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub isDisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmove: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmove: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoncontrolselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoncontrolselect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oncontrolselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oncontrolselect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub fireEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstreventname: ::core::mem::ManuallyDrop, pvareventobject: *const super::super::System::Com::VARIANT, pfcancelled: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - fireEvent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonresizestart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonresizestart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onresizestart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onresizestart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonresizeend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonresizeend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onresizeend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onresizeend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmovestart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmovestart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmovestart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmovestart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmoveend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmoveend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmoveend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmoveend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmouseenter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmouseenter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmouseenter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmouseenter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmouseleave: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmouseleave: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmouseleave: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmouseleave: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonactivate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onactivate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondeactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondeactivate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondeactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondeactivate: usize, - pub dragDrop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfret: *mut i16) -> ::windows::core::HRESULT, - pub glyphMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLElement4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLElement4 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmousewheel<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmousewheel)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmousewheel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmousewheel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn normalize(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).normalize)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn getAttributeNode<'a, P0>(&self, bstrname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getAttributeNode)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn setAttributeNode<'a, P0>(&self, pattr: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).setAttributeNode)(::windows::core::Interface::as_raw(self), pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn removeAttributeNode<'a, P0>(&self, pattr: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeAttributeNode)(::windows::core::Interface::as_raw(self), pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbeforeactivate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbeforeactivate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbeforeactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbeforeactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonfocusin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonfocusin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onfocusin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onfocusin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonfocusout<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonfocusout)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onfocusout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onfocusout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElement4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElement4> for ::windows::core::IUnknown { - fn from(value: &IHTMLElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElement4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElement4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLElement4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLElement4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLElement4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLElement4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLElement4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLElement4 { - type Vtable = IHTMLElement4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f80f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLElement4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmousewheel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmousewheel: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmousewheel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmousewheel: usize, - pub normalize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub getAttributeNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, ppattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - getAttributeNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub setAttributeNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pattr: *mut ::core::ffi::c_void, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - setAttributeNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub removeAttributeNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pattr: *mut ::core::ffi::c_void, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - removeAttributeNode: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbeforeactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbeforeactivate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbeforeactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbeforeactivate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonfocusin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonfocusin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onfocusin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onfocusin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonfocusout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonfocusout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onfocusout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onfocusout: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLElement5(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLElement5 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn getAttributeNode<'a, P0>(&self, bstrname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getAttributeNode)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn setAttributeNode<'a, P0>(&self, pattr: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute2>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).setAttributeNode)(::windows::core::Interface::as_raw(self), pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn removeAttributeNode<'a, P0>(&self, pattr: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute2>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeAttributeNode)(::windows::core::Interface::as_raw(self), pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn hasAttribute<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasAttribute)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setrole<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setrole)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn role(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).role)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaBusy<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaBusy)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaBusy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaBusy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaChecked<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaChecked)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaChecked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaChecked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaDisabled<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaDisabled)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaExpanded<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaExpanded)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaExpanded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaExpanded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaHaspopup<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaHaspopup)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaHaspopup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaHaspopup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaHidden<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaHidden)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaInvalid<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaInvalid)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaInvalid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaInvalid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaMultiselectable<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaMultiselectable)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaMultiselectable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaMultiselectable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaPressed<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaPressed)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaPressed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaPressed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaReadonly<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaReadonly)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaReadonly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaReadonly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaRequired<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaRequired)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaSecret<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaSecret)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaSecret(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaSecret)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaSelected<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaSelected)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaSelected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaSelected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getAttribute<'a, P0>(&self, strattributename: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn setAttribute<'a, P0, P1>(&self, strattributename: P0, attributevalue: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).setAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), attributevalue.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn removeAttribute<'a, P0>(&self, strattributename: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaValuenow<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaValuenow)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaValuenow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaValuenow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetariaPosinset(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetariaPosinset)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn ariaPosinset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaPosinset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetariaSetsize(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetariaSetsize)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn ariaSetsize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaSetsize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetariaLevel(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetariaLevel)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn ariaLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaValuemin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaValuemin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaValuemin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaValuemin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaValuemax<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaValuemax)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaValuemax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaValuemax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaControls<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaControls)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaControls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaControls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaDescribedby<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaDescribedby)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaDescribedby(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaDescribedby)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaFlowto<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaFlowto)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaFlowto(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaFlowto)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaLabelledby<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaLabelledby)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaLabelledby(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaLabelledby)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaActivedescendant<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaActivedescendant)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaActivedescendant(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaActivedescendant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaOwns<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaOwns)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaOwns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaOwns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn hasAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaLive<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaLive)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaLive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaLive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetariaRelevant<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetariaRelevant)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ariaRelevant(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ariaRelevant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElement5> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElement5> for ::windows::core::IUnknown { - fn from(value: &IHTMLElement5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElement5> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElement5> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLElement5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLElement5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLElement5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLElement5 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLElement5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLElement5").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLElement5 { - type Vtable = IHTMLElement5_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051045d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLElement5_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub getAttributeNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - getAttributeNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub setAttributeNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pattr: *mut ::core::ffi::c_void, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - setAttributeNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub removeAttributeNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pattr: *mut ::core::ffi::c_void, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - removeAttributeNode: usize, - #[cfg(feature = "Win32_Foundation")] - pub hasAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pfhasattribute: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - hasAttribute: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setrole: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setrole: usize, - #[cfg(feature = "Win32_Foundation")] - pub role: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - role: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaBusy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaBusy: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaBusy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaBusy: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaChecked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaChecked: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaChecked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaChecked: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaDisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaDisabled: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaDisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaDisabled: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaExpanded: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaExpanded: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaExpanded: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaExpanded: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaHaspopup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaHaspopup: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaHaspopup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaHaspopup: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaHidden: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaHidden: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaHidden: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaHidden: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaInvalid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaInvalid: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaInvalid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaInvalid: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaMultiselectable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaMultiselectable: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaMultiselectable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaMultiselectable: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaPressed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaPressed: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaPressed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaPressed: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaReadonly: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaReadonly: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaReadonly: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaReadonly: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaRequired: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaRequired: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaRequired: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaRequired: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaSecret: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaSecret: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaSecret: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaSecret: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaSelected: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaSelected: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaSelected: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaSelected: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, attributevalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getAttribute: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub setAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, attributevalue: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - setAttribute: usize, - #[cfg(feature = "Win32_Foundation")] - pub removeAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, pfsuccess: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - removeAttribute: usize, - #[cfg(feature = "Win32_System_Com")] - pub attributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - attributes: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaValuenow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaValuenow: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaValuenow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaValuenow: usize, - pub SetariaPosinset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub ariaPosinset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetariaSetsize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub ariaSetsize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetariaLevel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub ariaLevel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetariaValuemin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaValuemin: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaValuemin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaValuemin: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaValuemax: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaValuemax: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaValuemax: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaValuemax: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaControls: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaControls: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaControls: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaControls: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaDescribedby: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaDescribedby: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaDescribedby: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaDescribedby: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaFlowto: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaFlowto: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaFlowto: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaFlowto: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaLabelledby: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaLabelledby: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaLabelledby: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaLabelledby: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaActivedescendant: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaActivedescendant: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaActivedescendant: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaActivedescendant: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaOwns: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaOwns: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaOwns: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaOwns: usize, - pub hasAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfhasattributes: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetariaLive: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaLive: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaLive: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaLive: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetariaRelevant: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetariaRelevant: usize, - #[cfg(feature = "Win32_Foundation")] - pub ariaRelevant: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ariaRelevant: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLElement6(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLElement6 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getAttributeNS<'a, P0>(&self, pvarns: *const super::super::System::Com::VARIANT, strattributename: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getAttributeNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), strattributename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn setAttributeNS<'a, P0>(&self, pvarns: *const super::super::System::Com::VARIANT, strattributename: P0, pvarattributevalue: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).setAttributeNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), strattributename.into().abi(), ::core::mem::transmute(pvarattributevalue)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn removeAttributeNS<'a, P0>(&self, pvarns: *const super::super::System::Com::VARIANT, strattributename: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).removeAttributeNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), strattributename.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getAttributeNodeNS<'a, P0>(&self, pvarns: *const super::super::System::Com::VARIANT, bstrname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getAttributeNodeNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn setAttributeNodeNS<'a, P0>(&self, pattr: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute2>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).setAttributeNodeNS)(::windows::core::Interface::as_raw(self), pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn hasAttributeNS<'a, P0>(&self, pvarns: *const super::super::System::Com::VARIANT, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasAttributeNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getAttribute<'a, P0>(&self, strattributename: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn setAttribute<'a, P0>(&self, strattributename: P0, pvarattributevalue: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).setAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), ::core::mem::transmute(pvarattributevalue)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn removeAttribute<'a, P0>(&self, strattributename: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).removeAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn getAttributeNode<'a, P0>(&self, strattributename: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getAttributeNode)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn setAttributeNode<'a, P0>(&self, pattr: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute2>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).setAttributeNode)(::windows::core::Interface::as_raw(self), pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn removeAttributeNode<'a, P0>(&self, pattr: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute2>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeAttributeNode)(::windows::core::Interface::as_raw(self), pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn hasAttribute<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasAttribute)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getElementsByTagNameNS<'a, P0>(&self, varns: *const super::super::System::Com::VARIANT, bstrlocalname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getElementsByTagNameNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(varns), bstrlocalname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn tagName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tagName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn nodeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nodeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn getElementsByClassName<'a, P0>(&self, v: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getElementsByClassName)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msMatchesSelector<'a, P0>(&self, v: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msMatchesSelector)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonabort<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonabort)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onabort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onabort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoncanplay<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoncanplay)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oncanplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oncanplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoncanplaythrough<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoncanplaythrough)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oncanplaythrough(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oncanplaythrough)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondurationchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondurationchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondurationchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondurationchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonemptied<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonemptied)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onemptied(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onemptied)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonended<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonended)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onended(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onended)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonerror<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonerror)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoninput<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoninput)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oninput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oninput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonloadeddata<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonloadeddata)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onloadeddata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onloadeddata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonloadedmetadata<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonloadedmetadata)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onloadedmetadata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onloadedmetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonloadstart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonloadstart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onloadstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onloadstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonpause<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonpause)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onpause(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onpause)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonplay<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonplay)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonplaying<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonplaying)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onplaying(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onplaying)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonprogress<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonprogress)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onprogress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onprogress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonratechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonratechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onratechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onratechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonreset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonreset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onreset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onreset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonseeked<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonseeked)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onseeked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onseeked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonseeking<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonseeking)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onseeking(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onseeking)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonselect<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonselect)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonstalled<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonstalled)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonsubmit<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonsubmit)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onsubmit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onsubmit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonsuspend<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonsuspend)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onsuspend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onsuspend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setontimeupdate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setontimeupdate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ontimeupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ontimeupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonvolumechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonvolumechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onvolumechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onvolumechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonwaiting<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonwaiting)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onwaiting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onwaiting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn hasAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLElement6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElement6> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLElement6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElement6> for ::windows::core::IUnknown { - fn from(value: &IHTMLElement6) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLElement6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElement6> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLElement6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElement6> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLElement6) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLElement6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLElement6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLElement6 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLElement6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLElement6").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLElement6 { - type Vtable = IHTMLElement6_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106f8_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLElement6_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getAttributeNS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, strattributename: ::core::mem::ManuallyDrop, attributevalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getAttributeNS: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub setAttributeNS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, strattributename: ::core::mem::ManuallyDrop, pvarattributevalue: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - setAttributeNS: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub removeAttributeNS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, strattributename: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - removeAttributeNS: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getAttributeNodeNS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, bstrname: ::core::mem::ManuallyDrop, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getAttributeNodeNS: usize, - #[cfg(feature = "Win32_System_Com")] - pub setAttributeNodeNS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pattr: *mut ::core::ffi::c_void, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - setAttributeNodeNS: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub hasAttributeNS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarns: *const super::super::System::Com::VARIANT, name: ::core::mem::ManuallyDrop, pfhasattribute: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - hasAttributeNS: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, attributevalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getAttribute: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub setAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, pvarattributevalue: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - setAttribute: usize, - #[cfg(feature = "Win32_Foundation")] - pub removeAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - removeAttribute: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub getAttributeNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - getAttributeNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub setAttributeNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pattr: *mut ::core::ffi::c_void, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - setAttributeNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub removeAttributeNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pattr: *mut ::core::ffi::c_void, ppretattribute: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - removeAttributeNode: usize, - #[cfg(feature = "Win32_Foundation")] - pub hasAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pfhasattribute: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - hasAttribute: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getElementsByTagNameNS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, varns: *const super::super::System::Com::VARIANT, bstrlocalname: ::core::mem::ManuallyDrop, pelcoll: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getElementsByTagNameNS: usize, - #[cfg(feature = "Win32_Foundation")] - pub tagName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - tagName: usize, - #[cfg(feature = "Win32_Foundation")] - pub nodeName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - nodeName: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub getElementsByClassName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pel: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - getElementsByClassName: usize, - #[cfg(feature = "Win32_Foundation")] - pub msMatchesSelector: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop, pfmatches: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msMatchesSelector: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonabort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonabort: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onabort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onabort: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoncanplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoncanplay: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oncanplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oncanplay: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoncanplaythrough: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoncanplaythrough: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oncanplaythrough: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oncanplaythrough: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondurationchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondurationchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondurationchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondurationchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonemptied: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonemptied: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onemptied: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onemptied: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonended: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonended: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onended: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onended: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoninput: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoninput: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oninput: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oninput: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonloadeddata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonloadeddata: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onloadeddata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onloadeddata: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonloadedmetadata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonloadedmetadata: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onloadedmetadata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onloadedmetadata: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonloadstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonloadstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onloadstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onloadstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonpause: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonpause: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onpause: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onpause: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonplay: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onplay: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonplaying: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonplaying: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onplaying: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onplaying: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonprogress: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonprogress: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onprogress: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onprogress: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonratechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonratechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onratechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onratechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonreset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonreset: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onreset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onreset: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonseeked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonseeked: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onseeked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onseeked: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonseeking: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonseeking: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onseeking: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onseeking: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonselect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onselect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonstalled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonstalled: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onstalled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onstalled: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonsubmit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonsubmit: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onsubmit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onsubmit: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonsuspend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonsuspend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onsuspend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onsuspend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setontimeupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setontimeupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ontimeupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ontimeupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonvolumechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonvolumechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onvolumechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onvolumechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonwaiting: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonwaiting: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onwaiting: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onwaiting: usize, - pub hasAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfhasattributes: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLElement7(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLElement7 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointerdown<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointerdown)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointerdown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointerdown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointermove<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointermove)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointermove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointermove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointerup<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointerup)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointerup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointerup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointerover<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointerover)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointerover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointerover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointerout<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointerout)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointerout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointerout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointercancel<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointercancel)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointercancel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointercancel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointerhover<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointerhover)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointerhover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointerhover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmslostpointercapture<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmslostpointercapture)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmslostpointercapture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmslostpointercapture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgotpointercapture<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgotpointercapture)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgotpointercapture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgotpointercapture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgesturestart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgesturestart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgesturestart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgesturestart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgesturechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgesturechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgesturechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgesturechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgestureend<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgestureend)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgestureend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgestureend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgesturehold<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgesturehold)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgesturehold(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgesturehold)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgesturetap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgesturetap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgesturetap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgesturetap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgesturedoubletap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgesturedoubletap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgesturedoubletap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgesturedoubletap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsinertiastart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsinertiastart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsinertiastart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsinertiastart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn msSetPointerCapture(&self, pointerid: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).msSetPointerCapture)(::windows::core::Interface::as_raw(self), pointerid).ok() - } - pub unsafe fn msReleasePointerCapture(&self, pointerid: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).msReleasePointerCapture)(::windows::core::Interface::as_raw(self), pointerid).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmstransitionstart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmstransitionstart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmstransitionstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmstransitionstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmstransitionend<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmstransitionend)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmstransitionend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmstransitionend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsanimationstart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsanimationstart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsanimationstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsanimationstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsanimationend<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsanimationend)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsanimationend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsanimationend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsanimationiteration<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsanimationiteration)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsanimationiteration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsanimationiteration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoninvalid<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoninvalid)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oninvalid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oninvalid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetxmsAcceleratorKey<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetxmsAcceleratorKey)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn xmsAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).xmsAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setspellcheck<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setspellcheck)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn spellcheck(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).spellcheck)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsmanipulationstatechanged<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsmanipulationstatechanged)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsmanipulationstatechanged(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsmanipulationstatechanged)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoncuechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoncuechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oncuechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oncuechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLElement7) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElement7> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLElement7) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElement7> for ::windows::core::IUnknown { - fn from(value: &IHTMLElement7) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLElement7) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElement7> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLElement7) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElement7> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLElement7) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLElement7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLElement7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLElement7 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLElement7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLElement7").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLElement7 { - type Vtable = IHTMLElement7_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107aa_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLElement7_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointerdown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointerdown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointerdown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointerdown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointermove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointermove: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointermove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointermove: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointerup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointerup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointerup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointerup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointerover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointerover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointerover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointerover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointerout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointerout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointerout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointerout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointercancel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointercancel: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointercancel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointercancel: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointerhover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointerhover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointerhover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointerhover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmslostpointercapture: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmslostpointercapture: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmslostpointercapture: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmslostpointercapture: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgotpointercapture: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgotpointercapture: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgotpointercapture: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgotpointercapture: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgesturestart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgesturestart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgesturestart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgesturestart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgesturechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgesturechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgesturechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgesturechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgestureend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgestureend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgestureend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgestureend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgesturehold: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgesturehold: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgesturehold: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgesturehold: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgesturetap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgesturetap: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgesturetap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgesturetap: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgesturedoubletap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgesturedoubletap: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgesturedoubletap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgesturedoubletap: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsinertiastart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsinertiastart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsinertiastart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsinertiastart: usize, - pub msSetPointerCapture: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pointerid: i32) -> ::windows::core::HRESULT, - pub msReleasePointerCapture: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pointerid: i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmstransitionstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmstransitionstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmstransitionstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmstransitionstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmstransitionend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmstransitionend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmstransitionend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmstransitionend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsanimationstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsanimationstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsanimationstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsanimationstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsanimationend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsanimationend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsanimationend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsanimationend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsanimationiteration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsanimationiteration: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsanimationiteration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsanimationiteration: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoninvalid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoninvalid: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oninvalid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oninvalid: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetxmsAcceleratorKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetxmsAcceleratorKey: usize, - #[cfg(feature = "Win32_Foundation")] - pub xmsAcceleratorKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - xmsAcceleratorKey: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setspellcheck: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setspellcheck: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub spellcheck: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - spellcheck: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsmanipulationstatechanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsmanipulationstatechanged: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsmanipulationstatechanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsmanipulationstatechanged: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoncuechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoncuechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oncuechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oncuechange: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLElementAppliedStyles(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLElementAppliedStyles { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn msGetRulesApplied(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msGetRulesApplied)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn msGetRulesAppliedWithAncestor<'a, P0>(&self, varcontext: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msGetRulesAppliedWithAncestor)(::windows::core::Interface::as_raw(self), varcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLElementAppliedStyles) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElementAppliedStyles> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLElementAppliedStyles) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElementAppliedStyles> for ::windows::core::IUnknown { - fn from(value: &IHTMLElementAppliedStyles) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLElementAppliedStyles) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElementAppliedStyles> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLElementAppliedStyles) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElementAppliedStyles> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLElementAppliedStyles) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLElementAppliedStyles { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLElementAppliedStyles { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLElementAppliedStyles {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLElementAppliedStyles { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLElementAppliedStyles").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLElementAppliedStyles { - type Vtable = IHTMLElementAppliedStyles_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104bd_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLElementAppliedStyles_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub msGetRulesApplied: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pprulesappliedcollection: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - msGetRulesApplied: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub msGetRulesAppliedWithAncestor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, varcontext: ::core::mem::ManuallyDrop, pprulesappliedcollection: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - msGetRulesAppliedWithAncestor: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLElementCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLElementCollection { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setlength(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setlength)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn item<'a, P0, P1>(&self, name: P0, index: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), name.into().abi(), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn tags<'a, P0>(&self, tagname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tags)(::windows::core::Interface::as_raw(self), tagname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLElementCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElementCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLElementCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElementCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLElementCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLElementCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElementCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLElementCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElementCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLElementCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLElementCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLElementCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLElementCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLElementCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLElementCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLElementCollection { - type Vtable = IHTMLElementCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f21f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLElementCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub toString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - toString: usize, - pub Setlength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub _newEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, index: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - item: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub tags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, tagname: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - tags: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLElementCollection2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLElementCollection2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn urns<'a, P0>(&self, urn: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).urns)(::windows::core::Interface::as_raw(self), urn.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLElementCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElementCollection2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLElementCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElementCollection2> for ::windows::core::IUnknown { - fn from(value: &IHTMLElementCollection2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLElementCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElementCollection2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLElementCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElementCollection2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLElementCollection2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLElementCollection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLElementCollection2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLElementCollection2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLElementCollection2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLElementCollection2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLElementCollection2 { - type Vtable = IHTMLElementCollection2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5ee_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLElementCollection2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub urns: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, urn: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - urns: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLElementCollection3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLElementCollection3 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn namedItem<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).namedItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLElementCollection3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElementCollection3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLElementCollection3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElementCollection3> for ::windows::core::IUnknown { - fn from(value: &IHTMLElementCollection3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLElementCollection3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElementCollection3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLElementCollection3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElementCollection3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLElementCollection3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLElementCollection3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLElementCollection3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLElementCollection3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLElementCollection3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLElementCollection3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLElementCollection3 { - type Vtable = IHTMLElementCollection3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f835_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLElementCollection3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub namedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - namedItem: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLElementCollection4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLElementCollection4 { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn namedItem<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).namedItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLElementCollection4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElementCollection4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLElementCollection4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElementCollection4> for ::windows::core::IUnknown { - fn from(value: &IHTMLElementCollection4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLElementCollection4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElementCollection4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLElementCollection4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElementCollection4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLElementCollection4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLElementCollection4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLElementCollection4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLElementCollection4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLElementCollection4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLElementCollection4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLElementCollection4 { - type Vtable = IHTMLElementCollection4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510425_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLElementCollection4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - item: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub namedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - namedItem: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLElementDefaults(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLElementDefaults { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn style(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).style)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettabStop(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SettabStop)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn tabStop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tabStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetviewInheritStyle(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetviewInheritStyle)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn viewInheritStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).viewInheritStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetviewMasterTab(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetviewMasterTab)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn viewMasterTab(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).viewMasterTab)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetscrollSegmentX(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetscrollSegmentX)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn scrollSegmentX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollSegmentX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetscrollSegmentY(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetscrollSegmentY)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn scrollSegmentY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollSegmentY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetisMultiLine(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetisMultiLine)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn isMultiLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isMultiLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcontentEditable<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcontentEditable)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn contentEditable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).contentEditable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetcanHaveHTML(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetcanHaveHTML)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn canHaveHTML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).canHaveHTML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_viewLink<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDocument>>, - { - (::windows::core::Interface::vtable(self).putref_viewLink)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn viewLink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).viewLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setfrozen(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setfrozen)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn frozen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).frozen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLElementDefaults) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElementDefaults> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLElementDefaults) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElementDefaults> for ::windows::core::IUnknown { - fn from(value: &IHTMLElementDefaults) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLElementDefaults) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLElementDefaults> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLElementDefaults) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLElementDefaults> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLElementDefaults) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLElementDefaults { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLElementDefaults { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLElementDefaults {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLElementDefaults { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLElementDefaults").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLElementDefaults { - type Vtable = IHTMLElementDefaults_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6c9_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLElementDefaults_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub style: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - style: usize, - pub SettabStop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub tabStop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetviewInheritStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub viewInheritStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetviewMasterTab: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub viewMasterTab: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetscrollSegmentX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub scrollSegmentX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetscrollSegmentY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub scrollSegmentY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetisMultiLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub isMultiLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetcontentEditable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcontentEditable: usize, - #[cfg(feature = "Win32_Foundation")] - pub contentEditable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - contentEditable: usize, - pub SetcanHaveHTML: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub canHaveHTML: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub putref_viewLink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_viewLink: usize, - #[cfg(feature = "Win32_System_Com")] - pub viewLink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - viewLink: usize, - pub Setfrozen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub frozen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLElementRender(::windows::core::IUnknown); -impl IHTMLElementRender { - #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] - #[cfg(feature = "Win32_Graphics_Gdi")] - pub unsafe fn DrawToDC<'a, P0>(&self, hdc: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).DrawToDC)(::windows::core::Interface::as_raw(self), hdc.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] - pub unsafe fn SetDocumentPrinter<'a, P0, P1>(&self, bstrprintername: P0, hdc: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).SetDocumentPrinter)(::windows::core::Interface::as_raw(self), bstrprintername.into().abi(), hdc.into()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLElementRender) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLElementRender> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLElementRender) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLElementRender> for ::windows::core::IUnknown { - fn from(value: &IHTMLElementRender) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLElementRender { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLElementRender { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLElementRender {} -impl ::core::fmt::Debug for IHTMLElementRender { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLElementRender").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLElementRender { - type Vtable = IHTMLElementRender_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f669_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLElementRender_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Graphics_Gdi")] - pub DrawToDC: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hdc: super::super::Graphics::Gdi::HDC) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Graphics_Gdi"))] - DrawToDC: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] - pub SetDocumentPrinter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrprintername: ::core::mem::ManuallyDrop, hdc: super::super::Graphics::Gdi::HDC) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi")))] - SetDocumentPrinter: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLEmbedElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLEmbedElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethidden<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethidden)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn hidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn palette(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).palette)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pluginspage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pluginspage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setunits<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setunits)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn units(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).units)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setwidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setheight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLEmbedElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLEmbedElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLEmbedElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLEmbedElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLEmbedElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLEmbedElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLEmbedElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLEmbedElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLEmbedElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLEmbedElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLEmbedElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLEmbedElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLEmbedElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLEmbedElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLEmbedElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLEmbedElement { - type Vtable = IHTMLEmbedElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f25f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLEmbedElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Sethidden: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethidden: usize, - #[cfg(feature = "Win32_Foundation")] - pub hidden: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - hidden: usize, - #[cfg(feature = "Win32_Foundation")] - pub palette: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - palette: usize, - #[cfg(feature = "Win32_Foundation")] - pub pluginspage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pluginspage: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub src: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - src: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setunits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setunits: usize, - #[cfg(feature = "Win32_Foundation")] - pub units: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - units: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setwidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - width: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setheight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setheight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - height: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLEmbedElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLEmbedElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pluginspage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pluginspage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLEmbedElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLEmbedElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLEmbedElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLEmbedElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLEmbedElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLEmbedElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLEmbedElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLEmbedElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLEmbedElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLEmbedElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLEmbedElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLEmbedElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLEmbedElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLEmbedElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLEmbedElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLEmbedElement2 { - type Vtable = IHTMLEmbedElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510493_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLEmbedElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub src: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - src: usize, - #[cfg(feature = "Win32_Foundation")] - pub pluginspage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pluginspage: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLEventObj(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLEventObj { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn srcElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).srcElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn altKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).altKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn ctrlKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ctrlKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn shiftKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).shiftKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetreturnValue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetreturnValue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn returnValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).returnValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetcancelBubble(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetcancelBubble)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn cancelBubble(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cancelBubble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn fromElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fromElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn toElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetkeyCode(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetkeyCode)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn keyCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).keyCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn button(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).button)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn qualifier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).qualifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn reason(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).reason)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clientX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clientY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn offsetX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).offsetX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn offsetY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).offsetY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn screenX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).screenX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn screenY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).screenY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn srcFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).srcFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLEventObj) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLEventObj> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLEventObj) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLEventObj> for ::windows::core::IUnknown { - fn from(value: &IHTMLEventObj) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLEventObj) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLEventObj> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLEventObj) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLEventObj> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLEventObj) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLEventObj { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLEventObj { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLEventObj {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLEventObj { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLEventObj").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLEventObj { - type Vtable = IHTMLEventObj_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f32d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLEventObj_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub srcElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - srcElement: usize, - pub altKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub ctrlKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub shiftKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetreturnValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetreturnValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub returnValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - returnValue: usize, - pub SetcancelBubble: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub cancelBubble: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub fromElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - fromElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub toElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - toElement: usize, - pub SetkeyCode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub keyCode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub button: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub qualifier: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - qualifier: usize, - pub reason: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clientX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clientY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub offsetX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub offsetY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub screenX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub screenY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub srcFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - srcFilter: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLEventObj2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLEventObj2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn setAttribute<'a, P0, P1>(&self, strattributename: P0, attributevalue: P1, lflags: i32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).setAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), attributevalue.into().abi(), lflags).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getAttribute<'a, P0>(&self, strattributename: P0, lflags: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn removeAttribute<'a, P0>(&self, strattributename: P0, lflags: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetpropertyName<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetpropertyName)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn propertyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).propertyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_bookmarks<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLBookmarkCollection>>, - { - (::windows::core::Interface::vtable(self).putref_bookmarks)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn bookmarks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bookmarks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_recordset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).putref_recordset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn recordset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).recordset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdataFld<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetdataFld)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dataFld(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dataFld)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_boundElements<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElementCollection>>, - { - (::windows::core::Interface::vtable(self).putref_boundElements)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn boundElements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).boundElements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setrepeat(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setrepeat)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn repeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).repeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetsrcUrn<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetsrcUrn)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn srcUrn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).srcUrn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_srcElement<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).putref_srcElement)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn srcElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).srcElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetaltKey(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetaltKey)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn altKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).altKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetctrlKey(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetctrlKey)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn ctrlKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ctrlKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetshiftKey(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetshiftKey)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn shiftKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).shiftKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_fromElement<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).putref_fromElement)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn fromElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fromElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_toElement<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).putref_toElement)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn toElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setbutton(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setbutton)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn button(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).button)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settype<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setqualifier<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setqualifier)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn qualifier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).qualifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setreason(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setreason)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn reason(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).reason)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setx(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetclientX(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetclientX)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn clientX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetclientY(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetclientY)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn clientY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetoffsetX(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetoffsetX)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn offsetX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).offsetX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetoffsetY(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetoffsetY)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn offsetY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).offsetY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetscreenX(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetscreenX)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn screenX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).screenX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetscreenY(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetscreenY)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn screenY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).screenY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_srcFilter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).putref_srcFilter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn srcFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).srcFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn dataTransfer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dataTransfer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLEventObj2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLEventObj2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLEventObj2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLEventObj2> for ::windows::core::IUnknown { - fn from(value: &IHTMLEventObj2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLEventObj2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLEventObj2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLEventObj2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLEventObj2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLEventObj2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLEventObj2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLEventObj2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLEventObj2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLEventObj2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLEventObj2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLEventObj2 { - type Vtable = IHTMLEventObj2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f48b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLEventObj2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub setAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, attributevalue: ::core::mem::ManuallyDrop, lflags: i32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - setAttribute: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, attributevalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getAttribute: usize, - #[cfg(feature = "Win32_Foundation")] - pub removeAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, pfsuccess: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - removeAttribute: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetpropertyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetpropertyName: usize, - #[cfg(feature = "Win32_Foundation")] - pub propertyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - propertyName: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_bookmarks: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_bookmarks: usize, - #[cfg(feature = "Win32_System_Com")] - pub bookmarks: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - bookmarks: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_recordset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_recordset: usize, - #[cfg(feature = "Win32_System_Com")] - pub recordset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - recordset: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetdataFld: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetdataFld: usize, - #[cfg(feature = "Win32_Foundation")] - pub dataFld: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dataFld: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_boundElements: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_boundElements: usize, - #[cfg(feature = "Win32_System_Com")] - pub boundElements: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - boundElements: usize, - pub Setrepeat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub repeat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetsrcUrn: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetsrcUrn: usize, - #[cfg(feature = "Win32_Foundation")] - pub srcUrn: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - srcUrn: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_srcElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_srcElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub srcElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - srcElement: usize, - pub SetaltKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub altKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetctrlKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub ctrlKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetshiftKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub shiftKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub putref_fromElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_fromElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub fromElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - fromElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_toElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_toElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub toElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - toElement: usize, - pub Setbutton: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub button: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Settype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settype: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setqualifier: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setqualifier: usize, - #[cfg(feature = "Win32_Foundation")] - pub qualifier: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - qualifier: usize, - pub Setreason: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub reason: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetclientX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub clientX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetclientY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub clientY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetoffsetX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub offsetX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetoffsetY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub offsetY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetscreenX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub screenX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetscreenY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub screenY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub putref_srcFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_srcFilter: usize, - #[cfg(feature = "Win32_System_Com")] - pub srcFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - srcFilter: usize, - #[cfg(feature = "Win32_System_Com")] - pub dataTransfer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - dataTransfer: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLEventObj3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLEventObj3 { - pub unsafe fn contentOverflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).contentOverflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetshiftLeft(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetshiftLeft)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn shiftLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).shiftLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetaltLeft(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetaltLeft)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn altLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).altLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetctrlLeft(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetctrlLeft)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn ctrlLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ctrlLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn imeCompositionChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).imeCompositionChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn imeNotifyCommand(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).imeNotifyCommand)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn imeNotifyData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).imeNotifyData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn imeRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).imeRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn imeRequestData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).imeRequestData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn keyboardLayout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).keyboardLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn behaviorCookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).behaviorCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn behaviorPart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).behaviorPart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn nextPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nextPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLEventObj3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLEventObj3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLEventObj3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLEventObj3> for ::windows::core::IUnknown { - fn from(value: &IHTMLEventObj3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLEventObj3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLEventObj3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLEventObj3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLEventObj3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLEventObj3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLEventObj3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLEventObj3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLEventObj3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLEventObj3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLEventObj3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLEventObj3 { - type Vtable = IHTMLEventObj3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f680_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLEventObj3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub contentOverflow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetshiftLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub shiftLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetaltLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub altLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetctrlLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub ctrlLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub imeCompositionChange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut isize) -> ::windows::core::HRESULT, - pub imeNotifyCommand: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut isize) -> ::windows::core::HRESULT, - pub imeNotifyData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut isize) -> ::windows::core::HRESULT, - pub imeRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut isize) -> ::windows::core::HRESULT, - pub imeRequestData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut isize) -> ::windows::core::HRESULT, - pub keyboardLayout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut isize) -> ::windows::core::HRESULT, - pub behaviorCookie: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub behaviorPart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub nextPage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - nextPage: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLEventObj4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLEventObj4 { - pub unsafe fn wheelDelta(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).wheelDelta)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLEventObj4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLEventObj4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLEventObj4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLEventObj4> for ::windows::core::IUnknown { - fn from(value: &IHTMLEventObj4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLEventObj4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLEventObj4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLEventObj4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLEventObj4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLEventObj4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLEventObj4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLEventObj4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLEventObj4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLEventObj4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLEventObj4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLEventObj4 { - type Vtable = IHTMLEventObj4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f814_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLEventObj4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub wheelDelta: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLEventObj5(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLEventObj5 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Seturl<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Seturl)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn url(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).url)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdata<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdata)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn source(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).source)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setorigin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setorigin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn origin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).origin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setissession(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setissession)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn issession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).issession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLEventObj5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLEventObj5> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLEventObj5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLEventObj5> for ::windows::core::IUnknown { - fn from(value: &IHTMLEventObj5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLEventObj5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLEventObj5> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLEventObj5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLEventObj5> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLEventObj5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLEventObj5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLEventObj5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLEventObj5 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLEventObj5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLEventObj5").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLEventObj5 { - type Vtable = IHTMLEventObj5_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510478_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLEventObj5_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Seturl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Seturl: usize, - #[cfg(feature = "Win32_Foundation")] - pub url: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - url: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdata: usize, - #[cfg(feature = "Win32_Foundation")] - pub data: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - data: usize, - #[cfg(feature = "Win32_System_Com")] - pub source: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - source: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setorigin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setorigin: usize, - #[cfg(feature = "Win32_Foundation")] - pub origin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - origin: usize, - pub Setissession: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub issession: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLEventObj6(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLEventObj6 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn actionURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).actionURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn buttonID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).buttonID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLEventObj6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLEventObj6> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLEventObj6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLEventObj6> for ::windows::core::IUnknown { - fn from(value: &IHTMLEventObj6) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLEventObj6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLEventObj6> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLEventObj6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLEventObj6> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLEventObj6) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLEventObj6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLEventObj6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLEventObj6 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLEventObj6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLEventObj6").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLEventObj6 { - type Vtable = IHTMLEventObj6_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510734_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLEventObj6_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub actionURL: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - actionURL: usize, - pub buttonID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFieldSetElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFieldSetElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFieldSetElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFieldSetElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFieldSetElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFieldSetElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLFieldSetElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFieldSetElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFieldSetElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFieldSetElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFieldSetElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFieldSetElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFieldSetElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFieldSetElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFieldSetElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFieldSetElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFieldSetElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFieldSetElement { - type Vtable = IHTMLFieldSetElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3e7_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFieldSetElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFieldSetElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFieldSetElement2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFieldSetElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFieldSetElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFieldSetElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFieldSetElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLFieldSetElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFieldSetElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFieldSetElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFieldSetElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFieldSetElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFieldSetElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFieldSetElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFieldSetElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFieldSetElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFieldSetElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFieldSetElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFieldSetElement2 { - type Vtable = IHTMLFieldSetElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f833_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFieldSetElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub form: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - form: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFiltersCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFiltersCollection { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFiltersCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFiltersCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFiltersCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFiltersCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLFiltersCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFiltersCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFiltersCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFiltersCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFiltersCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFiltersCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFiltersCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFiltersCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFiltersCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFiltersCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFiltersCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFiltersCollection { - type Vtable = IHTMLFiltersCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3ee_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFiltersCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub _newEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarindex: *const super::super::System::Com::VARIANT, pvarresult: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFontElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFontElement { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setcolor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setcolor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setface<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setface)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn face(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).face)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setsize<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setsize)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFontElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFontElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFontElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFontElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLFontElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFontElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFontElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFontElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFontElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFontElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFontElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFontElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFontElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFontElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFontElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFontElement { - type Vtable = IHTMLFontElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f1d9_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFontElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setcolor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setcolor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub color: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - color: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setface: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setface: usize, - #[cfg(feature = "Win32_Foundation")] - pub face: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - face: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setsize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setsize: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub size: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - size: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFontNamesCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFontNamesCollection { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFontNamesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFontNamesCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFontNamesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFontNamesCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLFontNamesCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFontNamesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFontNamesCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFontNamesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFontNamesCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFontNamesCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFontNamesCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFontNamesCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFontNamesCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFontNamesCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFontNamesCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFontNamesCollection { - type Vtable = IHTMLFontNamesCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f376_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFontNamesCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub _newEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pbstr: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFontSizesCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFontSizesCollection { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn forFont(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).forFont)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFontSizesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFontSizesCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFontSizesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFontSizesCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLFontSizesCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFontSizesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFontSizesCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFontSizesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFontSizesCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFontSizesCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFontSizesCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFontSizesCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFontSizesCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFontSizesCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFontSizesCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFontSizesCollection { - type Vtable = IHTMLFontSizesCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f377_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFontSizesCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub _newEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub forFont: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - forFont: usize, - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, plsize: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFormElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFormElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setaction<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setaction)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn action(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).action)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdir<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdir)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dir(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dir)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setencoding<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setencoding)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn encoding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).encoding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setmethod<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setmethod)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn method(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).method)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn elements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).elements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settarget<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settarget)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonsubmit<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonsubmit)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onsubmit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onsubmit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonreset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonreset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onreset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onreset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn submit(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).submit)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn reset(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).reset)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn Setlength(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setlength)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn item<'a, P0, P1>(&self, name: P0, index: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), name.into().abi(), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn tags<'a, P0>(&self, tagname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tags)(::windows::core::Interface::as_raw(self), tagname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFormElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFormElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFormElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFormElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLFormElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFormElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFormElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFormElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFormElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFormElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFormElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFormElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFormElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFormElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFormElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFormElement { - type Vtable = IHTMLFormElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f1f7_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFormElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setaction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setaction: usize, - #[cfg(feature = "Win32_Foundation")] - pub action: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - action: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdir: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdir: usize, - #[cfg(feature = "Win32_Foundation")] - pub dir: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dir: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setencoding: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setencoding: usize, - #[cfg(feature = "Win32_Foundation")] - pub encoding: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - encoding: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setmethod: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setmethod: usize, - #[cfg(feature = "Win32_Foundation")] - pub method: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - method: usize, - #[cfg(feature = "Win32_System_Com")] - pub elements: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - elements: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settarget: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settarget: usize, - #[cfg(feature = "Win32_Foundation")] - pub target: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - target: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonsubmit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonsubmit: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onsubmit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onsubmit: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonreset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonreset: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onreset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onreset: usize, - pub submit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub Setlength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub _newEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, index: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - item: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub tags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, tagname: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - tags: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFormElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFormElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetacceptCharset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetacceptCharset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn acceptCharset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).acceptCharset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn urns<'a, P0>(&self, urn: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).urns)(::windows::core::Interface::as_raw(self), urn.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFormElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFormElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFormElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFormElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLFormElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFormElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFormElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFormElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFormElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFormElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFormElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFormElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFormElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFormElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFormElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFormElement2 { - type Vtable = IHTMLFormElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4f6_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFormElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetacceptCharset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetacceptCharset: usize, - #[cfg(feature = "Win32_Foundation")] - pub acceptCharset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - acceptCharset: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub urns: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, urn: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - urns: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFormElement3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFormElement3 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn namedItem<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).namedItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFormElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFormElement3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFormElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFormElement3> for ::windows::core::IUnknown { - fn from(value: &IHTMLFormElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFormElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFormElement3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFormElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFormElement3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFormElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFormElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFormElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFormElement3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFormElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFormElement3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFormElement3 { - type Vtable = IHTMLFormElement3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f836_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFormElement3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub namedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - namedItem: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFormElement4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFormElement4 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setaction<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setaction)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn action(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).action)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFormElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFormElement4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFormElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFormElement4> for ::windows::core::IUnknown { - fn from(value: &IHTMLFormElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFormElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFormElement4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFormElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFormElement4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFormElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFormElement4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFormElement4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFormElement4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFormElement4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFormElement4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFormElement4 { - type Vtable = IHTMLFormElement4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051042c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFormElement4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setaction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setaction: usize, - #[cfg(feature = "Win32_Foundation")] - pub action: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - action: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFrameBase(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFrameBase { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setborder<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setborder)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetframeBorder<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetframeBorder)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn frameBorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).frameBorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetframeSpacing<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetframeSpacing)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn frameSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).frameSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmarginWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmarginWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmarginHeight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmarginHeight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetnoResize(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetnoResize)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn noResize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).noResize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setscrolling<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setscrolling)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn scrolling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrolling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFrameBase) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameBase> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFrameBase) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameBase> for ::windows::core::IUnknown { - fn from(value: &IHTMLFrameBase) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFrameBase) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameBase> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFrameBase) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameBase> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFrameBase) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFrameBase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFrameBase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFrameBase {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFrameBase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFrameBase").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFrameBase { - type Vtable = IHTMLFrameBase_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f311_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFrameBase_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub src: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - src: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setborder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setborder: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub border: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - border: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetframeBorder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetframeBorder: usize, - #[cfg(feature = "Win32_Foundation")] - pub frameBorder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - frameBorder: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetframeSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetframeSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub frameSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - frameSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmarginWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmarginWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmarginHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmarginHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginHeight: usize, - pub SetnoResize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub noResize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setscrolling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setscrolling: usize, - #[cfg(feature = "Win32_Foundation")] - pub scrolling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - scrolling: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFrameBase2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFrameBase2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn contentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).contentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonreadystatechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonreadystatechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetallowTransparency(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetallowTransparency)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn allowTransparency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).allowTransparency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFrameBase2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameBase2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFrameBase2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameBase2> for ::windows::core::IUnknown { - fn from(value: &IHTMLFrameBase2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFrameBase2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameBase2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFrameBase2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameBase2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFrameBase2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFrameBase2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFrameBase2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFrameBase2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFrameBase2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFrameBase2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFrameBase2 { - type Vtable = IHTMLFrameBase2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6db_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFrameBase2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub contentWindow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - contentWindow: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonreadystatechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onreadystatechange: usize, - #[cfg(feature = "Win32_Foundation")] - pub readyState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - readyState: usize, - pub SetallowTransparency: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub allowTransparency: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFrameBase3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFrameBase3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlongDesc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlongDesc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn longDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).longDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFrameBase3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameBase3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFrameBase3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameBase3> for ::windows::core::IUnknown { - fn from(value: &IHTMLFrameBase3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFrameBase3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameBase3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFrameBase3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameBase3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFrameBase3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFrameBase3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFrameBase3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFrameBase3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFrameBase3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFrameBase3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFrameBase3 { - type Vtable = IHTMLFrameBase3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f82e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFrameBase3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetlongDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlongDesc: usize, - #[cfg(feature = "Win32_Foundation")] - pub longDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - longDesc: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFrameElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFrameElement { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFrameElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFrameElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLFrameElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFrameElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFrameElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFrameElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFrameElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFrameElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFrameElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFrameElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFrameElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFrameElement { - type Vtable = IHTMLFrameElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f313_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFrameElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderColor: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFrameElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFrameElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setheight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setwidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFrameElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFrameElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLFrameElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFrameElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFrameElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFrameElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFrameElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFrameElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFrameElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFrameElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFrameElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFrameElement2 { - type Vtable = IHTMLFrameElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f7f5_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFrameElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setheight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setheight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - height: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setwidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - width: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFrameElement3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFrameElement3 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn contentDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).contentDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlongDesc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlongDesc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn longDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).longDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetframeBorder<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetframeBorder)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn frameBorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).frameBorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFrameElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameElement3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFrameElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameElement3> for ::windows::core::IUnknown { - fn from(value: &IHTMLFrameElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFrameElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameElement3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFrameElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameElement3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFrameElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFrameElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFrameElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFrameElement3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFrameElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFrameElement3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFrameElement3 { - type Vtable = IHTMLFrameElement3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051042d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFrameElement3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub contentDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - contentDocument: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub src: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - src: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlongDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlongDesc: usize, - #[cfg(feature = "Win32_Foundation")] - pub longDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - longDesc: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetframeBorder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetframeBorder: usize, - #[cfg(feature = "Win32_Foundation")] - pub frameBorder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - frameBorder: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFrameSetElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFrameSetElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setrows<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setrows)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcols<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcols)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cols(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cols)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setborder<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setborder)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetframeBorder<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetframeBorder)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn frameBorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).frameBorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetframeSpacing<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetframeSpacing)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn frameSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).frameSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonunload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonunload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onunload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onunload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbeforeunload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbeforeunload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbeforeunload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbeforeunload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFrameSetElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameSetElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFrameSetElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameSetElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLFrameSetElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFrameSetElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameSetElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFrameSetElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameSetElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFrameSetElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFrameSetElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFrameSetElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFrameSetElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFrameSetElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFrameSetElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFrameSetElement { - type Vtable = IHTMLFrameSetElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f319_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFrameSetElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setrows: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setrows: usize, - #[cfg(feature = "Win32_Foundation")] - pub rows: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rows: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setcols: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcols: usize, - #[cfg(feature = "Win32_Foundation")] - pub cols: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cols: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setborder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setborder: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub border: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - border: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetframeBorder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetframeBorder: usize, - #[cfg(feature = "Win32_Foundation")] - pub frameBorder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - frameBorder: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetframeSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetframeSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub frameSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - frameSpacing: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonunload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonunload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onunload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onunload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbeforeunload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbeforeunload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbeforeunload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbeforeunload: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFrameSetElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFrameSetElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbeforeprint<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbeforeprint)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbeforeprint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbeforeprint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonafterprint<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonafterprint)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onafterprint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onafterprint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFrameSetElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameSetElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFrameSetElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameSetElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLFrameSetElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFrameSetElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameSetElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFrameSetElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameSetElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFrameSetElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFrameSetElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFrameSetElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFrameSetElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFrameSetElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFrameSetElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFrameSetElement2 { - type Vtable = IHTMLFrameSetElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5c6_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFrameSetElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbeforeprint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbeforeprint: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbeforeprint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbeforeprint: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonafterprint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonafterprint: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onafterprint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onafterprint: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFrameSetElement3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFrameSetElement3 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonhashchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonhashchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onhashchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onhashchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmessage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmessage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonoffline<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonoffline)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onoffline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onoffline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setononline<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setononline)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ononline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ononline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonstorage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonstorage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onstorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onstorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFrameSetElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameSetElement3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFrameSetElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameSetElement3> for ::windows::core::IUnknown { - fn from(value: &IHTMLFrameSetElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFrameSetElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFrameSetElement3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFrameSetElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFrameSetElement3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFrameSetElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFrameSetElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFrameSetElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFrameSetElement3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFrameSetElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFrameSetElement3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFrameSetElement3 { - type Vtable = IHTMLFrameSetElement3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510796_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFrameSetElement3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonhashchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonhashchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onhashchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onhashchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmessage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmessage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonoffline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonoffline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onoffline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onoffline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setononline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setononline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ononline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ononline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonstorage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonstorage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onstorage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onstorage: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLFramesCollection2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLFramesCollection2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLFramesCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFramesCollection2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLFramesCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFramesCollection2> for ::windows::core::IUnknown { - fn from(value: &IHTMLFramesCollection2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLFramesCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLFramesCollection2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLFramesCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLFramesCollection2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLFramesCollection2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLFramesCollection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLFramesCollection2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLFramesCollection2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLFramesCollection2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLFramesCollection2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLFramesCollection2 { - type Vtable = IHTMLFramesCollection2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x332c4426_26cb_11d0_b483_00c04fd90119); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLFramesCollection2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarindex: *const super::super::System::Com::VARIANT, pvarresult: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - item: usize, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLGenericElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLGenericElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn recordset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).recordset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn namedRecordset<'a, P0>(&self, datamember: P0, hierarchy: *const super::super::System::Com::VARIANT) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).namedRecordset)(::windows::core::Interface::as_raw(self), datamember.into().abi(), ::core::mem::transmute(hierarchy), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLGenericElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLGenericElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLGenericElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLGenericElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLGenericElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLGenericElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLGenericElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLGenericElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLGenericElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLGenericElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLGenericElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLGenericElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLGenericElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLGenericElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLGenericElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLGenericElement { - type Vtable = IHTMLGenericElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4b7_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLGenericElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub recordset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - recordset: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub namedRecordset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, datamember: ::core::mem::ManuallyDrop, hierarchy: *const super::super::System::Com::VARIANT, pprecordset: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - namedRecordset: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLHRElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLHRElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setcolor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setcolor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetnoShade(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetnoShade)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn noShade(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).noShade)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setwidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setsize<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setsize)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLHRElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLHRElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLHRElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLHRElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLHRElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLHRElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLHRElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLHRElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLHRElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLHRElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLHRElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLHRElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLHRElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLHRElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLHRElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLHRElement { - type Vtable = IHTMLHRElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f1f4_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLHRElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setcolor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setcolor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub color: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - color: usize, - pub SetnoShade: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub noShade: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setwidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - width: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setsize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setsize: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub size: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - size: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLHeadElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLHeadElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setprofile<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setprofile)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn profile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).profile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLHeadElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLHeadElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLHeadElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLHeadElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLHeadElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLHeadElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLHeadElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLHeadElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLHeadElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLHeadElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLHeadElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLHeadElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLHeadElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLHeadElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLHeadElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLHeadElement { - type Vtable = IHTMLHeadElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f81d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLHeadElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setprofile: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setprofile: usize, - #[cfg(feature = "Win32_Foundation")] - pub profile: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - profile: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLHeadElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLHeadElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setprofile<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setprofile)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn profile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).profile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLHeadElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLHeadElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLHeadElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLHeadElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLHeadElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLHeadElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLHeadElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLHeadElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLHeadElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLHeadElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLHeadElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLHeadElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLHeadElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLHeadElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLHeadElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLHeadElement2 { - type Vtable = IHTMLHeadElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051042f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLHeadElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setprofile: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setprofile: usize, - #[cfg(feature = "Win32_Foundation")] - pub profile: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - profile: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLHeaderElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLHeaderElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLHeaderElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLHeaderElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLHeaderElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLHeaderElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLHeaderElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLHeaderElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLHeaderElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLHeaderElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLHeaderElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLHeaderElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLHeaderElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLHeaderElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLHeaderElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLHeaderElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLHeaderElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLHeaderElement { - type Vtable = IHTMLHeaderElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f1f6_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLHeaderElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLHtmlElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLHtmlElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setversion<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setversion)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLHtmlElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLHtmlElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLHtmlElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLHtmlElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLHtmlElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLHtmlElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLHtmlElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLHtmlElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLHtmlElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLHtmlElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLHtmlElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLHtmlElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLHtmlElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLHtmlElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLHtmlElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLHtmlElement { - type Vtable = IHTMLHtmlElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f81c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLHtmlElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setversion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setversion: usize, - #[cfg(feature = "Win32_Foundation")] - pub version: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - version: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLIFrameElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLIFrameElement { - pub unsafe fn Setvspace(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setvspace)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn vspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sethspace(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sethspace)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn hspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLIFrameElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLIFrameElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLIFrameElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLIFrameElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLIFrameElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLIFrameElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLIFrameElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLIFrameElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLIFrameElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLIFrameElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLIFrameElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLIFrameElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLIFrameElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLIFrameElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLIFrameElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLIFrameElement { - type Vtable = IHTMLIFrameElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f315_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLIFrameElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setvspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub vspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Sethspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub hspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLIFrameElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLIFrameElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setheight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setwidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLIFrameElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLIFrameElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLIFrameElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLIFrameElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLIFrameElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLIFrameElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLIFrameElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLIFrameElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLIFrameElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLIFrameElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLIFrameElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLIFrameElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLIFrameElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLIFrameElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLIFrameElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLIFrameElement2 { - type Vtable = IHTMLIFrameElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4e6_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLIFrameElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setheight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setheight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - height: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setwidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - width: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLIFrameElement3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLIFrameElement3 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn contentDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).contentDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlongDesc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlongDesc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn longDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).longDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetframeBorder<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetframeBorder)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn frameBorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).frameBorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLIFrameElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLIFrameElement3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLIFrameElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLIFrameElement3> for ::windows::core::IUnknown { - fn from(value: &IHTMLIFrameElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLIFrameElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLIFrameElement3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLIFrameElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLIFrameElement3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLIFrameElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLIFrameElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLIFrameElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLIFrameElement3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLIFrameElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLIFrameElement3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLIFrameElement3 { - type Vtable = IHTMLIFrameElement3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510433_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLIFrameElement3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub contentDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - contentDocument: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub src: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - src: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlongDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlongDesc: usize, - #[cfg(feature = "Win32_Foundation")] - pub longDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - longDesc: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetframeBorder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetframeBorder: usize, - #[cfg(feature = "Win32_Foundation")] - pub frameBorder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - frameBorder: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLIPrintCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLIPrintCollection { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLIPrintCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLIPrintCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLIPrintCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLIPrintCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLIPrintCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLIPrintCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLIPrintCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLIPrintCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLIPrintCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLIPrintCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLIPrintCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLIPrintCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLIPrintCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLIPrintCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLIPrintCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLIPrintCollection { - type Vtable = IHTMLIPrintCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6b5_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLIPrintCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub _newEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppiprint: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLImageElementFactory(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLImageElementFactory { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn create<'a, P0, P1>(&self, width: P0, height: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).create)(::windows::core::Interface::as_raw(self), width.into().abi(), height.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLImageElementFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLImageElementFactory> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLImageElementFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLImageElementFactory> for ::windows::core::IUnknown { - fn from(value: &IHTMLImageElementFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLImageElementFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLImageElementFactory> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLImageElementFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLImageElementFactory> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLImageElementFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLImageElementFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLImageElementFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLImageElementFactory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLImageElementFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLImageElementFactory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLImageElementFactory { - type Vtable = IHTMLImageElementFactory_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f38e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLImageElementFactory_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub create: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, width: ::core::mem::ManuallyDrop, height: ::core::mem::ManuallyDrop, __midl__ihtmlimageelementfactory0000: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - create: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLImgElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLImgElement { - pub unsafe fn SetisMap(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetisMap)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn isMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetuseMap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetuseMap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn useMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).useMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn mimeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).mimeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fileSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fileSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fileCreatedDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fileCreatedDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fileModifiedDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fileModifiedDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fileUpdatedDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fileUpdatedDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn nameProp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nameProp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setborder<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setborder)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setvspace(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setvspace)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn vspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sethspace(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sethspace)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn hspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalt<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalt)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn alt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).alt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setlowsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setlowsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn lowsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lowsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvrml<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvrml)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn vrml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vrml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdynsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdynsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dynsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dynsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn complete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).complete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setloop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setloop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn r#loop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#loop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonerror<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonerror)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonabort<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonabort)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onabort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onabort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setwidth(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setheight(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setstart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setstart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn start(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).start)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLImgElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLImgElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLImgElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLImgElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLImgElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLImgElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLImgElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLImgElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLImgElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLImgElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLImgElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLImgElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLImgElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLImgElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLImgElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLImgElement { - type Vtable = IHTMLImgElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f240_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLImgElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetisMap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub isMap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetuseMap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetuseMap: usize, - #[cfg(feature = "Win32_Foundation")] - pub useMap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - useMap: usize, - #[cfg(feature = "Win32_Foundation")] - pub mimeType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - mimeType: usize, - #[cfg(feature = "Win32_Foundation")] - pub fileSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fileSize: usize, - #[cfg(feature = "Win32_Foundation")] - pub fileCreatedDate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fileCreatedDate: usize, - #[cfg(feature = "Win32_Foundation")] - pub fileModifiedDate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fileModifiedDate: usize, - #[cfg(feature = "Win32_Foundation")] - pub fileUpdatedDate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fileUpdatedDate: usize, - #[cfg(feature = "Win32_Foundation")] - pub protocol: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - protocol: usize, - #[cfg(feature = "Win32_Foundation")] - pub href: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - href: usize, - #[cfg(feature = "Win32_Foundation")] - pub nameProp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - nameProp: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setborder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setborder: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub border: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - border: usize, - pub Setvspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub vspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Sethspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub hspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setalt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalt: usize, - #[cfg(feature = "Win32_Foundation")] - pub alt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - alt: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub src: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - src: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setlowsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setlowsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub lowsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - lowsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvrml: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvrml: usize, - #[cfg(feature = "Win32_Foundation")] - pub vrml: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - vrml: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdynsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdynsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub dynsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dynsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub readyState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - readyState: usize, - pub complete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setloop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setloop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub r#loop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - r#loop: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonabort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonabort: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onabort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onabort: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Setheight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setstart: usize, - #[cfg(feature = "Win32_Foundation")] - pub start: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - start: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLImgElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLImgElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlongDesc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlongDesc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn longDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).longDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLImgElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLImgElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLImgElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLImgElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLImgElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLImgElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLImgElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLImgElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLImgElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLImgElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLImgElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLImgElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLImgElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLImgElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLImgElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLImgElement2 { - type Vtable = IHTMLImgElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f826_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLImgElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetlongDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlongDesc: usize, - #[cfg(feature = "Win32_Foundation")] - pub longDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - longDesc: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLImgElement3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLImgElement3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlongDesc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlongDesc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn longDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).longDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvrml<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvrml)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn vrml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vrml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setlowsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setlowsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn lowsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lowsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdynsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdynsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dynsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dynsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLImgElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLImgElement3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLImgElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLImgElement3> for ::windows::core::IUnknown { - fn from(value: &IHTMLImgElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLImgElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLImgElement3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLImgElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLImgElement3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLImgElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLImgElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLImgElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLImgElement3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLImgElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLImgElement3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLImgElement3 { - type Vtable = IHTMLImgElement3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510434_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLImgElement3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetlongDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlongDesc: usize, - #[cfg(feature = "Win32_Foundation")] - pub longDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - longDesc: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvrml: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvrml: usize, - #[cfg(feature = "Win32_Foundation")] - pub vrml: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - vrml: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setlowsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setlowsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub lowsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - lowsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdynsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdynsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub dynsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dynsrc: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLImgElement4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLImgElement4 { - pub unsafe fn naturalWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).naturalWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn naturalHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).naturalHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLImgElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLImgElement4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLImgElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLImgElement4> for ::windows::core::IUnknown { - fn from(value: &IHTMLImgElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLImgElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLImgElement4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLImgElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLImgElement4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLImgElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLImgElement4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLImgElement4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLImgElement4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLImgElement4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLImgElement4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLImgElement4 { - type Vtable = IHTMLImgElement4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107f6_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLImgElement4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub naturalWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub naturalHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLInputButtonElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLInputButtonElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setstatus<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setstatus)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createTextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createTextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLInputButtonElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputButtonElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLInputButtonElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputButtonElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLInputButtonElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLInputButtonElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputButtonElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLInputButtonElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputButtonElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLInputButtonElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLInputButtonElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLInputButtonElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLInputButtonElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLInputButtonElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLInputButtonElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLInputButtonElement { - type Vtable = IHTMLInputButtonElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2b2_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLInputButtonElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setstatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setstatus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub status: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - status: usize, - pub Setdisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub disabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub form: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - form: usize, - #[cfg(feature = "Win32_System_Com")] - pub createTextRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createTextRange: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLInputElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLInputElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settype<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setstatus(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setstatus)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setsize(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setsize)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmaxLength(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetmaxLength)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn maxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).maxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn select(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).select)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonselect<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonselect)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdefaultValue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetdefaultValue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn defaultValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).defaultValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetreadOnly(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetreadOnly)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn readOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createTextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createTextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setindeterminate(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setindeterminate)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn indeterminate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).indeterminate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetdefaultChecked(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetdefaultChecked)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn defaultChecked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).defaultChecked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setchecked(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setchecked)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn checked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).checked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setborder<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setborder)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setvspace(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setvspace)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn vspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sethspace(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sethspace)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn hspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalt<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalt)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn alt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).alt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setlowsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setlowsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn lowsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lowsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvrml<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvrml)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn vrml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vrml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdynsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdynsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dynsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dynsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn complete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).complete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setloop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setloop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn r#loop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#loop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonerror<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonerror)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonabort<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonabort)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onabort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onabort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setwidth(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setheight(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setstart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setstart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn start(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).start)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLInputElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLInputElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLInputElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLInputElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLInputElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLInputElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLInputElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLInputElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLInputElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLInputElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLInputElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLInputElement { - type Vtable = IHTMLInputElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5d2_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLInputElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Settype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settype: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - pub Setstatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub status: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setdisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub disabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub form: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - form: usize, - pub Setsize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub size: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetmaxLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub maxLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub select: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonselect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onselect: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetdefaultValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetdefaultValue: usize, - #[cfg(feature = "Win32_Foundation")] - pub defaultValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - defaultValue: usize, - pub SetreadOnly: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub readOnly: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub createTextRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createTextRange: usize, - pub Setindeterminate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub indeterminate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetdefaultChecked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub defaultChecked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setchecked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub checked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setborder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setborder: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub border: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - border: usize, - pub Setvspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub vspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Sethspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub hspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setalt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalt: usize, - #[cfg(feature = "Win32_Foundation")] - pub alt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - alt: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub src: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - src: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setlowsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setlowsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub lowsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - lowsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvrml: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvrml: usize, - #[cfg(feature = "Win32_Foundation")] - pub vrml: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - vrml: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdynsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdynsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub dynsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dynsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub readyState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - readyState: usize, - pub complete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setloop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setloop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub r#loop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - r#loop: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonabort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonabort: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onabort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onabort: usize, - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Setheight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setstart: usize, - #[cfg(feature = "Win32_Foundation")] - pub start: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - start: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLInputElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLInputElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setaccept<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setaccept)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn accept(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).accept)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetuseMap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetuseMap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn useMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).useMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLInputElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLInputElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLInputElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLInputElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLInputElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLInputElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLInputElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLInputElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLInputElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLInputElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLInputElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLInputElement2 { - type Vtable = IHTMLInputElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f821_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLInputElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setaccept: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setaccept: usize, - #[cfg(feature = "Win32_Foundation")] - pub accept: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - accept: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetuseMap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetuseMap: usize, - #[cfg(feature = "Win32_Foundation")] - pub useMap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - useMap: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLInputElement3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLInputElement3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setlowsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setlowsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn lowsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lowsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvrml<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvrml)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn vrml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vrml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdynsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdynsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dynsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dynsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLInputElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputElement3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLInputElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputElement3> for ::windows::core::IUnknown { - fn from(value: &IHTMLInputElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLInputElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputElement3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLInputElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputElement3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLInputElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLInputElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLInputElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLInputElement3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLInputElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLInputElement3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLInputElement3 { - type Vtable = IHTMLInputElement3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510435_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLInputElement3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub src: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - src: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setlowsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setlowsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub lowsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - lowsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvrml: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvrml: usize, - #[cfg(feature = "Win32_Foundation")] - pub vrml: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - vrml: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdynsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdynsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub dynsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dynsrc: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLInputFileElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLInputFileElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setstatus<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setstatus)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setsize(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setsize)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmaxLength(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetmaxLength)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn maxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).maxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn select(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).select)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonselect<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonselect)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLInputFileElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputFileElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLInputFileElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputFileElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLInputFileElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLInputFileElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputFileElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLInputFileElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputFileElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLInputFileElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLInputFileElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLInputFileElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLInputFileElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLInputFileElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLInputFileElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLInputFileElement { - type Vtable = IHTMLInputFileElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2ad_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLInputFileElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setstatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setstatus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub status: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - status: usize, - pub Setdisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub disabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub form: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - form: usize, - pub Setsize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub size: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetmaxLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub maxLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub select: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonselect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onselect: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLInputHiddenElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLInputHiddenElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setstatus<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setstatus)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createTextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createTextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLInputHiddenElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputHiddenElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLInputHiddenElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputHiddenElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLInputHiddenElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLInputHiddenElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputHiddenElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLInputHiddenElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputHiddenElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLInputHiddenElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLInputHiddenElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLInputHiddenElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLInputHiddenElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLInputHiddenElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLInputHiddenElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLInputHiddenElement { - type Vtable = IHTMLInputHiddenElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2a4_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLInputHiddenElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setstatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setstatus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub status: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - status: usize, - pub Setdisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub disabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub form: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - form: usize, - #[cfg(feature = "Win32_System_Com")] - pub createTextRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createTextRange: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLInputImage(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLInputImage { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setborder<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setborder)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setvspace(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setvspace)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn vspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sethspace(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sethspace)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn hspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalt<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalt)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn alt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).alt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setlowsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setlowsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn lowsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lowsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvrml<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvrml)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn vrml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vrml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdynsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdynsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dynsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dynsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn complete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).complete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setloop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setloop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn r#loop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#loop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonerror<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonerror)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonabort<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonabort)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onabort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onabort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setwidth(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setheight(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setstart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setstart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn start(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).start)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLInputImage) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputImage> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLInputImage) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputImage> for ::windows::core::IUnknown { - fn from(value: &IHTMLInputImage) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLInputImage) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputImage> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLInputImage) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputImage> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLInputImage) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLInputImage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLInputImage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLInputImage {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLInputImage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLInputImage").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLInputImage { - type Vtable = IHTMLInputImage_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2c2_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLInputImage_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - pub Setdisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub disabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setborder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setborder: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub border: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - border: usize, - pub Setvspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub vspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Sethspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub hspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setalt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalt: usize, - #[cfg(feature = "Win32_Foundation")] - pub alt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - alt: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub src: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - src: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setlowsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setlowsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub lowsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - lowsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvrml: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvrml: usize, - #[cfg(feature = "Win32_Foundation")] - pub vrml: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - vrml: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdynsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdynsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub dynsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dynsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub readyState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - readyState: usize, - pub complete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setloop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setloop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub r#loop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - r#loop: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonabort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonabort: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onabort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onabort: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Setheight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setstart: usize, - #[cfg(feature = "Win32_Foundation")] - pub start: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - start: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLInputRangeElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLInputRangeElement { - pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalt<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalt)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn alt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).alt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setmin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setmin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn min(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).min)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setmax<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setmax)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn max(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).max)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setstep<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setstep)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn step(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).step)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetvalueAsNumber(&self, v: f64) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetvalueAsNumber)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn valueAsNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).valueAsNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn stepUp(&self, n: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).stepUp)(::windows::core::Interface::as_raw(self), n).ok() - } - pub unsafe fn stepDown(&self, n: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).stepDown)(::windows::core::Interface::as_raw(self), n).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLInputRangeElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputRangeElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLInputRangeElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputRangeElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLInputRangeElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLInputRangeElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputRangeElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLInputRangeElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputRangeElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLInputRangeElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLInputRangeElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLInputRangeElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLInputRangeElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLInputRangeElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLInputRangeElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLInputRangeElement { - type Vtable = IHTMLInputRangeElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2d4_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLInputRangeElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setdisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub disabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setalt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalt: usize, - #[cfg(feature = "Win32_Foundation")] - pub alt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - alt: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setmin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setmin: usize, - #[cfg(feature = "Win32_Foundation")] - pub min: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - min: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setmax: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setmax: usize, - #[cfg(feature = "Win32_Foundation")] - pub max: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - max: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setstep: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setstep: usize, - #[cfg(feature = "Win32_Foundation")] - pub step: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - step: usize, - pub SetvalueAsNumber: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f64) -> ::windows::core::HRESULT, - pub valueAsNumber: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT, - pub stepUp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, n: i32) -> ::windows::core::HRESULT, - pub stepDown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, n: i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLInputTextElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLInputTextElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setstatus<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setstatus)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdefaultValue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetdefaultValue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn defaultValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).defaultValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setsize(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setsize)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmaxLength(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetmaxLength)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn maxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).maxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn select(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).select)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonselect<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonselect)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetreadOnly(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetreadOnly)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn readOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createTextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createTextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLInputTextElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputTextElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLInputTextElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputTextElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLInputTextElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLInputTextElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputTextElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLInputTextElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputTextElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLInputTextElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLInputTextElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLInputTextElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLInputTextElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLInputTextElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLInputTextElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLInputTextElement { - type Vtable = IHTMLInputTextElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2a6_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLInputTextElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setstatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setstatus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub status: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - status: usize, - pub Setdisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub disabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub form: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - form: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetdefaultValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetdefaultValue: usize, - #[cfg(feature = "Win32_Foundation")] - pub defaultValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - defaultValue: usize, - pub Setsize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub size: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetmaxLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub maxLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub select: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonselect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onselect: usize, - pub SetreadOnly: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub readOnly: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub createTextRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createTextRange: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLInputTextElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLInputTextElement2 { - pub unsafe fn SetselectionStart(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetselectionStart)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn selectionStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).selectionStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetselectionEnd(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetselectionEnd)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn selectionEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).selectionEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn setSelectionRange(&self, start: i32, end: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).setSelectionRange)(::windows::core::Interface::as_raw(self), start, end).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLInputTextElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputTextElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLInputTextElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputTextElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLInputTextElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLInputTextElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLInputTextElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLInputTextElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLInputTextElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLInputTextElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLInputTextElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLInputTextElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLInputTextElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLInputTextElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLInputTextElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLInputTextElement2 { - type Vtable = IHTMLInputTextElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2d2_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLInputTextElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetselectionStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub selectionStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetselectionEnd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub selectionEnd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub setSelectionRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, start: i32, end: i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLIsIndexElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLIsIndexElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setprompt<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setprompt)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn prompt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).prompt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setaction<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setaction)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn action(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).action)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLIsIndexElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLIsIndexElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLIsIndexElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLIsIndexElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLIsIndexElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLIsIndexElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLIsIndexElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLIsIndexElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLIsIndexElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLIsIndexElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLIsIndexElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLIsIndexElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLIsIndexElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLIsIndexElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLIsIndexElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLIsIndexElement { - type Vtable = IHTMLIsIndexElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f206_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLIsIndexElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setprompt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setprompt: usize, - #[cfg(feature = "Win32_Foundation")] - pub prompt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - prompt: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setaction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setaction: usize, - #[cfg(feature = "Win32_Foundation")] - pub action: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - action: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLIsIndexElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLIsIndexElement2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLIsIndexElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLIsIndexElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLIsIndexElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLIsIndexElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLIsIndexElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLIsIndexElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLIsIndexElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLIsIndexElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLIsIndexElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLIsIndexElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLIsIndexElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLIsIndexElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLIsIndexElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLIsIndexElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLIsIndexElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLIsIndexElement2 { - type Vtable = IHTMLIsIndexElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f82f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLIsIndexElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub form: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - form: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLLIElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLLIElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settype<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setvalue(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLLIElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLIElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLLIElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLIElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLLIElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLLIElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLIElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLLIElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLIElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLLIElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLLIElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLLIElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLLIElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLLIElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLLIElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLLIElement { - type Vtable = IHTMLLIElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f1e0_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLLIElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Settype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settype: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLLabelElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLLabelElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SethtmlFor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SethtmlFor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn htmlFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).htmlFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetaccessKey<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetaccessKey)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn accessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).accessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLLabelElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLabelElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLLabelElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLabelElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLLabelElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLLabelElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLabelElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLLabelElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLabelElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLLabelElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLLabelElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLLabelElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLLabelElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLLabelElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLLabelElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLLabelElement { - type Vtable = IHTMLLabelElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f32a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLLabelElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SethtmlFor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SethtmlFor: usize, - #[cfg(feature = "Win32_Foundation")] - pub htmlFor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - htmlFor: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetaccessKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetaccessKey: usize, - #[cfg(feature = "Win32_Foundation")] - pub accessKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - accessKey: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLLabelElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLLabelElement2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLLabelElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLabelElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLLabelElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLabelElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLLabelElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLLabelElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLabelElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLLabelElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLabelElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLLabelElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLLabelElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLLabelElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLLabelElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLLabelElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLLabelElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLLabelElement2 { - type Vtable = IHTMLLabelElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f832_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLLabelElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub form: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - form: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLLegendElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLLegendElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLLegendElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLegendElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLLegendElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLegendElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLLegendElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLLegendElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLegendElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLLegendElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLegendElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLLegendElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLLegendElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLLegendElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLLegendElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLLegendElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLLegendElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLLegendElement { - type Vtable = IHTMLLegendElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3ea_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLLegendElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLLegendElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLLegendElement2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLLegendElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLegendElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLLegendElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLegendElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLLegendElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLLegendElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLegendElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLLegendElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLegendElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLLegendElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLLegendElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLLegendElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLLegendElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLLegendElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLLegendElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLLegendElement2 { - type Vtable = IHTMLLegendElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f834_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLLegendElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub form: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - form: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLLinkElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLLinkElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethref<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethref)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setrel<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setrel)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setrev<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setrev)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rev(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rev)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settype<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonreadystatechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonreadystatechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonerror<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonerror)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn styleSheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).styleSheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setmedia<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setmedia)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLLinkElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLinkElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLLinkElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLinkElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLLinkElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLLinkElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLinkElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLLinkElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLinkElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLLinkElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLLinkElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLLinkElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLLinkElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLLinkElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLLinkElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLLinkElement { - type Vtable = IHTMLLinkElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f205_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLLinkElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Sethref: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethref: usize, - #[cfg(feature = "Win32_Foundation")] - pub href: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - href: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setrel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setrel: usize, - #[cfg(feature = "Win32_Foundation")] - pub rel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rel: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setrev: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setrev: usize, - #[cfg(feature = "Win32_Foundation")] - pub rev: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rev: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settype: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub readyState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - readyState: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonreadystatechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onreadystatechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onerror: usize, - #[cfg(feature = "Win32_System_Com")] - pub styleSheet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - styleSheet: usize, - pub Setdisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub disabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setmedia: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setmedia: usize, - #[cfg(feature = "Win32_Foundation")] - pub media: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - media: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLLinkElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLLinkElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settarget<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settarget)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLLinkElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLinkElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLLinkElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLinkElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLLinkElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLLinkElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLinkElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLLinkElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLinkElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLLinkElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLLinkElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLLinkElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLLinkElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLLinkElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLLinkElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLLinkElement2 { - type Vtable = IHTMLLinkElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4e5_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLLinkElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Settarget: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settarget: usize, - #[cfg(feature = "Win32_Foundation")] - pub target: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - target: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLLinkElement3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLLinkElement3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcharset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcharset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn charset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).charset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethreflang<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethreflang)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn hreflang(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hreflang)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLLinkElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLinkElement3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLLinkElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLinkElement3> for ::windows::core::IUnknown { - fn from(value: &IHTMLLinkElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLLinkElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLinkElement3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLLinkElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLinkElement3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLLinkElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLLinkElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLLinkElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLLinkElement3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLLinkElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLLinkElement3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLLinkElement3 { - type Vtable = IHTMLLinkElement3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f81e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLLinkElement3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setcharset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcharset: usize, - #[cfg(feature = "Win32_Foundation")] - pub charset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - charset: usize, - #[cfg(feature = "Win32_Foundation")] - pub Sethreflang: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethreflang: usize, - #[cfg(feature = "Win32_Foundation")] - pub hreflang: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - hreflang: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLLinkElement4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLLinkElement4 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethref<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethref)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLLinkElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLinkElement4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLLinkElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLinkElement4> for ::windows::core::IUnknown { - fn from(value: &IHTMLLinkElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLLinkElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLinkElement4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLLinkElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLinkElement4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLLinkElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLLinkElement4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLLinkElement4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLLinkElement4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLLinkElement4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLLinkElement4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLLinkElement4 { - type Vtable = IHTMLLinkElement4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051043a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLLinkElement4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Sethref: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethref: usize, - #[cfg(feature = "Win32_Foundation")] - pub href: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - href: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLLinkElement5(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLLinkElement5 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn sheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).sheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLLinkElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLinkElement5> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLLinkElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLinkElement5> for ::windows::core::IUnknown { - fn from(value: &IHTMLLinkElement5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLLinkElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLinkElement5> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLLinkElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLinkElement5> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLLinkElement5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLLinkElement5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLLinkElement5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLLinkElement5 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLLinkElement5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLLinkElement5").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLLinkElement5 { - type Vtable = IHTMLLinkElement5_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510726_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLLinkElement5_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub sheet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - sheet: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLListElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLListElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLListElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLListElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLListElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLListElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLListElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLListElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLListElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLListElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLListElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLListElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLListElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLListElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLListElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLListElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLListElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLListElement { - type Vtable = IHTMLListElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f20e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLListElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLListElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLListElement2 { - pub unsafe fn Setcompact(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setcompact)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn compact(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).compact)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLListElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLListElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLListElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLListElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLListElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLListElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLListElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLListElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLListElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLListElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLListElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLListElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLListElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLListElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLListElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLListElement2 { - type Vtable = IHTMLListElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f822_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLListElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setcompact: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub compact: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLLocation(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLLocation { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethref<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethref)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setprotocol<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setprotocol)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethost<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethost)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn host(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).host)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethostname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethostname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn hostname(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hostname)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setport<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setport)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn port(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).port)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setpathname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setpathname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pathname(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pathname)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsearch<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsearch)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn search(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).search)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethash<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethash)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn hash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn reload(&self, flag: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).reload)(::windows::core::Interface::as_raw(self), flag).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn replace<'a, P0>(&self, bstr: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).replace)(::windows::core::Interface::as_raw(self), bstr.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn assign<'a, P0>(&self, bstr: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).assign)(::windows::core::Interface::as_raw(self), bstr.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLLocation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLocation> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLLocation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLocation> for ::windows::core::IUnknown { - fn from(value: &IHTMLLocation) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLLocation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLLocation> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLLocation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLLocation> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLLocation) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLLocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLLocation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLLocation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLLocation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLLocation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLLocation { - type Vtable = IHTMLLocation_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x163bb1e0_6e00_11cf_837a_48dc04c10000); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLLocation_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Sethref: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethref: usize, - #[cfg(feature = "Win32_Foundation")] - pub href: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - href: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setprotocol: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setprotocol: usize, - #[cfg(feature = "Win32_Foundation")] - pub protocol: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - protocol: usize, - #[cfg(feature = "Win32_Foundation")] - pub Sethost: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethost: usize, - #[cfg(feature = "Win32_Foundation")] - pub host: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - host: usize, - #[cfg(feature = "Win32_Foundation")] - pub Sethostname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethostname: usize, - #[cfg(feature = "Win32_Foundation")] - pub hostname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - hostname: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setport: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setport: usize, - #[cfg(feature = "Win32_Foundation")] - pub port: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - port: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setpathname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setpathname: usize, - #[cfg(feature = "Win32_Foundation")] - pub pathname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pathname: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setsearch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsearch: usize, - #[cfg(feature = "Win32_Foundation")] - pub search: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - search: usize, - #[cfg(feature = "Win32_Foundation")] - pub Sethash: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethash: usize, - #[cfg(feature = "Win32_Foundation")] - pub hash: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - hash: usize, - pub reload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flag: i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub replace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstr: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - replace: usize, - #[cfg(feature = "Win32_Foundation")] - pub assign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstr: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - assign: usize, - #[cfg(feature = "Win32_Foundation")] - pub toString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - toString: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLMSCSSKeyframeRule(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLMSCSSKeyframeRule { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetkeyText<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetkeyText)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn keyText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).keyText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn style(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).style)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLMSCSSKeyframeRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMSCSSKeyframeRule> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLMSCSSKeyframeRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMSCSSKeyframeRule> for ::windows::core::IUnknown { - fn from(value: &IHTMLMSCSSKeyframeRule) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLMSCSSKeyframeRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMSCSSKeyframeRule> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLMSCSSKeyframeRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMSCSSKeyframeRule> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLMSCSSKeyframeRule) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLMSCSSKeyframeRule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLMSCSSKeyframeRule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLMSCSSKeyframeRule {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLMSCSSKeyframeRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLMSCSSKeyframeRule").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLMSCSSKeyframeRule { - type Vtable = IHTMLMSCSSKeyframeRule_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051080c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLMSCSSKeyframeRule_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetkeyText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetkeyText: usize, - #[cfg(feature = "Win32_Foundation")] - pub keyText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - keyText: usize, - #[cfg(feature = "Win32_System_Com")] - pub style: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - style: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLMSCSSKeyframesRule(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLMSCSSKeyframesRule { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn cssRules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cssRules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn appendRule<'a, P0>(&self, bstrrule: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).appendRule)(::windows::core::Interface::as_raw(self), bstrrule.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn deleteRule<'a, P0>(&self, bstrkey: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).deleteRule)(::windows::core::Interface::as_raw(self), bstrkey.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn findRule<'a, P0>(&self, bstrkey: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).findRule)(::windows::core::Interface::as_raw(self), bstrkey.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLMSCSSKeyframesRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMSCSSKeyframesRule> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLMSCSSKeyframesRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMSCSSKeyframesRule> for ::windows::core::IUnknown { - fn from(value: &IHTMLMSCSSKeyframesRule) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLMSCSSKeyframesRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMSCSSKeyframesRule> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLMSCSSKeyframesRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMSCSSKeyframesRule> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLMSCSSKeyframesRule) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLMSCSSKeyframesRule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLMSCSSKeyframesRule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLMSCSSKeyframesRule {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLMSCSSKeyframesRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLMSCSSKeyframesRule").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLMSCSSKeyframesRule { - type Vtable = IHTMLMSCSSKeyframesRule_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051080d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLMSCSSKeyframesRule_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(feature = "Win32_System_Com")] - pub cssRules: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - cssRules: usize, - #[cfg(feature = "Win32_Foundation")] - pub appendRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrrule: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - appendRule: usize, - #[cfg(feature = "Win32_Foundation")] - pub deleteRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrkey: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - deleteRule: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub findRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrkey: ::core::mem::ManuallyDrop, ppmskeyframerule: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - findRule: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLMSImgElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLMSImgElement { - pub unsafe fn SetmsPlayToDisabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetmsPlayToDisabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn msPlayToDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msPlayToDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmsPlayToPrimary(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetmsPlayToPrimary)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn msPlayToPrimary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msPlayToPrimary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLMSImgElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMSImgElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLMSImgElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMSImgElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLMSImgElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLMSImgElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMSImgElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLMSImgElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMSImgElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLMSImgElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLMSImgElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLMSImgElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLMSImgElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLMSImgElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLMSImgElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLMSImgElement { - type Vtable = IHTMLMSImgElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510793_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLMSImgElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetmsPlayToDisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub msPlayToDisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetmsPlayToPrimary: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub msPlayToPrimary: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLMSMediaElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLMSMediaElement { - pub unsafe fn SetmsPlayToDisabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetmsPlayToDisabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn msPlayToDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msPlayToDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmsPlayToPrimary(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetmsPlayToPrimary)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn msPlayToPrimary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msPlayToPrimary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLMSMediaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMSMediaElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLMSMediaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMSMediaElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLMSMediaElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLMSMediaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMSMediaElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLMSMediaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMSMediaElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLMSMediaElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLMSMediaElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLMSMediaElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLMSMediaElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLMSMediaElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLMSMediaElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLMSMediaElement { - type Vtable = IHTMLMSMediaElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510792_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLMSMediaElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetmsPlayToDisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub msPlayToDisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetmsPlayToPrimary: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub msPlayToPrimary: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLMapElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLMapElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn areas(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).areas)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLMapElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMapElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLMapElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMapElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLMapElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLMapElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMapElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLMapElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMapElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLMapElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLMapElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLMapElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLMapElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLMapElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLMapElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLMapElement { - type Vtable = IHTMLMapElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f266_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLMapElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub areas: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - areas: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLMarqueeElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLMarqueeElement { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbgColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbgColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn bgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetscrollDelay(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetscrollDelay)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn scrollDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdirection<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdirection)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setbehavior<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setbehavior)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn behavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).behavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetscrollAmount(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetscrollAmount)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn scrollAmount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollAmount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setloop(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setloop)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn r#loop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#loop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setvspace(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setvspace)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn vspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sethspace(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sethspace)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn hspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonfinish<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonfinish)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onfinish(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onfinish)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonstart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonstart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbounce<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbounce)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbounce(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbounce)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setwidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setheight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettrueSpeed(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SettrueSpeed)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn trueSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).trueSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn start(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).start)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn stop(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).stop)(::windows::core::Interface::as_raw(self)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLMarqueeElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMarqueeElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLMarqueeElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMarqueeElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLMarqueeElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLMarqueeElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMarqueeElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLMarqueeElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMarqueeElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLMarqueeElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLMarqueeElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLMarqueeElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLMarqueeElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLMarqueeElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLMarqueeElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLMarqueeElement { - type Vtable = IHTMLMarqueeElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2b5_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLMarqueeElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbgColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbgColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub bgColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - bgColor: usize, - pub SetscrollDelay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub scrollDelay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setdirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdirection: usize, - #[cfg(feature = "Win32_Foundation")] - pub direction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - direction: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setbehavior: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setbehavior: usize, - #[cfg(feature = "Win32_Foundation")] - pub behavior: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - behavior: usize, - pub SetscrollAmount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub scrollAmount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Setloop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub r#loop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Setvspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub vspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Sethspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub hspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonfinish: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonfinish: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onfinish: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onfinish: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbounce: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbounce: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbounce: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbounce: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setwidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - width: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setheight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setheight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - height: usize, - pub SettrueSpeed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub trueSpeed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub start: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub stop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLMediaElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLMediaElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn currentSrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).currentSrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn networkState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).networkState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setpreload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setpreload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn preload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).preload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn buffered(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).buffered)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn load(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).load)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn canPlayType<'a, P0>(&self, r#type: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).canPlayType)(::windows::core::Interface::as_raw(self), r#type.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn seeking(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).seeking)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetcurrentTime(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetcurrentTime)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn currentTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).currentTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn initialTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).initialTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn duration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).duration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn paused(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).paused)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetdefaultPlaybackRate(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetdefaultPlaybackRate)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn defaultPlaybackRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).defaultPlaybackRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetplaybackRate(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetplaybackRate)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn playbackRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).playbackRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn played(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).played)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn seekable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).seekable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn ended(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ended)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setautoplay(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setautoplay)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn autoplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).autoplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setloop(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setloop)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn r#loop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#loop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn play(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).play)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn pause(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).pause)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn Setcontrols(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setcontrols)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn controls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).controls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setvolume(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setvolume)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn volume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).volume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setmuted(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setmuted)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn muted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).muted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setautobuffer(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setautobuffer)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn autobuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).autobuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLMediaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMediaElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLMediaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMediaElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLMediaElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLMediaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMediaElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLMediaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMediaElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLMediaElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLMediaElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLMediaElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLMediaElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLMediaElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLMediaElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLMediaElement { - type Vtable = IHTMLMediaElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510706_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLMediaElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub error: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - error: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub src: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - src: usize, - #[cfg(feature = "Win32_Foundation")] - pub currentSrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - currentSrc: usize, - pub networkState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setpreload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setpreload: usize, - #[cfg(feature = "Win32_Foundation")] - pub preload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - preload: usize, - #[cfg(feature = "Win32_System_Com")] - pub buffered: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - buffered: usize, - pub load: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub canPlayType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: ::core::mem::ManuallyDrop, canplay: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - canPlayType: usize, - pub seeking: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetcurrentTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub currentTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub initialTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub duration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub paused: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetdefaultPlaybackRate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub defaultPlaybackRate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetplaybackRate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub playbackRate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub played: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - played: usize, - #[cfg(feature = "Win32_System_Com")] - pub seekable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - seekable: usize, - pub ended: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setautoplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub autoplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setloop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub r#loop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub play: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub pause: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub Setcontrols: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub controls: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setvolume: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub volume: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setmuted: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub muted: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setautobuffer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub autobuffer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLMediaElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLMediaElement2 { - pub unsafe fn SetcurrentTimeDouble(&self, v: f64) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetcurrentTimeDouble)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn currentTimeDouble(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).currentTimeDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn initialTimeDouble(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).initialTimeDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn durationDouble(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).durationDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetdefaultPlaybackRateDouble(&self, v: f64) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetdefaultPlaybackRateDouble)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn defaultPlaybackRateDouble(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).defaultPlaybackRateDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetplaybackRateDouble(&self, v: f64) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetplaybackRateDouble)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn playbackRateDouble(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).playbackRateDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetvolumeDouble(&self, v: f64) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetvolumeDouble)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn volumeDouble(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).volumeDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLMediaElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMediaElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLMediaElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMediaElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLMediaElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLMediaElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMediaElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLMediaElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMediaElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLMediaElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLMediaElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLMediaElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLMediaElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLMediaElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLMediaElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLMediaElement2 { - type Vtable = IHTMLMediaElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510809_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLMediaElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetcurrentTimeDouble: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f64) -> ::windows::core::HRESULT, - pub currentTimeDouble: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT, - pub initialTimeDouble: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT, - pub durationDouble: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT, - pub SetdefaultPlaybackRateDouble: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f64) -> ::windows::core::HRESULT, - pub defaultPlaybackRateDouble: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT, - pub SetplaybackRateDouble: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f64) -> ::windows::core::HRESULT, - pub playbackRateDouble: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT, - pub SetvolumeDouble: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f64) -> ::windows::core::HRESULT, - pub volumeDouble: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLMediaError(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLMediaError { - pub unsafe fn code(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).code)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLMediaError) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMediaError> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLMediaError) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMediaError> for ::windows::core::IUnknown { - fn from(value: &IHTMLMediaError) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLMediaError) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMediaError> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLMediaError) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMediaError> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLMediaError) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLMediaError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLMediaError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLMediaError {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLMediaError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLMediaError").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLMediaError { - type Vtable = IHTMLMediaError_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510704_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLMediaError_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub code: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLMetaElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLMetaElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SethttpEquiv<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SethttpEquiv)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn httpEquiv(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).httpEquiv)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcontent<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcontent)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn content(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).content)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Seturl<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Seturl)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn url(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).url)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcharset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcharset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn charset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).charset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLMetaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMetaElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLMetaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMetaElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLMetaElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLMetaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMetaElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLMetaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMetaElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLMetaElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLMetaElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLMetaElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLMetaElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLMetaElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLMetaElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLMetaElement { - type Vtable = IHTMLMetaElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f203_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLMetaElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SethttpEquiv: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SethttpEquiv: usize, - #[cfg(feature = "Win32_Foundation")] - pub httpEquiv: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - httpEquiv: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setcontent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcontent: usize, - #[cfg(feature = "Win32_Foundation")] - pub content: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - content: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(feature = "Win32_Foundation")] - pub Seturl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Seturl: usize, - #[cfg(feature = "Win32_Foundation")] - pub url: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - url: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setcharset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcharset: usize, - #[cfg(feature = "Win32_Foundation")] - pub charset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - charset: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLMetaElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLMetaElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setscheme<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setscheme)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn scheme(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scheme)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLMetaElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMetaElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLMetaElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMetaElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLMetaElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLMetaElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMetaElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLMetaElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMetaElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLMetaElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLMetaElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLMetaElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLMetaElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLMetaElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLMetaElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLMetaElement2 { - type Vtable = IHTMLMetaElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f81f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLMetaElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setscheme: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setscheme: usize, - #[cfg(feature = "Win32_Foundation")] - pub scheme: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - scheme: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLMetaElement3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLMetaElement3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Seturl<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Seturl)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn url(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).url)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLMetaElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMetaElement3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLMetaElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMetaElement3> for ::windows::core::IUnknown { - fn from(value: &IHTMLMetaElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLMetaElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMetaElement3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLMetaElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMetaElement3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLMetaElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLMetaElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLMetaElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLMetaElement3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLMetaElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLMetaElement3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLMetaElement3 { - type Vtable = IHTMLMetaElement3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510495_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLMetaElement3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Seturl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Seturl: usize, - #[cfg(feature = "Win32_Foundation")] - pub url: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - url: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLMimeTypesCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLMimeTypesCollection { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLMimeTypesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMimeTypesCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLMimeTypesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMimeTypesCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLMimeTypesCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLMimeTypesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLMimeTypesCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLMimeTypesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLMimeTypesCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLMimeTypesCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLMimeTypesCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLMimeTypesCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLMimeTypesCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLMimeTypesCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLMimeTypesCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLMimeTypesCollection { - type Vtable = IHTMLMimeTypesCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3fc_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLMimeTypesCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLModelessInit(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLModelessInit { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn parameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).parameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn optionString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).optionString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn moniker(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).moniker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - pub unsafe fn document(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLModelessInit) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLModelessInit> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLModelessInit) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLModelessInit> for ::windows::core::IUnknown { - fn from(value: &IHTMLModelessInit) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLModelessInit) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLModelessInit> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLModelessInit) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLModelessInit> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLModelessInit) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLModelessInit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLModelessInit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLModelessInit {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLModelessInit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLModelessInit").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLModelessInit { - type Vtable = IHTMLModelessInit_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5e4_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLModelessInit_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub parameters: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - parameters: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub optionString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - optionString: usize, - pub moniker: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub document: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLNamespace(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLNamespace { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn urn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).urn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn tagNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tagNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonreadystatechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonreadystatechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn doImport<'a, P0>(&self, bstrimplementationurl: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).doImport)(::windows::core::Interface::as_raw(self), bstrimplementationurl.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn attachEvent<'a, P0, P1>(&self, event: P0, pdisp: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).attachEvent)(::windows::core::Interface::as_raw(self), event.into().abi(), pdisp.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn detachEvent<'a, P0, P1>(&self, event: P0, pdisp: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).detachEvent)(::windows::core::Interface::as_raw(self), event.into().abi(), pdisp.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLNamespace) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLNamespace> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLNamespace) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLNamespace> for ::windows::core::IUnknown { - fn from(value: &IHTMLNamespace) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLNamespace) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLNamespace> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLNamespace) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLNamespace> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLNamespace) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLNamespace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLNamespace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLNamespace {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLNamespace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLNamespace").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLNamespace { - type Vtable = IHTMLNamespace_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6bb_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLNamespace_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(feature = "Win32_Foundation")] - pub urn: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - urn: usize, - #[cfg(feature = "Win32_System_Com")] - pub tagNames: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - tagNames: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub readyState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - readyState: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonreadystatechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onreadystatechange: usize, - #[cfg(feature = "Win32_Foundation")] - pub doImport: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrimplementationurl: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - doImport: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub attachEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, event: ::core::mem::ManuallyDrop, pdisp: *mut ::core::ffi::c_void, pfresult: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - attachEvent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub detachEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, event: ::core::mem::ManuallyDrop, pdisp: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - detachEvent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLNamespaceCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLNamespaceCollection { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn item<'a, P0>(&self, index: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn add<'a, P0, P1, P2>(&self, bstrnamespace: P0, bstrurn: P1, implementationurl: P2) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).add)(::windows::core::Interface::as_raw(self), bstrnamespace.into().abi(), bstrurn.into().abi(), implementationurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLNamespaceCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLNamespaceCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLNamespaceCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLNamespaceCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLNamespaceCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLNamespaceCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLNamespaceCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLNamespaceCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLNamespaceCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLNamespaceCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLNamespaceCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLNamespaceCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLNamespaceCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLNamespaceCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLNamespaceCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLNamespaceCollection { - type Vtable = IHTMLNamespaceCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6b8_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLNamespaceCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: ::core::mem::ManuallyDrop, ppnamespace: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - item: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrnamespace: ::core::mem::ManuallyDrop, bstrurn: ::core::mem::ManuallyDrop, implementationurl: ::core::mem::ManuallyDrop, ppnamespace: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - add: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLNextIdElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLNextIdElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setn<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setn)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn n(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).n)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLNextIdElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLNextIdElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLNextIdElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLNextIdElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLNextIdElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLNextIdElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLNextIdElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLNextIdElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLNextIdElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLNextIdElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLNextIdElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLNextIdElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLNextIdElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLNextIdElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLNextIdElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLNextIdElement { - type Vtable = IHTMLNextIdElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f207_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLNextIdElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setn: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setn: usize, - #[cfg(feature = "Win32_Foundation")] - pub n: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - n: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLNoShowElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLNoShowElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLNoShowElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLNoShowElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLNoShowElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLNoShowElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLNoShowElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLNoShowElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLNoShowElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLNoShowElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLNoShowElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLNoShowElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLNoShowElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLNoShowElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLNoShowElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLNoShowElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLNoShowElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLNoShowElement { - type Vtable = IHTMLNoShowElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f38a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLNoShowElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLOListElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLOListElement { - pub unsafe fn Setcompact(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setcompact)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn compact(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).compact)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setstart(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setstart)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn start(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).start)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settype<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLOListElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLOListElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLOListElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLOListElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLOListElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLOListElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLOListElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLOListElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLOListElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLOListElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLOListElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLOListElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLOListElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLOListElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLOListElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLOListElement { - type Vtable = IHTMLOListElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f1de_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLOListElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setcompact: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub compact: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub start: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Settype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settype: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLOMWindowServices(::windows::core::IUnknown); -impl IHTMLOMWindowServices { - pub unsafe fn moveTo(&self, x: i32, y: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).moveTo)(::windows::core::Interface::as_raw(self), x, y).ok() - } - pub unsafe fn moveBy(&self, x: i32, y: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).moveBy)(::windows::core::Interface::as_raw(self), x, y).ok() - } - pub unsafe fn resizeTo(&self, x: i32, y: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).resizeTo)(::windows::core::Interface::as_raw(self), x, y).ok() - } - pub unsafe fn resizeBy(&self, x: i32, y: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).resizeBy)(::windows::core::Interface::as_raw(self), x, y).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLOMWindowServices) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLOMWindowServices> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLOMWindowServices) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLOMWindowServices> for ::windows::core::IUnknown { - fn from(value: &IHTMLOMWindowServices) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLOMWindowServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLOMWindowServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLOMWindowServices {} -impl ::core::fmt::Debug for IHTMLOMWindowServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLOMWindowServices").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLOMWindowServices { - type Vtable = IHTMLOMWindowServices_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5fc_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLOMWindowServices_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub moveTo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT, - pub moveBy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT, - pub resizeTo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT, - pub resizeBy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLObjectElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLObjectElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn object(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).object)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn classid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).classid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_recordset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).putref_recordset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn recordset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).recordset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcodeBase<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcodeBase)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn codeBase(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).codeBase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcodeType<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcodeType)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn codeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).codeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn code(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).code)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BaseHref(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).BaseHref)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settype<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setwidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setheight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonreadystatechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonreadystatechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonerror<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonerror)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetaltHtml<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetaltHtml)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn altHtml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).altHtml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setvspace(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setvspace)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn vspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sethspace(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sethspace)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn hspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLObjectElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLObjectElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLObjectElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLObjectElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLObjectElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLObjectElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLObjectElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLObjectElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLObjectElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLObjectElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLObjectElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLObjectElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLObjectElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLObjectElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLObjectElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLObjectElement { - type Vtable = IHTMLObjectElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f24f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLObjectElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub object: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - object: usize, - #[cfg(feature = "Win32_Foundation")] - pub classid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - classid: usize, - #[cfg(feature = "Win32_Foundation")] - pub data: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - data: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_recordset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_recordset: usize, - #[cfg(feature = "Win32_System_Com")] - pub recordset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - recordset: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcodeBase: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcodeBase: usize, - #[cfg(feature = "Win32_Foundation")] - pub codeBase: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - codeBase: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcodeType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcodeType: usize, - #[cfg(feature = "Win32_Foundation")] - pub codeType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - codeType: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setcode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcode: usize, - #[cfg(feature = "Win32_Foundation")] - pub code: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - code: usize, - #[cfg(feature = "Win32_Foundation")] - pub BaseHref: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BaseHref: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settype: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_System_Com")] - pub form: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - form: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setwidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - width: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setheight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setheight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - height: usize, - pub readyState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonreadystatechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onreadystatechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onerror: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetaltHtml: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetaltHtml: usize, - #[cfg(feature = "Win32_Foundation")] - pub altHtml: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - altHtml: usize, - pub Setvspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub vspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Sethspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub hspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLObjectElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLObjectElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn namedRecordset<'a, P0>(&self, datamember: P0, hierarchy: *const super::super::System::Com::VARIANT) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).namedRecordset)(::windows::core::Interface::as_raw(self), datamember.into().abi(), ::core::mem::transmute(hierarchy), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setclassid<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setclassid)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn classid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).classid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdata<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdata)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLObjectElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLObjectElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLObjectElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLObjectElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLObjectElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLObjectElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLObjectElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLObjectElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLObjectElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLObjectElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLObjectElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLObjectElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLObjectElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLObjectElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLObjectElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLObjectElement2 { - type Vtable = IHTMLObjectElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4cd_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLObjectElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub namedRecordset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, datamember: ::core::mem::ManuallyDrop, hierarchy: *const super::super::System::Com::VARIANT, pprecordset: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - namedRecordset: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setclassid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setclassid: usize, - #[cfg(feature = "Win32_Foundation")] - pub classid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - classid: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdata: usize, - #[cfg(feature = "Win32_Foundation")] - pub data: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - data: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLObjectElement3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLObjectElement3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setarchive<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setarchive)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn archive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).archive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalt<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalt)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn alt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).alt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setdeclare(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setdeclare)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn declare(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).declare)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setstandby<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setstandby)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn standby(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).standby)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setborder<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setborder)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetuseMap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetuseMap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn useMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).useMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLObjectElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLObjectElement3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLObjectElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLObjectElement3> for ::windows::core::IUnknown { - fn from(value: &IHTMLObjectElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLObjectElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLObjectElement3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLObjectElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLObjectElement3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLObjectElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLObjectElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLObjectElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLObjectElement3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLObjectElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLObjectElement3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLObjectElement3 { - type Vtable = IHTMLObjectElement3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f827_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLObjectElement3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setarchive: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setarchive: usize, - #[cfg(feature = "Win32_Foundation")] - pub archive: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - archive: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setalt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalt: usize, - #[cfg(feature = "Win32_Foundation")] - pub alt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - alt: usize, - pub Setdeclare: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub declare: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setstandby: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setstandby: usize, - #[cfg(feature = "Win32_Foundation")] - pub standby: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - standby: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setborder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setborder: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub border: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - border: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetuseMap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetuseMap: usize, - #[cfg(feature = "Win32_Foundation")] - pub useMap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - useMap: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLObjectElement4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLObjectElement4 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn contentDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).contentDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcodeBase<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcodeBase)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn codeBase(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).codeBase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdata<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdata)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLObjectElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLObjectElement4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLObjectElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLObjectElement4> for ::windows::core::IUnknown { - fn from(value: &IHTMLObjectElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLObjectElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLObjectElement4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLObjectElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLObjectElement4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLObjectElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLObjectElement4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLObjectElement4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLObjectElement4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLObjectElement4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLObjectElement4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLObjectElement4 { - type Vtable = IHTMLObjectElement4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051043e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLObjectElement4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub contentDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - contentDocument: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcodeBase: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcodeBase: usize, - #[cfg(feature = "Win32_Foundation")] - pub codeBase: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - codeBase: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdata: usize, - #[cfg(feature = "Win32_Foundation")] - pub data: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - data: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLObjectElement5(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLObjectElement5 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setobject<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setobject)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn object(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).object)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLObjectElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLObjectElement5> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLObjectElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLObjectElement5> for ::windows::core::IUnknown { - fn from(value: &IHTMLObjectElement5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLObjectElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLObjectElement5> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLObjectElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLObjectElement5> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLObjectElement5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLObjectElement5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLObjectElement5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLObjectElement5 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLObjectElement5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLObjectElement5").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLObjectElement5 { - type Vtable = IHTMLObjectElement5_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104b5_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLObjectElement5_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setobject: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setobject: usize, - #[cfg(feature = "Win32_Foundation")] - pub object: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - object: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLOpsProfile(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLOpsProfile { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn addRequest<'a, P0, P1>(&self, name: P0, reserved: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).addRequest)(::windows::core::Interface::as_raw(self), name.into().abi(), reserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clearRequest(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).clearRequest)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn doRequest<'a, P0, P1, P2, P3, P4, P5>(&self, usage: P0, fname: P1, domain: P2, path: P3, expire: P4, reserved: P5) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P4: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P5: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).doRequest)(::windows::core::Interface::as_raw(self), usage.into().abi(), fname.into().abi(), domain.into().abi(), path.into().abi(), expire.into().abi(), reserved.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn getAttribute<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn setAttribute<'a, P0, P1, P2>(&self, name: P0, value: P1, prefs: P2) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).setAttribute)(::windows::core::Interface::as_raw(self), name.into().abi(), value.into().abi(), prefs.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn commitChanges(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).commitChanges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn addReadRequest<'a, P0, P1>(&self, name: P0, reserved: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).addReadRequest)(::windows::core::Interface::as_raw(self), name.into().abi(), reserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn doReadRequest<'a, P0, P1, P2, P3, P4, P5>(&self, usage: P0, fname: P1, domain: P2, path: P3, expire: P4, reserved: P5) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P4: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P5: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).doReadRequest)(::windows::core::Interface::as_raw(self), usage.into().abi(), fname.into().abi(), domain.into().abi(), path.into().abi(), expire.into().abi(), reserved.into().abi()).ok() - } - pub unsafe fn doWriteRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).doWriteRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLOpsProfile) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLOpsProfile> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLOpsProfile) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLOpsProfile> for ::windows::core::IUnknown { - fn from(value: &IHTMLOpsProfile) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLOpsProfile) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLOpsProfile> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLOpsProfile) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLOpsProfile> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLOpsProfile) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLOpsProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLOpsProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLOpsProfile {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLOpsProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLOpsProfile").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLOpsProfile { - type Vtable = IHTMLOpsProfile_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f401_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLOpsProfile_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub addRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, reserved: ::core::mem::ManuallyDrop, success: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - addRequest: usize, - pub clearRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub doRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, usage: ::core::mem::ManuallyDrop, fname: ::core::mem::ManuallyDrop, domain: ::core::mem::ManuallyDrop, path: ::core::mem::ManuallyDrop, expire: ::core::mem::ManuallyDrop, reserved: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - doRequest: usize, - #[cfg(feature = "Win32_Foundation")] - pub getAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, value: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - getAttribute: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub setAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, value: ::core::mem::ManuallyDrop, prefs: ::core::mem::ManuallyDrop, success: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - setAttribute: usize, - pub commitChanges: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, success: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub addReadRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, reserved: ::core::mem::ManuallyDrop, success: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - addReadRequest: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub doReadRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, usage: ::core::mem::ManuallyDrop, fname: ::core::mem::ManuallyDrop, domain: ::core::mem::ManuallyDrop, path: ::core::mem::ManuallyDrop, expire: ::core::mem::ManuallyDrop, reserved: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - doReadRequest: usize, - pub doWriteRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, success: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLOptionButtonElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLOptionButtonElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setchecked(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setchecked)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn checked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).checked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetdefaultChecked(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetdefaultChecked)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn defaultChecked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).defaultChecked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setstatus(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setstatus)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setindeterminate(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setindeterminate)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn indeterminate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).indeterminate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLOptionButtonElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLOptionButtonElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLOptionButtonElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLOptionButtonElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLOptionButtonElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLOptionButtonElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLOptionButtonElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLOptionButtonElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLOptionButtonElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLOptionButtonElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLOptionButtonElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLOptionButtonElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLOptionButtonElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLOptionButtonElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLOptionButtonElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLOptionButtonElement { - type Vtable = IHTMLOptionButtonElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2bc_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLOptionButtonElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - pub Setchecked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub checked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetdefaultChecked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub defaultChecked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onchange: usize, - pub Setdisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub disabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setstatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub status: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setindeterminate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub indeterminate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub form: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - form: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLOptionElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLOptionElement { - pub unsafe fn Setselected(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setselected)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn selected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).selected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetdefaultSelected(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetdefaultSelected)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn defaultSelected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).defaultSelected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setindex(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setindex)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn index(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).index)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settext<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settext)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLOptionElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLOptionElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLOptionElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLOptionElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLOptionElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLOptionElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLOptionElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLOptionElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLOptionElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLOptionElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLOptionElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLOptionElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLOptionElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLOptionElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLOptionElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLOptionElement { - type Vtable = IHTMLOptionElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f211_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLOptionElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setselected: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub selected: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, - pub SetdefaultSelected: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub defaultSelected: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setindex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub index: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Settext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settext: usize, - #[cfg(feature = "Win32_Foundation")] - pub text: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - text: usize, - #[cfg(feature = "Win32_System_Com")] - pub form: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - form: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLOptionElement3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLOptionElement3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setlabel<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setlabel)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn label(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).label)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLOptionElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLOptionElement3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLOptionElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLOptionElement3> for ::windows::core::IUnknown { - fn from(value: &IHTMLOptionElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLOptionElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLOptionElement3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLOptionElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLOptionElement3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLOptionElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLOptionElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLOptionElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLOptionElement3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLOptionElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLOptionElement3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLOptionElement3 { - type Vtable = IHTMLOptionElement3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f820_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLOptionElement3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setlabel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setlabel: usize, - #[cfg(feature = "Win32_Foundation")] - pub label: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - label: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLOptionElement4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLOptionElement4 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLOptionElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLOptionElement4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLOptionElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLOptionElement4> for ::windows::core::IUnknown { - fn from(value: &IHTMLOptionElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLOptionElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLOptionElement4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLOptionElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLOptionElement4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLOptionElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLOptionElement4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLOptionElement4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLOptionElement4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLOptionElement4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLOptionElement4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLOptionElement4 { - type Vtable = IHTMLOptionElement4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107b4_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLOptionElement4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLOptionElementFactory(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLOptionElementFactory { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn create<'a, P0, P1, P2, P3>(&self, text: P0, value: P1, defaultselected: P2, selected: P3) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).create)(::windows::core::Interface::as_raw(self), text.into().abi(), value.into().abi(), defaultselected.into().abi(), selected.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLOptionElementFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLOptionElementFactory> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLOptionElementFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLOptionElementFactory> for ::windows::core::IUnknown { - fn from(value: &IHTMLOptionElementFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLOptionElementFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLOptionElementFactory> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLOptionElementFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLOptionElementFactory> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLOptionElementFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLOptionElementFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLOptionElementFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLOptionElementFactory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLOptionElementFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLOptionElementFactory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLOptionElementFactory { - type Vtable = IHTMLOptionElementFactory_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f38c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLOptionElementFactory_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub create: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, text: ::core::mem::ManuallyDrop, value: ::core::mem::ManuallyDrop, defaultselected: ::core::mem::ManuallyDrop, selected: ::core::mem::ManuallyDrop, __midl__ihtmloptionelementfactory0000: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - create: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLOptionsHolder(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLOptionsHolder { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn document(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn fonts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fonts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetexecArg<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetexecArg)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn execArg(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).execArg)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SeterrorLine(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SeterrorLine)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn errorLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).errorLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SeterrorCharacter(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SeterrorCharacter)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn errorCharacter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).errorCharacter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SeterrorCode(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SeterrorCode)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn errorCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).errorCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SeterrorMessage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SeterrorMessage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn errorMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).errorMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SeterrorDebug(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SeterrorDebug)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn errorDebug(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).errorDebug)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn unsecuredWindowOfDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).unsecuredWindowOfDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetfindText<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetfindText)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn findText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).findText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetanythingAfterFrameset(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetanythingAfterFrameset)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn anythingAfterFrameset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).anythingAfterFrameset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn sizes<'a, P0>(&self, fontname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).sizes)(::windows::core::Interface::as_raw(self), fontname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn openfiledlg<'a, P0, P1, P2, P3>(&self, initfile: P0, initdir: P1, filter: P2, title: P3) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).openfiledlg)(::windows::core::Interface::as_raw(self), initfile.into().abi(), initdir.into().abi(), filter.into().abi(), title.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn savefiledlg<'a, P0, P1, P2, P3>(&self, initfile: P0, initdir: P1, filter: P2, title: P3) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).savefiledlg)(::windows::core::Interface::as_raw(self), initfile.into().abi(), initdir.into().abi(), filter.into().abi(), title.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn choosecolordlg<'a, P0>(&self, initcolor: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).choosecolordlg)(::windows::core::Interface::as_raw(self), initcolor.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn showSecurityInfo(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).showSecurityInfo)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn isApartmentModel<'a, P0>(&self, object: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLObjectElement>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isApartmentModel)(::windows::core::Interface::as_raw(self), object.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn getCharset<'a, P0>(&self, fontname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getCharset)(::windows::core::Interface::as_raw(self), fontname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn secureConnectionInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).secureConnectionInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLOptionsHolder) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLOptionsHolder> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLOptionsHolder) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLOptionsHolder> for ::windows::core::IUnknown { - fn from(value: &IHTMLOptionsHolder) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLOptionsHolder) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLOptionsHolder> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLOptionsHolder) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLOptionsHolder> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLOptionsHolder) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLOptionsHolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLOptionsHolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLOptionsHolder {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLOptionsHolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLOptionsHolder").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLOptionsHolder { - type Vtable = IHTMLOptionsHolder_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f378_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLOptionsHolder_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub document: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - document: usize, - #[cfg(feature = "Win32_System_Com")] - pub fonts: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - fonts: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetexecArg: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetexecArg: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub execArg: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - execArg: usize, - pub SeterrorLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub errorLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SeterrorCharacter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub errorCharacter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SeterrorCode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub errorCode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SeterrorMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SeterrorMessage: usize, - #[cfg(feature = "Win32_Foundation")] - pub errorMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - errorMessage: usize, - pub SeterrorDebug: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub errorDebug: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub unsecuredWindowOfDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - unsecuredWindowOfDocument: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetfindText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetfindText: usize, - #[cfg(feature = "Win32_Foundation")] - pub findText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - findText: usize, - pub SetanythingAfterFrameset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub anythingAfterFrameset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub sizes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fontname: ::core::mem::ManuallyDrop, psizescollection: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - sizes: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub openfiledlg: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, initfile: ::core::mem::ManuallyDrop, initdir: ::core::mem::ManuallyDrop, filter: ::core::mem::ManuallyDrop, title: ::core::mem::ManuallyDrop, pathname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - openfiledlg: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub savefiledlg: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, initfile: ::core::mem::ManuallyDrop, initdir: ::core::mem::ManuallyDrop, filter: ::core::mem::ManuallyDrop, title: ::core::mem::ManuallyDrop, pathname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - savefiledlg: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub choosecolordlg: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, initcolor: ::core::mem::ManuallyDrop, rgbcolor: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - choosecolordlg: usize, - pub showSecurityInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub isApartmentModel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, object: *mut ::core::ffi::c_void, fapartment: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - isApartmentModel: usize, - #[cfg(feature = "Win32_Foundation")] - pub getCharset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fontname: ::core::mem::ManuallyDrop, charset: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - getCharset: usize, - #[cfg(feature = "Win32_Foundation")] - pub secureConnectionInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - secureConnectionInfo: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLPaintSite(::windows::core::IUnknown); -impl IHTMLPaintSite { - pub unsafe fn InvalidatePainterInfo(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).InvalidatePainterInfo)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn InvalidateRect(&self, prcinvalid: *const super::super::Foundation::RECT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).InvalidateRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prcinvalid)).ok() - } - #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] - #[cfg(feature = "Win32_Graphics_Gdi")] - pub unsafe fn InvalidateRegion<'a, P0>(&self, rgninvalid: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).InvalidateRegion)(::windows::core::Interface::as_raw(self), rgninvalid.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] - pub unsafe fn GetDrawInfo(&self, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetDrawInfo)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn TransformGlobalToLocal(&self, ptglobal: super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).TransformGlobalToLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptglobal), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn TransformLocalToGlobal(&self, ptlocal: super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).TransformLocalToGlobal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptlocal), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn GetHitTestCookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetHitTestCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLPaintSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLPaintSite> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLPaintSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLPaintSite> for ::windows::core::IUnknown { - fn from(value: &IHTMLPaintSite) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLPaintSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLPaintSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLPaintSite {} -impl ::core::fmt::Debug for IHTMLPaintSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLPaintSite").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLPaintSite { - type Vtable = IHTMLPaintSite_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6a7_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLPaintSite_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub InvalidatePainterInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub InvalidateRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prcinvalid: *const super::super::Foundation::RECT) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - InvalidateRect: usize, - #[cfg(feature = "Win32_Graphics_Gdi")] - pub InvalidateRegion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, rgninvalid: super::super::Graphics::Gdi::HRGN) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Graphics_Gdi"))] - InvalidateRegion: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] - pub GetDrawInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lflags: i32, pdrawinfo: *mut HTML_PAINT_DRAW_INFO) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi")))] - GetDrawInfo: usize, - #[cfg(feature = "Win32_Foundation")] - pub TransformGlobalToLocal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptglobal: super::super::Foundation::POINT, pptlocal: *mut super::super::Foundation::POINT) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - TransformGlobalToLocal: usize, - #[cfg(feature = "Win32_Foundation")] - pub TransformLocalToGlobal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptlocal: super::super::Foundation::POINT, pptglobal: *mut super::super::Foundation::POINT) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - TransformLocalToGlobal: usize, - pub GetHitTestCookie: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, plcookie: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLPainter(::windows::core::IUnknown); -impl IHTMLPainter { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] - pub unsafe fn Draw<'a, P0>(&self, rcbounds: super::super::Foundation::RECT, rcupdate: super::super::Foundation::RECT, ldrawflags: i32, hdc: P0, pvdrawobject: *const ::core::ffi::c_void) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).Draw)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rcbounds), ::core::mem::transmute(rcupdate), ldrawflags, hdc.into(), ::core::mem::transmute(pvdrawobject)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn OnResize(&self, size: super::super::Foundation::SIZE) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).OnResize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetPainterInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetPainterInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn HitTestPoint(&self, pt: super::super::Foundation::POINT, pbhit: *mut super::super::Foundation::BOOL, plpartid: *mut i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).HitTestPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), ::core::mem::transmute(pbhit), ::core::mem::transmute(plpartid)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLPainter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLPainter> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLPainter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLPainter> for ::windows::core::IUnknown { - fn from(value: &IHTMLPainter) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLPainter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLPainter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLPainter {} -impl ::core::fmt::Debug for IHTMLPainter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLPainter").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLPainter { - type Vtable = IHTMLPainter_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6a6_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLPainter_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] - pub Draw: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, rcbounds: super::super::Foundation::RECT, rcupdate: super::super::Foundation::RECT, ldrawflags: i32, hdc: super::super::Graphics::Gdi::HDC, pvdrawobject: *const ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi")))] - Draw: usize, - #[cfg(feature = "Win32_Foundation")] - pub OnResize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, size: super::super::Foundation::SIZE) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - OnResize: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetPainterInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinfo: *mut HTML_PAINTER_INFO) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetPainterInfo: usize, - #[cfg(feature = "Win32_Foundation")] - pub HitTestPoint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pt: super::super::Foundation::POINT, pbhit: *mut super::super::Foundation::BOOL, plpartid: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - HitTestPoint: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLPainterEventInfo(::windows::core::IUnknown); -impl IHTMLPainterEventInfo { - pub unsafe fn GetEventInfoFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetEventInfoFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn GetEventTarget(&self, ppelement: *const ::core::option::Option) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).GetEventTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppelement)).ok() - } - pub unsafe fn SetCursor(&self, lpartid: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetCursor)(::windows::core::Interface::as_raw(self), lpartid).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn StringFromPartID(&self, lpartid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).StringFromPartID)(::windows::core::Interface::as_raw(self), lpartid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLPainterEventInfo) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLPainterEventInfo> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLPainterEventInfo) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLPainterEventInfo> for ::windows::core::IUnknown { - fn from(value: &IHTMLPainterEventInfo) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLPainterEventInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLPainterEventInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLPainterEventInfo {} -impl ::core::fmt::Debug for IHTMLPainterEventInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLPainterEventInfo").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLPainterEventInfo { - type Vtable = IHTMLPainterEventInfo_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6df_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLPainterEventInfo_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub GetEventInfoFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pleventinfoflags: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub GetEventTarget: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppelement: *const *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetEventTarget: usize, - pub SetCursor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpartid: i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub StringFromPartID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpartid: i32, pbstrpart: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - StringFromPartID: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLPainterOverlay(::windows::core::IUnknown); -impl IHTMLPainterOverlay { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn OnMove(&self, rcdevice: super::super::Foundation::RECT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).OnMove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rcdevice)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLPainterOverlay) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLPainterOverlay> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLPainterOverlay) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLPainterOverlay> for ::windows::core::IUnknown { - fn from(value: &IHTMLPainterOverlay) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLPainterOverlay { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLPainterOverlay { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLPainterOverlay {} -impl ::core::fmt::Debug for IHTMLPainterOverlay { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLPainterOverlay").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLPainterOverlay { - type Vtable = IHTMLPainterOverlay_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f7e3_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLPainterOverlay_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub OnMove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, rcdevice: super::super::Foundation::RECT) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - OnMove: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLParaElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLParaElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLParaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLParaElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLParaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLParaElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLParaElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLParaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLParaElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLParaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLParaElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLParaElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLParaElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLParaElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLParaElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLParaElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLParaElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLParaElement { - type Vtable = IHTMLParaElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f1f5_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLParaElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLParamElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLParamElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settype<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetvalueType<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetvalueType)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn valueType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).valueType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLParamElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLParamElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLParamElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLParamElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLParamElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLParamElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLParamElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLParamElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLParamElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLParamElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLParamElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLParamElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLParamElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLParamElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLParamElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLParamElement { - type Vtable = IHTMLParamElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f83d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLParamElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settype: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetvalueType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetvalueType: usize, - #[cfg(feature = "Win32_Foundation")] - pub valueType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - valueType: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLParamElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLParamElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settype<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetvalueType<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetvalueType)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn valueType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).valueType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLParamElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLParamElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLParamElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLParamElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLParamElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLParamElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLParamElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLParamElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLParamElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLParamElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLParamElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLParamElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLParamElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLParamElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLParamElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLParamElement2 { - type Vtable = IHTMLParamElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510444_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLParamElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settype: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetvalueType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetvalueType: usize, - #[cfg(feature = "Win32_Foundation")] - pub valueType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - valueType: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLPerformance(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLPerformance { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn navigation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).navigation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn timing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).timing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn toJSON(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toJSON)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLPerformance) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPerformance> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLPerformance) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPerformance> for ::windows::core::IUnknown { - fn from(value: &IHTMLPerformance) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLPerformance) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPerformance> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLPerformance) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPerformance> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLPerformance) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLPerformance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLPerformance { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLPerformance {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLPerformance { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLPerformance").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLPerformance { - type Vtable = IHTMLPerformance_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051074e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLPerformance_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub navigation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - navigation: usize, - #[cfg(feature = "Win32_System_Com")] - pub timing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - timing: usize, - #[cfg(feature = "Win32_Foundation")] - pub toString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - toString: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub toJSON: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvar: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - toJSON: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLPerformanceNavigation(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLPerformanceNavigation { - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn redirectCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).redirectCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn toJSON(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toJSON)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLPerformanceNavigation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPerformanceNavigation> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLPerformanceNavigation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPerformanceNavigation> for ::windows::core::IUnknown { - fn from(value: &IHTMLPerformanceNavigation) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLPerformanceNavigation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPerformanceNavigation> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLPerformanceNavigation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPerformanceNavigation> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLPerformanceNavigation) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLPerformanceNavigation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLPerformanceNavigation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLPerformanceNavigation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLPerformanceNavigation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLPerformanceNavigation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLPerformanceNavigation { - type Vtable = IHTMLPerformanceNavigation_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510750_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLPerformanceNavigation_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT, - pub redirectCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub toString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - toString: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub toJSON: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvar: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - toJSON: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLPerformanceTiming(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLPerformanceTiming { - pub unsafe fn navigationStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).navigationStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn unloadEventStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).unloadEventStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn unloadEventEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).unloadEventEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn redirectStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).redirectStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn redirectEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).redirectEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn fetchStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fetchStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn domainLookupStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).domainLookupStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn domainLookupEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).domainLookupEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn connectStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).connectStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn connectEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).connectEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn requestStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).requestStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn responseStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).responseStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn responseEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).responseEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn domLoading(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).domLoading)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn domInteractive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).domInteractive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn domContentLoadedEventStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).domContentLoadedEventStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn domContentLoadedEventEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).domContentLoadedEventEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn domComplete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).domComplete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn loadEventStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).loadEventStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn loadEventEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).loadEventEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn msFirstPaint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msFirstPaint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn toJSON(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toJSON)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLPerformanceTiming) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPerformanceTiming> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLPerformanceTiming) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPerformanceTiming> for ::windows::core::IUnknown { - fn from(value: &IHTMLPerformanceTiming) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLPerformanceTiming) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPerformanceTiming> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLPerformanceTiming) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPerformanceTiming> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLPerformanceTiming) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLPerformanceTiming { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLPerformanceTiming { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLPerformanceTiming {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLPerformanceTiming { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLPerformanceTiming").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLPerformanceTiming { - type Vtable = IHTMLPerformanceTiming_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510752_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLPerformanceTiming_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub navigationStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub unloadEventStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub unloadEventEnd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub redirectStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub redirectEnd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub fetchStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub domainLookupStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub domainLookupEnd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub connectStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub connectEnd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub requestStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub responseStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub responseEnd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub domLoading: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub domInteractive: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub domContentLoadedEventStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub domContentLoadedEventEnd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub domComplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub loadEventStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub loadEventEnd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - pub msFirstPaint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub toString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - toString: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub toJSON: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvar: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - toJSON: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLPersistData(::windows::core::IUnknown); -impl IHTMLPersistData { - pub unsafe fn save<'a, P0>(&self, punk: P0, ltype: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).save)(::windows::core::Interface::as_raw(self), punk.into().abi(), ltype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn load<'a, P0>(&self, punk: P0, ltype: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).load)(::windows::core::Interface::as_raw(self), punk.into().abi(), ltype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn queryType(&self, ltype: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryType)(::windows::core::Interface::as_raw(self), ltype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLPersistData) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLPersistData> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLPersistData) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLPersistData> for ::windows::core::IUnknown { - fn from(value: &IHTMLPersistData) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLPersistData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLPersistData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLPersistData {} -impl ::core::fmt::Debug for IHTMLPersistData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLPersistData").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLPersistData { - type Vtable = IHTMLPersistData_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4c5_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLPersistData_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub save: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, punk: *mut ::core::ffi::c_void, ltype: i32, fcontinuebroacast: *mut i16) -> ::windows::core::HRESULT, - pub load: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, punk: *mut ::core::ffi::c_void, ltype: i32, fdodefault: *mut i16) -> ::windows::core::HRESULT, - pub queryType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ltype: i32, pfsupportstype: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLPersistDataOM(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLPersistDataOM { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn XMLDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).XMLDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getAttribute<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn setAttribute<'a, P0, P1>(&self, name: P0, value: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).setAttribute)(::windows::core::Interface::as_raw(self), name.into().abi(), value.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn removeAttribute<'a, P0>(&self, name: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).removeAttribute)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLPersistDataOM) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPersistDataOM> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLPersistDataOM) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPersistDataOM> for ::windows::core::IUnknown { - fn from(value: &IHTMLPersistDataOM) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLPersistDataOM) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPersistDataOM> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLPersistDataOM) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPersistDataOM> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLPersistDataOM) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLPersistDataOM { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLPersistDataOM { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLPersistDataOM {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLPersistDataOM { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLPersistDataOM").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLPersistDataOM { - type Vtable = IHTMLPersistDataOM_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4c0_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLPersistDataOM_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub XMLDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - XMLDocument: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pvalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getAttribute: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub setAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, value: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - setAttribute: usize, - #[cfg(feature = "Win32_Foundation")] - pub removeAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - removeAttribute: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLPhraseElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLPhraseElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLPhraseElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPhraseElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLPhraseElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPhraseElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLPhraseElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLPhraseElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPhraseElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLPhraseElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPhraseElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLPhraseElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLPhraseElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLPhraseElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLPhraseElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLPhraseElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLPhraseElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLPhraseElement { - type Vtable = IHTMLPhraseElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f20a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLPhraseElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLPhraseElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLPhraseElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcite<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcite)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdateTime<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetdateTime)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dateTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dateTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLPhraseElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPhraseElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLPhraseElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPhraseElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLPhraseElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLPhraseElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPhraseElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLPhraseElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPhraseElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLPhraseElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLPhraseElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLPhraseElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLPhraseElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLPhraseElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLPhraseElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLPhraseElement2 { - type Vtable = IHTMLPhraseElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f824_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLPhraseElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setcite: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcite: usize, - #[cfg(feature = "Win32_Foundation")] - pub cite: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cite: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetdateTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetdateTime: usize, - #[cfg(feature = "Win32_Foundation")] - pub dateTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dateTime: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLPhraseElement3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLPhraseElement3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcite<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcite)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLPhraseElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPhraseElement3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLPhraseElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPhraseElement3> for ::windows::core::IUnknown { - fn from(value: &IHTMLPhraseElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLPhraseElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPhraseElement3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLPhraseElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPhraseElement3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLPhraseElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLPhraseElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLPhraseElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLPhraseElement3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLPhraseElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLPhraseElement3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLPhraseElement3 { - type Vtable = IHTMLPhraseElement3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051043d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLPhraseElement3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setcite: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcite: usize, - #[cfg(feature = "Win32_Foundation")] - pub cite: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cite: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLPluginsCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLPluginsCollection { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn refresh(&self, reload: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).refresh)(::windows::core::Interface::as_raw(self), reload).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLPluginsCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPluginsCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLPluginsCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPluginsCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLPluginsCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLPluginsCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPluginsCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLPluginsCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPluginsCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLPluginsCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLPluginsCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLPluginsCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLPluginsCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLPluginsCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLPluginsCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLPluginsCollection { - type Vtable = IHTMLPluginsCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3fd_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLPluginsCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub refresh: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, reload: i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLPopup(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLPopup { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn show(&self, x: i32, y: i32, w: i32, h: i32, pelement: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).show)(::windows::core::Interface::as_raw(self), x, y, w, h, ::core::mem::transmute(pelement)).ok() - } - pub unsafe fn hide(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).hide)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn document(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn isOpen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isOpen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLPopup) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPopup> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLPopup) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPopup> for ::windows::core::IUnknown { - fn from(value: &IHTMLPopup) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLPopup) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLPopup> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLPopup) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLPopup> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLPopup) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLPopup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLPopup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLPopup {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLPopup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLPopup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLPopup { - type Vtable = IHTMLPopup_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f666_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLPopup_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub show: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: i32, y: i32, w: i32, h: i32, pelement: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - show: usize, - pub hide: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub document: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - document: usize, - pub isOpen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLProgressElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLProgressElement { - pub unsafe fn Setvalue(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setmax(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setmax)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn max(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).max)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn position(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).position)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLProgressElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLProgressElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLProgressElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLProgressElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLProgressElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLProgressElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLProgressElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLProgressElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLProgressElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLProgressElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLProgressElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLProgressElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLProgressElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLProgressElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLProgressElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLProgressElement { - type Vtable = IHTMLProgressElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2d6_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLProgressElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setmax: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub max: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub position: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub form: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - form: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLRect(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLRect { - pub unsafe fn Setleft(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setleft)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Settop(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Settop)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setright(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setright)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn right(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).right)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setbottom(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setbottom)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn bottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRect> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRect> for ::windows::core::IUnknown { - fn from(value: &IHTMLRect) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRect> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRect> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLRect) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLRect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLRect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLRect {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLRect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLRect").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLRect { - type Vtable = IHTMLRect_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4a3_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLRect_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setleft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub left: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Settop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub top: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Setright: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub right: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Setbottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub bottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLRect2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLRect2 { - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLRect2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRect2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLRect2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRect2> for ::windows::core::IUnknown { - fn from(value: &IHTMLRect2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLRect2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRect2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLRect2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRect2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLRect2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLRect2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLRect2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLRect2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLRect2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLRect2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLRect2 { - type Vtable = IHTMLRect2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051076c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLRect2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLRectCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLRectCollection { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLRectCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRectCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLRectCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRectCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLRectCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLRectCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRectCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLRectCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRectCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLRectCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLRectCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLRectCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLRectCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLRectCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLRectCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLRectCollection { - type Vtable = IHTMLRectCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4a4_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLRectCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub _newEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarindex: *const super::super::System::Com::VARIANT, pvarresult: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLRenderStyle(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLRenderStyle { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextLineThroughStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextLineThroughStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textLineThroughStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textLineThroughStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextUnderlineStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextUnderlineStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textUnderlineStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textUnderlineStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextEffect<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextEffect)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SettextColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SettextColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn textColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SettextBackgroundColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SettextBackgroundColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn textBackgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textBackgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SettextDecorationColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SettextDecorationColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn textDecorationColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textDecorationColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetrenderingPriority(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetrenderingPriority)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn renderingPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).renderingPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdefaultTextSelection<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetdefaultTextSelection)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn defaultTextSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).defaultTextSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextDecoration<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextDecoration)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textDecoration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textDecoration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLRenderStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRenderStyle> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLRenderStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRenderStyle> for ::windows::core::IUnknown { - fn from(value: &IHTMLRenderStyle) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLRenderStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRenderStyle> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLRenderStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRenderStyle> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLRenderStyle) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLRenderStyle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLRenderStyle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLRenderStyle {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLRenderStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLRenderStyle").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLRenderStyle { - type Vtable = IHTMLRenderStyle_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6ae_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLRenderStyle_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SettextLineThroughStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextLineThroughStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub textLineThroughStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textLineThroughStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextUnderlineStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextUnderlineStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub textUnderlineStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textUnderlineStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextEffect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextEffect: usize, - #[cfg(feature = "Win32_Foundation")] - pub textEffect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textEffect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SettextColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SettextColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub textColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - textColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SettextBackgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SettextBackgroundColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub textBackgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - textBackgroundColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SettextDecorationColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SettextDecorationColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub textDecorationColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - textDecorationColor: usize, - pub SetrenderingPriority: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub renderingPriority: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetdefaultTextSelection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetdefaultTextSelection: usize, - #[cfg(feature = "Win32_Foundation")] - pub defaultTextSelection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - defaultTextSelection: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextDecoration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextDecoration: usize, - #[cfg(feature = "Win32_Foundation")] - pub textDecoration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textDecoration: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLRuleStyle(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLRuleStyle { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetfontFamily<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetfontFamily)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontFamily(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontFamily)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetfontStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetfontStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetfontVariant<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetfontVariant)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontVariant(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontVariant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetfontWeight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetfontWeight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontWeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontWeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetfontSize<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetfontSize)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn fontSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setfont<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setfont)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn font(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).font)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setcolor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setcolor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setbackground<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setbackground)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn background(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).background)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbackgroundColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn backgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbackgroundImage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundImage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbackgroundRepeat<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundRepeat)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundRepeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundRepeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbackgroundAttachment<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundAttachment)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundAttachment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundAttachment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbackgroundPosition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundPosition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbackgroundPositionX<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundPositionX)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn backgroundPositionX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundPositionX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbackgroundPositionY<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundPositionY)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn backgroundPositionY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundPositionY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetwordSpacing<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetwordSpacing)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn wordSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).wordSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetletterSpacing<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetletterSpacing)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn letterSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).letterSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextDecoration<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextDecoration)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textDecoration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textDecoration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettextDecorationNone(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SettextDecorationNone)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn textDecorationNone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textDecorationNone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettextDecorationUnderline(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SettextDecorationUnderline)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn textDecorationUnderline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textDecorationUnderline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettextDecorationOverline(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SettextDecorationOverline)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn textDecorationOverline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textDecorationOverline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettextDecorationLineThrough(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SettextDecorationLineThrough)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn textDecorationLineThrough(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textDecorationLineThrough)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettextDecorationBlink(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SettextDecorationBlink)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn textDecorationBlink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textDecorationBlink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetverticalAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetverticalAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn verticalAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).verticalAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextTransform<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextTransform)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SettextIndent<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SettextIndent)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn textIndent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textIndent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetlineHeight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetlineHeight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn lineHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lineHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmarginTop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmarginTop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmarginRight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmarginRight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmarginBottom<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmarginBottom)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmarginLeft<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmarginLeft)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setmargin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setmargin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn margin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).margin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetpaddingTop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetpaddingTop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn paddingTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).paddingTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetpaddingRight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetpaddingRight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn paddingRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).paddingRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetpaddingBottom<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetpaddingBottom)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn paddingBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).paddingBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetpaddingLeft<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetpaddingLeft)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn paddingLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).paddingLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setpadding<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setpadding)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn padding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).padding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setborder<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setborder)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderTop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderTop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderRight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderRight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderBottom<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderBottom)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderLeft<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderLeft)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderTopColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderTopColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderTopColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderTopColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderRightColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderRightColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderRightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderRightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderBottomColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderBottomColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderBottomColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderBottomColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderLeftColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderLeftColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderLeftColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderLeftColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderTopWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderTopWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderTopWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderTopWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderRightWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderRightWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderRightWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderRightWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderBottomWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderBottomWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderBottomWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderBottomWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderLeftWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderLeftWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderLeftWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderLeftWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderTopStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderTopStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderTopStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderTopStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderRightStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderRightStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderRightStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderRightStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderBottomStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderBottomStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderBottomStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderBottomStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderLeftStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderLeftStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderLeftStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderLeftStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setwidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setheight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetstyleFloat<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetstyleFloat)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn styleFloat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).styleFloat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setclear<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setclear)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn clear(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdisplay<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdisplay)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn display(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).display)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvisibility<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvisibility)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn visibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).visibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlistStyleType<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlistStyleType)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn listStyleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).listStyleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlistStylePosition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlistStylePosition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn listStylePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).listStylePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlistStyleImage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlistStyleImage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn listStyleImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).listStyleImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlistStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlistStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn listStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).listStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwhiteSpace<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwhiteSpace)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn whiteSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).whiteSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Settop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Settop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setleft<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setleft)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn position(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).position)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetzIndex<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetzIndex)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn zIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).zIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setoverflow<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setoverflow)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn overflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).overflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetpageBreakBefore<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetpageBreakBefore)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pageBreakBefore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageBreakBefore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetpageBreakAfter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetpageBreakAfter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pageBreakAfter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageBreakAfter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcssText<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcssText)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cssText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cssText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcursor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcursor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cursor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cursor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setclip<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setclip)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn clip(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setfilter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setfilter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn filter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).filter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn setAttribute<'a, P0, P1>(&self, strattributename: P0, attributevalue: P1, lflags: i32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).setAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), attributevalue.into().abi(), lflags).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getAttribute<'a, P0>(&self, strattributename: P0, lflags: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn removeAttribute<'a, P0>(&self, strattributename: P0, lflags: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLRuleStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRuleStyle> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLRuleStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRuleStyle> for ::windows::core::IUnknown { - fn from(value: &IHTMLRuleStyle) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLRuleStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRuleStyle> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLRuleStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRuleStyle> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLRuleStyle) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLRuleStyle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLRuleStyle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLRuleStyle {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLRuleStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLRuleStyle").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLRuleStyle { - type Vtable = IHTMLRuleStyle_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3cf_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLRuleStyle_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetfontFamily: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetfontFamily: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontFamily: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontFamily: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetfontStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetfontStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetfontVariant: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetfontVariant: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontVariant: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontVariant: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetfontWeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetfontWeight: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontWeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontWeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetfontSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetfontSize: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub fontSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - fontSize: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setfont: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setfont: usize, - #[cfg(feature = "Win32_Foundation")] - pub font: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - font: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setcolor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setcolor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub color: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - color: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setbackground: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setbackground: usize, - #[cfg(feature = "Win32_Foundation")] - pub background: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - background: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbackgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbackgroundColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub backgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - backgroundColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbackgroundImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbackgroundImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbackgroundRepeat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbackgroundRepeat: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundRepeat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundRepeat: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbackgroundAttachment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbackgroundAttachment: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundAttachment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundAttachment: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbackgroundPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbackgroundPosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundPosition: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbackgroundPositionX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbackgroundPositionX: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub backgroundPositionX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - backgroundPositionX: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbackgroundPositionY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbackgroundPositionY: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub backgroundPositionY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - backgroundPositionY: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetwordSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetwordSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub wordSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - wordSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetletterSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetletterSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub letterSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - letterSpacing: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextDecoration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextDecoration: usize, - #[cfg(feature = "Win32_Foundation")] - pub textDecoration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textDecoration: usize, - pub SettextDecorationNone: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub textDecorationNone: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SettextDecorationUnderline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub textDecorationUnderline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SettextDecorationOverline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub textDecorationOverline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SettextDecorationLineThrough: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub textDecorationLineThrough: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SettextDecorationBlink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub textDecorationBlink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetverticalAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetverticalAlign: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub verticalAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - verticalAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextTransform: usize, - #[cfg(feature = "Win32_Foundation")] - pub textTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textTransform: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub textAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textAlign: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SettextIndent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SettextIndent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub textIndent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - textIndent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetlineHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetlineHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub lineHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - lineHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmarginTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmarginTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmarginRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmarginRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmarginBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmarginBottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginBottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmarginLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmarginLeft: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginLeft: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setmargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setmargin: usize, - #[cfg(feature = "Win32_Foundation")] - pub margin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - margin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetpaddingTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetpaddingTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub paddingTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - paddingTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetpaddingRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetpaddingRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub paddingRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - paddingRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetpaddingBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetpaddingBottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub paddingBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - paddingBottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetpaddingLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetpaddingLeft: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub paddingLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - paddingLeft: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setpadding: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setpadding: usize, - #[cfg(feature = "Win32_Foundation")] - pub padding: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - padding: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setborder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setborder: usize, - #[cfg(feature = "Win32_Foundation")] - pub border: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - border: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderTop: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderTop: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderRight: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderRight: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderBottom: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderBottom: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderLeft: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderLeft: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderTopColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderTopColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderTopColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderTopColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderRightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderRightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderRightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderRightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderBottomColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderBottomColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderBottomColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderBottomColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderLeftColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderLeftColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderLeftColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderLeftColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderTopWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderTopWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderTopWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderTopWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderRightWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderRightWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderRightWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderRightWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderBottomWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderBottomWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderBottomWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderBottomWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderLeftWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderLeftWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderLeftWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderLeftWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderTopStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderTopStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderTopStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderTopStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderRightStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderRightStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderRightStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderRightStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderBottomStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderBottomStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderBottomStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderBottomStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderLeftStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderLeftStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderLeftStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderLeftStyle: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setwidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - width: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setheight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setheight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - height: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetstyleFloat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetstyleFloat: usize, - #[cfg(feature = "Win32_Foundation")] - pub styleFloat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - styleFloat: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setclear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setclear: usize, - #[cfg(feature = "Win32_Foundation")] - pub clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - clear: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdisplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdisplay: usize, - #[cfg(feature = "Win32_Foundation")] - pub display: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - display: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvisibility: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvisibility: usize, - #[cfg(feature = "Win32_Foundation")] - pub visibility: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - visibility: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlistStyleType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlistStyleType: usize, - #[cfg(feature = "Win32_Foundation")] - pub listStyleType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - listStyleType: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlistStylePosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlistStylePosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub listStylePosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - listStylePosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlistStyleImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlistStyleImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub listStyleImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - listStyleImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlistStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlistStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub listStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - listStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwhiteSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwhiteSpace: usize, - #[cfg(feature = "Win32_Foundation")] - pub whiteSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - whiteSpace: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Settop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Settop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub top: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - top: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setleft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setleft: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub left: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - left: usize, - #[cfg(feature = "Win32_Foundation")] - pub position: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - position: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetzIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetzIndex: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub zIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - zIndex: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setoverflow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setoverflow: usize, - #[cfg(feature = "Win32_Foundation")] - pub overflow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - overflow: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetpageBreakBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetpageBreakBefore: usize, - #[cfg(feature = "Win32_Foundation")] - pub pageBreakBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pageBreakBefore: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetpageBreakAfter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetpageBreakAfter: usize, - #[cfg(feature = "Win32_Foundation")] - pub pageBreakAfter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pageBreakAfter: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcssText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcssText: usize, - #[cfg(feature = "Win32_Foundation")] - pub cssText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cssText: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setcursor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcursor: usize, - #[cfg(feature = "Win32_Foundation")] - pub cursor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cursor: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setclip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setclip: usize, - #[cfg(feature = "Win32_Foundation")] - pub clip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - clip: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setfilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setfilter: usize, - #[cfg(feature = "Win32_Foundation")] - pub filter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - filter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub setAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, attributevalue: ::core::mem::ManuallyDrop, lflags: i32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - setAttribute: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, attributevalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getAttribute: usize, - #[cfg(feature = "Win32_Foundation")] - pub removeAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, pfsuccess: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - removeAttribute: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLRuleStyle2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLRuleStyle2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettableLayout<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettableLayout)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn tableLayout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tableLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderCollapse<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderCollapse)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderCollapse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderCollapse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdirection<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdirection)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setbehavior<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setbehavior)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn behavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).behavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setposition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setposition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn position(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).position)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetunicodeBidi<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetunicodeBidi)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn unicodeBidi(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).unicodeBidi)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setbottom<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setbottom)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn bottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setright<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setright)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn right(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).right)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpixelBottom(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetpixelBottom)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pixelBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pixelBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpixelRight(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetpixelRight)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pixelRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pixelRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetposBottom(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetposBottom)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn posBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).posBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetposRight(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetposRight)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn posRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).posRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetimeMode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetimeMode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn imeMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).imeMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetrubyAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetrubyAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rubyAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rubyAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetrubyPosition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetrubyPosition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rubyPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rubyPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetrubyOverhang<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetrubyOverhang)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rubyOverhang(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rubyOverhang)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetlayoutGridChar<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetlayoutGridChar)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn layoutGridChar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGridChar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetlayoutGridLine<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetlayoutGridLine)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn layoutGridLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGridLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlayoutGridMode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlayoutGridMode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn layoutGridMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGridMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlayoutGridType<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlayoutGridType)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn layoutGridType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGridType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlayoutGrid<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlayoutGrid)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn layoutGrid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGrid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextAutospace<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextAutospace)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textAutospace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textAutospace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwordBreak<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwordBreak)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn wordBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).wordBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlineBreak<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlineBreak)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn lineBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lineBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextJustify<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextJustify)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textJustify(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textJustify)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextJustifyTrim<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextJustifyTrim)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textJustifyTrim(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textJustifyTrim)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SettextKashida<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SettextKashida)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn textKashida(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textKashida)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetoverflowX<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetoverflowX)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn overflowX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).overflowX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetoverflowY<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetoverflowY)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn overflowY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).overflowY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setaccelerator<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setaccelerator)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn accelerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).accelerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLRuleStyle2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRuleStyle2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLRuleStyle2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRuleStyle2> for ::windows::core::IUnknown { - fn from(value: &IHTMLRuleStyle2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLRuleStyle2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRuleStyle2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLRuleStyle2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRuleStyle2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLRuleStyle2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLRuleStyle2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLRuleStyle2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLRuleStyle2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLRuleStyle2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLRuleStyle2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLRuleStyle2 { - type Vtable = IHTMLRuleStyle2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4ac_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLRuleStyle2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SettableLayout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettableLayout: usize, - #[cfg(feature = "Win32_Foundation")] - pub tableLayout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - tableLayout: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderCollapse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderCollapse: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderCollapse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderCollapse: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdirection: usize, - #[cfg(feature = "Win32_Foundation")] - pub direction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - direction: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setbehavior: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setbehavior: usize, - #[cfg(feature = "Win32_Foundation")] - pub behavior: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - behavior: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setposition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setposition: usize, - #[cfg(feature = "Win32_Foundation")] - pub position: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - position: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetunicodeBidi: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetunicodeBidi: usize, - #[cfg(feature = "Win32_Foundation")] - pub unicodeBidi: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - unicodeBidi: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setbottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setbottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub bottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - bottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setright: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setright: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub right: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - right: usize, - pub SetpixelBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub pixelBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetpixelRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub pixelRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetposBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub posBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetposRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub posRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetimeMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetimeMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub imeMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - imeMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetrubyAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetrubyAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub rubyAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rubyAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetrubyPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetrubyPosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub rubyPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rubyPosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetrubyOverhang: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetrubyOverhang: usize, - #[cfg(feature = "Win32_Foundation")] - pub rubyOverhang: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rubyOverhang: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetlayoutGridChar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetlayoutGridChar: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub layoutGridChar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - layoutGridChar: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetlayoutGridLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetlayoutGridLine: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub layoutGridLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - layoutGridLine: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlayoutGridMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlayoutGridMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub layoutGridMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - layoutGridMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlayoutGridType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlayoutGridType: usize, - #[cfg(feature = "Win32_Foundation")] - pub layoutGridType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - layoutGridType: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlayoutGrid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlayoutGrid: usize, - #[cfg(feature = "Win32_Foundation")] - pub layoutGrid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - layoutGrid: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextAutospace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextAutospace: usize, - #[cfg(feature = "Win32_Foundation")] - pub textAutospace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textAutospace: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwordBreak: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwordBreak: usize, - #[cfg(feature = "Win32_Foundation")] - pub wordBreak: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - wordBreak: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlineBreak: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlineBreak: usize, - #[cfg(feature = "Win32_Foundation")] - pub lineBreak: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - lineBreak: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextJustify: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextJustify: usize, - #[cfg(feature = "Win32_Foundation")] - pub textJustify: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textJustify: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextJustifyTrim: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextJustifyTrim: usize, - #[cfg(feature = "Win32_Foundation")] - pub textJustifyTrim: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textJustifyTrim: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SettextKashida: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SettextKashida: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub textKashida: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - textKashida: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetoverflowX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetoverflowX: usize, - #[cfg(feature = "Win32_Foundation")] - pub overflowX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - overflowX: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetoverflowY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetoverflowY: usize, - #[cfg(feature = "Win32_Foundation")] - pub overflowY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - overflowY: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setaccelerator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setaccelerator: usize, - #[cfg(feature = "Win32_Foundation")] - pub accelerator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - accelerator: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLRuleStyle3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLRuleStyle3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlayoutFlow<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlayoutFlow)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn layoutFlow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutFlow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setzoom<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setzoom)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn zoom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).zoom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwordWrap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwordWrap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn wordWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).wordWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextUnderlinePosition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextUnderlinePosition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textUnderlinePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textUnderlinePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarBaseColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarBaseColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarBaseColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarBaseColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarFaceColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarFaceColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarFaceColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarFaceColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setscrollbar3dLightColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setscrollbar3dLightColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbar3dLightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbar3dLightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarShadowColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarShadowColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarShadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarShadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarHighlightColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarHighlightColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarHighlightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarHighlightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarDarkShadowColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarDarkShadowColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarDarkShadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarDarkShadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarArrowColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarArrowColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarArrowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarArrowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarTrackColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarTrackColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarTrackColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarTrackColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwritingMode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwritingMode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn writingMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).writingMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextAlignLast<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextAlignLast)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textAlignLast(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textAlignLast)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SettextKashidaSpace<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SettextKashidaSpace)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn textKashidaSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textKashidaSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLRuleStyle3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRuleStyle3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLRuleStyle3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRuleStyle3> for ::windows::core::IUnknown { - fn from(value: &IHTMLRuleStyle3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLRuleStyle3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRuleStyle3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLRuleStyle3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRuleStyle3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLRuleStyle3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLRuleStyle3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLRuleStyle3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLRuleStyle3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLRuleStyle3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLRuleStyle3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLRuleStyle3 { - type Vtable = IHTMLRuleStyle3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f657_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLRuleStyle3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetlayoutFlow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlayoutFlow: usize, - #[cfg(feature = "Win32_Foundation")] - pub layoutFlow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - layoutFlow: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setzoom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setzoom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub zoom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - zoom: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwordWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwordWrap: usize, - #[cfg(feature = "Win32_Foundation")] - pub wordWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - wordWrap: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextUnderlinePosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextUnderlinePosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub textUnderlinePosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textUnderlinePosition: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarBaseColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarBaseColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarBaseColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarBaseColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarFaceColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarFaceColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarFaceColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarFaceColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setscrollbar3dLightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setscrollbar3dLightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbar3dLightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbar3dLightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarShadowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarShadowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarShadowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarShadowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarHighlightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarHighlightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarHighlightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarHighlightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarDarkShadowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarDarkShadowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarDarkShadowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarDarkShadowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarArrowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarArrowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarArrowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarArrowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarTrackColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarTrackColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarTrackColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarTrackColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwritingMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwritingMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub writingMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - writingMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextAlignLast: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextAlignLast: usize, - #[cfg(feature = "Win32_Foundation")] - pub textAlignLast: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textAlignLast: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SettextKashidaSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SettextKashidaSpace: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub textKashidaSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - textKashidaSpace: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLRuleStyle4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLRuleStyle4 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextOverflow<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextOverflow)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textOverflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textOverflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetminHeight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetminHeight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn minHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).minHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLRuleStyle4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRuleStyle4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLRuleStyle4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRuleStyle4> for ::windows::core::IUnknown { - fn from(value: &IHTMLRuleStyle4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLRuleStyle4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRuleStyle4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLRuleStyle4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRuleStyle4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLRuleStyle4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLRuleStyle4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLRuleStyle4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLRuleStyle4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLRuleStyle4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLRuleStyle4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLRuleStyle4 { - type Vtable = IHTMLRuleStyle4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f817_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLRuleStyle4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SettextOverflow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextOverflow: usize, - #[cfg(feature = "Win32_Foundation")] - pub textOverflow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textOverflow: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetminHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetminHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub minHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - minHeight: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLRuleStyle5(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLRuleStyle5 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsInterpolationMode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsInterpolationMode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msInterpolationMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msInterpolationMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmaxHeight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmaxHeight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn maxHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).maxHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetminWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetminWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn minWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).minWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmaxWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmaxWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn maxWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).maxWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLRuleStyle5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRuleStyle5> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLRuleStyle5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRuleStyle5> for ::windows::core::IUnknown { - fn from(value: &IHTMLRuleStyle5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLRuleStyle5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRuleStyle5> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLRuleStyle5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRuleStyle5> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLRuleStyle5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLRuleStyle5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLRuleStyle5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLRuleStyle5 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLRuleStyle5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLRuleStyle5").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLRuleStyle5 { - type Vtable = IHTMLRuleStyle5_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f335_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLRuleStyle5_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetmsInterpolationMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsInterpolationMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub msInterpolationMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msInterpolationMode: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmaxHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmaxHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub maxHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - maxHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetminWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetminWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub minWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - minWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmaxWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmaxWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub maxWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - maxWidth: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLRuleStyle6(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLRuleStyle6 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcontent<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcontent)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn content(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).content)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcaptionSide<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcaptionSide)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn captionSide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).captionSide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcounterIncrement<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcounterIncrement)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn counterIncrement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).counterIncrement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcounterReset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcounterReset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn counterReset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).counterReset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setoutline<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setoutline)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn outline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetoutlineWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetoutlineWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn outlineWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outlineWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetoutlineStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetoutlineStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn outlineStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outlineStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetoutlineColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetoutlineColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn outlineColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outlineColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetboxSizing<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetboxSizing)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn boxSizing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).boxSizing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderSpacing<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderSpacing)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setorphans<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setorphans)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn orphans(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).orphans)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setwidows<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setwidows)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn widows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).widows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetpageBreakInside<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetpageBreakInside)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pageBreakInside(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageBreakInside)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetemptyCells<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetemptyCells)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn emptyCells(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).emptyCells)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsBlockProgression<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsBlockProgression)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msBlockProgression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msBlockProgression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setquotes<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setquotes)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn quotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).quotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLRuleStyle6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRuleStyle6> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLRuleStyle6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRuleStyle6> for ::windows::core::IUnknown { - fn from(value: &IHTMLRuleStyle6) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLRuleStyle6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLRuleStyle6> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLRuleStyle6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLRuleStyle6> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLRuleStyle6) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLRuleStyle6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLRuleStyle6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLRuleStyle6 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLRuleStyle6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLRuleStyle6").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLRuleStyle6 { - type Vtable = IHTMLRuleStyle6_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510471_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLRuleStyle6_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setcontent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcontent: usize, - #[cfg(feature = "Win32_Foundation")] - pub content: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - content: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcaptionSide: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcaptionSide: usize, - #[cfg(feature = "Win32_Foundation")] - pub captionSide: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - captionSide: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcounterIncrement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcounterIncrement: usize, - #[cfg(feature = "Win32_Foundation")] - pub counterIncrement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - counterIncrement: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcounterReset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcounterReset: usize, - #[cfg(feature = "Win32_Foundation")] - pub counterReset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - counterReset: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setoutline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setoutline: usize, - #[cfg(feature = "Win32_Foundation")] - pub outline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - outline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetoutlineWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetoutlineWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub outlineWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - outlineWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetoutlineStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetoutlineStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub outlineStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - outlineStyle: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetoutlineColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetoutlineColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub outlineColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - outlineColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetboxSizing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetboxSizing: usize, - #[cfg(feature = "Win32_Foundation")] - pub boxSizing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - boxSizing: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderSpacing: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setorphans: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setorphans: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub orphans: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - orphans: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setwidows: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setwidows: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub widows: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - widows: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetpageBreakInside: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetpageBreakInside: usize, - #[cfg(feature = "Win32_Foundation")] - pub pageBreakInside: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pageBreakInside: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetemptyCells: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetemptyCells: usize, - #[cfg(feature = "Win32_Foundation")] - pub emptyCells: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - emptyCells: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsBlockProgression: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsBlockProgression: usize, - #[cfg(feature = "Win32_Foundation")] - pub msBlockProgression: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msBlockProgression: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setquotes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setquotes: usize, - #[cfg(feature = "Win32_Foundation")] - pub quotes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - quotes: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLScreen(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLScreen { - pub unsafe fn colorDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).colorDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetbufferDepth(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetbufferDepth)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn bufferDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bufferDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetupdateInterval(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetupdateInterval)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn updateInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).updateInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn availHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).availHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn availWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).availWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn fontSmoothingEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontSmoothingEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLScreen) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLScreen> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLScreen) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLScreen> for ::windows::core::IUnknown { - fn from(value: &IHTMLScreen) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLScreen) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLScreen> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLScreen) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLScreen> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLScreen) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLScreen { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLScreen { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLScreen {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLScreen { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLScreen").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLScreen { - type Vtable = IHTMLScreen_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f35c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLScreen_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub colorDepth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetbufferDepth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub bufferDepth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetupdateInterval: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub updateInterval: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub availHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub availWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub fontSmoothingEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLScreen2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLScreen2 { - pub unsafe fn logicalXDPI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).logicalXDPI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn logicalYDPI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).logicalYDPI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deviceXDPI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).deviceXDPI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deviceYDPI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).deviceYDPI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLScreen2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLScreen2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLScreen2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLScreen2> for ::windows::core::IUnknown { - fn from(value: &IHTMLScreen2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLScreen2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLScreen2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLScreen2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLScreen2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLScreen2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLScreen2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLScreen2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLScreen2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLScreen2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLScreen2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLScreen2 { - type Vtable = IHTMLScreen2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f84a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLScreen2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub logicalXDPI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub logicalYDPI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub deviceXDPI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub deviceYDPI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLScreen3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLScreen3 { - pub unsafe fn systemXDPI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).systemXDPI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn systemYDPI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).systemYDPI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLScreen3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLScreen3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLScreen3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLScreen3> for ::windows::core::IUnknown { - fn from(value: &IHTMLScreen3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLScreen3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLScreen3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLScreen3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLScreen3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLScreen3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLScreen3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLScreen3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLScreen3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLScreen3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLScreen3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLScreen3 { - type Vtable = IHTMLScreen3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104a1_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLScreen3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub systemXDPI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub systemYDPI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLScreen4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLScreen4 { - pub unsafe fn pixelDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pixelDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLScreen4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLScreen4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLScreen4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLScreen4> for ::windows::core::IUnknown { - fn from(value: &IHTMLScreen4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLScreen4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLScreen4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLScreen4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLScreen4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLScreen4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLScreen4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLScreen4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLScreen4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLScreen4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLScreen4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLScreen4 { - type Vtable = IHTMLScreen4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051076b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLScreen4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub pixelDepth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLScriptElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLScriptElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SethtmlFor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SethtmlFor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn htmlFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).htmlFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setevent<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setevent)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settext<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settext)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setdefer(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setdefer)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn defer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).defer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonerror<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonerror)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settype<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLScriptElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLScriptElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLScriptElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLScriptElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLScriptElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLScriptElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLScriptElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLScriptElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLScriptElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLScriptElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLScriptElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLScriptElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLScriptElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLScriptElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLScriptElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLScriptElement { - type Vtable = IHTMLScriptElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f28b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLScriptElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub src: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - src: usize, - #[cfg(feature = "Win32_Foundation")] - pub SethtmlFor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SethtmlFor: usize, - #[cfg(feature = "Win32_Foundation")] - pub htmlFor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - htmlFor: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setevent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setevent: usize, - #[cfg(feature = "Win32_Foundation")] - pub event: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - event: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settext: usize, - #[cfg(feature = "Win32_Foundation")] - pub text: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - text: usize, - pub Setdefer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub defer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub readyState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - readyState: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onerror: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settype: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLScriptElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLScriptElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcharset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcharset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn charset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).charset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLScriptElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLScriptElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLScriptElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLScriptElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLScriptElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLScriptElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLScriptElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLScriptElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLScriptElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLScriptElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLScriptElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLScriptElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLScriptElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLScriptElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLScriptElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLScriptElement2 { - type Vtable = IHTMLScriptElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f828_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLScriptElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setcharset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcharset: usize, - #[cfg(feature = "Win32_Foundation")] - pub charset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - charset: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLScriptElement3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLScriptElement3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLScriptElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLScriptElement3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLScriptElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLScriptElement3> for ::windows::core::IUnknown { - fn from(value: &IHTMLScriptElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLScriptElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLScriptElement3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLScriptElement3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLScriptElement3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLScriptElement3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLScriptElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLScriptElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLScriptElement3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLScriptElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLScriptElement3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLScriptElement3 { - type Vtable = IHTMLScriptElement3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510447_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLScriptElement3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub src: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - src: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLScriptElement4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLScriptElement4 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn usedCharset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).usedCharset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLScriptElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLScriptElement4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLScriptElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLScriptElement4> for ::windows::core::IUnknown { - fn from(value: &IHTMLScriptElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLScriptElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLScriptElement4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLScriptElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLScriptElement4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLScriptElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLScriptElement4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLScriptElement4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLScriptElement4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLScriptElement4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLScriptElement4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLScriptElement4 { - type Vtable = IHTMLScriptElement4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510801_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLScriptElement4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub usedCharset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - usedCharset: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLSelectElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLSelectElement { - pub unsafe fn Setsize(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setsize)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setmultiple(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setmultiple)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn multiple(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).multiple)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn options(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).options)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetselectedIndex(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetselectedIndex)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn selectedIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).selectedIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn add<'a, P0, P1>(&self, element: P0, before: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).add)(::windows::core::Interface::as_raw(self), element.into().abi(), before.into().abi()).ok() - } - pub unsafe fn remove(&self, index: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).remove)(::windows::core::Interface::as_raw(self), index).ok() - } - pub unsafe fn Setlength(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setlength)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn item<'a, P0, P1>(&self, name: P0, index: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), name.into().abi(), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn tags<'a, P0>(&self, tagname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tags)(::windows::core::Interface::as_raw(self), tagname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLSelectElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSelectElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLSelectElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSelectElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLSelectElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLSelectElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSelectElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLSelectElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSelectElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLSelectElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLSelectElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLSelectElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLSelectElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLSelectElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLSelectElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLSelectElement { - type Vtable = IHTMLSelectElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f244_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLSelectElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setsize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub size: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Setmultiple: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub multiple: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(feature = "Win32_System_Com")] - pub options: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - options: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onchange: usize, - pub SetselectedIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub selectedIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, - pub Setdisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub disabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub form: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - form: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, element: *mut ::core::ffi::c_void, before: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - add: usize, - pub remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, - pub Setlength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub _newEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, index: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - item: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub tags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, tagname: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - tags: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLSelectElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLSelectElement2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn urns<'a, P0>(&self, urn: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).urns)(::windows::core::Interface::as_raw(self), urn.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLSelectElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSelectElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLSelectElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSelectElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLSelectElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLSelectElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSelectElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLSelectElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSelectElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLSelectElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLSelectElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLSelectElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLSelectElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLSelectElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLSelectElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLSelectElement2 { - type Vtable = IHTMLSelectElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5ed_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLSelectElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub urns: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, urn: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - urns: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLSelectElement4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLSelectElement4 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn namedItem<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).namedItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLSelectElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSelectElement4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLSelectElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSelectElement4> for ::windows::core::IUnknown { - fn from(value: &IHTMLSelectElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLSelectElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSelectElement4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLSelectElement4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSelectElement4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLSelectElement4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLSelectElement4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLSelectElement4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLSelectElement4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLSelectElement4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLSelectElement4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLSelectElement4 { - type Vtable = IHTMLSelectElement4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f838_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLSelectElement4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub namedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pdisp: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - namedItem: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLSelectElement5(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLSelectElement5 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn add<'a, P0>(&self, pelem: P0, pvarbefore: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLOptionElement>>, - { - (::windows::core::Interface::vtable(self).add)(::windows::core::Interface::as_raw(self), pelem.into().abi(), ::core::mem::transmute(pvarbefore)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLSelectElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSelectElement5> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLSelectElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSelectElement5> for ::windows::core::IUnknown { - fn from(value: &IHTMLSelectElement5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLSelectElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSelectElement5> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLSelectElement5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSelectElement5> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLSelectElement5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLSelectElement5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLSelectElement5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLSelectElement5 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLSelectElement5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLSelectElement5").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLSelectElement5 { - type Vtable = IHTMLSelectElement5_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051049d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLSelectElement5_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pelem: *mut ::core::ffi::c_void, pvarbefore: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - add: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLSelectElement6(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLSelectElement6 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn add<'a, P0>(&self, pelem: P0, pvarbefore: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLOptionElement>>, - { - (::windows::core::Interface::vtable(self).add)(::windows::core::Interface::as_raw(self), pelem.into().abi(), ::core::mem::transmute(pvarbefore)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLSelectElement6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSelectElement6> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLSelectElement6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSelectElement6> for ::windows::core::IUnknown { - fn from(value: &IHTMLSelectElement6) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLSelectElement6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSelectElement6> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLSelectElement6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSelectElement6> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLSelectElement6) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLSelectElement6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLSelectElement6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLSelectElement6 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLSelectElement6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLSelectElement6").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLSelectElement6 { - type Vtable = IHTMLSelectElement6_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510760_98b6_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLSelectElement6_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pelem: *mut ::core::ffi::c_void, pvarbefore: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - add: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHTMLSelectElementEx(::windows::core::IUnknown); -impl IHTMLSelectElementEx { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ShowDropdown<'a, P0>(&self, fshow: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).ShowDropdown)(::windows::core::Interface::as_raw(self), fshow.into()).ok() - } - pub unsafe fn SetSelectExFlags(&self, lflags: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetSelectExFlags)(::windows::core::Interface::as_raw(self), lflags).ok() - } - pub unsafe fn GetSelectExFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetSelectExFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetDropdownOpen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetDropdownOpen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLSelectElementEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHTMLSelectElementEx> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLSelectElementEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHTMLSelectElementEx> for ::windows::core::IUnknown { - fn from(value: &IHTMLSelectElementEx) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHTMLSelectElementEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHTMLSelectElementEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLSelectElementEx {} -impl ::core::fmt::Debug for IHTMLSelectElementEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLSelectElementEx").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHTMLSelectElementEx { - type Vtable = IHTMLSelectElementEx_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2d1_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLSelectElementEx_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub ShowDropdown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fshow: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ShowDropdown: usize, - pub SetSelectExFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lflags: u32) -> ::windows::core::HRESULT, - pub GetSelectExFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pflags: *mut u32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub GetDropdownOpen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfopen: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetDropdownOpen: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLSelection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLSelection { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn anchorNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).anchorNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn anchorOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).anchorOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn focusNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).focusNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn focusOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).focusOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn isCollapsed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isCollapsed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn collapse<'a, P0>(&self, parentnode: P0, offfset: i32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).collapse)(::windows::core::Interface::as_raw(self), parentnode.into().abi(), offfset).ok() - } - pub unsafe fn collapseToStart(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).collapseToStart)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn collapseToEnd(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).collapseToEnd)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn selectAllChildren<'a, P0>(&self, parentnode: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).selectAllChildren)(::windows::core::Interface::as_raw(self), parentnode.into().abi()).ok() - } - pub unsafe fn deleteFromDocument(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deleteFromDocument)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn rangeCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rangeCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getRangeAt(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getRangeAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn addRange<'a, P0>(&self, range: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).addRange)(::windows::core::Interface::as_raw(self), range.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn removeRange<'a, P0>(&self, range: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).removeRange)(::windows::core::Interface::as_raw(self), range.into().abi()).ok() - } - pub unsafe fn removeAllRanges(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).removeAllRanges)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLSelection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSelection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLSelection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSelection> for ::windows::core::IUnknown { - fn from(value: &IHTMLSelection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLSelection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSelection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLSelection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSelection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLSelection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLSelection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLSelection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLSelection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLSelection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLSelection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLSelection { - type Vtable = IHTMLSelection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104b6_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLSelection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub anchorNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - anchorNode: usize, - pub anchorOffset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub focusNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - focusNode: usize, - pub focusOffset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub isCollapsed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub collapse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, parentnode: *mut ::core::ffi::c_void, offfset: i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - collapse: usize, - pub collapseToStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub collapseToEnd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub selectAllChildren: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, parentnode: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - selectAllChildren: usize, - pub deleteFromDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub rangeCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub getRangeAt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pprange: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getRangeAt: usize, - #[cfg(feature = "Win32_System_Com")] - pub addRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, range: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - addRange: usize, - #[cfg(feature = "Win32_System_Com")] - pub removeRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, range: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - removeRange: usize, - pub removeAllRanges: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub toString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pselectionstring: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - toString: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLSelectionObject(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLSelectionObject { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn empty(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).empty)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn clear(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLSelectionObject) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSelectionObject> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLSelectionObject) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSelectionObject> for ::windows::core::IUnknown { - fn from(value: &IHTMLSelectionObject) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLSelectionObject) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSelectionObject> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLSelectionObject) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSelectionObject> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLSelectionObject) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLSelectionObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLSelectionObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLSelectionObject {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLSelectionObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLSelectionObject").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLSelectionObject { - type Vtable = IHTMLSelectionObject_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f25a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLSelectionObject_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub createRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createRange: usize, - pub empty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLSelectionObject2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLSelectionObject2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createRangeCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createRangeCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn typeDetail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).typeDetail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLSelectionObject2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSelectionObject2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLSelectionObject2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSelectionObject2> for ::windows::core::IUnknown { - fn from(value: &IHTMLSelectionObject2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLSelectionObject2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSelectionObject2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLSelectionObject2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSelectionObject2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLSelectionObject2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLSelectionObject2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLSelectionObject2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLSelectionObject2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLSelectionObject2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLSelectionObject2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLSelectionObject2 { - type Vtable = IHTMLSelectionObject2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f7ec_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLSelectionObject2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub createRangeCollection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, rangecollection: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createRangeCollection: usize, - #[cfg(feature = "Win32_Foundation")] - pub typeDetail: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - typeDetail: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLSourceElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLSourceElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settype<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setmedia<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setmedia)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLSourceElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSourceElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLSourceElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSourceElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLSourceElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLSourceElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSourceElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLSourceElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSourceElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLSourceElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLSourceElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLSourceElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLSourceElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLSourceElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLSourceElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLSourceElement { - type Vtable = IHTMLSourceElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510707_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLSourceElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub src: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - src: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settype: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setmedia: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setmedia: usize, - #[cfg(feature = "Win32_Foundation")] - pub media: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - media: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLSpanElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLSpanElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLSpanElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSpanElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLSpanElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSpanElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLSpanElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLSpanElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSpanElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLSpanElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSpanElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLSpanElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLSpanElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLSpanElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLSpanElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLSpanElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLSpanElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLSpanElement { - type Vtable = IHTMLSpanElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3f3_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLSpanElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLSpanFlow(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLSpanFlow { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLSpanFlow) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSpanFlow> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLSpanFlow) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSpanFlow> for ::windows::core::IUnknown { - fn from(value: &IHTMLSpanFlow) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLSpanFlow) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSpanFlow> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLSpanFlow) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSpanFlow> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLSpanFlow) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLSpanFlow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLSpanFlow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLSpanFlow {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLSpanFlow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLSpanFlow").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLSpanFlow { - type Vtable = IHTMLSpanFlow_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3e5_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLSpanFlow_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStorage(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStorage { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn remainingSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).remainingSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn key(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).key)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getItem<'a, P0>(&self, bstrkey: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getItem)(::windows::core::Interface::as_raw(self), bstrkey.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn setItem<'a, P0, P1>(&self, bstrkey: P0, bstrvalue: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).setItem)(::windows::core::Interface::as_raw(self), bstrkey.into().abi(), bstrvalue.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn removeItem<'a, P0>(&self, bstrkey: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).removeItem)(::windows::core::Interface::as_raw(self), bstrkey.into().abi()).ok() - } - pub unsafe fn clear(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStorage) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStorage> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStorage) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStorage> for ::windows::core::IUnknown { - fn from(value: &IHTMLStorage) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStorage) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStorage> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStorage) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStorage> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStorage) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStorage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStorage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStorage {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStorage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStorage").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStorage { - type Vtable = IHTMLStorage_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510474_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStorage_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub remainingSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub key: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lindex: i32, __midl__ihtmlstorage0000: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - key: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrkey: ::core::mem::ManuallyDrop, __midl__ihtmlstorage0001: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getItem: usize, - #[cfg(feature = "Win32_Foundation")] - pub setItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrkey: ::core::mem::ManuallyDrop, bstrvalue: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - setItem: usize, - #[cfg(feature = "Win32_Foundation")] - pub removeItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrkey: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - removeItem: usize, - pub clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStorage2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStorage2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn setItem<'a, P0, P1>(&self, bstrkey: P0, bstrvalue: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).setItem)(::windows::core::Interface::as_raw(self), bstrkey.into().abi(), bstrvalue.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStorage2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStorage2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStorage2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStorage2> for ::windows::core::IUnknown { - fn from(value: &IHTMLStorage2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStorage2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStorage2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStorage2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStorage2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStorage2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStorage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStorage2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStorage2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStorage2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStorage2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStorage2 { - type Vtable = IHTMLStorage2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510799_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStorage2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub setItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrkey: ::core::mem::ManuallyDrop, bstrvalue: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - setItem: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyle(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyle { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetfontFamily<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetfontFamily)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontFamily(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontFamily)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetfontStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetfontStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetfontVariant<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetfontVariant)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontVariant(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontVariant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetfontWeight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetfontWeight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontWeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontWeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetfontSize<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetfontSize)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn fontSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setfont<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setfont)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn font(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).font)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setcolor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setcolor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setbackground<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setbackground)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn background(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).background)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbackgroundColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn backgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbackgroundImage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundImage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbackgroundRepeat<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundRepeat)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundRepeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundRepeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbackgroundAttachment<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundAttachment)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundAttachment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundAttachment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbackgroundPosition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundPosition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn backgroundPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbackgroundPositionX<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundPositionX)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn backgroundPositionX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundPositionX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbackgroundPositionY<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbackgroundPositionY)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn backgroundPositionY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).backgroundPositionY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetwordSpacing<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetwordSpacing)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn wordSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).wordSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetletterSpacing<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetletterSpacing)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn letterSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).letterSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextDecoration<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextDecoration)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textDecoration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textDecoration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettextDecorationNone(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SettextDecorationNone)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn textDecorationNone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textDecorationNone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettextDecorationUnderline(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SettextDecorationUnderline)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn textDecorationUnderline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textDecorationUnderline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettextDecorationOverline(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SettextDecorationOverline)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn textDecorationOverline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textDecorationOverline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettextDecorationLineThrough(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SettextDecorationLineThrough)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn textDecorationLineThrough(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textDecorationLineThrough)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettextDecorationBlink(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SettextDecorationBlink)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn textDecorationBlink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textDecorationBlink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetverticalAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetverticalAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn verticalAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).verticalAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextTransform<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextTransform)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SettextIndent<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SettextIndent)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn textIndent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textIndent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetlineHeight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetlineHeight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn lineHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lineHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmarginTop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmarginTop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmarginRight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmarginRight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmarginBottom<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmarginBottom)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmarginLeft<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmarginLeft)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn marginLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setmargin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setmargin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn margin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).margin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetpaddingTop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetpaddingTop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn paddingTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).paddingTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetpaddingRight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetpaddingRight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn paddingRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).paddingRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetpaddingBottom<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetpaddingBottom)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn paddingBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).paddingBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetpaddingLeft<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetpaddingLeft)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn paddingLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).paddingLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setpadding<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setpadding)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn padding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).padding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setborder<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setborder)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderTop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderTop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderRight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderRight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderBottom<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderBottom)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderLeft<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderLeft)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderTopColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderTopColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderTopColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderTopColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderRightColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderRightColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderRightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderRightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderBottomColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderBottomColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderBottomColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderBottomColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderLeftColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderLeftColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderLeftColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderLeftColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderTopWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderTopWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderTopWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderTopWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderRightWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderRightWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderRightWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderRightWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderBottomWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderBottomWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderBottomWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderBottomWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderLeftWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderLeftWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderLeftWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderLeftWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderTopStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderTopStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderTopStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderTopStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderRightStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderRightStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderRightStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderRightStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderBottomStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderBottomStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderBottomStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderBottomStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderLeftStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderLeftStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderLeftStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderLeftStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setwidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setheight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetstyleFloat<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetstyleFloat)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn styleFloat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).styleFloat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setclear<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setclear)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn clear(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdisplay<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdisplay)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn display(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).display)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvisibility<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvisibility)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn visibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).visibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlistStyleType<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlistStyleType)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn listStyleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).listStyleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlistStylePosition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlistStylePosition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn listStylePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).listStylePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlistStyleImage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlistStyleImage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn listStyleImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).listStyleImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlistStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlistStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn listStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).listStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwhiteSpace<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwhiteSpace)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn whiteSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).whiteSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Settop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Settop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setleft<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setleft)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn position(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).position)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetzIndex<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetzIndex)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn zIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).zIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setoverflow<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setoverflow)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn overflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).overflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetpageBreakBefore<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetpageBreakBefore)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pageBreakBefore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageBreakBefore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetpageBreakAfter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetpageBreakAfter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pageBreakAfter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageBreakAfter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcssText<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcssText)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cssText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cssText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpixelTop(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetpixelTop)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pixelTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pixelTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpixelLeft(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetpixelLeft)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pixelLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pixelLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpixelWidth(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetpixelWidth)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pixelWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pixelWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpixelHeight(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetpixelHeight)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pixelHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pixelHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetposTop(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetposTop)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn posTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).posTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetposLeft(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetposLeft)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn posLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).posLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetposWidth(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetposWidth)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn posWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).posWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetposHeight(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetposHeight)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn posHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).posHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcursor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcursor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cursor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cursor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setclip<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setclip)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn clip(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setfilter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setfilter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn filter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).filter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn setAttribute<'a, P0, P1>(&self, strattributename: P0, attributevalue: P1, lflags: i32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).setAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), attributevalue.into().abi(), lflags).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getAttribute<'a, P0>(&self, strattributename: P0, lflags: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn removeAttribute<'a, P0>(&self, strattributename: P0, lflags: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyle> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyle> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyle) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyle> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyle> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyle) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyle {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyle").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyle { - type Vtable = IHTMLStyle_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f25e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyle_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetfontFamily: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetfontFamily: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontFamily: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontFamily: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetfontStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetfontStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetfontVariant: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetfontVariant: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontVariant: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontVariant: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetfontWeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetfontWeight: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontWeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontWeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetfontSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetfontSize: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub fontSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - fontSize: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setfont: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setfont: usize, - #[cfg(feature = "Win32_Foundation")] - pub font: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - font: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setcolor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setcolor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub color: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - color: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setbackground: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setbackground: usize, - #[cfg(feature = "Win32_Foundation")] - pub background: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - background: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbackgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbackgroundColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub backgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - backgroundColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbackgroundImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbackgroundImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbackgroundRepeat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbackgroundRepeat: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundRepeat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundRepeat: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbackgroundAttachment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbackgroundAttachment: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundAttachment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundAttachment: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetbackgroundPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbackgroundPosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub backgroundPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - backgroundPosition: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbackgroundPositionX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbackgroundPositionX: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub backgroundPositionX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - backgroundPositionX: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbackgroundPositionY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbackgroundPositionY: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub backgroundPositionY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - backgroundPositionY: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetwordSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetwordSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub wordSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - wordSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetletterSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetletterSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub letterSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - letterSpacing: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextDecoration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextDecoration: usize, - #[cfg(feature = "Win32_Foundation")] - pub textDecoration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textDecoration: usize, - pub SettextDecorationNone: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub textDecorationNone: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SettextDecorationUnderline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub textDecorationUnderline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SettextDecorationOverline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub textDecorationOverline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SettextDecorationLineThrough: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub textDecorationLineThrough: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SettextDecorationBlink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub textDecorationBlink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetverticalAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetverticalAlign: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub verticalAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - verticalAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextTransform: usize, - #[cfg(feature = "Win32_Foundation")] - pub textTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textTransform: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub textAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textAlign: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SettextIndent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SettextIndent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub textIndent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - textIndent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetlineHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetlineHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub lineHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - lineHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmarginTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmarginTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmarginRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmarginRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmarginBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmarginBottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginBottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmarginLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmarginLeft: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub marginLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - marginLeft: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setmargin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setmargin: usize, - #[cfg(feature = "Win32_Foundation")] - pub margin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - margin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetpaddingTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetpaddingTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub paddingTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - paddingTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetpaddingRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetpaddingRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub paddingRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - paddingRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetpaddingBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetpaddingBottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub paddingBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - paddingBottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetpaddingLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetpaddingLeft: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub paddingLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - paddingLeft: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setpadding: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setpadding: usize, - #[cfg(feature = "Win32_Foundation")] - pub padding: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - padding: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setborder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setborder: usize, - #[cfg(feature = "Win32_Foundation")] - pub border: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - border: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderTop: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderTop: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderRight: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderRight: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderBottom: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderBottom: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderLeft: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderLeft: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderTopColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderTopColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderTopColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderTopColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderRightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderRightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderRightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderRightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderBottomColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderBottomColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderBottomColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderBottomColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderLeftColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderLeftColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderLeftColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderLeftColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderTopWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderTopWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderTopWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderTopWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderRightWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderRightWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderRightWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderRightWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderBottomWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderBottomWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderBottomWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderBottomWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderLeftWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderLeftWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderLeftWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderLeftWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderTopStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderTopStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderTopStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderTopStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderRightStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderRightStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderRightStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderRightStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderBottomStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderBottomStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderBottomStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderBottomStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderLeftStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderLeftStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderLeftStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderLeftStyle: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setwidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - width: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setheight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setheight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - height: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetstyleFloat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetstyleFloat: usize, - #[cfg(feature = "Win32_Foundation")] - pub styleFloat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - styleFloat: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setclear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setclear: usize, - #[cfg(feature = "Win32_Foundation")] - pub clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - clear: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdisplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdisplay: usize, - #[cfg(feature = "Win32_Foundation")] - pub display: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - display: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvisibility: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvisibility: usize, - #[cfg(feature = "Win32_Foundation")] - pub visibility: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - visibility: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlistStyleType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlistStyleType: usize, - #[cfg(feature = "Win32_Foundation")] - pub listStyleType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - listStyleType: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlistStylePosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlistStylePosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub listStylePosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - listStylePosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlistStyleImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlistStyleImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub listStyleImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - listStyleImage: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlistStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlistStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub listStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - listStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwhiteSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwhiteSpace: usize, - #[cfg(feature = "Win32_Foundation")] - pub whiteSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - whiteSpace: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Settop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Settop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub top: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - top: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setleft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setleft: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub left: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - left: usize, - #[cfg(feature = "Win32_Foundation")] - pub position: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - position: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetzIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetzIndex: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub zIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - zIndex: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setoverflow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setoverflow: usize, - #[cfg(feature = "Win32_Foundation")] - pub overflow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - overflow: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetpageBreakBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetpageBreakBefore: usize, - #[cfg(feature = "Win32_Foundation")] - pub pageBreakBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pageBreakBefore: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetpageBreakAfter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetpageBreakAfter: usize, - #[cfg(feature = "Win32_Foundation")] - pub pageBreakAfter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pageBreakAfter: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcssText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcssText: usize, - #[cfg(feature = "Win32_Foundation")] - pub cssText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cssText: usize, - pub SetpixelTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub pixelTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetpixelLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub pixelLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetpixelWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub pixelWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetpixelHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub pixelHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetposTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub posTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetposLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub posLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetposWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub posWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetposHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub posHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setcursor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcursor: usize, - #[cfg(feature = "Win32_Foundation")] - pub cursor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cursor: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setclip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setclip: usize, - #[cfg(feature = "Win32_Foundation")] - pub clip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - clip: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setfilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setfilter: usize, - #[cfg(feature = "Win32_Foundation")] - pub filter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - filter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub setAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, attributevalue: ::core::mem::ManuallyDrop, lflags: i32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - setAttribute: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, attributevalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getAttribute: usize, - #[cfg(feature = "Win32_Foundation")] - pub removeAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strattributename: ::core::mem::ManuallyDrop, lflags: i32, pfsuccess: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - removeAttribute: usize, - #[cfg(feature = "Win32_Foundation")] - pub toString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - toString: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyle2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyle2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettableLayout<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettableLayout)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn tableLayout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tableLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderCollapse<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderCollapse)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderCollapse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderCollapse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setdirection<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setdirection)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setbehavior<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setbehavior)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn behavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).behavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn setExpression<'a, P0, P1, P2>(&self, propname: P0, expression: P1, language: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).setExpression)(::windows::core::Interface::as_raw(self), propname.into().abi(), expression.into().abi(), language.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getExpression<'a, P0>(&self, propname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getExpression)(::windows::core::Interface::as_raw(self), propname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn removeExpression<'a, P0>(&self, propname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeExpression)(::windows::core::Interface::as_raw(self), propname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setposition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setposition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn position(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).position)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetunicodeBidi<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetunicodeBidi)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn unicodeBidi(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).unicodeBidi)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setbottom<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setbottom)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn bottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setright<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setright)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn right(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).right)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpixelBottom(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetpixelBottom)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pixelBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pixelBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpixelRight(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetpixelRight)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pixelRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pixelRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetposBottom(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetposBottom)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn posBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).posBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetposRight(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetposRight)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn posRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).posRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetimeMode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetimeMode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn imeMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).imeMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetrubyAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetrubyAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rubyAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rubyAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetrubyPosition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetrubyPosition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rubyPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rubyPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetrubyOverhang<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetrubyOverhang)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rubyOverhang(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rubyOverhang)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetlayoutGridChar<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetlayoutGridChar)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn layoutGridChar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGridChar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetlayoutGridLine<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetlayoutGridLine)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn layoutGridLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGridLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlayoutGridMode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlayoutGridMode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn layoutGridMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGridMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlayoutGridType<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlayoutGridType)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn layoutGridType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGridType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlayoutGrid<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlayoutGrid)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn layoutGrid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutGrid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwordBreak<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwordBreak)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn wordBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).wordBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlineBreak<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlineBreak)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn lineBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lineBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextJustify<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextJustify)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textJustify(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textJustify)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextJustifyTrim<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextJustifyTrim)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textJustifyTrim(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textJustifyTrim)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SettextKashida<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SettextKashida)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn textKashida(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textKashida)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextAutospace<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextAutospace)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textAutospace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textAutospace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetoverflowX<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetoverflowX)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn overflowX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).overflowX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetoverflowY<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetoverflowY)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn overflowY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).overflowY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setaccelerator<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setaccelerator)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn accelerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).accelerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyle2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyle2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyle2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyle2> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyle2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyle2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyle2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyle2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyle2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyle2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyle2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyle2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyle2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyle2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyle2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyle2 { - type Vtable = IHTMLStyle2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4a2_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyle2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SettableLayout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettableLayout: usize, - #[cfg(feature = "Win32_Foundation")] - pub tableLayout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - tableLayout: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderCollapse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderCollapse: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderCollapse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderCollapse: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setdirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setdirection: usize, - #[cfg(feature = "Win32_Foundation")] - pub direction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - direction: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setbehavior: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setbehavior: usize, - #[cfg(feature = "Win32_Foundation")] - pub behavior: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - behavior: usize, - #[cfg(feature = "Win32_Foundation")] - pub setExpression: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, expression: ::core::mem::ManuallyDrop, language: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - setExpression: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getExpression: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, expression: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getExpression: usize, - #[cfg(feature = "Win32_Foundation")] - pub removeExpression: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propname: ::core::mem::ManuallyDrop, pfsuccess: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - removeExpression: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setposition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setposition: usize, - #[cfg(feature = "Win32_Foundation")] - pub position: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - position: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetunicodeBidi: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetunicodeBidi: usize, - #[cfg(feature = "Win32_Foundation")] - pub unicodeBidi: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - unicodeBidi: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setbottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setbottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub bottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - bottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setright: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setright: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub right: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - right: usize, - pub SetpixelBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub pixelBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetpixelRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub pixelRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetposBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub posBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetposRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub posRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetimeMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetimeMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub imeMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - imeMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetrubyAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetrubyAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub rubyAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rubyAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetrubyPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetrubyPosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub rubyPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rubyPosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetrubyOverhang: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetrubyOverhang: usize, - #[cfg(feature = "Win32_Foundation")] - pub rubyOverhang: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rubyOverhang: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetlayoutGridChar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetlayoutGridChar: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub layoutGridChar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - layoutGridChar: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetlayoutGridLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetlayoutGridLine: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub layoutGridLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - layoutGridLine: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlayoutGridMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlayoutGridMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub layoutGridMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - layoutGridMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlayoutGridType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlayoutGridType: usize, - #[cfg(feature = "Win32_Foundation")] - pub layoutGridType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - layoutGridType: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlayoutGrid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlayoutGrid: usize, - #[cfg(feature = "Win32_Foundation")] - pub layoutGrid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - layoutGrid: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwordBreak: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwordBreak: usize, - #[cfg(feature = "Win32_Foundation")] - pub wordBreak: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - wordBreak: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetlineBreak: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlineBreak: usize, - #[cfg(feature = "Win32_Foundation")] - pub lineBreak: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - lineBreak: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextJustify: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextJustify: usize, - #[cfg(feature = "Win32_Foundation")] - pub textJustify: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textJustify: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextJustifyTrim: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextJustifyTrim: usize, - #[cfg(feature = "Win32_Foundation")] - pub textJustifyTrim: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textJustifyTrim: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SettextKashida: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SettextKashida: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub textKashida: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - textKashida: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextAutospace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextAutospace: usize, - #[cfg(feature = "Win32_Foundation")] - pub textAutospace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textAutospace: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetoverflowX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetoverflowX: usize, - #[cfg(feature = "Win32_Foundation")] - pub overflowX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - overflowX: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetoverflowY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetoverflowY: usize, - #[cfg(feature = "Win32_Foundation")] - pub overflowY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - overflowY: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setaccelerator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setaccelerator: usize, - #[cfg(feature = "Win32_Foundation")] - pub accelerator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - accelerator: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyle3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyle3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetlayoutFlow<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetlayoutFlow)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn layoutFlow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).layoutFlow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setzoom<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setzoom)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn zoom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).zoom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwordWrap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwordWrap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn wordWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).wordWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextUnderlinePosition<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextUnderlinePosition)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textUnderlinePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textUnderlinePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarBaseColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarBaseColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarBaseColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarBaseColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarFaceColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarFaceColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarFaceColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarFaceColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setscrollbar3dLightColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setscrollbar3dLightColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbar3dLightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbar3dLightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarShadowColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarShadowColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarShadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarShadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarHighlightColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarHighlightColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarHighlightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarHighlightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarDarkShadowColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarDarkShadowColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarDarkShadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarDarkShadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarArrowColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarArrowColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarArrowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarArrowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetscrollbarTrackColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetscrollbarTrackColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn scrollbarTrackColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbarTrackColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetwritingMode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetwritingMode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn writingMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).writingMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextAlignLast<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextAlignLast)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textAlignLast(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textAlignLast)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SettextKashidaSpace<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SettextKashidaSpace)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn textKashidaSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textKashidaSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyle3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyle3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyle3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyle3> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyle3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyle3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyle3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyle3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyle3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyle3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyle3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyle3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyle3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyle3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyle3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyle3 { - type Vtable = IHTMLStyle3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f656_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyle3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetlayoutFlow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetlayoutFlow: usize, - #[cfg(feature = "Win32_Foundation")] - pub layoutFlow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - layoutFlow: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setzoom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setzoom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub zoom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - zoom: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwordWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwordWrap: usize, - #[cfg(feature = "Win32_Foundation")] - pub wordWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - wordWrap: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextUnderlinePosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextUnderlinePosition: usize, - #[cfg(feature = "Win32_Foundation")] - pub textUnderlinePosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textUnderlinePosition: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarBaseColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarBaseColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarBaseColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarBaseColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarFaceColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarFaceColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarFaceColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarFaceColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setscrollbar3dLightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setscrollbar3dLightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbar3dLightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbar3dLightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarShadowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarShadowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarShadowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarShadowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarHighlightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarHighlightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarHighlightColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarHighlightColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarDarkShadowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarDarkShadowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarDarkShadowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarDarkShadowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarArrowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarArrowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarArrowColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarArrowColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetscrollbarTrackColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetscrollbarTrackColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub scrollbarTrackColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - scrollbarTrackColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetwritingMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetwritingMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub writingMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - writingMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextAlignLast: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextAlignLast: usize, - #[cfg(feature = "Win32_Foundation")] - pub textAlignLast: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textAlignLast: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SettextKashidaSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SettextKashidaSpace: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub textKashidaSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - textKashidaSpace: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyle4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyle4 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextOverflow<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextOverflow)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textOverflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textOverflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetminHeight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetminHeight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn minHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).minHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyle4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyle4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyle4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyle4> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyle4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyle4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyle4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyle4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyle4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyle4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyle4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyle4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyle4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyle4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyle4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyle4 { - type Vtable = IHTMLStyle4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f816_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyle4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SettextOverflow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextOverflow: usize, - #[cfg(feature = "Win32_Foundation")] - pub textOverflow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textOverflow: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetminHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetminHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub minHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - minHeight: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyle5(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyle5 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsInterpolationMode<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsInterpolationMode)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msInterpolationMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msInterpolationMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmaxHeight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmaxHeight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn maxHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).maxHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetminWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetminWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn minWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).minWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetmaxWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetmaxWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn maxWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).maxWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyle5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyle5> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyle5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyle5> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyle5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyle5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyle5> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyle5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyle5> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyle5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyle5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyle5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyle5 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyle5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyle5").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyle5 { - type Vtable = IHTMLStyle5_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f33a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyle5_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetmsInterpolationMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsInterpolationMode: usize, - #[cfg(feature = "Win32_Foundation")] - pub msInterpolationMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msInterpolationMode: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmaxHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmaxHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub maxHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - maxHeight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetminWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetminWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub minWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - minWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetmaxWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetmaxWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub maxWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - maxWidth: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyle6(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyle6 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setcontent<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setcontent)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn content(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).content)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcaptionSide<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcaptionSide)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn captionSide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).captionSide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcounterIncrement<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcounterIncrement)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn counterIncrement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).counterIncrement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcounterReset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcounterReset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn counterReset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).counterReset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setoutline<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setoutline)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn outline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetoutlineWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetoutlineWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn outlineWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outlineWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetoutlineStyle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetoutlineStyle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn outlineStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outlineStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetoutlineColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetoutlineColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn outlineColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outlineColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetboxSizing<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetboxSizing)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn boxSizing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).boxSizing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetborderSpacing<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetborderSpacing)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn borderSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setorphans<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setorphans)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn orphans(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).orphans)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setwidows<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setwidows)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn widows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).widows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetpageBreakInside<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetpageBreakInside)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pageBreakInside(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageBreakInside)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetemptyCells<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetemptyCells)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn emptyCells(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).emptyCells)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetmsBlockProgression<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetmsBlockProgression)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msBlockProgression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msBlockProgression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setquotes<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setquotes)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn quotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).quotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyle6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyle6> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyle6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyle6> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyle6) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyle6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyle6> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyle6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyle6> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyle6) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyle6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyle6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyle6 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyle6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyle6").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyle6 { - type Vtable = IHTMLStyle6_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510480_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyle6_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setcontent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setcontent: usize, - #[cfg(feature = "Win32_Foundation")] - pub content: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - content: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcaptionSide: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcaptionSide: usize, - #[cfg(feature = "Win32_Foundation")] - pub captionSide: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - captionSide: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcounterIncrement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcounterIncrement: usize, - #[cfg(feature = "Win32_Foundation")] - pub counterIncrement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - counterIncrement: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcounterReset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcounterReset: usize, - #[cfg(feature = "Win32_Foundation")] - pub counterReset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - counterReset: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setoutline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setoutline: usize, - #[cfg(feature = "Win32_Foundation")] - pub outline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - outline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetoutlineWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetoutlineWidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub outlineWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - outlineWidth: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetoutlineStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetoutlineStyle: usize, - #[cfg(feature = "Win32_Foundation")] - pub outlineStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - outlineStyle: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetoutlineColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetoutlineColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub outlineColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - outlineColor: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetboxSizing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetboxSizing: usize, - #[cfg(feature = "Win32_Foundation")] - pub boxSizing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - boxSizing: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetborderSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetborderSpacing: usize, - #[cfg(feature = "Win32_Foundation")] - pub borderSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - borderSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setorphans: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setorphans: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub orphans: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - orphans: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setwidows: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setwidows: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub widows: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - widows: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetpageBreakInside: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetpageBreakInside: usize, - #[cfg(feature = "Win32_Foundation")] - pub pageBreakInside: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pageBreakInside: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetemptyCells: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetemptyCells: usize, - #[cfg(feature = "Win32_Foundation")] - pub emptyCells: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - emptyCells: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetmsBlockProgression: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetmsBlockProgression: usize, - #[cfg(feature = "Win32_Foundation")] - pub msBlockProgression: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msBlockProgression: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setquotes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setquotes: usize, - #[cfg(feature = "Win32_Foundation")] - pub quotes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - quotes: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settype<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonreadystatechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonreadystatechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonerror<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonerror)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn styleSheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).styleSheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setmedia<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setmedia)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleElement { - type Vtable = IHTMLStyleElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f375_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Settype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settype: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub readyState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - readyState: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonreadystatechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onreadystatechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onerror: usize, - #[cfg(feature = "Win32_System_Com")] - pub styleSheet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - styleSheet: usize, - pub Setdisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub disabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setmedia: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setmedia: usize, - #[cfg(feature = "Win32_Foundation")] - pub media: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - media: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleElement2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn sheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).sheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleElement2 { - type Vtable = IHTMLStyleElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051072a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub sheet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - sheet: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleEnabled(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleEnabled { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msGetPropertyEnabled<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msGetPropertyEnabled)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msPutPropertyEnabled<'a, P0>(&self, name: P0, b: i16) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).msPutPropertyEnabled)(::windows::core::Interface::as_raw(self), name.into().abi(), b).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleEnabled) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleEnabled> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleEnabled) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleEnabled> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleEnabled) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleEnabled) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleEnabled> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleEnabled) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleEnabled> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleEnabled) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleEnabled { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleEnabled { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleEnabled {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleEnabled { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleEnabled").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleEnabled { - type Vtable = IHTMLStyleEnabled_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104c2_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleEnabled_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub msGetPropertyEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msGetPropertyEnabled: usize, - #[cfg(feature = "Win32_Foundation")] - pub msPutPropertyEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, b: i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msPutPropertyEnabled: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleFontFace(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleFontFace { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setfontsrc<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setfontsrc)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn fontsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fontsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleFontFace) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleFontFace> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleFontFace) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleFontFace> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleFontFace) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleFontFace) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleFontFace> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleFontFace) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleFontFace> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleFontFace) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleFontFace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleFontFace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleFontFace {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleFontFace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleFontFace").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleFontFace { - type Vtable = IHTMLStyleFontFace_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3d5_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleFontFace_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setfontsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setfontsrc: usize, - #[cfg(feature = "Win32_Foundation")] - pub fontsrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - fontsrc: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleFontFace2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleFontFace2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn style(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).style)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleFontFace2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleFontFace2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleFontFace2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleFontFace2> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleFontFace2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleFontFace2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleFontFace2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleFontFace2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleFontFace2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleFontFace2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleFontFace2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleFontFace2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleFontFace2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleFontFace2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleFontFace2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleFontFace2 { - type Vtable = IHTMLStyleFontFace2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106ec_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleFontFace2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub style: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - style: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleMedia(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleMedia { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn matchMedium<'a, P0>(&self, mediaquery: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).matchMedium)(::windows::core::Interface::as_raw(self), mediaquery.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleMedia) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleMedia> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleMedia) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleMedia> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleMedia) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleMedia) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleMedia> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleMedia) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleMedia> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleMedia) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleMedia { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleMedia { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleMedia {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleMedia { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleMedia").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleMedia { - type Vtable = IHTMLStyleMedia_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051074b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleMedia_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub matchMedium: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, mediaquery: ::core::mem::ManuallyDrop, matches: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - matchMedium: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleSheet(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleSheet { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settitle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settitle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn parentStyleSheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).parentStyleSheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn owningElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).owningElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn readOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn imports(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).imports)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethref<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethref)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn addImport<'a, P0>(&self, bstrurl: P0, lindex: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).addImport)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn addRule<'a, P0, P1>(&self, bstrselector: P0, bstrstyle: P1, lindex: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).addRule)(::windows::core::Interface::as_raw(self), bstrselector.into().abi(), bstrstyle.into().abi(), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn removeImport(&self, lindex: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).removeImport)(::windows::core::Interface::as_raw(self), lindex).ok() - } - pub unsafe fn removeRule(&self, lindex: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).removeRule)(::windows::core::Interface::as_raw(self), lindex).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setmedia<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setmedia)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcssText<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcssText)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cssText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cssText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn rules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleSheet) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheet> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleSheet) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheet> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleSheet) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleSheet) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheet> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleSheet) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheet> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleSheet) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleSheet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleSheet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleSheet {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleSheet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleSheet").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleSheet { - type Vtable = IHTMLStyleSheet_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2e3_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleSheet_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Settitle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settitle: usize, - #[cfg(feature = "Win32_Foundation")] - pub title: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - title: usize, - #[cfg(feature = "Win32_System_Com")] - pub parentStyleSheet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - parentStyleSheet: usize, - #[cfg(feature = "Win32_System_Com")] - pub owningElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - owningElement: usize, - pub Setdisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub disabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub readOnly: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub imports: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - imports: usize, - #[cfg(feature = "Win32_Foundation")] - pub Sethref: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethref: usize, - #[cfg(feature = "Win32_Foundation")] - pub href: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - href: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub id: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - id: usize, - #[cfg(feature = "Win32_Foundation")] - pub addImport: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, lindex: i32, plindex: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - addImport: usize, - #[cfg(feature = "Win32_Foundation")] - pub addRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrselector: ::core::mem::ManuallyDrop, bstrstyle: ::core::mem::ManuallyDrop, lindex: i32, plnewindex: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - addRule: usize, - pub removeImport: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lindex: i32) -> ::windows::core::HRESULT, - pub removeRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lindex: i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setmedia: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setmedia: usize, - #[cfg(feature = "Win32_Foundation")] - pub media: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - media: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcssText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcssText: usize, - #[cfg(feature = "Win32_Foundation")] - pub cssText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cssText: usize, - #[cfg(feature = "Win32_System_Com")] - pub rules: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - rules: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleSheet2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleSheet2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn pages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn addPageRule<'a, P0, P1>(&self, bstrselector: P0, bstrstyle: P1, lindex: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).addPageRule)(::windows::core::Interface::as_raw(self), bstrselector.into().abi(), bstrstyle.into().abi(), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleSheet2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheet2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleSheet2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheet2> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleSheet2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleSheet2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheet2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleSheet2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheet2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleSheet2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleSheet2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleSheet2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleSheet2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleSheet2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleSheet2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleSheet2 { - type Vtable = IHTMLStyleSheet2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f3d1_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleSheet2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub pages: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - pages: usize, - #[cfg(feature = "Win32_Foundation")] - pub addPageRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrselector: ::core::mem::ManuallyDrop, bstrstyle: ::core::mem::ManuallyDrop, lindex: i32, plnewindex: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - addPageRule: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleSheet3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleSheet3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Sethref<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Sethref)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn isAlternate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isAlternate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn isPrefAlternate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isPrefAlternate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleSheet3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheet3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleSheet3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheet3> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleSheet3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleSheet3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheet3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleSheet3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheet3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleSheet3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleSheet3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleSheet3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleSheet3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleSheet3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleSheet3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleSheet3 { - type Vtable = IHTMLStyleSheet3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510496_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleSheet3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Sethref: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Sethref: usize, - #[cfg(feature = "Win32_Foundation")] - pub href: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - href: usize, - pub isAlternate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub isPrefAlternate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleSheet4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleSheet4 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn ownerNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ownerNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn ownerRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ownerRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn cssRules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cssRules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn insertRule<'a, P0>(&self, bstrrule: P0, lindex: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertRule)(::windows::core::Interface::as_raw(self), bstrrule.into().abi(), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deleteRule(&self, lindex: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deleteRule)(::windows::core::Interface::as_raw(self), lindex).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleSheet4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheet4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleSheet4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheet4> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleSheet4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleSheet4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheet4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleSheet4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheet4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleSheet4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleSheet4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleSheet4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleSheet4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleSheet4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleSheet4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleSheet4 { - type Vtable = IHTMLStyleSheet4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106f4_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleSheet4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub href: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - href: usize, - #[cfg(feature = "Win32_Foundation")] - pub title: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - title: usize, - #[cfg(feature = "Win32_System_Com")] - pub ownerNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ownerNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub ownerRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ownerRule: usize, - #[cfg(feature = "Win32_System_Com")] - pub cssRules: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - cssRules: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub media: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - media: usize, - #[cfg(feature = "Win32_Foundation")] - pub insertRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrrule: ::core::mem::ManuallyDrop, lindex: i32, plnewindex: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - insertRule: usize, - pub deleteRule: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lindex: i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleSheetPage(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleSheetPage { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn selector(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).selector)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pseudoClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pseudoClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleSheetPage) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetPage> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleSheetPage) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetPage> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleSheetPage) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleSheetPage) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetPage> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleSheetPage) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetPage> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleSheetPage) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleSheetPage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleSheetPage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleSheetPage {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleSheetPage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleSheetPage").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleSheetPage { - type Vtable = IHTMLStyleSheetPage_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f7ee_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleSheetPage_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub selector: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - selector: usize, - #[cfg(feature = "Win32_Foundation")] - pub pseudoClass: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pseudoClass: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleSheetPage2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleSheetPage2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetselectorText<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetselectorText)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn selectorText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).selectorText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn style(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).style)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleSheetPage2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetPage2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleSheetPage2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetPage2> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleSheetPage2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleSheetPage2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetPage2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleSheetPage2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetPage2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleSheetPage2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleSheetPage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleSheetPage2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleSheetPage2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleSheetPage2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleSheetPage2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleSheetPage2 { - type Vtable = IHTMLStyleSheetPage2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106ed_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleSheetPage2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetselectorText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetselectorText: usize, - #[cfg(feature = "Win32_Foundation")] - pub selectorText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - selectorText: usize, - #[cfg(feature = "Win32_System_Com")] - pub style: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - style: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleSheetPagesCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleSheetPagesCollection { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleSheetPagesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetPagesCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleSheetPagesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetPagesCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleSheetPagesCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleSheetPagesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetPagesCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleSheetPagesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetPagesCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleSheetPagesCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleSheetPagesCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleSheetPagesCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleSheetPagesCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleSheetPagesCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleSheetPagesCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleSheetPagesCollection { - type Vtable = IHTMLStyleSheetPagesCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f7f0_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleSheetPagesCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pphtmlstylesheetpage: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleSheetRule(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleSheetRule { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetselectorText<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetselectorText)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn selectorText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).selectorText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn style(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).style)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn readOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleSheetRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetRule> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleSheetRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetRule> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleSheetRule) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleSheetRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetRule> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleSheetRule) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetRule> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleSheetRule) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleSheetRule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleSheetRule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleSheetRule {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleSheetRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleSheetRule").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleSheetRule { - type Vtable = IHTMLStyleSheetRule_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f357_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleSheetRule_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetselectorText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetselectorText: usize, - #[cfg(feature = "Win32_Foundation")] - pub selectorText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - selectorText: usize, - #[cfg(feature = "Win32_System_Com")] - pub style: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - style: usize, - pub readOnly: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleSheetRule2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleSheetRule2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetselectorText<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetselectorText)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn selectorText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).selectorText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleSheetRule2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetRule2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleSheetRule2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetRule2> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleSheetRule2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleSheetRule2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetRule2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleSheetRule2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetRule2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleSheetRule2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleSheetRule2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleSheetRule2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleSheetRule2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleSheetRule2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleSheetRule2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleSheetRule2 { - type Vtable = IHTMLStyleSheetRule2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106fd_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleSheetRule2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetselectorText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetselectorText: usize, - #[cfg(feature = "Win32_Foundation")] - pub selectorText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - selectorText: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleSheetRuleApplied(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleSheetRuleApplied { - pub unsafe fn msSpecificity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msSpecificity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn msGetSpecificity(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msGetSpecificity)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleSheetRuleApplied) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetRuleApplied> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleSheetRuleApplied) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetRuleApplied> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleSheetRuleApplied) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleSheetRuleApplied) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetRuleApplied> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleSheetRuleApplied) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetRuleApplied> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleSheetRuleApplied) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleSheetRuleApplied { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleSheetRuleApplied { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleSheetRuleApplied {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleSheetRuleApplied { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleSheetRuleApplied").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleSheetRuleApplied { - type Vtable = IHTMLStyleSheetRuleApplied_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104c1_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleSheetRuleApplied_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub msSpecificity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub msGetSpecificity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleSheetRulesAppliedCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleSheetRulesAppliedCollection { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn propertyAppliedBy<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).propertyAppliedBy)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn propertyAppliedTrace<'a, P0>(&self, name: P0, index: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).propertyAppliedTrace)(::windows::core::Interface::as_raw(self), name.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn propertyAppliedTraceLength<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).propertyAppliedTraceLength)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleSheetRulesAppliedCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetRulesAppliedCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleSheetRulesAppliedCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetRulesAppliedCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleSheetRulesAppliedCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleSheetRulesAppliedCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetRulesAppliedCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleSheetRulesAppliedCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetRulesAppliedCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleSheetRulesAppliedCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleSheetRulesAppliedCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleSheetRulesAppliedCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleSheetRulesAppliedCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleSheetRulesAppliedCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleSheetRulesAppliedCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleSheetRulesAppliedCollection { - type Vtable = IHTMLStyleSheetRulesAppliedCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104c0_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleSheetRulesAppliedCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pphtmlstylesheetrule: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - item: usize, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub propertyAppliedBy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pprule: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - propertyAppliedBy: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub propertyAppliedTrace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, index: i32, pprule: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - propertyAppliedTrace: usize, - #[cfg(feature = "Win32_Foundation")] - pub propertyAppliedTraceLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, plength: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - propertyAppliedTraceLength: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleSheetRulesCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleSheetRulesCollection { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleSheetRulesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetRulesCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleSheetRulesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetRulesCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleSheetRulesCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleSheetRulesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetRulesCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleSheetRulesCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetRulesCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleSheetRulesCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleSheetRulesCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleSheetRulesCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleSheetRulesCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleSheetRulesCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleSheetRulesCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleSheetRulesCollection { - type Vtable = IHTMLStyleSheetRulesCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2e5_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleSheetRulesCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pphtmlstylesheetrule: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleSheetRulesCollection2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleSheetRulesCollection2 { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleSheetRulesCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetRulesCollection2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleSheetRulesCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetRulesCollection2> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleSheetRulesCollection2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleSheetRulesCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetRulesCollection2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleSheetRulesCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetRulesCollection2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleSheetRulesCollection2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleSheetRulesCollection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleSheetRulesCollection2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleSheetRulesCollection2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleSheetRulesCollection2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleSheetRulesCollection2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleSheetRulesCollection2 { - type Vtable = IHTMLStyleSheetRulesCollection2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106e8_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleSheetRulesCollection2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pphtmlcssrule: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleSheetsCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleSheetsCollection { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleSheetsCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetsCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleSheetsCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetsCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleSheetsCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleSheetsCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetsCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleSheetsCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetsCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleSheetsCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleSheetsCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleSheetsCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleSheetsCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleSheetsCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleSheetsCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleSheetsCollection { - type Vtable = IHTMLStyleSheetsCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f37e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleSheetsCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub _newEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarindex: *const super::super::System::Com::VARIANT, pvarresult: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLStyleSheetsCollection2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLStyleSheetsCollection2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLStyleSheetsCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetsCollection2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLStyleSheetsCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetsCollection2> for ::windows::core::IUnknown { - fn from(value: &IHTMLStyleSheetsCollection2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLStyleSheetsCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLStyleSheetsCollection2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLStyleSheetsCollection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLStyleSheetsCollection2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLStyleSheetsCollection2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLStyleSheetsCollection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLStyleSheetsCollection2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLStyleSheetsCollection2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLStyleSheetsCollection2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLStyleSheetsCollection2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLStyleSheetsCollection2 { - type Vtable = IHTMLStyleSheetsCollection2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106e7_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLStyleSheetsCollection2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pvarresult: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLSubmitData(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLSubmitData { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn appendNameValuePair<'a, P0, P1>(&self, name: P0, value: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).appendNameValuePair)(::windows::core::Interface::as_raw(self), name.into().abi(), value.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn appendNameFilePair<'a, P0, P1>(&self, name: P0, filename: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).appendNameFilePair)(::windows::core::Interface::as_raw(self), name.into().abi(), filename.into().abi()).ok() - } - pub unsafe fn appendItemSeparator(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).appendItemSeparator)(::windows::core::Interface::as_raw(self)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLSubmitData) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSubmitData> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLSubmitData) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSubmitData> for ::windows::core::IUnknown { - fn from(value: &IHTMLSubmitData) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLSubmitData) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLSubmitData> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLSubmitData) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLSubmitData> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLSubmitData) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLSubmitData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLSubmitData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLSubmitData {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLSubmitData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLSubmitData").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLSubmitData { - type Vtable = IHTMLSubmitData_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f645_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLSubmitData_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub appendNameValuePair: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, value: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - appendNameValuePair: usize, - #[cfg(feature = "Win32_Foundation")] - pub appendNameFilePair: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, filename: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - appendNameFilePair: usize, - pub appendItemSeparator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTable(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTable { - pub unsafe fn Setcols(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setcols)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn cols(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cols)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setborder<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setborder)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setframe<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setframe)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn frame(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).frame)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setrules<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setrules)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn rules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetcellSpacing<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetcellSpacing)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn cellSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cellSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetcellPadding<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetcellPadding)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn cellPadding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cellPadding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setbackground<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setbackground)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn background(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).background)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbgColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbgColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn bgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderColorLight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderColorLight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderColorLight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderColorLight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderColorDark<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderColorDark)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderColorDark(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderColorDark)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn refresh(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).refresh)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn rows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setwidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setheight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetdataPageSize(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetdataPageSize)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn dataPageSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dataPageSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn nextPage(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).nextPage)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn previousPage(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).previousPage)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn tHead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tHead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn tFoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tFoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn tBodies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tBodies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn caption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).caption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createTHead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createTHead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deleteTHead(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deleteTHead)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createTFoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createTFoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deleteTFoot(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deleteTFoot)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createCaption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createCaption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deleteCaption(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deleteCaption)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn insertRow(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertRow)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deleteRow(&self, index: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deleteRow)(::windows::core::Interface::as_raw(self), index).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonreadystatechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonreadystatechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTable> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTable> for ::windows::core::IUnknown { - fn from(value: &IHTMLTable) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTable> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTable> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTable) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTable {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTable").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTable { - type Vtable = IHTMLTable_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f21e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTable_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setcols: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub cols: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setborder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setborder: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub border: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - border: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setframe: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setframe: usize, - #[cfg(feature = "Win32_Foundation")] - pub frame: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - frame: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setrules: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setrules: usize, - #[cfg(feature = "Win32_Foundation")] - pub rules: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - rules: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetcellSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetcellSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub cellSpacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - cellSpacing: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetcellPadding: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetcellPadding: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub cellPadding: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - cellPadding: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setbackground: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setbackground: usize, - #[cfg(feature = "Win32_Foundation")] - pub background: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - background: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbgColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbgColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub bgColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - bgColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderColorLight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderColorLight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderColorLight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderColorLight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderColorDark: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderColorDark: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderColorDark: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderColorDark: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, - pub refresh: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub rows: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - rows: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setwidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - width: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setheight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setheight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - height: usize, - pub SetdataPageSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub dataPageSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub nextPage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub previousPage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub tHead: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - tHead: usize, - #[cfg(feature = "Win32_System_Com")] - pub tFoot: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - tFoot: usize, - #[cfg(feature = "Win32_System_Com")] - pub tBodies: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - tBodies: usize, - #[cfg(feature = "Win32_System_Com")] - pub caption: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - caption: usize, - #[cfg(feature = "Win32_System_Com")] - pub createTHead: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, head: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createTHead: usize, - pub deleteTHead: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub createTFoot: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, foot: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createTFoot: usize, - pub deleteTFoot: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub createCaption: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, caption: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createCaption: usize, - pub deleteCaption: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub insertRow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, row: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - insertRow: usize, - pub deleteRow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub readyState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - readyState: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonreadystatechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onreadystatechange: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTable2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTable2 { - pub unsafe fn firstPage(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).firstPage)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn lastPage(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).lastPage)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn cells(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cells)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn moveRow(&self, indexfrom: i32, indexto: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).moveRow)(::windows::core::Interface::as_raw(self), indexfrom, indexto, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTable2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTable2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTable2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTable2> for ::windows::core::IUnknown { - fn from(value: &IHTMLTable2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTable2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTable2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTable2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTable2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTable2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTable2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTable2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTable2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTable2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTable2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTable2 { - type Vtable = IHTMLTable2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4ad_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTable2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub firstPage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub lastPage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub cells: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - cells: usize, - #[cfg(feature = "Win32_System_Com")] - pub moveRow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, indexfrom: i32, indexto: i32, row: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - moveRow: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTable3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTable3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setsummary<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setsummary)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn summary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).summary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTable3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTable3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTable3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTable3> for ::windows::core::IUnknown { - fn from(value: &IHTMLTable3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTable3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTable3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTable3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTable3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTable3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTable3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTable3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTable3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTable3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTable3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTable3 { - type Vtable = IHTMLTable3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f829_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTable3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setsummary: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setsummary: usize, - #[cfg(feature = "Win32_Foundation")] - pub summary: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - summary: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTable4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTable4 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_tHead<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLTableSection>>, - { - (::windows::core::Interface::vtable(self).putref_tHead)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn tHead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tHead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_tFoot<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLTableSection>>, - { - (::windows::core::Interface::vtable(self).putref_tFoot)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn tFoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tFoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_caption<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLTableCaption>>, - { - (::windows::core::Interface::vtable(self).putref_caption)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn caption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).caption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn insertRow(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertRow)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deleteRow(&self, index: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deleteRow)(::windows::core::Interface::as_raw(self), index).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createTBody(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createTBody)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTable4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTable4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTable4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTable4> for ::windows::core::IUnknown { - fn from(value: &IHTMLTable4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTable4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTable4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTable4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTable4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTable4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTable4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTable4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTable4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTable4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTable4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTable4 { - type Vtable = IHTMLTable4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106c2_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTable4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_tHead: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_tHead: usize, - #[cfg(feature = "Win32_System_Com")] - pub tHead: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - tHead: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_tFoot: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_tFoot: usize, - #[cfg(feature = "Win32_System_Com")] - pub tFoot: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - tFoot: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_caption: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_caption: usize, - #[cfg(feature = "Win32_System_Com")] - pub caption: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - caption: usize, - #[cfg(feature = "Win32_System_Com")] - pub insertRow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, row: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - insertRow: usize, - pub deleteRow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub createTBody: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, tbody: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createTBody: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTableCaption(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTableCaption { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetvAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetvAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn vAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTableCaption) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableCaption> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTableCaption) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableCaption> for ::windows::core::IUnknown { - fn from(value: &IHTMLTableCaption) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTableCaption) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableCaption> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTableCaption) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableCaption> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTableCaption) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTableCaption { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTableCaption { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTableCaption {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTableCaption { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTableCaption").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTableCaption { - type Vtable = IHTMLTableCaption_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2eb_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTableCaption_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetvAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetvAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub vAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - vAlign: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTableCell(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTableCell { - pub unsafe fn SetrowSpan(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetrowSpan)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn rowSpan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rowSpan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetcolSpan(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetcolSpan)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn colSpan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).colSpan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetvAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetvAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn vAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbgColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbgColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn bgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetnoWrap(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetnoWrap)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn noWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).noWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setbackground<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setbackground)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn background(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).background)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderColorLight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderColorLight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderColorLight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderColorLight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderColorDark<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderColorDark)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderColorDark(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderColorDark)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setwidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setheight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn cellIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cellIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTableCell) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableCell> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTableCell) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableCell> for ::windows::core::IUnknown { - fn from(value: &IHTMLTableCell) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTableCell) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableCell> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTableCell) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableCell> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTableCell) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTableCell { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTableCell { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTableCell {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTableCell { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTableCell").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTableCell { - type Vtable = IHTMLTableCell_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f23d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTableCell_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetrowSpan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub rowSpan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetcolSpan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub colSpan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetvAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetvAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub vAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - vAlign: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbgColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbgColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub bgColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - bgColor: usize, - pub SetnoWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub noWrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setbackground: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setbackground: usize, - #[cfg(feature = "Win32_Foundation")] - pub background: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - background: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderColorLight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderColorLight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderColorLight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderColorLight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderColorDark: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderColorDark: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderColorDark: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderColorDark: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setwidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - width: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setheight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setheight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - height: usize, - pub cellIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTableCell2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTableCell2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setabbr<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setabbr)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn abbr(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).abbr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setaxis<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setaxis)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn axis(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).axis)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setch<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setch)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetchOff<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetchOff)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn chOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).chOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setheaders<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setheaders)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn headers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).headers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setscope<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setscope)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn scope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTableCell2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableCell2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTableCell2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableCell2> for ::windows::core::IUnknown { - fn from(value: &IHTMLTableCell2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTableCell2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableCell2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTableCell2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableCell2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTableCell2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTableCell2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTableCell2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTableCell2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTableCell2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTableCell2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTableCell2 { - type Vtable = IHTMLTableCell2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f82d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTableCell2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setabbr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setabbr: usize, - #[cfg(feature = "Win32_Foundation")] - pub abbr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - abbr: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setaxis: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setaxis: usize, - #[cfg(feature = "Win32_Foundation")] - pub axis: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - axis: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setch: usize, - #[cfg(feature = "Win32_Foundation")] - pub ch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ch: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetchOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetchOff: usize, - #[cfg(feature = "Win32_Foundation")] - pub chOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - chOff: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setheaders: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setheaders: usize, - #[cfg(feature = "Win32_Foundation")] - pub headers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - headers: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setscope: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setscope: usize, - #[cfg(feature = "Win32_Foundation")] - pub scope: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - scope: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTableCell3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTableCell3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setch<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setch)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetchOff<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetchOff)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn chOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).chOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTableCell3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableCell3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTableCell3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableCell3> for ::windows::core::IUnknown { - fn from(value: &IHTMLTableCell3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTableCell3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableCell3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTableCell3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableCell3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTableCell3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTableCell3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTableCell3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTableCell3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTableCell3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTableCell3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTableCell3 { - type Vtable = IHTMLTableCell3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106c7_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTableCell3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setch: usize, - #[cfg(feature = "Win32_Foundation")] - pub ch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ch: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetchOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetchOff: usize, - #[cfg(feature = "Win32_Foundation")] - pub chOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - chOff: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTableCol(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTableCol { - pub unsafe fn Setspan(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setspan)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn span(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).span)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setwidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetvAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetvAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn vAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTableCol) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableCol> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTableCol) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableCol> for ::windows::core::IUnknown { - fn from(value: &IHTMLTableCol) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTableCol) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableCol> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTableCol) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableCol> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTableCol) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTableCol { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTableCol { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTableCol {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTableCol { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTableCol").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTableCol { - type Vtable = IHTMLTableCol_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f23a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTableCol_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setspan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub span: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setwidth: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - width: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetvAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetvAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub vAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - vAlign: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTableCol2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTableCol2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setch<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setch)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetchOff<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetchOff)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn chOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).chOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTableCol2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableCol2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTableCol2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableCol2> for ::windows::core::IUnknown { - fn from(value: &IHTMLTableCol2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTableCol2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableCol2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTableCol2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableCol2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTableCol2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTableCol2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTableCol2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTableCol2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTableCol2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTableCol2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTableCol2 { - type Vtable = IHTMLTableCol2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f82a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTableCol2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setch: usize, - #[cfg(feature = "Win32_Foundation")] - pub ch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ch: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetchOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetchOff: usize, - #[cfg(feature = "Win32_Foundation")] - pub chOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - chOff: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTableCol3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTableCol3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setch<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setch)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetchOff<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetchOff)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn chOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).chOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTableCol3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableCol3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTableCol3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableCol3> for ::windows::core::IUnknown { - fn from(value: &IHTMLTableCol3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTableCol3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableCol3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTableCol3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableCol3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTableCol3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTableCol3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTableCol3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTableCol3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTableCol3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTableCol3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTableCol3 { - type Vtable = IHTMLTableCol3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106c4_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTableCol3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setch: usize, - #[cfg(feature = "Win32_Foundation")] - pub ch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ch: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetchOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetchOff: usize, - #[cfg(feature = "Win32_Foundation")] - pub chOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - chOff: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTableRow(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTableRow { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetvAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetvAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn vAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbgColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbgColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn bgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderColorLight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderColorLight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderColorLight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderColorLight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetborderColorDark<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetborderColorDark)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn borderColorDark(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).borderColorDark)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn rowIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rowIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn sectionRowIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).sectionRowIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn cells(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cells)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn insertCell(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertCell)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deleteCell(&self, index: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deleteCell)(::windows::core::Interface::as_raw(self), index).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTableRow) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableRow> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTableRow) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableRow> for ::windows::core::IUnknown { - fn from(value: &IHTMLTableRow) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTableRow) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableRow> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTableRow) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableRow> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTableRow) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTableRow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTableRow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTableRow {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTableRow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTableRow").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTableRow { - type Vtable = IHTMLTableRow_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f23c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTableRow_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetvAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetvAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub vAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - vAlign: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbgColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbgColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub bgColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - bgColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderColorLight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderColorLight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderColorLight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderColorLight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetborderColorDark: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetborderColorDark: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub borderColorDark: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - borderColorDark: usize, - pub rowIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub sectionRowIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub cells: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - cells: usize, - #[cfg(feature = "Win32_System_Com")] - pub insertCell: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, row: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - insertCell: usize, - pub deleteCell: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTableRow2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTableRow2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setheight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTableRow2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableRow2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTableRow2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableRow2> for ::windows::core::IUnknown { - fn from(value: &IHTMLTableRow2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTableRow2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableRow2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTableRow2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableRow2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTableRow2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTableRow2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTableRow2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTableRow2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTableRow2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTableRow2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTableRow2 { - type Vtable = IHTMLTableRow2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4a1_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTableRow2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setheight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setheight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - height: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTableRow3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTableRow3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setch<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setch)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetchOff<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetchOff)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn chOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).chOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTableRow3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableRow3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTableRow3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableRow3> for ::windows::core::IUnknown { - fn from(value: &IHTMLTableRow3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTableRow3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableRow3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTableRow3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableRow3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTableRow3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTableRow3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTableRow3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTableRow3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTableRow3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTableRow3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTableRow3 { - type Vtable = IHTMLTableRow3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f82c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTableRow3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setch: usize, - #[cfg(feature = "Win32_Foundation")] - pub ch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ch: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetchOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetchOff: usize, - #[cfg(feature = "Win32_Foundation")] - pub chOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - chOff: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTableRow4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTableRow4 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setch<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setch)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetchOff<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetchOff)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn chOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).chOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn insertCell(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertCell)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deleteCell(&self, index: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deleteCell)(::windows::core::Interface::as_raw(self), index).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTableRow4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableRow4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTableRow4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableRow4> for ::windows::core::IUnknown { - fn from(value: &IHTMLTableRow4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTableRow4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableRow4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTableRow4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableRow4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTableRow4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTableRow4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTableRow4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTableRow4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTableRow4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTableRow4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTableRow4 { - type Vtable = IHTMLTableRow4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106c6_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTableRow4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setch: usize, - #[cfg(feature = "Win32_Foundation")] - pub ch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ch: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetchOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetchOff: usize, - #[cfg(feature = "Win32_Foundation")] - pub chOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - chOff: usize, - #[cfg(feature = "Win32_System_Com")] - pub insertCell: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, row: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - insertCell: usize, - pub deleteCell: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTableRowMetrics(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTableRowMetrics { - pub unsafe fn clientHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clientWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clientTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clientLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTableRowMetrics) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableRowMetrics> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTableRowMetrics) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableRowMetrics> for ::windows::core::IUnknown { - fn from(value: &IHTMLTableRowMetrics) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTableRowMetrics) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableRowMetrics> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTableRowMetrics) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableRowMetrics> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTableRowMetrics) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTableRowMetrics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTableRowMetrics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTableRowMetrics {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTableRowMetrics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTableRowMetrics").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTableRowMetrics { - type Vtable = IHTMLTableRowMetrics_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f413_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTableRowMetrics_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub clientHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clientWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clientTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clientLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTableSection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTableSection { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setalign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetvAlign<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetvAlign)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn vAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).vAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetbgColor<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetbgColor)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn bgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).bgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn rows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn insertRow(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertRow)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deleteRow(&self, index: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deleteRow)(::windows::core::Interface::as_raw(self), index).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTableSection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableSection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTableSection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableSection> for ::windows::core::IUnknown { - fn from(value: &IHTMLTableSection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTableSection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableSection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTableSection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableSection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTableSection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTableSection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTableSection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTableSection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTableSection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTableSection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTableSection { - type Vtable = IHTMLTableSection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f23b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTableSection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setalign: usize, - #[cfg(feature = "Win32_Foundation")] - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - align: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetvAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetvAlign: usize, - #[cfg(feature = "Win32_Foundation")] - pub vAlign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - vAlign: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetbgColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetbgColor: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub bgColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - bgColor: usize, - #[cfg(feature = "Win32_System_Com")] - pub rows: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - rows: usize, - #[cfg(feature = "Win32_System_Com")] - pub insertRow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, row: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - insertRow: usize, - pub deleteRow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTableSection2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTableSection2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn moveRow(&self, indexfrom: i32, indexto: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).moveRow)(::windows::core::Interface::as_raw(self), indexfrom, indexto, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTableSection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableSection2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTableSection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableSection2> for ::windows::core::IUnknown { - fn from(value: &IHTMLTableSection2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTableSection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableSection2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTableSection2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableSection2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTableSection2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTableSection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTableSection2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTableSection2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTableSection2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTableSection2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTableSection2 { - type Vtable = IHTMLTableSection2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5c7_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTableSection2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub moveRow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, indexfrom: i32, indexto: i32, row: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - moveRow: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTableSection3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTableSection3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setch<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setch)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetchOff<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetchOff)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn chOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).chOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTableSection3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableSection3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTableSection3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableSection3> for ::windows::core::IUnknown { - fn from(value: &IHTMLTableSection3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTableSection3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableSection3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTableSection3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableSection3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTableSection3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTableSection3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTableSection3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTableSection3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTableSection3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTableSection3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTableSection3 { - type Vtable = IHTMLTableSection3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f82b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTableSection3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setch: usize, - #[cfg(feature = "Win32_Foundation")] - pub ch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ch: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetchOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetchOff: usize, - #[cfg(feature = "Win32_Foundation")] - pub chOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - chOff: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTableSection4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTableSection4 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setch<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setch)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetchOff<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetchOff)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn chOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).chOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn insertRow(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertRow)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deleteRow(&self, index: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deleteRow)(::windows::core::Interface::as_raw(self), index).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTableSection4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableSection4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTableSection4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableSection4> for ::windows::core::IUnknown { - fn from(value: &IHTMLTableSection4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTableSection4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTableSection4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTableSection4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTableSection4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTableSection4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTableSection4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTableSection4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTableSection4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTableSection4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTableSection4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTableSection4 { - type Vtable = IHTMLTableSection4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106c5_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTableSection4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setch: usize, - #[cfg(feature = "Win32_Foundation")] - pub ch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ch: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetchOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetchOff: usize, - #[cfg(feature = "Win32_Foundation")] - pub chOff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - chOff: usize, - #[cfg(feature = "Win32_System_Com")] - pub insertRow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, row: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - insertRow: usize, - pub deleteRow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTextAreaElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTextAreaElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setvalue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setstatus<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setstatus)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdefaultValue<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetdefaultValue)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn defaultValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).defaultValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn select(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).select)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonselect<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonselect)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetreadOnly(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetreadOnly)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn readOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setrows(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setrows)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn rows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setcols(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setcols)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn cols(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cols)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setwrap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setwrap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn wrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).wrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createTextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createTextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTextAreaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTextAreaElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTextAreaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTextAreaElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLTextAreaElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTextAreaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTextAreaElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTextAreaElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTextAreaElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTextAreaElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTextAreaElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTextAreaElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTextAreaElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTextAreaElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTextAreaElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTextAreaElement { - type Vtable = IHTMLTextAreaElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2aa_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTextAreaElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setvalue: usize, - #[cfg(feature = "Win32_Foundation")] - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - value: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setstatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setstatus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub status: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - status: usize, - pub Setdisabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub disabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub form: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - form: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetdefaultValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetdefaultValue: usize, - #[cfg(feature = "Win32_Foundation")] - pub defaultValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - defaultValue: usize, - pub select: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonselect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onselect: usize, - pub SetreadOnly: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub readOnly: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setrows: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub rows: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Setcols: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub cols: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setwrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setwrap: usize, - #[cfg(feature = "Win32_Foundation")] - pub wrap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - wrap: usize, - #[cfg(feature = "Win32_System_Com")] - pub createTextRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createTextRange: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTextAreaElement2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTextAreaElement2 { - pub unsafe fn SetselectionStart(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetselectionStart)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn selectionStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).selectionStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetselectionEnd(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetselectionEnd)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn selectionEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).selectionEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn setSelectionRange(&self, start: i32, end: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).setSelectionRange)(::windows::core::Interface::as_raw(self), start, end).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTextAreaElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTextAreaElement2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTextAreaElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTextAreaElement2> for ::windows::core::IUnknown { - fn from(value: &IHTMLTextAreaElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTextAreaElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTextAreaElement2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTextAreaElement2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTextAreaElement2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTextAreaElement2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTextAreaElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTextAreaElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTextAreaElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTextAreaElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTextAreaElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTextAreaElement2 { - type Vtable = IHTMLTextAreaElement2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f2d3_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTextAreaElement2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetselectionStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub selectionStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetselectionEnd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub selectionEnd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub setSelectionRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, start: i32, end: i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTextContainer(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTextContainer { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createControlRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createControlRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn scrollHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn scrollWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetscrollTop(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetscrollTop)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn scrollTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetscrollLeft(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetscrollLeft)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn scrollLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonscroll<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonscroll)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onscroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onscroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTextContainer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTextContainer> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTextContainer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTextContainer> for ::windows::core::IUnknown { - fn from(value: &IHTMLTextContainer) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTextContainer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTextContainer> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTextContainer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTextContainer> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTextContainer) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTextContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTextContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTextContainer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTextContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTextContainer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTextContainer { - type Vtable = IHTMLTextContainer_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f230_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTextContainer_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub createControlRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, range: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createControlRange: usize, - pub scrollHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub scrollWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetscrollTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub scrollTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetscrollLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub scrollLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonscroll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonscroll: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onscroll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onscroll: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTextElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTextElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTextElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTextElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTextElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTextElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLTextElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTextElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTextElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTextElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTextElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTextElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTextElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTextElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTextElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTextElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTextElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTextElement { - type Vtable = IHTMLTextElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f218_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTextElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTextRangeMetrics(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTextRangeMetrics { - pub unsafe fn offsetTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).offsetTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn offsetLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).offsetLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn boundingTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).boundingTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn boundingLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).boundingLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn boundingWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).boundingWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn boundingHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).boundingHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTextRangeMetrics) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTextRangeMetrics> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTextRangeMetrics) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTextRangeMetrics> for ::windows::core::IUnknown { - fn from(value: &IHTMLTextRangeMetrics) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTextRangeMetrics) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTextRangeMetrics> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTextRangeMetrics) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTextRangeMetrics> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTextRangeMetrics) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTextRangeMetrics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTextRangeMetrics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTextRangeMetrics {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTextRangeMetrics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTextRangeMetrics").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTextRangeMetrics { - type Vtable = IHTMLTextRangeMetrics_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f40b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTextRangeMetrics_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub offsetTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub offsetLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub boundingTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub boundingLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub boundingWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub boundingHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTextRangeMetrics2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTextRangeMetrics2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getClientRects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getClientRects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getBoundingClientRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getBoundingClientRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTextRangeMetrics2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTextRangeMetrics2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTextRangeMetrics2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTextRangeMetrics2> for ::windows::core::IUnknown { - fn from(value: &IHTMLTextRangeMetrics2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTextRangeMetrics2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTextRangeMetrics2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTextRangeMetrics2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTextRangeMetrics2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTextRangeMetrics2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTextRangeMetrics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTextRangeMetrics2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTextRangeMetrics2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTextRangeMetrics2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTextRangeMetrics2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTextRangeMetrics2 { - type Vtable = IHTMLTextRangeMetrics2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4a6_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTextRangeMetrics2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub getClientRects: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prectcol: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getClientRects: usize, - #[cfg(feature = "Win32_System_Com")] - pub getBoundingClientRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prect: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getBoundingClientRect: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTimeRanges(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTimeRanges { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn start(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).start)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn end(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).end)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTimeRanges) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTimeRanges> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTimeRanges) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTimeRanges> for ::windows::core::IUnknown { - fn from(value: &IHTMLTimeRanges) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTimeRanges) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTimeRanges> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTimeRanges) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTimeRanges> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTimeRanges) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTimeRanges { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTimeRanges { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTimeRanges {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTimeRanges { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTimeRanges").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTimeRanges { - type Vtable = IHTMLTimeRanges_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510705_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTimeRanges_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub start: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, starttime: *mut f32) -> ::windows::core::HRESULT, - pub end: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, endtime: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTimeRanges2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTimeRanges2 { - pub unsafe fn startDouble(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).startDouble)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn endDouble(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).endDouble)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTimeRanges2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTimeRanges2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTimeRanges2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTimeRanges2> for ::windows::core::IUnknown { - fn from(value: &IHTMLTimeRanges2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTimeRanges2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTimeRanges2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTimeRanges2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTimeRanges2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTimeRanges2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTimeRanges2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTimeRanges2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTimeRanges2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTimeRanges2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTimeRanges2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTimeRanges2 { - type Vtable = IHTMLTimeRanges2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051080b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTimeRanges2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub startDouble: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, starttime: *mut f64) -> ::windows::core::HRESULT, - pub endDouble: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, endtime: *mut f64) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTitleElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTitleElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settext<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settext)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTitleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTitleElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTitleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTitleElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLTitleElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTitleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTitleElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTitleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTitleElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTitleElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTitleElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTitleElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTitleElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTitleElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTitleElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTitleElement { - type Vtable = IHTMLTitleElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f322_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTitleElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Settext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settext: usize, - #[cfg(feature = "Win32_Foundation")] - pub text: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - text: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTxtRange(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTxtRange { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn htmlText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).htmlText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settext<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settext)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn parentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).parentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn duplicate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).duplicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn inRange<'a, P0>(&self, range: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLTxtRange>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).inRange)(::windows::core::Interface::as_raw(self), range.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn isEqual<'a, P0>(&self, range: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLTxtRange>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isEqual)(::windows::core::Interface::as_raw(self), range.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn scrollIntoView(&self, fstart: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).scrollIntoView)(::windows::core::Interface::as_raw(self), fstart).ok() - } - pub unsafe fn collapse(&self, start: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).collapse)(::windows::core::Interface::as_raw(self), start).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn expand<'a, P0>(&self, unit: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).expand)(::windows::core::Interface::as_raw(self), unit.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#move<'a, P0>(&self, unit: P0, count: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#move)(::windows::core::Interface::as_raw(self), unit.into().abi(), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn moveStart<'a, P0>(&self, unit: P0, count: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).moveStart)(::windows::core::Interface::as_raw(self), unit.into().abi(), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn moveEnd<'a, P0>(&self, unit: P0, count: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).moveEnd)(::windows::core::Interface::as_raw(self), unit.into().abi(), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn select(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).select)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pasteHTML<'a, P0>(&self, html: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).pasteHTML)(::windows::core::Interface::as_raw(self), html.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn moveToElementText<'a, P0>(&self, element: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).moveToElementText)(::windows::core::Interface::as_raw(self), element.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn setEndPoint<'a, P0, P1>(&self, how: P0, sourcerange: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLTxtRange>>, - { - (::windows::core::Interface::vtable(self).setEndPoint)(::windows::core::Interface::as_raw(self), how.into().abi(), sourcerange.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn compareEndPoints<'a, P0, P1>(&self, how: P0, sourcerange: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLTxtRange>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).compareEndPoints)(::windows::core::Interface::as_raw(self), how.into().abi(), sourcerange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn findText<'a, P0>(&self, string: P0, count: i32, flags: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).findText)(::windows::core::Interface::as_raw(self), string.into().abi(), count, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn moveToPoint(&self, x: i32, y: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).moveToPoint)(::windows::core::Interface::as_raw(self), x, y).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn getBookmark(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getBookmark)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn moveToBookmark<'a, P0>(&self, bookmark: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).moveToBookmark)(::windows::core::Interface::as_raw(self), bookmark.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn queryCommandSupported<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandSupported)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn queryCommandEnabled<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandEnabled)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn queryCommandState<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandState)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn queryCommandIndeterm<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandIndeterm)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn queryCommandText<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandText)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn queryCommandValue<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).queryCommandValue)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn execCommand<'a, P0, P1>(&self, cmdid: P0, showui: i16, value: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).execCommand)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), showui, value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn execCommandShowHelp<'a, P0>(&self, cmdid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).execCommandShowHelp)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTxtRange) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTxtRange> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTxtRange) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTxtRange> for ::windows::core::IUnknown { - fn from(value: &IHTMLTxtRange) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTxtRange) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTxtRange> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTxtRange) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTxtRange> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTxtRange) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTxtRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTxtRange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTxtRange {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTxtRange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTxtRange").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTxtRange { - type Vtable = IHTMLTxtRange_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f220_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTxtRange_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub htmlText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - htmlText: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settext: usize, - #[cfg(feature = "Win32_Foundation")] - pub text: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - text: usize, - #[cfg(feature = "Win32_System_Com")] - pub parentElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, parent: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - parentElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub duplicate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, duplicate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - duplicate: usize, - #[cfg(feature = "Win32_System_Com")] - pub inRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, range: *mut ::core::ffi::c_void, inrange: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - inRange: usize, - #[cfg(feature = "Win32_System_Com")] - pub isEqual: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, range: *mut ::core::ffi::c_void, isequal: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - isEqual: usize, - pub scrollIntoView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fstart: i16) -> ::windows::core::HRESULT, - pub collapse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, start: i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub expand: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, unit: ::core::mem::ManuallyDrop, success: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - expand: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#move: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, unit: ::core::mem::ManuallyDrop, count: i32, actualcount: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#move: usize, - #[cfg(feature = "Win32_Foundation")] - pub moveStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, unit: ::core::mem::ManuallyDrop, count: i32, actualcount: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - moveStart: usize, - #[cfg(feature = "Win32_Foundation")] - pub moveEnd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, unit: ::core::mem::ManuallyDrop, count: i32, actualcount: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - moveEnd: usize, - pub select: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub pasteHTML: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, html: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pasteHTML: usize, - #[cfg(feature = "Win32_System_Com")] - pub moveToElementText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, element: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - moveToElementText: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub setEndPoint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, how: ::core::mem::ManuallyDrop, sourcerange: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - setEndPoint: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub compareEndPoints: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, how: ::core::mem::ManuallyDrop, sourcerange: *mut ::core::ffi::c_void, ret: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - compareEndPoints: usize, - #[cfg(feature = "Win32_Foundation")] - pub findText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, string: ::core::mem::ManuallyDrop, count: i32, flags: i32, success: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - findText: usize, - pub moveToPoint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub getBookmark: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, boolmark: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - getBookmark: usize, - #[cfg(feature = "Win32_Foundation")] - pub moveToBookmark: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bookmark: ::core::mem::ManuallyDrop, success: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - moveToBookmark: usize, - #[cfg(feature = "Win32_Foundation")] - pub queryCommandSupported: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - queryCommandSupported: usize, - #[cfg(feature = "Win32_Foundation")] - pub queryCommandEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - queryCommandEnabled: usize, - #[cfg(feature = "Win32_Foundation")] - pub queryCommandState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - queryCommandState: usize, - #[cfg(feature = "Win32_Foundation")] - pub queryCommandIndeterm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - queryCommandIndeterm: usize, - #[cfg(feature = "Win32_Foundation")] - pub queryCommandText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pcmdtext: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - queryCommandText: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub queryCommandValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pcmdvalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - queryCommandValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub execCommand: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, showui: i16, value: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - execCommand: usize, - #[cfg(feature = "Win32_Foundation")] - pub execCommandShowHelp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmdid: ::core::mem::ManuallyDrop, pfret: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - execCommandShowHelp: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLTxtRangeCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLTxtRangeCollection { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLTxtRangeCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTxtRangeCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLTxtRangeCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTxtRangeCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLTxtRangeCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLTxtRangeCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLTxtRangeCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLTxtRangeCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLTxtRangeCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLTxtRangeCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLTxtRangeCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLTxtRangeCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLTxtRangeCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLTxtRangeCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLTxtRangeCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLTxtRangeCollection { - type Vtable = IHTMLTxtRangeCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f7ed_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLTxtRangeCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub _newEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarindex: *const super::super::System::Com::VARIANT, pvarresult: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLUListElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLUListElement { - pub unsafe fn Setcompact(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setcompact)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn compact(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).compact)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settype<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLUListElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLUListElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLUListElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLUListElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLUListElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLUListElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLUListElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLUListElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLUListElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLUListElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLUListElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLUListElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLUListElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLUListElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLUListElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLUListElement { - type Vtable = IHTMLUListElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f1dd_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLUListElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setcompact: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub compact: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Settype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settype: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLUniqueName(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLUniqueName { - pub unsafe fn uniqueNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).uniqueNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn uniqueID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).uniqueID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLUniqueName) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLUniqueName> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLUniqueName) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLUniqueName> for ::windows::core::IUnknown { - fn from(value: &IHTMLUniqueName) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLUniqueName) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLUniqueName> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLUniqueName) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLUniqueName> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLUniqueName) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLUniqueName { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLUniqueName { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLUniqueName {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLUniqueName { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLUniqueName").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLUniqueName { - type Vtable = IHTMLUniqueName_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4d0_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLUniqueName_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub uniqueNumber: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub uniqueID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - uniqueID: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLUnknownElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLUnknownElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLUnknownElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLUnknownElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLUnknownElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLUnknownElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLUnknownElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLUnknownElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLUnknownElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLUnknownElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLUnknownElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLUnknownElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLUnknownElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLUnknownElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLUnknownElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLUnknownElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLUnknownElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLUnknownElement { - type Vtable = IHTMLUnknownElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f209_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLUnknownElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLUrnCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLUrnCollection { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLUrnCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLUrnCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLUrnCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLUrnCollection> for ::windows::core::IUnknown { - fn from(value: &IHTMLUrnCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLUrnCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLUrnCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLUrnCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLUrnCollection> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLUrnCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLUrnCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLUrnCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLUrnCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLUrnCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLUrnCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLUrnCollection { - type Vtable = IHTMLUrnCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5e2_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLUrnCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppurn: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLUserDataOM(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLUserDataOM { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn XMLDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).XMLDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn save<'a, P0>(&self, strname: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).save)(::windows::core::Interface::as_raw(self), strname.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn load<'a, P0>(&self, strname: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).load)(::windows::core::Interface::as_raw(self), strname.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getAttribute<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn setAttribute<'a, P0, P1>(&self, name: P0, value: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).setAttribute)(::windows::core::Interface::as_raw(self), name.into().abi(), value.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn removeAttribute<'a, P0>(&self, name: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).removeAttribute)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setexpires<'a, P0>(&self, bstr: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setexpires)(::windows::core::Interface::as_raw(self), bstr.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn expires(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).expires)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLUserDataOM) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLUserDataOM> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLUserDataOM) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLUserDataOM> for ::windows::core::IUnknown { - fn from(value: &IHTMLUserDataOM) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLUserDataOM) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLUserDataOM> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLUserDataOM) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLUserDataOM> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLUserDataOM) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLUserDataOM { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLUserDataOM { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLUserDataOM {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLUserDataOM { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLUserDataOM").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLUserDataOM { - type Vtable = IHTMLUserDataOM_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f48f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLUserDataOM_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub XMLDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - XMLDocument: usize, - #[cfg(feature = "Win32_Foundation")] - pub save: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strname: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - save: usize, - #[cfg(feature = "Win32_Foundation")] - pub load: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strname: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - load: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pvalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getAttribute: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub setAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, value: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - setAttribute: usize, - #[cfg(feature = "Win32_Foundation")] - pub removeAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - removeAttribute: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setexpires: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstr: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setexpires: usize, - #[cfg(feature = "Win32_Foundation")] - pub expires: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstr: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - expires: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLVideoElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLVideoElement { - pub unsafe fn Setwidth(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setheight(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn videoWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).videoWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn videoHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).videoHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setposter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setposter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn poster(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).poster)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLVideoElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLVideoElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLVideoElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLVideoElement> for ::windows::core::IUnknown { - fn from(value: &IHTMLVideoElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLVideoElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLVideoElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLVideoElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLVideoElement> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLVideoElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLVideoElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLVideoElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLVideoElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLVideoElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLVideoElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLVideoElement { - type Vtable = IHTMLVideoElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510709_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLVideoElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub Setheight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub videoWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT, - pub videoHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setposter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setposter: usize, - #[cfg(feature = "Win32_Foundation")] - pub poster: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - poster: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLWindow2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLWindow2 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn frames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).frames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdefaultStatus<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetdefaultStatus)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn defaultStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).defaultStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setstatus<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setstatus)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn setTimeout<'a, P0>(&self, expression: P0, msec: i32, language: *const super::super::System::Com::VARIANT) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).setTimeout)(::windows::core::Interface::as_raw(self), expression.into().abi(), msec, ::core::mem::transmute(language), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clearTimeout(&self, timerid: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).clearTimeout)(::windows::core::Interface::as_raw(self), timerid).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn alert<'a, P0>(&self, message: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).alert)(::windows::core::Interface::as_raw(self), message.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn confirm<'a, P0>(&self, message: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).confirm)(::windows::core::Interface::as_raw(self), message.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn prompt<'a, P0, P1>(&self, message: P0, defstr: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).prompt)(::windows::core::Interface::as_raw(self), message.into().abi(), defstr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn location(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).location)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn history(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).history)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn close(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).close)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setopener<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setopener)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn opener(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).opener)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn navigator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).navigator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setname<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setname)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn open<'a, P0, P1, P2>(&self, url: P0, name: P1, features: P2, replace: i16) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).open)(::windows::core::Interface::as_raw(self), url.into().abi(), name.into().abi(), features.into().abi(), replace, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn self_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).self_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn window(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).window)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn navigate<'a, P0>(&self, url: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).navigate)(::windows::core::Interface::as_raw(self), url.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonfocus<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonfocus)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onfocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onfocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonblur<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonblur)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onblur(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onblur)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbeforeunload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbeforeunload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbeforeunload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbeforeunload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonunload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonunload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onunload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onunload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonhelp<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonhelp)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onhelp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onhelp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonerror<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonerror)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonresize<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonresize)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onresize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onresize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonscroll<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonscroll)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onscroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onscroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn document(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn showModalDialog<'a, P0>(&self, dialog: P0, varargin: *const super::super::System::Com::VARIANT, varoptions: *const super::super::System::Com::VARIANT) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).showModalDialog)(::windows::core::Interface::as_raw(self), dialog.into().abi(), ::core::mem::transmute(varargin), ::core::mem::transmute(varoptions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn showHelp<'a, P0, P1, P2>(&self, helpurl: P0, helparg: P1, features: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).showHelp)(::windows::core::Interface::as_raw(self), helpurl.into().abi(), helparg.into().abi(), features.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn screen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).screen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Option(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Option)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn focus(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).focus)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn closed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).closed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn blur(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).blur)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn scroll(&self, x: i32, y: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).scroll)(::windows::core::Interface::as_raw(self), x, y).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn clientInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clientInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn setInterval<'a, P0>(&self, expression: P0, msec: i32, language: *const super::super::System::Com::VARIANT) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).setInterval)(::windows::core::Interface::as_raw(self), expression.into().abi(), msec, ::core::mem::transmute(language), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clearInterval(&self, timerid: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).clearInterval)(::windows::core::Interface::as_raw(self), timerid).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetoffscreenBuffering<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetoffscreenBuffering)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn offscreenBuffering(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).offscreenBuffering)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn execScript<'a, P0, P1>(&self, code: P0, language: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).execScript)(::windows::core::Interface::as_raw(self), code.into().abi(), language.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn scrollBy(&self, x: i32, y: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).scrollBy)(::windows::core::Interface::as_raw(self), x, y).ok() - } - pub unsafe fn scrollTo(&self, x: i32, y: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).scrollTo)(::windows::core::Interface::as_raw(self), x, y).ok() - } - pub unsafe fn moveTo(&self, x: i32, y: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).moveTo)(::windows::core::Interface::as_raw(self), x, y).ok() - } - pub unsafe fn moveBy(&self, x: i32, y: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).moveBy)(::windows::core::Interface::as_raw(self), x, y).ok() - } - pub unsafe fn resizeTo(&self, x: i32, y: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).resizeTo)(::windows::core::Interface::as_raw(self), x, y).ok() - } - pub unsafe fn resizeBy(&self, x: i32, y: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).resizeBy)(::windows::core::Interface::as_raw(self), x, y).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn external(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).external)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLWindow2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLWindow2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLWindow2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLWindow2> for ::windows::core::IUnknown { - fn from(value: &IHTMLWindow2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLWindow2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLWindow2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLWindow2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLWindow2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLWindow2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for IHTMLFramesCollection2 { - fn from(value: IHTMLWindow2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLWindow2> for &'a IHTMLFramesCollection2 { - fn from(value: &'a IHTMLWindow2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLWindow2> for IHTMLFramesCollection2 { - fn from(value: &IHTMLWindow2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLWindow2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLWindow2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLWindow2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLWindow2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLWindow2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLWindow2 { - type Vtable = IHTMLWindow2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x332c4427_26cb_11d0_b483_00c04fd90119); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLWindow2_Vtbl { - pub base__: IHTMLFramesCollection2_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub frames: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - frames: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetdefaultStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetdefaultStatus: usize, - #[cfg(feature = "Win32_Foundation")] - pub defaultStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - defaultStatus: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setstatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setstatus: usize, - #[cfg(feature = "Win32_Foundation")] - pub status: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - status: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub setTimeout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, expression: ::core::mem::ManuallyDrop, msec: i32, language: *const super::super::System::Com::VARIANT, timerid: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - setTimeout: usize, - pub clearTimeout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, timerid: i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub alert: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, message: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - alert: usize, - #[cfg(feature = "Win32_Foundation")] - pub confirm: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, message: ::core::mem::ManuallyDrop, confirmed: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - confirm: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub prompt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, message: ::core::mem::ManuallyDrop, defstr: ::core::mem::ManuallyDrop, textdata: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - prompt: usize, - #[cfg(feature = "Win32_System_Com")] - pub Image: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Image: usize, - #[cfg(feature = "Win32_System_Com")] - pub location: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - location: usize, - #[cfg(feature = "Win32_System_Com")] - pub history: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - history: usize, - pub close: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setopener: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setopener: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub opener: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - opener: usize, - #[cfg(feature = "Win32_System_Com")] - pub navigator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - navigator: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setname: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setname: usize, - #[cfg(feature = "Win32_Foundation")] - pub name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - name: usize, - #[cfg(feature = "Win32_System_Com")] - pub parent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - parent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub open: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, url: ::core::mem::ManuallyDrop, name: ::core::mem::ManuallyDrop, features: ::core::mem::ManuallyDrop, replace: i16, pomwindowresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - open: usize, - #[cfg(feature = "Win32_System_Com")] - pub self_: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - self_: usize, - #[cfg(feature = "Win32_System_Com")] - pub top: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - top: usize, - #[cfg(feature = "Win32_System_Com")] - pub window: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - window: usize, - #[cfg(feature = "Win32_Foundation")] - pub navigate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, url: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - navigate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonfocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonfocus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onfocus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onfocus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonblur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonblur: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onblur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onblur: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbeforeunload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbeforeunload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbeforeunload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbeforeunload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonunload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonunload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onunload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onunload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonhelp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonhelp: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onhelp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onhelp: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonresize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonresize: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onresize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onresize: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonscroll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonscroll: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onscroll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onscroll: usize, - #[cfg(feature = "Win32_System_Com")] - pub document: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - document: usize, - #[cfg(feature = "Win32_System_Com")] - pub event: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - event: usize, - pub _newEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub showModalDialog: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dialog: ::core::mem::ManuallyDrop, varargin: *const super::super::System::Com::VARIANT, varoptions: *const super::super::System::Com::VARIANT, varargout: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - showModalDialog: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub showHelp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, helpurl: ::core::mem::ManuallyDrop, helparg: ::core::mem::ManuallyDrop, features: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - showHelp: usize, - #[cfg(feature = "Win32_System_Com")] - pub screen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - screen: usize, - #[cfg(feature = "Win32_System_Com")] - pub Option: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Option: usize, - pub focus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub closed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub blur: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub scroll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub clientInformation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - clientInformation: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub setInterval: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, expression: ::core::mem::ManuallyDrop, msec: i32, language: *const super::super::System::Com::VARIANT, timerid: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - setInterval: usize, - pub clearInterval: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, timerid: i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetoffscreenBuffering: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetoffscreenBuffering: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub offscreenBuffering: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - offscreenBuffering: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub execScript: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, code: ::core::mem::ManuallyDrop, language: ::core::mem::ManuallyDrop, pvarret: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - execScript: usize, - #[cfg(feature = "Win32_Foundation")] - pub toString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - toString: usize, - pub scrollBy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT, - pub scrollTo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT, - pub moveTo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT, - pub moveBy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT, - pub resizeTo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT, - pub resizeBy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub external: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - external: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLWindow3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLWindow3 { - pub unsafe fn screenLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).screenLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn screenTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).screenTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn attachEvent<'a, P0, P1>(&self, event: P0, pdisp: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).attachEvent)(::windows::core::Interface::as_raw(self), event.into().abi(), pdisp.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn detachEvent<'a, P0, P1>(&self, event: P0, pdisp: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).detachEvent)(::windows::core::Interface::as_raw(self), event.into().abi(), pdisp.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn setTimeout(&self, expression: *const super::super::System::Com::VARIANT, msec: i32, language: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).setTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(expression), msec, ::core::mem::transmute(language), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn setInterval(&self, expression: *const super::super::System::Com::VARIANT, msec: i32, language: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).setInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(expression), msec, ::core::mem::transmute(language), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn print(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).print)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonbeforeprint<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonbeforeprint)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onbeforeprint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onbeforeprint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonafterprint<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonafterprint)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onafterprint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onafterprint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn clipboardData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clipboardData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn showModelessDialog<'a, P0>(&self, url: P0, varargin: *const super::super::System::Com::VARIANT, options: *const super::super::System::Com::VARIANT) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).showModelessDialog)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(varargin), ::core::mem::transmute(options), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLWindow3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLWindow3> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLWindow3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLWindow3> for ::windows::core::IUnknown { - fn from(value: &IHTMLWindow3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLWindow3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLWindow3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLWindow3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLWindow3> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLWindow3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLWindow3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLWindow3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLWindow3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLWindow3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLWindow3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLWindow3 { - type Vtable = IHTMLWindow3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4ae_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLWindow3_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub screenLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub screenTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub attachEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, event: ::core::mem::ManuallyDrop, pdisp: *mut ::core::ffi::c_void, pfresult: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - attachEvent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub detachEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, event: ::core::mem::ManuallyDrop, pdisp: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - detachEvent: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub setTimeout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, expression: *const super::super::System::Com::VARIANT, msec: i32, language: *const super::super::System::Com::VARIANT, timerid: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - setTimeout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub setInterval: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, expression: *const super::super::System::Com::VARIANT, msec: i32, language: *const super::super::System::Com::VARIANT, timerid: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - setInterval: usize, - pub print: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonbeforeprint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonbeforeprint: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onbeforeprint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onbeforeprint: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonafterprint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonafterprint: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onafterprint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onafterprint: usize, - #[cfg(feature = "Win32_System_Com")] - pub clipboardData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - clipboardData: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub showModelessDialog: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, url: ::core::mem::ManuallyDrop, varargin: *const super::super::System::Com::VARIANT, options: *const super::super::System::Com::VARIANT, pdialog: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - showModelessDialog: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLWindow4(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLWindow4 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn createPopup(&self, varargin: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createPopup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(varargin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn frameElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).frameElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLWindow4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLWindow4> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLWindow4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLWindow4> for ::windows::core::IUnknown { - fn from(value: &IHTMLWindow4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLWindow4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLWindow4> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLWindow4) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLWindow4> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLWindow4) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLWindow4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLWindow4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLWindow4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLWindow4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLWindow4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLWindow4 { - type Vtable = IHTMLWindow4_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6cf_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLWindow4_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub createPopup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, varargin: *const super::super::System::Com::VARIANT, pppopup: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - createPopup: usize, - #[cfg(feature = "Win32_System_Com")] - pub frameElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - frameElement: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLWindow5(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLWindow5 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetXMLHttpRequest<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetXMLHttpRequest)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn XMLHttpRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).XMLHttpRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLWindow5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLWindow5> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLWindow5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLWindow5> for ::windows::core::IUnknown { - fn from(value: &IHTMLWindow5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLWindow5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLWindow5> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLWindow5) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLWindow5> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLWindow5) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLWindow5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLWindow5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLWindow5 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLWindow5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLWindow5").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLWindow5 { - type Vtable = IHTMLWindow5_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051040e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLWindow5_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetXMLHttpRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetXMLHttpRequest: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub XMLHttpRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - XMLHttpRequest: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLWindow6(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLWindow6 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetXDomainRequest<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetXDomainRequest)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn XDomainRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).XDomainRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn sessionStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).sessionStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn localStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).localStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonhashchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonhashchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onhashchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onhashchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn maxConnectionsPerServer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).maxConnectionsPerServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn postMessage<'a, P0, P1>(&self, msg: P0, targetorigin: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).postMessage)(::windows::core::Interface::as_raw(self), msg.into().abi(), targetorigin.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn toStaticHTML<'a, P0>(&self, bstrhtml: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toStaticHTML)(::windows::core::Interface::as_raw(self), bstrhtml.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmessage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmessage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msWriteProfilerMark<'a, P0>(&self, bstrprofilermarkname: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).msWriteProfilerMark)(::windows::core::Interface::as_raw(self), bstrprofilermarkname.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLWindow6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLWindow6> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLWindow6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLWindow6> for ::windows::core::IUnknown { - fn from(value: &IHTMLWindow6) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLWindow6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLWindow6> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLWindow6) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLWindow6> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLWindow6) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLWindow6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLWindow6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLWindow6 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLWindow6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLWindow6").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLWindow6 { - type Vtable = IHTMLWindow6_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510453_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLWindow6_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetXDomainRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetXDomainRequest: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub XDomainRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - XDomainRequest: usize, - #[cfg(feature = "Win32_System_Com")] - pub sessionStorage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - sessionStorage: usize, - #[cfg(feature = "Win32_System_Com")] - pub localStorage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - localStorage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonhashchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonhashchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onhashchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onhashchange: usize, - pub maxConnectionsPerServer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub postMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, msg: ::core::mem::ManuallyDrop, targetorigin: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - postMessage: usize, - #[cfg(feature = "Win32_Foundation")] - pub toStaticHTML: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrhtml: ::core::mem::ManuallyDrop, pbstrstatichtml: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - toStaticHTML: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmessage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmessage: usize, - #[cfg(feature = "Win32_Foundation")] - pub msWriteProfilerMark: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrprofilermarkname: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msWriteProfilerMark: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLWindow7(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLWindow7 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn getComputedStyle<'a, P0, P1>(&self, varargin: P0, bstrpseudoelt: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getComputedStyle)(::windows::core::Interface::as_raw(self), varargin.into().abi(), bstrpseudoelt.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn styleMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).styleMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setperformance<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setperformance)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn performance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).performance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn innerWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).innerWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn innerHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).innerHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn pageXOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageXOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn pageYOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageYOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn screenX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).screenX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn screenY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).screenY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn outerWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outerWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn outerHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).outerHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonabort<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonabort)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onabort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onabort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoncanplay<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoncanplay)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oncanplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oncanplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoncanplaythrough<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoncanplaythrough)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oncanplaythrough(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oncanplaythrough)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonclick<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonclick)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onclick(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onclick)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoncontextmenu<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoncontextmenu)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oncontextmenu(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oncontextmenu)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondblclick<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondblclick)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondblclick(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondblclick)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondrag<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondrag)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondrag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondrag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondragend<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondragend)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondragend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondragend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondragenter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondragenter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondragenter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondragenter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondragleave<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondragleave)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondragleave(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondragleave)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondragover<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondragover)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondragover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondragover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondragstart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondragstart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondragstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondragstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondrop<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondrop)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondrop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondrop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setondurationchange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setondurationchange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ondurationchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ondurationchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonfocusin<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonfocusin)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onfocusin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onfocusin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonfocusout<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonfocusout)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onfocusout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onfocusout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setoninput<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setoninput)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn oninput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).oninput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonemptied<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonemptied)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onemptied(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onemptied)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonended<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonended)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onended(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onended)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonkeydown<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonkeydown)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onkeydown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onkeydown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonkeypress<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonkeypress)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onkeypress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onkeypress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonkeyup<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonkeyup)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onkeyup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onkeyup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonloadeddata<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonloadeddata)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onloadeddata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onloadeddata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonloadedmetadata<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonloadedmetadata)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onloadedmetadata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onloadedmetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonloadstart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonloadstart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onloadstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onloadstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmousedown<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmousedown)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmousedown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmousedown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmouseenter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmouseenter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmouseenter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmouseenter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmouseleave<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmouseleave)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmouseleave(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmouseleave)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmousemove<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmousemove)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmousemove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmousemove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmouseout<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmouseout)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmouseout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmouseout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmouseover<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmouseover)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmouseover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmouseover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmouseup<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmouseup)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmouseup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmouseup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmousewheel<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmousewheel)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmousewheel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmousewheel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonoffline<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonoffline)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onoffline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onoffline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setononline<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setononline)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ononline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ononline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonprogress<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonprogress)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onprogress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onprogress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonratechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonratechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onratechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onratechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonreadystatechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonreadystatechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonreset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonreset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onreset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onreset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonseeked<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonseeked)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onseeked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onseeked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonseeking<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonseeking)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onseeking(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onseeking)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonselect<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonselect)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonstalled<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonstalled)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonstorage<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonstorage)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onstorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onstorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonsubmit<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonsubmit)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onsubmit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onsubmit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonsuspend<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonsuspend)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onsuspend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onsuspend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setontimeupdate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setontimeupdate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ontimeupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ontimeupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonpause<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonpause)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onpause(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onpause)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonplay<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonplay)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonplaying<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonplaying)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onplaying(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onplaying)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonvolumechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonvolumechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onvolumechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onvolumechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonwaiting<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonwaiting)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onwaiting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onwaiting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLWindow7) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLWindow7> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLWindow7) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLWindow7> for ::windows::core::IUnknown { - fn from(value: &IHTMLWindow7) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLWindow7) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLWindow7> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLWindow7) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLWindow7> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLWindow7) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLWindow7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLWindow7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLWindow7 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLWindow7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLWindow7").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLWindow7 { - type Vtable = IHTMLWindow7_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104b7_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLWindow7_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub getSelection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppihtmlselection: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getSelection: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub getComputedStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, varargin: *mut ::core::ffi::c_void, bstrpseudoelt: ::core::mem::ManuallyDrop, ppcomputedstyle: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - getComputedStyle: usize, - #[cfg(feature = "Win32_System_Com")] - pub styleMedia: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - styleMedia: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setperformance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setperformance: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub performance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - performance: usize, - pub innerWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub innerHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub pageXOffset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub pageYOffset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub screenX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub screenY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub outerWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub outerHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonabort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonabort: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onabort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onabort: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoncanplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoncanplay: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oncanplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oncanplay: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoncanplaythrough: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoncanplaythrough: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oncanplaythrough: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oncanplaythrough: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonclick: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonclick: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onclick: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onclick: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoncontextmenu: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoncontextmenu: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oncontextmenu: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oncontextmenu: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondblclick: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondblclick: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondblclick: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondblclick: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondrag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondrag: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondrag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondrag: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondragend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondragend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondragend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondragend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondragenter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondragenter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondragenter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondragenter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondragleave: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondragleave: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondragleave: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondragleave: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondragover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondragover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondragover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondragover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondragstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondragstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondragstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondragstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondrop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondrop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondrop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondrop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setondurationchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setondurationchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ondurationchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ondurationchange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonfocusin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonfocusin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onfocusin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onfocusin: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonfocusout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonfocusout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onfocusout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onfocusout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setoninput: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setoninput: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub oninput: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - oninput: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonemptied: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonemptied: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onemptied: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onemptied: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonended: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonended: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onended: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onended: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonkeydown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonkeydown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onkeydown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onkeydown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonkeypress: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonkeypress: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onkeypress: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onkeypress: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonkeyup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonkeyup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onkeyup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onkeyup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonloadeddata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonloadeddata: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onloadeddata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onloadeddata: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonloadedmetadata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonloadedmetadata: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onloadedmetadata: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onloadedmetadata: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonloadstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonloadstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onloadstart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onloadstart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmousedown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmousedown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmousedown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmousedown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmouseenter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmouseenter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmouseenter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmouseenter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmouseleave: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmouseleave: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmouseleave: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmouseleave: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmousemove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmousemove: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmousemove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmousemove: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmouseout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmouseout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmouseout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmouseout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmouseover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmouseover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmouseover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmouseover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmouseup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmouseup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmouseup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmouseup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmousewheel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmousewheel: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmousewheel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmousewheel: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonoffline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonoffline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onoffline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onoffline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setononline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setononline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ononline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ononline: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonprogress: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonprogress: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onprogress: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onprogress: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonratechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonratechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onratechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onratechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonreadystatechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onreadystatechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonreset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonreset: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onreset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onreset: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonseeked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonseeked: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onseeked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onseeked: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonseeking: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonseeking: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onseeking: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onseeking: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonselect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onselect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onselect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonstalled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonstalled: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onstalled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onstalled: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonstorage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonstorage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onstorage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onstorage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonsubmit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonsubmit: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onsubmit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onsubmit: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonsuspend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonsuspend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onsuspend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onsuspend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setontimeupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setontimeupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ontimeupdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ontimeupdate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonpause: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonpause: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onpause: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onpause: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonplay: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onplay: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonplaying: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonplaying: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onplaying: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onplaying: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonvolumechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonvolumechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onvolumechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onvolumechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonwaiting: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonwaiting: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onwaiting: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onwaiting: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLWindow8(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLWindow8 { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointerdown<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointerdown)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointerdown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointerdown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointermove<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointermove)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointermove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointermove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointerup<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointerup)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointerup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointerup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointerover<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointerover)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointerover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointerover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointerout<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointerout)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointerout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointerout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointercancel<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointercancel)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointercancel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointercancel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmspointerhover<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmspointerhover)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmspointerhover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmspointerhover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgesturestart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgesturestart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgesturestart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgesturestart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgesturechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgesturechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgesturechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgesturechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgestureend<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgestureend)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgestureend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgestureend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgesturehold<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgesturehold)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgesturehold(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgesturehold)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgesturetap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgesturetap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgesturetap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgesturetap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsgesturedoubletap<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsgesturedoubletap)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsgesturedoubletap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsgesturedoubletap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonmsinertiastart<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonmsinertiastart)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onmsinertiastart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onmsinertiastart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn applicationCache(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).applicationCache)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonpopstate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonpopstate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onpopstate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onpopstate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLWindow8) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLWindow8> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLWindow8) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLWindow8> for ::windows::core::IUnknown { - fn from(value: &IHTMLWindow8) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLWindow8) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLWindow8> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLWindow8) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLWindow8> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLWindow8) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLWindow8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLWindow8 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLWindow8 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLWindow8 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLWindow8").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLWindow8 { - type Vtable = IHTMLWindow8_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107ab_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLWindow8_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointerdown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointerdown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointerdown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointerdown: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointermove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointermove: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointermove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointermove: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointerup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointerup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointerup: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointerup: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointerover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointerover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointerover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointerover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointerout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointerout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointerout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointerout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointercancel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointercancel: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointercancel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointercancel: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmspointerhover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmspointerhover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmspointerhover: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmspointerhover: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgesturestart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgesturestart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgesturestart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgesturestart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgesturechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgesturechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgesturechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgesturechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgestureend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgestureend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgestureend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgestureend: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgesturehold: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgesturehold: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgesturehold: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgesturehold: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgesturetap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgesturetap: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgesturetap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgesturetap: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsgesturedoubletap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsgesturedoubletap: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsgesturedoubletap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsgesturedoubletap: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonmsinertiastart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonmsinertiastart: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onmsinertiastart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onmsinertiastart: usize, - #[cfg(feature = "Win32_System_Com")] - pub applicationCache: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - applicationCache: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonpopstate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonpopstate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onpopstate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onpopstate: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLXDomainRequest(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLXDomainRequest { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn responseText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).responseText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Settimeout(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Settimeout)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn timeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).timeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn contentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).contentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonprogress<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonprogress)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onprogress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onprogress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonerror<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonerror)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setontimeout<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setontimeout)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ontimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ontimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonload<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonload)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn abort(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).abort)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn open<'a, P0, P1>(&self, bstrmethod: P0, bstrurl: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).open)(::windows::core::Interface::as_raw(self), bstrmethod.into().abi(), bstrurl.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn send<'a, P0>(&self, varbody: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).send)(::windows::core::Interface::as_raw(self), varbody.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLXDomainRequest) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLXDomainRequest> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLXDomainRequest) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLXDomainRequest> for ::windows::core::IUnknown { - fn from(value: &IHTMLXDomainRequest) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLXDomainRequest) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLXDomainRequest> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLXDomainRequest) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLXDomainRequest> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLXDomainRequest) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLXDomainRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLXDomainRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLXDomainRequest {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLXDomainRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLXDomainRequest").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLXDomainRequest { - type Vtable = IHTMLXDomainRequest_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510454_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLXDomainRequest_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub responseText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - responseText: usize, - pub Settimeout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub timeout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub contentType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - contentType: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonprogress: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonprogress: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onprogress: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onprogress: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onerror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onerror: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setontimeout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setontimeout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ontimeout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ontimeout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonload: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onload: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onload: usize, - pub abort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub open: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrmethod: ::core::mem::ManuallyDrop, bstrurl: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - open: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub send: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, varbody: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - send: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLXDomainRequestFactory(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLXDomainRequestFactory { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn create(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).create)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLXDomainRequestFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLXDomainRequestFactory> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLXDomainRequestFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLXDomainRequestFactory> for ::windows::core::IUnknown { - fn from(value: &IHTMLXDomainRequestFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLXDomainRequestFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLXDomainRequestFactory> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLXDomainRequestFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLXDomainRequestFactory> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLXDomainRequestFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLXDomainRequestFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLXDomainRequestFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLXDomainRequestFactory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLXDomainRequestFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLXDomainRequestFactory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLXDomainRequestFactory { - type Vtable = IHTMLXDomainRequestFactory_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510456_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLXDomainRequestFactory_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub create: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, __midl__ihtmlxdomainrequestfactory0000: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - create: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLXMLHttpRequest(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLXMLHttpRequest { - pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn responseBody(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).responseBody)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn responseText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).responseText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn responseXML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).responseXML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn statusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).statusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonreadystatechange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonreadystatechange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn abort(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).abort)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn open<'a, P0, P1, P2, P3, P4>(&self, bstrmethod: P0, bstrurl: P1, varasync: P2, varuser: P3, varpassword: P4) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P4: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).open)(::windows::core::Interface::as_raw(self), bstrmethod.into().abi(), bstrurl.into().abi(), varasync.into().abi(), varuser.into().abi(), varpassword.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn send<'a, P0>(&self, varbody: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).send)(::windows::core::Interface::as_raw(self), varbody.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn getAllResponseHeaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getAllResponseHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn getResponseHeader<'a, P0>(&self, bstrheader: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getResponseHeader)(::windows::core::Interface::as_raw(self), bstrheader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn setRequestHeader<'a, P0, P1>(&self, bstrheader: P0, bstrvalue: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).setRequestHeader)(::windows::core::Interface::as_raw(self), bstrheader.into().abi(), bstrvalue.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLXMLHttpRequest) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLXMLHttpRequest> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLXMLHttpRequest) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLXMLHttpRequest> for ::windows::core::IUnknown { - fn from(value: &IHTMLXMLHttpRequest) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLXMLHttpRequest) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLXMLHttpRequest> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLXMLHttpRequest) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLXMLHttpRequest> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLXMLHttpRequest) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLXMLHttpRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLXMLHttpRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLXMLHttpRequest {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLXMLHttpRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLXMLHttpRequest").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLXMLHttpRequest { - type Vtable = IHTMLXMLHttpRequest_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051040a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLXMLHttpRequest_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub readyState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub responseBody: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - responseBody: usize, - #[cfg(feature = "Win32_Foundation")] - pub responseText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - responseText: usize, - #[cfg(feature = "Win32_System_Com")] - pub responseXML: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - responseXML: usize, - pub status: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub statusText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - statusText: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonreadystatechange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onreadystatechange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onreadystatechange: usize, - pub abort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub open: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrmethod: ::core::mem::ManuallyDrop, bstrurl: ::core::mem::ManuallyDrop, varasync: ::core::mem::ManuallyDrop, varuser: ::core::mem::ManuallyDrop, varpassword: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - open: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub send: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, varbody: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - send: usize, - #[cfg(feature = "Win32_Foundation")] - pub getAllResponseHeaders: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, __midl__ihtmlxmlhttprequest0000: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - getAllResponseHeaders: usize, - #[cfg(feature = "Win32_Foundation")] - pub getResponseHeader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrheader: ::core::mem::ManuallyDrop, __midl__ihtmlxmlhttprequest0001: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - getResponseHeader: usize, - #[cfg(feature = "Win32_Foundation")] - pub setRequestHeader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrheader: ::core::mem::ManuallyDrop, bstrvalue: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - setRequestHeader: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLXMLHttpRequest2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLXMLHttpRequest2 { - pub unsafe fn Settimeout(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Settimeout)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn timeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).timeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setontimeout<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setontimeout)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ontimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ontimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLXMLHttpRequest2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLXMLHttpRequest2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLXMLHttpRequest2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLXMLHttpRequest2> for ::windows::core::IUnknown { - fn from(value: &IHTMLXMLHttpRequest2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLXMLHttpRequest2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLXMLHttpRequest2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLXMLHttpRequest2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLXMLHttpRequest2> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLXMLHttpRequest2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLXMLHttpRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLXMLHttpRequest2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLXMLHttpRequest2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLXMLHttpRequest2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLXMLHttpRequest2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLXMLHttpRequest2 { - type Vtable = IHTMLXMLHttpRequest2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510482_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLXMLHttpRequest2_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Settimeout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub timeout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setontimeout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setontimeout: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ontimeout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ontimeout: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHTMLXMLHttpRequestFactory(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHTMLXMLHttpRequestFactory { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn create(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).create)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHTMLXMLHttpRequestFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLXMLHttpRequestFactory> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHTMLXMLHttpRequestFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLXMLHttpRequestFactory> for ::windows::core::IUnknown { - fn from(value: &IHTMLXMLHttpRequestFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHTMLXMLHttpRequestFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHTMLXMLHttpRequestFactory> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHTMLXMLHttpRequestFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHTMLXMLHttpRequestFactory> for super::super::System::Com::IDispatch { - fn from(value: &IHTMLXMLHttpRequestFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLXMLHttpRequestFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLXMLHttpRequestFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLXMLHttpRequestFactory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLXMLHttpRequestFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLXMLHttpRequestFactory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHTMLXMLHttpRequestFactory { - type Vtable = IHTMLXMLHttpRequestFactory_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051040c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHTMLXMLHttpRequestFactory_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub create: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, __midl__ihtmlxmlhttprequestfactory0000: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - create: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHeaderFooter(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHeaderFooter { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn htmlHead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).htmlHead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn htmlFoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).htmlFoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextHead<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextHead)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textHead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textHead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextFoot<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettextFoot)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textFoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textFoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setpage(&self, v: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setpage)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn page(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).page)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpageTotal(&self, v: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetpageTotal)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pageTotal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageTotal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetURL<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetURL)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn URL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).URL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settitle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settitle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdateShort<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetdateShort)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dateShort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dateShort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdateLong<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetdateLong)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dateLong(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dateLong)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettimeShort<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettimeShort)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn timeShort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).timeShort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettimeLong<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SettimeLong)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn timeLong(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).timeLong)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHeaderFooter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHeaderFooter> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHeaderFooter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHeaderFooter> for ::windows::core::IUnknown { - fn from(value: &IHeaderFooter) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHeaderFooter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHeaderFooter> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHeaderFooter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHeaderFooter> for super::super::System::Com::IDispatch { - fn from(value: &IHeaderFooter) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHeaderFooter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHeaderFooter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHeaderFooter {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHeaderFooter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHeaderFooter").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHeaderFooter { - type Vtable = IHeaderFooter_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6ce_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHeaderFooter_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub htmlHead: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - htmlHead: usize, - #[cfg(feature = "Win32_Foundation")] - pub htmlFoot: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - htmlFoot: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextHead: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextHead: usize, - #[cfg(feature = "Win32_Foundation")] - pub textHead: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textHead: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettextFoot: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettextFoot: usize, - #[cfg(feature = "Win32_Foundation")] - pub textFoot: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - textFoot: usize, - pub Setpage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: u32) -> ::windows::core::HRESULT, - pub page: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT, - pub SetpageTotal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: u32) -> ::windows::core::HRESULT, - pub pageTotal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetURL: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetURL: usize, - #[cfg(feature = "Win32_Foundation")] - pub URL: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - URL: usize, - #[cfg(feature = "Win32_Foundation")] - pub Settitle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settitle: usize, - #[cfg(feature = "Win32_Foundation")] - pub title: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - title: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetdateShort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetdateShort: usize, - #[cfg(feature = "Win32_Foundation")] - pub dateShort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dateShort: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetdateLong: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetdateLong: usize, - #[cfg(feature = "Win32_Foundation")] - pub dateLong: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - dateLong: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettimeShort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettimeShort: usize, - #[cfg(feature = "Win32_Foundation")] - pub timeShort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - timeShort: usize, - #[cfg(feature = "Win32_Foundation")] - pub SettimeLong: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SettimeLong: usize, - #[cfg(feature = "Win32_Foundation")] - pub timeLong: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - timeLong: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHeaderFooter2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHeaderFooter2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn htmlHead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.htmlHead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn htmlFoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.htmlFoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextHead<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).base__.SettextHead)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textHead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.textHead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettextFoot<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).base__.SettextFoot)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn textFoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.textFoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setpage(&self, v: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.Setpage)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn page(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.page)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpageTotal(&self, v: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetpageTotal)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pageTotal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.pageTotal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetURL<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).base__.SetURL)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn URL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.URL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settitle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).base__.Settitle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdateShort<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).base__.SetdateShort)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dateShort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.dateShort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetdateLong<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).base__.SetdateLong)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn dateLong(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.dateLong)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettimeShort<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).base__.SettimeShort)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn timeShort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.timeShort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SettimeLong<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).base__.SettimeLong)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn timeLong(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.timeLong)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setfont<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setfont)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn font(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).font)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHeaderFooter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHeaderFooter2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHeaderFooter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHeaderFooter2> for ::windows::core::IUnknown { - fn from(value: &IHeaderFooter2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHeaderFooter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHeaderFooter2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHeaderFooter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHeaderFooter2> for super::super::System::Com::IDispatch { - fn from(value: &IHeaderFooter2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for IHeaderFooter { - fn from(value: IHeaderFooter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHeaderFooter2> for &'a IHeaderFooter { - fn from(value: &'a IHeaderFooter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHeaderFooter2> for IHeaderFooter { - fn from(value: &IHeaderFooter2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHeaderFooter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHeaderFooter2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHeaderFooter2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHeaderFooter2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHeaderFooter2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHeaderFooter2 { - type Vtable = IHeaderFooter2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104a5_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHeaderFooter2_Vtbl { - pub base__: IHeaderFooter_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setfont: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setfont: usize, - #[cfg(feature = "Win32_Foundation")] - pub font: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - font: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHighlightRenderingServices(::windows::core::IUnknown); -impl IHighlightRenderingServices { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn AddSegment<'a, P0, P1, P2>(&self, pdisppointerstart: P0, pdisppointerend: P1, pirenderstyle: P2) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IHTMLRenderStyle>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).AddSegment)(::windows::core::Interface::as_raw(self), pdisppointerstart.into().abi(), pdisppointerend.into().abi(), pirenderstyle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn MoveSegmentToPointers<'a, P0, P1, P2>(&self, pisegment: P0, pdisppointerstart: P1, pdisppointerend: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHighlightSegment>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, - { - (::windows::core::Interface::vtable(self).MoveSegmentToPointers)(::windows::core::Interface::as_raw(self), pisegment.into().abi(), pdisppointerstart.into().abi(), pdisppointerend.into().abi()).ok() - } - pub unsafe fn RemoveSegment<'a, P0>(&self, pisegment: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHighlightSegment>>, - { - (::windows::core::Interface::vtable(self).RemoveSegment)(::windows::core::Interface::as_raw(self), pisegment.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHighlightRenderingServices) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHighlightRenderingServices> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHighlightRenderingServices) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHighlightRenderingServices> for ::windows::core::IUnknown { - fn from(value: &IHighlightRenderingServices) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHighlightRenderingServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHighlightRenderingServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHighlightRenderingServices {} -impl ::core::fmt::Debug for IHighlightRenderingServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHighlightRenderingServices").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHighlightRenderingServices { - type Vtable = IHighlightRenderingServices_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f606_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHighlightRenderingServices_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_System_Com")] - pub AddSegment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdisppointerstart: *mut ::core::ffi::c_void, pdisppointerend: *mut ::core::ffi::c_void, pirenderstyle: *mut ::core::ffi::c_void, ppisegment: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - AddSegment: usize, - pub MoveSegmentToPointers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pisegment: *mut ::core::ffi::c_void, pdisppointerstart: *mut ::core::ffi::c_void, pdisppointerend: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub RemoveSegment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pisegment: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHighlightSegment(::windows::core::IUnknown); -impl IHighlightSegment { - pub unsafe fn GetPointers<'a, P0, P1>(&self, pistart: P0, piend: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).base__.GetPointers)(::windows::core::Interface::as_raw(self), pistart.into().abi(), piend.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHighlightSegment) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHighlightSegment> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHighlightSegment) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHighlightSegment> for ::windows::core::IUnknown { - fn from(value: &IHighlightSegment) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for ISegment { - fn from(value: IHighlightSegment) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHighlightSegment> for &'a ISegment { - fn from(value: &'a IHighlightSegment) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHighlightSegment> for ISegment { - fn from(value: &IHighlightSegment) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHighlightSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHighlightSegment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHighlightSegment {} -impl ::core::fmt::Debug for IHighlightSegment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHighlightSegment").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHighlightSegment { - type Vtable = IHighlightSegment_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f690_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHighlightSegment_Vtbl { - pub base__: ISegment_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHomePage(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHomePage { - pub unsafe fn navigateHomePage(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).navigateHomePage)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn setHomePage<'a, P0>(&self, bstrurl: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).setHomePage)(::windows::core::Interface::as_raw(self), bstrurl.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn isHomePage<'a, P0>(&self, bstrurl: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).isHomePage)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHomePage) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHomePage> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHomePage) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHomePage> for ::windows::core::IUnknown { - fn from(value: &IHomePage) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHomePage) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHomePage> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHomePage) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHomePage> for super::super::System::Com::IDispatch { - fn from(value: &IHomePage) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHomePage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHomePage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHomePage {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHomePage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHomePage").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHomePage { - type Vtable = IHomePage_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x766bf2af_d650_11d1_9811_00c04fc31d2e); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHomePage_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub navigateHomePage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub setHomePage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - setHomePage: usize, - #[cfg(feature = "Win32_Foundation")] - pub isHomePage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - isHomePage: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHomePageSetting(::windows::core::IUnknown); -impl IHomePageSetting { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetHomePage<'a, P0, P1, P2>(&self, hwnd: P0, homepageuri: P1, brandingmessage: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).SetHomePage)(::windows::core::Interface::as_raw(self), hwnd.into(), homepageuri.into(), brandingmessage.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsHomePage<'a, P0>(&self, uri: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsHomePage)(::windows::core::Interface::as_raw(self), uri.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetHomePageToBrowserDefault(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetHomePageToBrowserDefault)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHomePageSetting) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHomePageSetting> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHomePageSetting) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHomePageSetting> for ::windows::core::IUnknown { - fn from(value: &IHomePageSetting) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHomePageSetting { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHomePageSetting { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHomePageSetting {} -impl ::core::fmt::Debug for IHomePageSetting { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHomePageSetting").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHomePageSetting { - type Vtable = IHomePageSetting_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xfdfc244f_18fa_4ff2_b08e_1d618f3ffbe4); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHomePageSetting_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetHomePage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hwnd: super::super::Foundation::HWND, homepageuri: ::windows::core::PCWSTR, brandingmessage: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetHomePage: usize, - #[cfg(feature = "Win32_Foundation")] - pub IsHomePage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uri: ::windows::core::PCWSTR, isdefault: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsHomePage: usize, - pub SetHomePageToBrowserDefault: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHostBehaviorInit(::windows::core::IUnknown); -impl IHostBehaviorInit { - pub unsafe fn PopulateNamespaceTable(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).PopulateNamespaceTable)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHostBehaviorInit) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHostBehaviorInit> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHostBehaviorInit) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHostBehaviorInit> for ::windows::core::IUnknown { - fn from(value: &IHostBehaviorInit) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHostBehaviorInit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHostBehaviorInit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostBehaviorInit {} -impl ::core::fmt::Debug for IHostBehaviorInit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostBehaviorInit").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHostBehaviorInit { - type Vtable = IHostBehaviorInit_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f842_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHostBehaviorInit_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub PopulateNamespaceTable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IHostDialogHelper(::windows::core::IUnknown); -impl IHostDialogHelper { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn ShowHTMLDialog<'a, P0, P1, P2, P3>(&self, hwndparent: P0, pmk: P1, pvarargin: *mut super::super::System::Com::VARIANT, pchoptions: P2, pvarargout: *mut super::super::System::Com::VARIANT, punkhost: P3) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IMoniker>>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, - P3: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).ShowHTMLDialog)(::windows::core::Interface::as_raw(self), hwndparent.into(), pmk.into().abi(), ::core::mem::transmute(pvarargin), pchoptions.into(), ::core::mem::transmute(pvarargout), punkhost.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHostDialogHelper) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IHostDialogHelper> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHostDialogHelper) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IHostDialogHelper> for ::windows::core::IUnknown { - fn from(value: &IHostDialogHelper) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IHostDialogHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IHostDialogHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostDialogHelper {} -impl ::core::fmt::Debug for IHostDialogHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostDialogHelper").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IHostDialogHelper { - type Vtable = IHostDialogHelper_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x53dec138_a51e_11d2_861e_00c04fa35c89); -} -#[repr(C)] -#[doc(hidden)] -pub struct IHostDialogHelper_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub ShowHTMLDialog: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hwndparent: super::super::Foundation::HWND, pmk: *mut ::core::ffi::c_void, pvarargin: *mut super::super::System::Com::VARIANT, pchoptions: ::windows::core::PCWSTR, pvarargout: *mut super::super::System::Com::VARIANT, punkhost: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - ShowHTMLDialog: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IHtmlDlgSafeHelper(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IHtmlDlgSafeHelper { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn choosecolordlg<'a, P0>(&self, initcolor: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).choosecolordlg)(::windows::core::Interface::as_raw(self), initcolor.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getCharset<'a, P0>(&self, fontname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getCharset)(::windows::core::Interface::as_raw(self), fontname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Fonts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Fonts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn BlockFormats(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).BlockFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IHtmlDlgSafeHelper) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHtmlDlgSafeHelper> for &'a ::windows::core::IUnknown { - fn from(value: &'a IHtmlDlgSafeHelper) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHtmlDlgSafeHelper> for ::windows::core::IUnknown { - fn from(value: &IHtmlDlgSafeHelper) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IHtmlDlgSafeHelper) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IHtmlDlgSafeHelper> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IHtmlDlgSafeHelper) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IHtmlDlgSafeHelper> for super::super::System::Com::IDispatch { - fn from(value: &IHtmlDlgSafeHelper) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHtmlDlgSafeHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHtmlDlgSafeHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHtmlDlgSafeHelper {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHtmlDlgSafeHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHtmlDlgSafeHelper").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IHtmlDlgSafeHelper { - type Vtable = IHtmlDlgSafeHelper_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f81a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IHtmlDlgSafeHelper_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub choosecolordlg: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, initcolor: ::core::mem::ManuallyDrop, rgbcolor: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - choosecolordlg: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getCharset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fontname: ::core::mem::ManuallyDrop, charset: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getCharset: usize, - #[cfg(feature = "Win32_System_Com")] - pub Fonts: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Fonts: usize, - #[cfg(feature = "Win32_System_Com")] - pub BlockFormats: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - BlockFormats: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IICCSVGColor(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IICCSVGColor {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IICCSVGColor) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IICCSVGColor> for &'a ::windows::core::IUnknown { - fn from(value: &'a IICCSVGColor) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IICCSVGColor> for ::windows::core::IUnknown { - fn from(value: &IICCSVGColor) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IICCSVGColor) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IICCSVGColor> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IICCSVGColor) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IICCSVGColor> for super::super::System::Com::IDispatch { - fn from(value: &IICCSVGColor) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IICCSVGColor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IICCSVGColor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IICCSVGColor {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IICCSVGColor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IICCSVGColor").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IICCSVGColor { - type Vtable = IICCSVGColor_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104d6_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IICCSVGColor_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -#[repr(transparent)] -pub struct IIE70DispatchEx(::windows::core::IUnknown); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IIE70DispatchEx { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] - pub unsafe fn GetDispID<'a, P0>(&self, bstrname: P0, grfdex: u32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetDispID)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), grfdex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn InvokeEx<'a, P0>(&self, id: i32, lcid: u32, wflags: u16, pdp: *const super::super::System::Com::DISPPARAMS, pvarres: *mut super::super::System::Com::VARIANT, pei: *mut super::super::System::Com::EXCEPINFO, pspcaller: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IServiceProvider>>, - { - (::windows::core::Interface::vtable(self).base__.InvokeEx)(::windows::core::Interface::as_raw(self), id, lcid, wflags, ::core::mem::transmute(pdp), ::core::mem::transmute(pvarres), ::core::mem::transmute(pei), pspcaller.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] - pub unsafe fn DeleteMemberByName<'a, P0>(&self, bstrname: P0, grfdex: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).base__.DeleteMemberByName)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), grfdex).ok() - } - #[doc = "*Required features: `\"Win32_System_Ole\"`*"] - #[cfg(feature = "Win32_System_Ole")] - pub unsafe fn DeleteMemberByDispID(&self, id: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.DeleteMemberByDispID)(::windows::core::Interface::as_raw(self), id).ok() - } - #[doc = "*Required features: `\"Win32_System_Ole\"`*"] - #[cfg(feature = "Win32_System_Ole")] - pub unsafe fn GetMemberProperties(&self, id: i32, grfdexfetch: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetMemberProperties)(::windows::core::Interface::as_raw(self), id, grfdexfetch, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] - pub unsafe fn GetMemberName(&self, id: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetMemberName)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Ole\"`*"] - #[cfg(feature = "Win32_System_Ole")] - pub unsafe fn GetNextDispID(&self, grfdex: u32, id: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetNextDispID)(::windows::core::Interface::as_raw(self), grfdex, id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Ole\"`*"] - #[cfg(feature = "Win32_System_Ole")] - pub unsafe fn GetNameSpaceParent(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetNameSpaceParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IIE70DispatchEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl<'a> ::core::convert::From<&'a IIE70DispatchEx> for &'a ::windows::core::IUnknown { - fn from(value: &'a IIE70DispatchEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::convert::From<&IIE70DispatchEx> for ::windows::core::IUnknown { - fn from(value: &IIE70DispatchEx) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IIE70DispatchEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl<'a> ::core::convert::From<&'a IIE70DispatchEx> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IIE70DispatchEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::convert::From<&IIE70DispatchEx> for super::super::System::Com::IDispatch { - fn from(value: &IIE70DispatchEx) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::convert::From for super::super::System::Ole::IDispatchEx { - fn from(value: IIE70DispatchEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl<'a> ::core::convert::From<&'a IIE70DispatchEx> for &'a super::super::System::Ole::IDispatchEx { - fn from(value: &'a IIE70DispatchEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::convert::From<&IIE70DispatchEx> for super::super::System::Ole::IDispatchEx { - fn from(value: &IIE70DispatchEx) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::clone::Clone for IIE70DispatchEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::cmp::PartialEq for IIE70DispatchEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::cmp::Eq for IIE70DispatchEx {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::fmt::Debug for IIE70DispatchEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIE70DispatchEx").field(&self.0).finish() - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -unsafe impl ::windows::core::Interface for IIE70DispatchEx { - type Vtable = IIE70DispatchEx_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051046b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -#[repr(C)] -#[doc(hidden)] -pub struct IIE70DispatchEx_Vtbl { - pub base__: super::super::System::Ole::IDispatchEx_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -#[repr(transparent)] -pub struct IIE80DispatchEx(::windows::core::IUnknown); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl IIE80DispatchEx { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] - pub unsafe fn GetDispID<'a, P0>(&self, bstrname: P0, grfdex: u32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetDispID)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), grfdex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn InvokeEx<'a, P0>(&self, id: i32, lcid: u32, wflags: u16, pdp: *const super::super::System::Com::DISPPARAMS, pvarres: *mut super::super::System::Com::VARIANT, pei: *mut super::super::System::Com::EXCEPINFO, pspcaller: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IServiceProvider>>, - { - (::windows::core::Interface::vtable(self).base__.InvokeEx)(::windows::core::Interface::as_raw(self), id, lcid, wflags, ::core::mem::transmute(pdp), ::core::mem::transmute(pvarres), ::core::mem::transmute(pei), pspcaller.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] - pub unsafe fn DeleteMemberByName<'a, P0>(&self, bstrname: P0, grfdex: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).base__.DeleteMemberByName)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), grfdex).ok() - } - #[doc = "*Required features: `\"Win32_System_Ole\"`*"] - #[cfg(feature = "Win32_System_Ole")] - pub unsafe fn DeleteMemberByDispID(&self, id: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.DeleteMemberByDispID)(::windows::core::Interface::as_raw(self), id).ok() - } - #[doc = "*Required features: `\"Win32_System_Ole\"`*"] - #[cfg(feature = "Win32_System_Ole")] - pub unsafe fn GetMemberProperties(&self, id: i32, grfdexfetch: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetMemberProperties)(::windows::core::Interface::as_raw(self), id, grfdexfetch, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] - pub unsafe fn GetMemberName(&self, id: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetMemberName)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Ole\"`*"] - #[cfg(feature = "Win32_System_Ole")] - pub unsafe fn GetNextDispID(&self, grfdex: u32, id: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetNextDispID)(::windows::core::Interface::as_raw(self), grfdex, id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Ole\"`*"] - #[cfg(feature = "Win32_System_Ole")] - pub unsafe fn GetNameSpaceParent(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetNameSpaceParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IIE80DispatchEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl<'a> ::core::convert::From<&'a IIE80DispatchEx> for &'a ::windows::core::IUnknown { - fn from(value: &'a IIE80DispatchEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::convert::From<&IIE80DispatchEx> for ::windows::core::IUnknown { - fn from(value: &IIE80DispatchEx) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IIE80DispatchEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl<'a> ::core::convert::From<&'a IIE80DispatchEx> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IIE80DispatchEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::convert::From<&IIE80DispatchEx> for super::super::System::Com::IDispatch { - fn from(value: &IIE80DispatchEx) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::convert::From for super::super::System::Ole::IDispatchEx { - fn from(value: IIE80DispatchEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl<'a> ::core::convert::From<&'a IIE80DispatchEx> for &'a super::super::System::Ole::IDispatchEx { - fn from(value: &'a IIE80DispatchEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::convert::From<&IIE80DispatchEx> for super::super::System::Ole::IDispatchEx { - fn from(value: &IIE80DispatchEx) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::clone::Clone for IIE80DispatchEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::cmp::PartialEq for IIE80DispatchEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::cmp::Eq for IIE80DispatchEx {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -impl ::core::fmt::Debug for IIE80DispatchEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIE80DispatchEx").field(&self.0).finish() - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -unsafe impl ::windows::core::Interface for IIE80DispatchEx { - type Vtable = IIE80DispatchEx_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051046c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -#[repr(C)] -#[doc(hidden)] -pub struct IIE80DispatchEx_Vtbl { - pub base__: super::super::System::Ole::IDispatchEx_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IIEWebDriverManager(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IIEWebDriverManager { - pub unsafe fn ExecuteCommand<'a, P0>(&self, command: P0) -> ::windows::core::Result<::windows::core::PWSTR> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ExecuteCommand)(::windows::core::Interface::as_raw(self), command.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IIEWebDriverManager) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IIEWebDriverManager> for &'a ::windows::core::IUnknown { - fn from(value: &'a IIEWebDriverManager) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IIEWebDriverManager> for ::windows::core::IUnknown { - fn from(value: &IIEWebDriverManager) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IIEWebDriverManager) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IIEWebDriverManager> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IIEWebDriverManager) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IIEWebDriverManager> for super::super::System::Com::IDispatch { - fn from(value: &IIEWebDriverManager) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IIEWebDriverManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IIEWebDriverManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IIEWebDriverManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IIEWebDriverManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIEWebDriverManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IIEWebDriverManager { - type Vtable = IIEWebDriverManager_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xbd1dc630_6590_4ca2_a293_6bc72b2438d8); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IIEWebDriverManager_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub ExecuteCommand: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, command: ::windows::core::PCWSTR, response: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IIEWebDriverSite(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IIEWebDriverSite { - pub unsafe fn WindowOperation(&self, operationcode: u32, hwnd: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).WindowOperation)(::windows::core::Interface::as_raw(self), operationcode, hwnd).ok() - } - pub unsafe fn DetachWebdriver<'a, P0>(&self, punkwd: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).DetachWebdriver)(::windows::core::Interface::as_raw(self), punkwd.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn GetCapabilityValue<'a, P0, P1>(&self, punkwd: P0, capname: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetCapabilityValue)(::windows::core::Interface::as_raw(self), punkwd.into().abi(), capname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IIEWebDriverSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IIEWebDriverSite> for &'a ::windows::core::IUnknown { - fn from(value: &'a IIEWebDriverSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IIEWebDriverSite> for ::windows::core::IUnknown { - fn from(value: &IIEWebDriverSite) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IIEWebDriverSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IIEWebDriverSite> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IIEWebDriverSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IIEWebDriverSite> for super::super::System::Com::IDispatch { - fn from(value: &IIEWebDriverSite) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IIEWebDriverSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IIEWebDriverSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IIEWebDriverSite {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IIEWebDriverSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIEWebDriverSite").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IIEWebDriverSite { - type Vtable = IIEWebDriverSite_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xffb84444_453d_4fbc_9f9d_8db5c471ec75); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IIEWebDriverSite_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub WindowOperation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, operationcode: u32, hwnd: u32) -> ::windows::core::HRESULT, - pub DetachWebdriver: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, punkwd: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub GetCapabilityValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, punkwd: *mut ::core::ffi::c_void, capname: ::windows::core::PCWSTR, capvalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - GetCapabilityValue: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IIMEServices(::windows::core::IUnknown); -impl IIMEServices { - #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] - #[cfg(feature = "Win32_UI_Input_Ime")] - pub unsafe fn GetActiveIMM(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetActiveIMM)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IIMEServices) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IIMEServices> for &'a ::windows::core::IUnknown { - fn from(value: &'a IIMEServices) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IIMEServices> for ::windows::core::IUnknown { - fn from(value: &IIMEServices) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IIMEServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IIMEServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIMEServices {} -impl ::core::fmt::Debug for IIMEServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIMEServices").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IIMEServices { - type Vtable = IIMEServices_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6ca_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IIMEServices_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_UI_Input_Ime")] - pub GetActiveIMM: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppactiveimm: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_UI_Input_Ime"))] - GetActiveIMM: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IImageDecodeEventSink(::windows::core::IUnknown); -impl IImageDecodeEventSink { - pub unsafe fn GetSurface(&self, nwidth: i32, nheight: i32, bfid: *const ::windows::core::GUID, npasses: u32, dwhints: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetSurface)(::windows::core::Interface::as_raw(self), nwidth, nheight, ::core::mem::transmute(bfid), npasses, dwhints, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - pub unsafe fn OnBeginDecode(&self, pdwevents: *mut u32, pnformats: *mut u32, ppformats: *mut *mut ::windows::core::GUID) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).OnBeginDecode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwevents), ::core::mem::transmute(pnformats), ::core::mem::transmute(ppformats)).ok() - } - pub unsafe fn OnBitsComplete(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).OnBitsComplete)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn OnDecodeComplete(&self, hrstatus: ::windows::core::HRESULT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).OnDecodeComplete)(::windows::core::Interface::as_raw(self), hrstatus).ok() - } - pub unsafe fn OnPalette(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).OnPalette)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn OnProgress<'a, P0>(&self, pbounds: *const super::super::Foundation::RECT, bcomplete: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).OnProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbounds), bcomplete.into()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IImageDecodeEventSink) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IImageDecodeEventSink> for &'a ::windows::core::IUnknown { - fn from(value: &'a IImageDecodeEventSink) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IImageDecodeEventSink> for ::windows::core::IUnknown { - fn from(value: &IImageDecodeEventSink) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IImageDecodeEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IImageDecodeEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IImageDecodeEventSink {} -impl ::core::fmt::Debug for IImageDecodeEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImageDecodeEventSink").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IImageDecodeEventSink { - type Vtable = IImageDecodeEventSink_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xbaa342a0_2ded_11d0_86f4_00a0c913f750); -} -#[repr(C)] -#[doc(hidden)] -pub struct IImageDecodeEventSink_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub GetSurface: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nwidth: i32, nheight: i32, bfid: *const ::windows::core::GUID, npasses: u32, dwhints: u32, ppsurface: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub OnBeginDecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwevents: *mut u32, pnformats: *mut u32, ppformats: *mut *mut ::windows::core::GUID) -> ::windows::core::HRESULT, - pub OnBitsComplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub OnDecodeComplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hrstatus: ::windows::core::HRESULT) -> ::windows::core::HRESULT, - pub OnPalette: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub OnProgress: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbounds: *const super::super::Foundation::RECT, bcomplete: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - OnProgress: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IImageDecodeEventSink2(::windows::core::IUnknown); -impl IImageDecodeEventSink2 { - pub unsafe fn GetSurface(&self, nwidth: i32, nheight: i32, bfid: *const ::windows::core::GUID, npasses: u32, dwhints: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetSurface)(::windows::core::Interface::as_raw(self), nwidth, nheight, ::core::mem::transmute(bfid), npasses, dwhints, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - pub unsafe fn OnBeginDecode(&self, pdwevents: *mut u32, pnformats: *mut u32, ppformats: *mut *mut ::windows::core::GUID) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.OnBeginDecode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwevents), ::core::mem::transmute(pnformats), ::core::mem::transmute(ppformats)).ok() - } - pub unsafe fn OnBitsComplete(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.OnBitsComplete)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn OnDecodeComplete(&self, hrstatus: ::windows::core::HRESULT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.OnDecodeComplete)(::windows::core::Interface::as_raw(self), hrstatus).ok() - } - pub unsafe fn OnPalette(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.OnPalette)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn OnProgress<'a, P0>(&self, pbounds: *const super::super::Foundation::RECT, bcomplete: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).base__.OnProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbounds), bcomplete.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsAlphaPremultRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsAlphaPremultRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IImageDecodeEventSink2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IImageDecodeEventSink2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IImageDecodeEventSink2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IImageDecodeEventSink2> for ::windows::core::IUnknown { - fn from(value: &IImageDecodeEventSink2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for IImageDecodeEventSink { - fn from(value: IImageDecodeEventSink2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IImageDecodeEventSink2> for &'a IImageDecodeEventSink { - fn from(value: &'a IImageDecodeEventSink2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IImageDecodeEventSink2> for IImageDecodeEventSink { - fn from(value: &IImageDecodeEventSink2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IImageDecodeEventSink2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IImageDecodeEventSink2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IImageDecodeEventSink2 {} -impl ::core::fmt::Debug for IImageDecodeEventSink2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImageDecodeEventSink2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IImageDecodeEventSink2 { - type Vtable = IImageDecodeEventSink2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x8ebd8a57_8a96_48c9_84a6_962e2db9c931); -} -#[repr(C)] -#[doc(hidden)] -pub struct IImageDecodeEventSink2_Vtbl { - pub base__: IImageDecodeEventSink_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub IsAlphaPremultRequired: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfpremultalpha: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsAlphaPremultRequired: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IImageDecodeFilter(::windows::core::IUnknown); -impl IImageDecodeFilter { - pub unsafe fn Initialize<'a, P0>(&self, peventsink: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IImageDecodeEventSink>>, - { - (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), peventsink.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Process<'a, P0>(&self, pstream: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, - { - (::windows::core::Interface::vtable(self).Process)(::windows::core::Interface::as_raw(self), pstream.into().abi()).ok() - } - pub unsafe fn Terminate(&self, hrstatus: ::windows::core::HRESULT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Terminate)(::windows::core::Interface::as_raw(self), hrstatus).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IImageDecodeFilter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IImageDecodeFilter> for &'a ::windows::core::IUnknown { - fn from(value: &'a IImageDecodeFilter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IImageDecodeFilter> for ::windows::core::IUnknown { - fn from(value: &IImageDecodeFilter) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IImageDecodeFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IImageDecodeFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IImageDecodeFilter {} -impl ::core::fmt::Debug for IImageDecodeFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImageDecodeFilter").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IImageDecodeFilter { - type Vtable = IImageDecodeFilter_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa3ccedf3_2de2_11d0_86f4_00a0c913f750); -} -#[repr(C)] -#[doc(hidden)] -pub struct IImageDecodeFilter_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, peventsink: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub Process: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstream: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Process: usize, - pub Terminate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hrstatus: ::windows::core::HRESULT) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IIntelliForms(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IIntelliForms { - pub unsafe fn enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setenabled(&self, bval: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setenabled)(::windows::core::Interface::as_raw(self), bval).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IIntelliForms) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IIntelliForms> for &'a ::windows::core::IUnknown { - fn from(value: &'a IIntelliForms) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IIntelliForms> for ::windows::core::IUnknown { - fn from(value: &IIntelliForms) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IIntelliForms) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IIntelliForms> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IIntelliForms) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IIntelliForms> for super::super::System::Com::IDispatch { - fn from(value: &IIntelliForms) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IIntelliForms { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IIntelliForms { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IIntelliForms {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IIntelliForms { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIntelliForms").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IIntelliForms { - type Vtable = IIntelliForms_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x9b9f68e6_1aaa_11d2_bca5_00c04fd929db); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IIntelliForms_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub enabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pval: *mut i16) -> ::windows::core::HRESULT, - pub Setenabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bval: i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IInternetExplorerManager(::windows::core::IUnknown); -impl IInternetExplorerManager { - pub unsafe fn CreateObject<'a, P0, T>(&self, dwconfig: u32, pszurl: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - T: ::windows::core::Interface, - { - let mut result__ = ::core::option::Option::None; - (::windows::core::Interface::vtable(self).CreateObject)(::windows::core::Interface::as_raw(self), dwconfig, pszurl.into(), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IInternetExplorerManager) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IInternetExplorerManager> for &'a ::windows::core::IUnknown { - fn from(value: &'a IInternetExplorerManager) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IInternetExplorerManager> for ::windows::core::IUnknown { - fn from(value: &IInternetExplorerManager) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IInternetExplorerManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IInternetExplorerManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetExplorerManager {} -impl ::core::fmt::Debug for IInternetExplorerManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetExplorerManager").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IInternetExplorerManager { - type Vtable = IInternetExplorerManager_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xacc84351_04ff_44f9_b23f_655ed168c6d5); -} -#[repr(C)] -#[doc(hidden)] -pub struct IInternetExplorerManager_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub CreateObject: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwconfig: u32, pszurl: ::windows::core::PCWSTR, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IInternetExplorerManager2(::windows::core::IUnknown); -impl IInternetExplorerManager2 { - pub unsafe fn EnumFrameWindows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).EnumFrameWindows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IInternetExplorerManager2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IInternetExplorerManager2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IInternetExplorerManager2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IInternetExplorerManager2> for ::windows::core::IUnknown { - fn from(value: &IInternetExplorerManager2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IInternetExplorerManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IInternetExplorerManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetExplorerManager2 {} -impl ::core::fmt::Debug for IInternetExplorerManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetExplorerManager2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IInternetExplorerManager2 { - type Vtable = IInternetExplorerManager2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xdfbb5136_9259_4895_b4a7_c1934429919a); -} -#[repr(C)] -#[doc(hidden)] -pub struct IInternetExplorerManager2_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub EnumFrameWindows: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ILayoutRect(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ILayoutRect { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetnextRect<'a, P0>(&self, bstrelementid: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetnextRect)(::windows::core::Interface::as_raw(self), bstrelementid.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn nextRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nextRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn SetcontentSrc<'a, P0>(&self, varcontentsrc: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).SetcontentSrc)(::windows::core::Interface::as_raw(self), varcontentsrc.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn contentSrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).contentSrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SethonorPageBreaks(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SethonorPageBreaks)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn honorPageBreaks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).honorPageBreaks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SethonorPageRules(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SethonorPageRules)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn honorPageRules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).honorPageRules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn SetnextRectElement<'a, P0>(&self, pelem: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).SetnextRectElement)(::windows::core::Interface::as_raw(self), pelem.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn nextRectElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nextRectElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn contentDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).contentDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ILayoutRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ILayoutRect> for &'a ::windows::core::IUnknown { - fn from(value: &'a ILayoutRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ILayoutRect> for ::windows::core::IUnknown { - fn from(value: &ILayoutRect) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ILayoutRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ILayoutRect> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ILayoutRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ILayoutRect> for super::super::System::Com::IDispatch { - fn from(value: &ILayoutRect) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ILayoutRect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ILayoutRect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ILayoutRect {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ILayoutRect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILayoutRect").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ILayoutRect { - type Vtable = ILayoutRect_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f665_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ILayoutRect_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetnextRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrelementid: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetnextRect: usize, - #[cfg(feature = "Win32_Foundation")] - pub nextRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrelementid: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - nextRect: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub SetcontentSrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, varcontentsrc: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - SetcontentSrc: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub contentSrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarcontentsrc: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - contentSrc: usize, - pub SethonorPageBreaks: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub honorPageBreaks: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SethonorPageRules: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub honorPageRules: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub SetnextRectElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pelem: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetnextRectElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub nextRectElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppelem: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - nextRectElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub contentDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdoc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - contentDocument: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ILineInfo(::windows::core::IUnknown); -impl ILineInfo { - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn baseLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).baseLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn textDescent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textDescent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn textHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn lineDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lineDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ILineInfo) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ILineInfo> for &'a ::windows::core::IUnknown { - fn from(value: &'a ILineInfo) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ILineInfo> for ::windows::core::IUnknown { - fn from(value: &ILineInfo) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ILineInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ILineInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILineInfo {} -impl ::core::fmt::Debug for ILineInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILineInfo").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ILineInfo { - type Vtable = ILineInfo_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f7e2_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ILineInfo_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub baseLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub textDescent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub textHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub lineDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IMGDECODE_EVENT_BEGINBITS: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IMGDECODE_EVENT_BITSCOMPLETE: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IMGDECODE_EVENT_PALETTE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IMGDECODE_EVENT_PROGRESS: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IMGDECODE_EVENT_USEDDRAW: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IMGDECODE_HINT_BOTTOMUP: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IMGDECODE_HINT_FULLWIDTH: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const IMGDECODE_HINT_TOPDOWN: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IMapMIMEToCLSID(::windows::core::IUnknown); -impl IMapMIMEToCLSID { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn EnableDefaultMappings<'a, P0>(&self, benable: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).EnableDefaultMappings)(::windows::core::Interface::as_raw(self), benable.into()).ok() - } - pub unsafe fn MapMIMEToCLSID<'a, P0>(&self, pszmimetype: P0, pclsid: *const ::windows::core::GUID) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).MapMIMEToCLSID)(::windows::core::Interface::as_raw(self), pszmimetype.into(), ::core::mem::transmute(pclsid)).ok() - } - pub unsafe fn SetMapping<'a, P0>(&self, pszmimetype: P0, dwmapmode: u32, clsid: *const ::windows::core::GUID) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).SetMapping)(::windows::core::Interface::as_raw(self), pszmimetype.into(), dwmapmode, ::core::mem::transmute(clsid)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IMapMIMEToCLSID) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IMapMIMEToCLSID> for &'a ::windows::core::IUnknown { - fn from(value: &'a IMapMIMEToCLSID) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IMapMIMEToCLSID> for ::windows::core::IUnknown { - fn from(value: &IMapMIMEToCLSID) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IMapMIMEToCLSID { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IMapMIMEToCLSID { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMapMIMEToCLSID {} -impl ::core::fmt::Debug for IMapMIMEToCLSID { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMapMIMEToCLSID").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IMapMIMEToCLSID { - type Vtable = IMapMIMEToCLSID_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd9e89500_30fa_11d0_b724_00aa006c1a01); -} -#[repr(C)] -#[doc(hidden)] -pub struct IMapMIMEToCLSID_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub EnableDefaultMappings: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, benable: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - EnableDefaultMappings: usize, - pub MapMIMEToCLSID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszmimetype: ::windows::core::PCWSTR, pclsid: *const ::windows::core::GUID) -> ::windows::core::HRESULT, - pub SetMapping: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszmimetype: ::windows::core::PCWSTR, dwmapmode: u32, clsid: *const ::windows::core::GUID) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IMarkupContainer(::windows::core::IUnknown); -impl IMarkupContainer { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn OwningDoc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).OwningDoc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IMarkupContainer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IMarkupContainer> for &'a ::windows::core::IUnknown { - fn from(value: &'a IMarkupContainer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IMarkupContainer> for ::windows::core::IUnknown { - fn from(value: &IMarkupContainer) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IMarkupContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IMarkupContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMarkupContainer {} -impl ::core::fmt::Debug for IMarkupContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMarkupContainer").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IMarkupContainer { - type Vtable = IMarkupContainer_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5f9_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IMarkupContainer_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_System_Com")] - pub OwningDoc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppdoc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - OwningDoc: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IMarkupContainer2(::windows::core::IUnknown); -impl IMarkupContainer2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn OwningDoc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.OwningDoc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn CreateChangeLog<'a, P0, P1, P2>(&self, pchangesink: P0, ppchangelog: *mut ::core::option::Option, fforward: P1, fbackward: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLChangeSink>>, - P1: ::std::convert::Into, - P2: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).CreateChangeLog)(::windows::core::Interface::as_raw(self), pchangesink.into().abi(), ::core::mem::transmute(ppchangelog), fforward.into(), fbackward.into()).ok() - } - pub unsafe fn RegisterForDirtyRange<'a, P0>(&self, pchangesink: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLChangeSink>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).RegisterForDirtyRange)(::windows::core::Interface::as_raw(self), pchangesink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn UnRegisterForDirtyRange(&self, dwcookie: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).UnRegisterForDirtyRange)(::windows::core::Interface::as_raw(self), dwcookie).ok() - } - pub unsafe fn GetAndClearDirtyRange<'a, P0, P1>(&self, dwcookie: u32, pipointerbegin: P0, pipointerend: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).GetAndClearDirtyRange)(::windows::core::Interface::as_raw(self), dwcookie, pipointerbegin.into().abi(), pipointerend.into().abi()).ok() - } - pub unsafe fn GetVersionNumber(&self) -> i32 { - (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self)) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn GetMasterElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetMasterElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IMarkupContainer2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IMarkupContainer2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IMarkupContainer2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IMarkupContainer2> for ::windows::core::IUnknown { - fn from(value: &IMarkupContainer2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for IMarkupContainer { - fn from(value: IMarkupContainer2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IMarkupContainer2> for &'a IMarkupContainer { - fn from(value: &'a IMarkupContainer2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IMarkupContainer2> for IMarkupContainer { - fn from(value: &IMarkupContainer2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IMarkupContainer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IMarkupContainer2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMarkupContainer2 {} -impl ::core::fmt::Debug for IMarkupContainer2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMarkupContainer2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IMarkupContainer2 { - type Vtable = IMarkupContainer2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f648_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IMarkupContainer2_Vtbl { - pub base__: IMarkupContainer_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub CreateChangeLog: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pchangesink: *mut ::core::ffi::c_void, ppchangelog: *mut *mut ::core::ffi::c_void, fforward: super::super::Foundation::BOOL, fbackward: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - CreateChangeLog: usize, - pub RegisterForDirtyRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pchangesink: *mut ::core::ffi::c_void, pdwcookie: *mut u32) -> ::windows::core::HRESULT, - pub UnRegisterForDirtyRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwcookie: u32) -> ::windows::core::HRESULT, - pub GetAndClearDirtyRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwcookie: u32, pipointerbegin: *mut ::core::ffi::c_void, pipointerend: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub GetVersionNumber: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> i32, - #[cfg(feature = "Win32_System_Com")] - pub GetMasterElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppelementmaster: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetMasterElement: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IMarkupPointer(::windows::core::IUnknown); -impl IMarkupPointer { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn OwningDoc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).OwningDoc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Gravity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Gravity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetGravity(&self, gravity: POINTER_GRAVITY) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetGravity)(::windows::core::Interface::as_raw(self), gravity).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Cling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Cling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetCling<'a, P0>(&self, fcling: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).SetCling)(::windows::core::Interface::as_raw(self), fcling.into()).ok() - } - pub unsafe fn Unposition(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Unposition)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsPositioned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsPositioned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn GetContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn MoveAdjacentToElement<'a, P0>(&self, pelement: P0, eadj: ELEMENT_ADJACENCY) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).MoveAdjacentToElement)(::windows::core::Interface::as_raw(self), pelement.into().abi(), eadj).ok() - } - pub unsafe fn MoveToPointer<'a, P0>(&self, ppointer: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).MoveToPointer)(::windows::core::Interface::as_raw(self), ppointer.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn MoveToContainer<'a, P0, P1>(&self, pcontainer: P0, fatstart: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupContainer>>, - P1: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).MoveToContainer)(::windows::core::Interface::as_raw(self), pcontainer.into().abi(), fatstart.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn Left<'a, P0>(&self, fmove: P0, pcontext: *mut MARKUP_CONTEXT_TYPE, ppelement: *mut ::core::option::Option, pcch: *mut i32, pchtext: ::windows::core::PWSTR) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).Left)(::windows::core::Interface::as_raw(self), fmove.into(), ::core::mem::transmute(pcontext), ::core::mem::transmute(ppelement), ::core::mem::transmute(pcch), ::core::mem::transmute(pchtext)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn Right<'a, P0>(&self, fmove: P0, pcontext: *mut MARKUP_CONTEXT_TYPE, ppelement: *mut ::core::option::Option, pcch: *mut i32, pchtext: ::windows::core::PWSTR) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).Right)(::windows::core::Interface::as_raw(self), fmove.into(), ::core::mem::transmute(pcontext), ::core::mem::transmute(ppelement), ::core::mem::transmute(pcch), ::core::mem::transmute(pchtext)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn CurrentScope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CurrentScope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsLeftOf<'a, P0>(&self, ppointerthat: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsLeftOf)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsLeftOfOrEqualTo<'a, P0>(&self, ppointerthat: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsLeftOfOrEqualTo)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsRightOf<'a, P0>(&self, ppointerthat: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsRightOf)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsRightOfOrEqualTo<'a, P0>(&self, ppointerthat: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsRightOfOrEqualTo)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsEqualTo<'a, P0>(&self, ppointerthat: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsEqualTo)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn MoveUnit(&self, muaction: MOVEUNIT_ACTION) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).MoveUnit)(::windows::core::Interface::as_raw(self), muaction).ok() - } - pub unsafe fn FindText<'a, P0, P1, P2>(&self, pchfindtext: P0, dwflags: u32, piendmatch: P1, piendsearch: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).FindText)(::windows::core::Interface::as_raw(self), pchfindtext.into(), dwflags, piendmatch.into().abi(), piendsearch.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IMarkupPointer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IMarkupPointer> for &'a ::windows::core::IUnknown { - fn from(value: &'a IMarkupPointer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IMarkupPointer> for ::windows::core::IUnknown { - fn from(value: &IMarkupPointer) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IMarkupPointer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IMarkupPointer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMarkupPointer {} -impl ::core::fmt::Debug for IMarkupPointer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMarkupPointer").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IMarkupPointer { - type Vtable = IMarkupPointer_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f49f_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IMarkupPointer_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_System_Com")] - pub OwningDoc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppdoc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - OwningDoc: usize, - pub Gravity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pgravity: *mut POINTER_GRAVITY) -> ::windows::core::HRESULT, - pub SetGravity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, gravity: POINTER_GRAVITY) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Cling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfcling: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Cling: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetCling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fcling: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetCling: usize, - pub Unposition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub IsPositioned: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfpositioned: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsPositioned: usize, - pub GetContainer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppcontainer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub MoveAdjacentToElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pelement: *mut ::core::ffi::c_void, eadj: ELEMENT_ADJACENCY) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - MoveAdjacentToElement: usize, - pub MoveToPointer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppointer: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub MoveToContainer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcontainer: *mut ::core::ffi::c_void, fatstart: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - MoveToContainer: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub Left: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fmove: super::super::Foundation::BOOL, pcontext: *mut MARKUP_CONTEXT_TYPE, ppelement: *mut *mut ::core::ffi::c_void, pcch: *mut i32, pchtext: ::windows::core::PWSTR) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - Left: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub Right: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fmove: super::super::Foundation::BOOL, pcontext: *mut MARKUP_CONTEXT_TYPE, ppelement: *mut *mut ::core::ffi::c_void, pcch: *mut i32, pchtext: ::windows::core::PWSTR) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - Right: usize, - #[cfg(feature = "Win32_System_Com")] - pub CurrentScope: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppelemcurrent: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - CurrentScope: usize, - #[cfg(feature = "Win32_Foundation")] - pub IsLeftOf: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppointerthat: *mut ::core::ffi::c_void, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsLeftOf: usize, - #[cfg(feature = "Win32_Foundation")] - pub IsLeftOfOrEqualTo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppointerthat: *mut ::core::ffi::c_void, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsLeftOfOrEqualTo: usize, - #[cfg(feature = "Win32_Foundation")] - pub IsRightOf: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppointerthat: *mut ::core::ffi::c_void, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsRightOf: usize, - #[cfg(feature = "Win32_Foundation")] - pub IsRightOfOrEqualTo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppointerthat: *mut ::core::ffi::c_void, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsRightOfOrEqualTo: usize, - #[cfg(feature = "Win32_Foundation")] - pub IsEqualTo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppointerthat: *mut ::core::ffi::c_void, pfareequal: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsEqualTo: usize, - pub MoveUnit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, muaction: MOVEUNIT_ACTION) -> ::windows::core::HRESULT, - pub FindText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pchfindtext: ::windows::core::PCWSTR, dwflags: u32, piendmatch: *mut ::core::ffi::c_void, piendsearch: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IMarkupPointer2(::windows::core::IUnknown); -impl IMarkupPointer2 { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn OwningDoc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.OwningDoc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Gravity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.Gravity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetGravity(&self, gravity: POINTER_GRAVITY) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetGravity)(::windows::core::Interface::as_raw(self), gravity).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Cling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.Cling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetCling<'a, P0>(&self, fcling: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).base__.SetCling)(::windows::core::Interface::as_raw(self), fcling.into()).ok() - } - pub unsafe fn Unposition(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.Unposition)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsPositioned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.IsPositioned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn GetContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn MoveAdjacentToElement<'a, P0>(&self, pelement: P0, eadj: ELEMENT_ADJACENCY) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).base__.MoveAdjacentToElement)(::windows::core::Interface::as_raw(self), pelement.into().abi(), eadj).ok() - } - pub unsafe fn MoveToPointer<'a, P0>(&self, ppointer: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).base__.MoveToPointer)(::windows::core::Interface::as_raw(self), ppointer.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn MoveToContainer<'a, P0, P1>(&self, pcontainer: P0, fatstart: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupContainer>>, - P1: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).base__.MoveToContainer)(::windows::core::Interface::as_raw(self), pcontainer.into().abi(), fatstart.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn Left<'a, P0>(&self, fmove: P0, pcontext: *mut MARKUP_CONTEXT_TYPE, ppelement: *mut ::core::option::Option, pcch: *mut i32, pchtext: ::windows::core::PWSTR) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).base__.Left)(::windows::core::Interface::as_raw(self), fmove.into(), ::core::mem::transmute(pcontext), ::core::mem::transmute(ppelement), ::core::mem::transmute(pcch), ::core::mem::transmute(pchtext)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn Right<'a, P0>(&self, fmove: P0, pcontext: *mut MARKUP_CONTEXT_TYPE, ppelement: *mut ::core::option::Option, pcch: *mut i32, pchtext: ::windows::core::PWSTR) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).base__.Right)(::windows::core::Interface::as_raw(self), fmove.into(), ::core::mem::transmute(pcontext), ::core::mem::transmute(ppelement), ::core::mem::transmute(pcch), ::core::mem::transmute(pchtext)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn CurrentScope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.CurrentScope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsLeftOf<'a, P0>(&self, ppointerthat: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.IsLeftOf)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsLeftOfOrEqualTo<'a, P0>(&self, ppointerthat: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.IsLeftOfOrEqualTo)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsRightOf<'a, P0>(&self, ppointerthat: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.IsRightOf)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsRightOfOrEqualTo<'a, P0>(&self, ppointerthat: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.IsRightOfOrEqualTo)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsEqualTo<'a, P0>(&self, ppointerthat: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.IsEqualTo)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn MoveUnit(&self, muaction: MOVEUNIT_ACTION) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.MoveUnit)(::windows::core::Interface::as_raw(self), muaction).ok() - } - pub unsafe fn FindText<'a, P0, P1, P2>(&self, pchfindtext: P0, dwflags: u32, piendmatch: P1, piendsearch: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).base__.FindText)(::windows::core::Interface::as_raw(self), pchfindtext.into(), dwflags, piendmatch.into().abi(), piendsearch.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsAtWordBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsAtWordBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn GetMarkupPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetMarkupPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn MoveToMarkupPosition<'a, P0>(&self, pcontainer: P0, lmp: i32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupContainer>>, - { - (::windows::core::Interface::vtable(self).MoveToMarkupPosition)(::windows::core::Interface::as_raw(self), pcontainer.into().abi(), lmp).ok() - } - pub unsafe fn MoveUnitBounded<'a, P0>(&self, muaction: MOVEUNIT_ACTION, piboundary: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).MoveUnitBounded)(::windows::core::Interface::as_raw(self), muaction, piboundary.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsInsideURL<'a, P0>(&self, pright: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsInsideURL)(::windows::core::Interface::as_raw(self), pright.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn MoveToContent<'a, P0, P1>(&self, pielement: P0, fatstart: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - P1: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).MoveToContent)(::windows::core::Interface::as_raw(self), pielement.into().abi(), fatstart.into()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IMarkupPointer2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IMarkupPointer2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IMarkupPointer2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IMarkupPointer2> for ::windows::core::IUnknown { - fn from(value: &IMarkupPointer2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for IMarkupPointer { - fn from(value: IMarkupPointer2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IMarkupPointer2> for &'a IMarkupPointer { - fn from(value: &'a IMarkupPointer2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IMarkupPointer2> for IMarkupPointer { - fn from(value: &IMarkupPointer2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IMarkupPointer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IMarkupPointer2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMarkupPointer2 {} -impl ::core::fmt::Debug for IMarkupPointer2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMarkupPointer2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IMarkupPointer2 { - type Vtable = IMarkupPointer2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f675_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IMarkupPointer2_Vtbl { - pub base__: IMarkupPointer_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub IsAtWordBreak: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfatbreak: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsAtWordBreak: usize, - pub GetMarkupPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, plmp: *mut i32) -> ::windows::core::HRESULT, - pub MoveToMarkupPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcontainer: *mut ::core::ffi::c_void, lmp: i32) -> ::windows::core::HRESULT, - pub MoveUnitBounded: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, muaction: MOVEUNIT_ACTION, piboundary: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub IsInsideURL: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pright: *mut ::core::ffi::c_void, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsInsideURL: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub MoveToContent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pielement: *mut ::core::ffi::c_void, fatstart: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - MoveToContent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IMarkupServices(::windows::core::IUnknown); -impl IMarkupServices { - pub unsafe fn CreateMarkupPointer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CreateMarkupPointer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn CreateMarkupContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CreateMarkupContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn CreateElement<'a, P0>(&self, tagid: ELEMENT_TAG_ID, pchattributes: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CreateElement)(::windows::core::Interface::as_raw(self), tagid, pchattributes.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn CloneElement<'a, P0>(&self, pelemclonethis: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CloneElement)(::windows::core::Interface::as_raw(self), pelemclonethis.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn InsertElement<'a, P0, P1, P2>(&self, pelementinsert: P0, ppointerstart: P1, ppointerfinish: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).InsertElement)(::windows::core::Interface::as_raw(self), pelementinsert.into().abi(), ppointerstart.into().abi(), ppointerfinish.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn RemoveElement<'a, P0>(&self, pelementremove: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).RemoveElement)(::windows::core::Interface::as_raw(self), pelementremove.into().abi()).ok() - } - pub unsafe fn Remove<'a, P0, P1>(&self, ppointerstart: P0, ppointerfinish: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), ppointerstart.into().abi(), ppointerfinish.into().abi()).ok() - } - pub unsafe fn Copy<'a, P0, P1, P2>(&self, ppointersourcestart: P0, ppointersourcefinish: P1, ppointertarget: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).Copy)(::windows::core::Interface::as_raw(self), ppointersourcestart.into().abi(), ppointersourcefinish.into().abi(), ppointertarget.into().abi()).ok() - } - pub unsafe fn Move<'a, P0, P1, P2>(&self, ppointersourcestart: P0, ppointersourcefinish: P1, ppointertarget: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).Move)(::windows::core::Interface::as_raw(self), ppointersourcestart.into().abi(), ppointersourcefinish.into().abi(), ppointertarget.into().abi()).ok() - } - pub unsafe fn InsertText<'a, P0, P1>(&self, pchtext: P0, cch: i32, ppointertarget: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).InsertText)(::windows::core::Interface::as_raw(self), pchtext.into(), cch, ppointertarget.into().abi()).ok() - } - pub unsafe fn ParseString<'a, P0, P1, P2>(&self, pchhtml: P0, dwflags: u32, ppcontainerresult: *mut ::core::option::Option, pppointerstart: P1, pppointerfinish: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).ParseString)(::windows::core::Interface::as_raw(self), pchhtml.into(), dwflags, ::core::mem::transmute(ppcontainerresult), pppointerstart.into().abi(), pppointerfinish.into().abi()).ok() - } - pub unsafe fn ParseGlobal<'a, P0, P1>(&self, hglobalhtml: isize, dwflags: u32, ppcontainerresult: *mut ::core::option::Option, ppointerstart: P0, ppointerfinish: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).ParseGlobal)(::windows::core::Interface::as_raw(self), hglobalhtml, dwflags, ::core::mem::transmute(ppcontainerresult), ppointerstart.into().abi(), ppointerfinish.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn IsScopedElement<'a, P0>(&self, pelement: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsScopedElement)(::windows::core::Interface::as_raw(self), pelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn GetElementTagId<'a, P0>(&self, pelement: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetElementTagId)(::windows::core::Interface::as_raw(self), pelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetTagIDForName<'a, P0>(&self, bstrname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetTagIDForName)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetNameForTagID(&self, tagid: ELEMENT_TAG_ID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetNameForTagID)(::windows::core::Interface::as_raw(self), tagid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn MovePointersToRange<'a, P0, P1, P2>(&self, pirange: P0, ppointerstart: P1, ppointerfinish: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLTxtRange>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).MovePointersToRange)(::windows::core::Interface::as_raw(self), pirange.into().abi(), ppointerstart.into().abi(), ppointerfinish.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn MoveRangeToPointers<'a, P0, P1, P2>(&self, ppointerstart: P0, ppointerfinish: P1, pirange: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IHTMLTxtRange>>, - { - (::windows::core::Interface::vtable(self).MoveRangeToPointers)(::windows::core::Interface::as_raw(self), ppointerstart.into().abi(), ppointerfinish.into().abi(), pirange.into().abi()).ok() - } - pub unsafe fn BeginUndoUnit<'a, P0>(&self, pchtitle: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).BeginUndoUnit)(::windows::core::Interface::as_raw(self), pchtitle.into()).ok() - } - pub unsafe fn EndUndoUnit(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).EndUndoUnit)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IMarkupServices) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IMarkupServices> for &'a ::windows::core::IUnknown { - fn from(value: &'a IMarkupServices) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IMarkupServices> for ::windows::core::IUnknown { - fn from(value: &IMarkupServices) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IMarkupServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IMarkupServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMarkupServices {} -impl ::core::fmt::Debug for IMarkupServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMarkupServices").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IMarkupServices { - type Vtable = IMarkupServices_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4a0_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IMarkupServices_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub CreateMarkupPointer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pppointer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub CreateMarkupContainer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppmarkupcontainer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub CreateElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, tagid: ELEMENT_TAG_ID, pchattributes: ::windows::core::PCWSTR, ppelement: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - CreateElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub CloneElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pelemclonethis: *mut ::core::ffi::c_void, ppelementtheclone: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - CloneElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub InsertElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pelementinsert: *mut ::core::ffi::c_void, ppointerstart: *mut ::core::ffi::c_void, ppointerfinish: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - InsertElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub RemoveElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pelementremove: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - RemoveElement: usize, - pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppointerstart: *mut ::core::ffi::c_void, ppointerfinish: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub Copy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppointersourcestart: *mut ::core::ffi::c_void, ppointersourcefinish: *mut ::core::ffi::c_void, ppointertarget: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub Move: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppointersourcestart: *mut ::core::ffi::c_void, ppointersourcefinish: *mut ::core::ffi::c_void, ppointertarget: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub InsertText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pchtext: ::windows::core::PCWSTR, cch: i32, ppointertarget: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub ParseString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pchhtml: ::windows::core::PCWSTR, dwflags: u32, ppcontainerresult: *mut *mut ::core::ffi::c_void, pppointerstart: *mut ::core::ffi::c_void, pppointerfinish: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub ParseGlobal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hglobalhtml: isize, dwflags: u32, ppcontainerresult: *mut *mut ::core::ffi::c_void, ppointerstart: *mut ::core::ffi::c_void, ppointerfinish: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub IsScopedElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pelement: *mut ::core::ffi::c_void, pfscoped: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - IsScopedElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub GetElementTagId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pelement: *mut ::core::ffi::c_void, ptagid: *mut ELEMENT_TAG_ID) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetElementTagId: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetTagIDForName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrname: ::core::mem::ManuallyDrop, ptagid: *mut ELEMENT_TAG_ID) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetTagIDForName: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetNameForTagID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, tagid: ELEMENT_TAG_ID, pbstrname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetNameForTagID: usize, - #[cfg(feature = "Win32_System_Com")] - pub MovePointersToRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pirange: *mut ::core::ffi::c_void, ppointerstart: *mut ::core::ffi::c_void, ppointerfinish: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - MovePointersToRange: usize, - #[cfg(feature = "Win32_System_Com")] - pub MoveRangeToPointers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppointerstart: *mut ::core::ffi::c_void, ppointerfinish: *mut ::core::ffi::c_void, pirange: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - MoveRangeToPointers: usize, - pub BeginUndoUnit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pchtitle: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, - pub EndUndoUnit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IMarkupServices2(::windows::core::IUnknown); -impl IMarkupServices2 { - pub unsafe fn CreateMarkupPointer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.CreateMarkupPointer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn CreateMarkupContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.CreateMarkupContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn CreateElement<'a, P0>(&self, tagid: ELEMENT_TAG_ID, pchattributes: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.CreateElement)(::windows::core::Interface::as_raw(self), tagid, pchattributes.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn CloneElement<'a, P0>(&self, pelemclonethis: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.CloneElement)(::windows::core::Interface::as_raw(self), pelemclonethis.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn InsertElement<'a, P0, P1, P2>(&self, pelementinsert: P0, ppointerstart: P1, ppointerfinish: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).base__.InsertElement)(::windows::core::Interface::as_raw(self), pelementinsert.into().abi(), ppointerstart.into().abi(), ppointerfinish.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn RemoveElement<'a, P0>(&self, pelementremove: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - (::windows::core::Interface::vtable(self).base__.RemoveElement)(::windows::core::Interface::as_raw(self), pelementremove.into().abi()).ok() - } - pub unsafe fn Remove<'a, P0, P1>(&self, ppointerstart: P0, ppointerfinish: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).base__.Remove)(::windows::core::Interface::as_raw(self), ppointerstart.into().abi(), ppointerfinish.into().abi()).ok() - } - pub unsafe fn Copy<'a, P0, P1, P2>(&self, ppointersourcestart: P0, ppointersourcefinish: P1, ppointertarget: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).base__.Copy)(::windows::core::Interface::as_raw(self), ppointersourcestart.into().abi(), ppointersourcefinish.into().abi(), ppointertarget.into().abi()).ok() - } - pub unsafe fn Move<'a, P0, P1, P2>(&self, ppointersourcestart: P0, ppointersourcefinish: P1, ppointertarget: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).base__.Move)(::windows::core::Interface::as_raw(self), ppointersourcestart.into().abi(), ppointersourcefinish.into().abi(), ppointertarget.into().abi()).ok() - } - pub unsafe fn InsertText<'a, P0, P1>(&self, pchtext: P0, cch: i32, ppointertarget: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).base__.InsertText)(::windows::core::Interface::as_raw(self), pchtext.into(), cch, ppointertarget.into().abi()).ok() - } - pub unsafe fn ParseString<'a, P0, P1, P2>(&self, pchhtml: P0, dwflags: u32, ppcontainerresult: *mut ::core::option::Option, pppointerstart: P1, pppointerfinish: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).base__.ParseString)(::windows::core::Interface::as_raw(self), pchhtml.into(), dwflags, ::core::mem::transmute(ppcontainerresult), pppointerstart.into().abi(), pppointerfinish.into().abi()).ok() - } - pub unsafe fn ParseGlobal<'a, P0, P1>(&self, hglobalhtml: isize, dwflags: u32, ppcontainerresult: *mut ::core::option::Option, ppointerstart: P0, ppointerfinish: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).base__.ParseGlobal)(::windows::core::Interface::as_raw(self), hglobalhtml, dwflags, ::core::mem::transmute(ppcontainerresult), ppointerstart.into().abi(), ppointerfinish.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn IsScopedElement<'a, P0>(&self, pelement: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.IsScopedElement)(::windows::core::Interface::as_raw(self), pelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn GetElementTagId<'a, P0>(&self, pelement: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetElementTagId)(::windows::core::Interface::as_raw(self), pelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetTagIDForName<'a, P0>(&self, bstrname: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetTagIDForName)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetNameForTagID(&self, tagid: ELEMENT_TAG_ID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetNameForTagID)(::windows::core::Interface::as_raw(self), tagid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn MovePointersToRange<'a, P0, P1, P2>(&self, pirange: P0, ppointerstart: P1, ppointerfinish: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLTxtRange>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).base__.MovePointersToRange)(::windows::core::Interface::as_raw(self), pirange.into().abi(), ppointerstart.into().abi(), ppointerfinish.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn MoveRangeToPointers<'a, P0, P1, P2>(&self, ppointerstart: P0, ppointerfinish: P1, pirange: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IHTMLTxtRange>>, - { - (::windows::core::Interface::vtable(self).base__.MoveRangeToPointers)(::windows::core::Interface::as_raw(self), ppointerstart.into().abi(), ppointerfinish.into().abi(), pirange.into().abi()).ok() - } - pub unsafe fn BeginUndoUnit<'a, P0>(&self, pchtitle: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).base__.BeginUndoUnit)(::windows::core::Interface::as_raw(self), pchtitle.into()).ok() - } - pub unsafe fn EndUndoUnit(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.EndUndoUnit)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn ParseGlobalEx<'a, P0, P1, P2>(&self, hglobalhtml: isize, dwflags: u32, pcontext: P0, ppcontainerresult: *mut ::core::option::Option, ppointerstart: P1, ppointerfinish: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupContainer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).ParseGlobalEx)(::windows::core::Interface::as_raw(self), hglobalhtml, dwflags, pcontext.into().abi(), ::core::mem::transmute(ppcontainerresult), ppointerstart.into().abi(), ppointerfinish.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn ValidateElements<'a, P0, P1, P2, P3>(&self, ppointerstart: P0, ppointerfinish: P1, ppointertarget: P2, ppointerstatus: P3, ppelemfailbottom: *mut ::core::option::Option, ppelemfailtop: *mut ::core::option::Option) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).ValidateElements)(::windows::core::Interface::as_raw(self), ppointerstart.into().abi(), ppointerfinish.into().abi(), ppointertarget.into().abi(), ppointerstatus.into().abi(), ::core::mem::transmute(ppelemfailbottom), ::core::mem::transmute(ppelemfailtop)).ok() - } - pub unsafe fn SaveSegmentsToClipboard<'a, P0>(&self, psegmentlist: P0, dwflags: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISegmentList>>, - { - (::windows::core::Interface::vtable(self).SaveSegmentsToClipboard)(::windows::core::Interface::as_raw(self), psegmentlist.into().abi(), dwflags).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IMarkupServices2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IMarkupServices2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IMarkupServices2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IMarkupServices2> for ::windows::core::IUnknown { - fn from(value: &IMarkupServices2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for IMarkupServices { - fn from(value: IMarkupServices2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IMarkupServices2> for &'a IMarkupServices { - fn from(value: &'a IMarkupServices2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IMarkupServices2> for IMarkupServices { - fn from(value: &IMarkupServices2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IMarkupServices2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IMarkupServices2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMarkupServices2 {} -impl ::core::fmt::Debug for IMarkupServices2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMarkupServices2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IMarkupServices2 { - type Vtable = IMarkupServices2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f682_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IMarkupServices2_Vtbl { - pub base__: IMarkupServices_Vtbl, - pub ParseGlobalEx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hglobalhtml: isize, dwflags: u32, pcontext: *mut ::core::ffi::c_void, ppcontainerresult: *mut *mut ::core::ffi::c_void, ppointerstart: *mut ::core::ffi::c_void, ppointerfinish: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub ValidateElements: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppointerstart: *mut ::core::ffi::c_void, ppointerfinish: *mut ::core::ffi::c_void, ppointertarget: *mut ::core::ffi::c_void, ppointerstatus: *mut ::core::ffi::c_void, ppelemfailbottom: *mut *mut ::core::ffi::c_void, ppelemfailtop: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ValidateElements: usize, - pub SaveSegmentsToClipboard: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psegmentlist: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IMarkupTextFrags(::windows::core::IUnknown); -impl IMarkupTextFrags { - pub unsafe fn GetTextFragCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetTextFragCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetTextFrag<'a, P0>(&self, ifrag: i32, pbstrfrag: *mut super::super::Foundation::BSTR, ppointerfrag: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).GetTextFrag)(::windows::core::Interface::as_raw(self), ifrag, ::core::mem::transmute(pbstrfrag), ppointerfrag.into().abi()).ok() - } - pub unsafe fn RemoveTextFrag(&self, ifrag: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).RemoveTextFrag)(::windows::core::Interface::as_raw(self), ifrag).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn InsertTextFrag<'a, P0, P1>(&self, ifrag: i32, bstrinsert: P0, ppointerinsert: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).InsertTextFrag)(::windows::core::Interface::as_raw(self), ifrag, bstrinsert.into().abi(), ppointerinsert.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn FindTextFragFromMarkupPointer<'a, P0>(&self, ppointerfind: P0, pifrag: *mut i32, pffragfound: *mut super::super::Foundation::BOOL) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).FindTextFragFromMarkupPointer)(::windows::core::Interface::as_raw(self), ppointerfind.into().abi(), ::core::mem::transmute(pifrag), ::core::mem::transmute(pffragfound)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IMarkupTextFrags) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IMarkupTextFrags> for &'a ::windows::core::IUnknown { - fn from(value: &'a IMarkupTextFrags) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IMarkupTextFrags> for ::windows::core::IUnknown { - fn from(value: &IMarkupTextFrags) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IMarkupTextFrags { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IMarkupTextFrags { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMarkupTextFrags {} -impl ::core::fmt::Debug for IMarkupTextFrags { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMarkupTextFrags").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IMarkupTextFrags { - type Vtable = IMarkupTextFrags_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5fa_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IMarkupTextFrags_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub GetTextFragCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcfrags: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub GetTextFrag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ifrag: i32, pbstrfrag: *mut super::super::Foundation::BSTR, ppointerfrag: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetTextFrag: usize, - pub RemoveTextFrag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ifrag: i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub InsertTextFrag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ifrag: i32, bstrinsert: ::core::mem::ManuallyDrop, ppointerinsert: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - InsertTextFrag: usize, - #[cfg(feature = "Win32_Foundation")] - pub FindTextFragFromMarkupPointer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppointerfind: *mut ::core::ffi::c_void, pifrag: *mut i32, pffragfound: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - FindTextFragFromMarkupPointer: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IMediaActivityNotifySite(::windows::core::IUnknown); -impl IMediaActivityNotifySite { - pub unsafe fn OnMediaActivityStarted(&self, mediaactivitytype: MediaActivityNotifyType) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).OnMediaActivityStarted)(::windows::core::Interface::as_raw(self), mediaactivitytype).ok() - } - pub unsafe fn OnMediaActivityStopped(&self, mediaactivitytype: MediaActivityNotifyType) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).OnMediaActivityStopped)(::windows::core::Interface::as_raw(self), mediaactivitytype).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IMediaActivityNotifySite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IMediaActivityNotifySite> for &'a ::windows::core::IUnknown { - fn from(value: &'a IMediaActivityNotifySite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IMediaActivityNotifySite> for ::windows::core::IUnknown { - fn from(value: &IMediaActivityNotifySite) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IMediaActivityNotifySite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IMediaActivityNotifySite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaActivityNotifySite {} -impl ::core::fmt::Debug for IMediaActivityNotifySite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaActivityNotifySite").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IMediaActivityNotifySite { - type Vtable = IMediaActivityNotifySite_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x8165cfef_179d_46c2_bc71_3fa726dc1f8d); -} -#[repr(C)] -#[doc(hidden)] -pub struct IMediaActivityNotifySite_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub OnMediaActivityStarted: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, mediaactivitytype: MediaActivityNotifyType) -> ::windows::core::HRESULT, - pub OnMediaActivityStopped: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, mediaactivitytype: MediaActivityNotifyType) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct INTERNETEXPLORERCONFIGURATION(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const INTERNETEXPLORERCONFIGURATION_HOST: INTERNETEXPLORERCONFIGURATION = INTERNETEXPLORERCONFIGURATION(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const INTERNETEXPLORERCONFIGURATION_WEB_DRIVER: INTERNETEXPLORERCONFIGURATION = INTERNETEXPLORERCONFIGURATION(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const INTERNETEXPLORERCONFIGURATION_WEB_DRIVER_EDGE: INTERNETEXPLORERCONFIGURATION = INTERNETEXPLORERCONFIGURATION(4i32); -impl ::core::marker::Copy for INTERNETEXPLORERCONFIGURATION {} -impl ::core::clone::Clone for INTERNETEXPLORERCONFIGURATION { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for INTERNETEXPLORERCONFIGURATION { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for INTERNETEXPLORERCONFIGURATION { - type Abi = Self; -} -impl ::core::fmt::Debug for INTERNETEXPLORERCONFIGURATION { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INTERNETEXPLORERCONFIGURATION").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct INavigatorDoNotTrack(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl INavigatorDoNotTrack { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn msDoNotTrack(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).msDoNotTrack)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: INavigatorDoNotTrack) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a INavigatorDoNotTrack> for &'a ::windows::core::IUnknown { - fn from(value: &'a INavigatorDoNotTrack) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&INavigatorDoNotTrack> for ::windows::core::IUnknown { - fn from(value: &INavigatorDoNotTrack) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: INavigatorDoNotTrack) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a INavigatorDoNotTrack> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a INavigatorDoNotTrack) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&INavigatorDoNotTrack> for super::super::System::Com::IDispatch { - fn from(value: &INavigatorDoNotTrack) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INavigatorDoNotTrack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INavigatorDoNotTrack { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INavigatorDoNotTrack {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INavigatorDoNotTrack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INavigatorDoNotTrack").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for INavigatorDoNotTrack { - type Vtable = INavigatorDoNotTrack_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510804_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct INavigatorDoNotTrack_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub msDoNotTrack: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - msDoNotTrack: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct INavigatorGeolocation(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl INavigatorGeolocation { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn geolocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).geolocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: INavigatorGeolocation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a INavigatorGeolocation> for &'a ::windows::core::IUnknown { - fn from(value: &'a INavigatorGeolocation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&INavigatorGeolocation> for ::windows::core::IUnknown { - fn from(value: &INavigatorGeolocation) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: INavigatorGeolocation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a INavigatorGeolocation> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a INavigatorGeolocation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&INavigatorGeolocation> for super::super::System::Com::IDispatch { - fn from(value: &INavigatorGeolocation) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INavigatorGeolocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INavigatorGeolocation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INavigatorGeolocation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INavigatorGeolocation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INavigatorGeolocation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for INavigatorGeolocation { - type Vtable = INavigatorGeolocation_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107cf_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct INavigatorGeolocation_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub geolocation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - geolocation: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IOmHistory(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IOmHistory { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn back(&self, pvargdistance: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).back)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvargdistance)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn forward(&self, pvargdistance: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).forward)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvargdistance)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn go(&self, pvargdistance: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).go)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvargdistance)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IOmHistory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IOmHistory> for &'a ::windows::core::IUnknown { - fn from(value: &'a IOmHistory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IOmHistory> for ::windows::core::IUnknown { - fn from(value: &IOmHistory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IOmHistory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IOmHistory> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IOmHistory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IOmHistory> for super::super::System::Com::IDispatch { - fn from(value: &IOmHistory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IOmHistory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IOmHistory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IOmHistory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IOmHistory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOmHistory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IOmHistory { - type Vtable = IOmHistory_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xfeceaaa2_8405_11cf_8ba1_00aa00476da6); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IOmHistory_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub back: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvargdistance: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - back: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub forward: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvargdistance: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - forward: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub go: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvargdistance: *const super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - go: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IOmNavigator(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IOmNavigator { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn appCodeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).appCodeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn appName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).appName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn appVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).appVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn userAgent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).userAgent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn javaEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).javaEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn taintEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).taintEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn mimeTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).mimeTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn plugins(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).plugins)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn cookieEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cookieEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn opsProfile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).opsProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn cpuClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cpuClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn systemLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).systemLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn browserLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).browserLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn userLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).userLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn platform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).platform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn appMinorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).appMinorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn connectionSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).connectionSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn onLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn userProfile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).userProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IOmNavigator) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IOmNavigator> for &'a ::windows::core::IUnknown { - fn from(value: &'a IOmNavigator) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IOmNavigator> for ::windows::core::IUnknown { - fn from(value: &IOmNavigator) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IOmNavigator) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IOmNavigator> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IOmNavigator) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IOmNavigator> for super::super::System::Com::IDispatch { - fn from(value: &IOmNavigator) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IOmNavigator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IOmNavigator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IOmNavigator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IOmNavigator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOmNavigator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IOmNavigator { - type Vtable = IOmNavigator_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xfeceaaa5_8405_11cf_8ba1_00aa00476da6); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IOmNavigator_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub appCodeName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - appCodeName: usize, - #[cfg(feature = "Win32_Foundation")] - pub appName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - appName: usize, - #[cfg(feature = "Win32_Foundation")] - pub appVersion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - appVersion: usize, - #[cfg(feature = "Win32_Foundation")] - pub userAgent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - userAgent: usize, - pub javaEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, enabled: *mut i16) -> ::windows::core::HRESULT, - pub taintEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, enabled: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub mimeTypes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - mimeTypes: usize, - #[cfg(feature = "Win32_System_Com")] - pub plugins: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - plugins: usize, - pub cookieEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub opsProfile: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - opsProfile: usize, - #[cfg(feature = "Win32_Foundation")] - pub toString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, string: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - toString: usize, - #[cfg(feature = "Win32_Foundation")] - pub cpuClass: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - cpuClass: usize, - #[cfg(feature = "Win32_Foundation")] - pub systemLanguage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - systemLanguage: usize, - #[cfg(feature = "Win32_Foundation")] - pub browserLanguage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - browserLanguage: usize, - #[cfg(feature = "Win32_Foundation")] - pub userLanguage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - userLanguage: usize, - #[cfg(feature = "Win32_Foundation")] - pub platform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - platform: usize, - #[cfg(feature = "Win32_Foundation")] - pub appMinorVersion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - appMinorVersion: usize, - pub connectionSpeed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub onLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub userProfile: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - userProfile: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IOpenService(::windows::core::IUnknown); -impl IOpenService { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsDefault(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsDefault)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetDefault<'a, P0, P1>(&self, fdefault: P0, hwnd: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - P1: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).SetDefault)(::windows::core::Interface::as_raw(self), fdefault.into(), hwnd.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IOpenService) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IOpenService> for &'a ::windows::core::IUnknown { - fn from(value: &'a IOpenService) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IOpenService> for ::windows::core::IUnknown { - fn from(value: &IOpenService) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IOpenService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IOpenService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpenService {} -impl ::core::fmt::Debug for IOpenService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpenService").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IOpenService { - type Vtable = IOpenService_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc2952ed1_6a89_4606_925f_1ed8b4be0630); -} -#[repr(C)] -#[doc(hidden)] -pub struct IOpenService_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub IsDefault: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfisdefault: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsDefault: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetDefault: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fdefault: super::super::Foundation::BOOL, hwnd: super::super::Foundation::HWND) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetDefault: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrid: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetID: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IOpenServiceActivity(::windows::core::IUnknown); -impl IOpenServiceActivity { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsDefault(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.IsDefault)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetDefault<'a, P0, P1>(&self, fdefault: P0, hwnd: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - P1: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).base__.SetDefault)(::windows::core::Interface::as_raw(self), fdefault.into(), hwnd.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Execute<'a, P0, P1>(&self, pinput: P0, poutput: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityInput>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityOutputContext>>, - { - (::windows::core::Interface::vtable(self).Execute)(::windows::core::Interface::as_raw(self), pinput.into().abi(), poutput.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn CanExecute<'a, P0, P1>(&self, pinput: P0, poutput: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityInput>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityOutputContext>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CanExecute)(::windows::core::Interface::as_raw(self), pinput.into().abi(), poutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn CanExecuteType(&self, r#type: OpenServiceActivityContentType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CanExecuteType)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Preview<'a, P0, P1>(&self, pinput: P0, poutput: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityInput>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityOutputContext>>, - { - (::windows::core::Interface::vtable(self).Preview)(::windows::core::Interface::as_raw(self), pinput.into().abi(), poutput.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn CanPreview<'a, P0, P1>(&self, pinput: P0, poutput: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityInput>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityOutputContext>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CanPreview)(::windows::core::Interface::as_raw(self), pinput.into().abi(), poutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn CanPreviewType(&self, r#type: OpenServiceActivityContentType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CanPreviewType)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetStatusText<'a, P0>(&self, pinput: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityInput>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetStatusText)(::windows::core::Interface::as_raw(self), pinput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetHomepageUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetHomepageUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetCategoryName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetCategoryName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetIconPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetIconPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] - pub unsafe fn GetIcon<'a, P0>(&self, fsmallicon: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetIcon)(::windows::core::Interface::as_raw(self), fsmallicon.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetDescriptionFilePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetDescriptionFilePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetDownloadUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetDownloadUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetInstallUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetInstallUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetEnabled<'a, P0>(&self, fenable: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).SetEnabled)(::windows::core::Interface::as_raw(self), fenable.into()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IOpenServiceActivity) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IOpenServiceActivity> for &'a ::windows::core::IUnknown { - fn from(value: &'a IOpenServiceActivity) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IOpenServiceActivity> for ::windows::core::IUnknown { - fn from(value: &IOpenServiceActivity) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for IOpenService { - fn from(value: IOpenServiceActivity) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IOpenServiceActivity> for &'a IOpenService { - fn from(value: &'a IOpenServiceActivity) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IOpenServiceActivity> for IOpenService { - fn from(value: &IOpenServiceActivity) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IOpenServiceActivity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IOpenServiceActivity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpenServiceActivity {} -impl ::core::fmt::Debug for IOpenServiceActivity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpenServiceActivity").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IOpenServiceActivity { - type Vtable = IOpenServiceActivity_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x13645c88_221a_4905_8ed1_4f5112cfc108); -} -#[repr(C)] -#[doc(hidden)] -pub struct IOpenServiceActivity_Vtbl { - pub base__: IOpenService_Vtbl, - pub Execute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinput: *mut ::core::ffi::c_void, poutput: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub CanExecute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinput: *mut ::core::ffi::c_void, poutput: *mut ::core::ffi::c_void, pfcanexecute: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - CanExecute: usize, - #[cfg(feature = "Win32_Foundation")] - pub CanExecuteType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: OpenServiceActivityContentType, pfcanexecute: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - CanExecuteType: usize, - pub Preview: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinput: *mut ::core::ffi::c_void, poutput: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub CanPreview: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinput: *mut ::core::ffi::c_void, poutput: *mut ::core::ffi::c_void, pfcanpreview: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - CanPreview: usize, - #[cfg(feature = "Win32_Foundation")] - pub CanPreviewType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: OpenServiceActivityContentType, pfcanpreview: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - CanPreviewType: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetStatusText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinput: *mut ::core::ffi::c_void, pbstrstatustext: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetStatusText: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetHomepageUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrhomepageurl: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetHomepageUrl: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetDisplayName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrdisplayname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetDisplayName: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetDescription: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrdescription: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetDescription: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetCategoryName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrcategoryname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetCategoryName: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetIconPath: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstriconpath: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetIconPath: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] - pub GetIcon: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fsmallicon: super::super::Foundation::BOOL, phicon: *mut super::super::UI::WindowsAndMessaging::HICON) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] - GetIcon: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetDescriptionFilePath: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrxmlpath: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetDescriptionFilePath: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetDownloadUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrxmluri: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetDownloadUrl: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetInstallUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrinstalluri: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetInstallUrl: usize, - #[cfg(feature = "Win32_Foundation")] - pub IsEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfisenabled: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsEnabled: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fenable: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetEnabled: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IOpenServiceActivityCategory(::windows::core::IUnknown); -impl IOpenServiceActivityCategory { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn HasDefaultActivity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HasDefaultActivity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn GetDefaultActivity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetDefaultActivity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetDefaultActivity<'a, P0, P1>(&self, pactivity: P0, hwnd: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivity>>, - P1: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).SetDefaultActivity)(::windows::core::Interface::as_raw(self), pactivity.into().abi(), hwnd.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn GetActivityEnumerator<'a, P0, P1>(&self, pinput: P0, poutput: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityInput>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityOutputContext>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetActivityEnumerator)(::windows::core::Interface::as_raw(self), pinput.into().abi(), poutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IOpenServiceActivityCategory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IOpenServiceActivityCategory> for &'a ::windows::core::IUnknown { - fn from(value: &'a IOpenServiceActivityCategory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IOpenServiceActivityCategory> for ::windows::core::IUnknown { - fn from(value: &IOpenServiceActivityCategory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IOpenServiceActivityCategory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IOpenServiceActivityCategory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpenServiceActivityCategory {} -impl ::core::fmt::Debug for IOpenServiceActivityCategory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpenServiceActivityCategory").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IOpenServiceActivityCategory { - type Vtable = IOpenServiceActivityCategory_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x850af9d6_7309_40b5_bdb8_786c106b2153); -} -#[repr(C)] -#[doc(hidden)] -pub struct IOpenServiceActivityCategory_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub HasDefaultActivity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfhasdefaultactivity: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - HasDefaultActivity: usize, - pub GetDefaultActivity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppdefaultactivity: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetDefaultActivity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pactivity: *mut ::core::ffi::c_void, hwnd: super::super::Foundation::HWND) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetDefaultActivity: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetName: usize, - pub GetActivityEnumerator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinput: *mut ::core::ffi::c_void, poutput: *mut ::core::ffi::c_void, ppenumactivity: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IOpenServiceActivityInput(::windows::core::IUnknown); -impl IOpenServiceActivityInput { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetVariable<'a, P0, P1>(&self, pwzvariablename: P0, pwzvariabletype: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetVariable)(::windows::core::Interface::as_raw(self), pwzvariablename.into(), pwzvariabletype.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn HasVariable<'a, P0, P1>(&self, pwzvariablename: P0, pwzvariabletype: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).HasVariable)(::windows::core::Interface::as_raw(self), pwzvariablename.into(), pwzvariabletype.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IOpenServiceActivityInput) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IOpenServiceActivityInput> for &'a ::windows::core::IUnknown { - fn from(value: &'a IOpenServiceActivityInput) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IOpenServiceActivityInput> for ::windows::core::IUnknown { - fn from(value: &IOpenServiceActivityInput) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IOpenServiceActivityInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IOpenServiceActivityInput { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpenServiceActivityInput {} -impl ::core::fmt::Debug for IOpenServiceActivityInput { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpenServiceActivityInput").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IOpenServiceActivityInput { - type Vtable = IOpenServiceActivityInput_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x75cb4db9_6da0_4da3_83ce_422b6a433346); -} -#[repr(C)] -#[doc(hidden)] -pub struct IOpenServiceActivityInput_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub GetVariable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwzvariablename: ::windows::core::PCWSTR, pwzvariabletype: ::windows::core::PCWSTR, pbstrvariablecontent: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetVariable: usize, - #[cfg(feature = "Win32_Foundation")] - pub HasVariable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwzvariablename: ::windows::core::PCWSTR, pwzvariabletype: ::windows::core::PCWSTR, pfhasvariable: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - HasVariable: usize, - pub GetType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptype: *mut OpenServiceActivityContentType) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IOpenServiceActivityManager(::windows::core::IUnknown); -impl IOpenServiceActivityManager { - pub unsafe fn GetCategoryEnumerator(&self, etype: OpenServiceActivityContentType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetCategoryEnumerator)(::windows::core::Interface::as_raw(self), etype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn GetActivityByID<'a, P0>(&self, pwzactivityid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetActivityByID)(::windows::core::Interface::as_raw(self), pwzactivityid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn GetActivityByHomepageAndCategory<'a, P0, P1>(&self, pwzhomepage: P0, pwzcategory: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetActivityByHomepageAndCategory)(::windows::core::Interface::as_raw(self), pwzhomepage.into(), pwzcategory.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn GetVersionCookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetVersionCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IOpenServiceActivityManager) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IOpenServiceActivityManager> for &'a ::windows::core::IUnknown { - fn from(value: &'a IOpenServiceActivityManager) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IOpenServiceActivityManager> for ::windows::core::IUnknown { - fn from(value: &IOpenServiceActivityManager) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IOpenServiceActivityManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IOpenServiceActivityManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpenServiceActivityManager {} -impl ::core::fmt::Debug for IOpenServiceActivityManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpenServiceActivityManager").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IOpenServiceActivityManager { - type Vtable = IOpenServiceActivityManager_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x8a2d0a9d_e920_4bdc_a291_d30f650bc4f1); -} -#[repr(C)] -#[doc(hidden)] -pub struct IOpenServiceActivityManager_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub GetCategoryEnumerator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, etype: OpenServiceActivityContentType, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub GetActivityByID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwzactivityid: ::windows::core::PCWSTR, ppactivity: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub GetActivityByHomepageAndCategory: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwzhomepage: ::windows::core::PCWSTR, pwzcategory: ::windows::core::PCWSTR, ppactivity: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub GetVersionCookie: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwversioncookie: *mut u32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IOpenServiceActivityOutputContext(::windows::core::IUnknown); -impl IOpenServiceActivityOutputContext { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Navigate<'a, P0, P1, P2, P3>(&self, pwzuri: P0, pwzmethod: P1, pwzheaders: P2, ppostdata: P3) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, - { - (::windows::core::Interface::vtable(self).Navigate)(::windows::core::Interface::as_raw(self), pwzuri.into(), pwzmethod.into(), pwzheaders.into(), ppostdata.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn CanNavigate<'a, P0, P1, P2, P3>(&self, pwzuri: P0, pwzmethod: P1, pwzheaders: P2, ppostdata: P3) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CanNavigate)(::windows::core::Interface::as_raw(self), pwzuri.into(), pwzmethod.into(), pwzheaders.into(), ppostdata.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IOpenServiceActivityOutputContext) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IOpenServiceActivityOutputContext> for &'a ::windows::core::IUnknown { - fn from(value: &'a IOpenServiceActivityOutputContext) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IOpenServiceActivityOutputContext> for ::windows::core::IUnknown { - fn from(value: &IOpenServiceActivityOutputContext) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IOpenServiceActivityOutputContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IOpenServiceActivityOutputContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpenServiceActivityOutputContext {} -impl ::core::fmt::Debug for IOpenServiceActivityOutputContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpenServiceActivityOutputContext").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IOpenServiceActivityOutputContext { - type Vtable = IOpenServiceActivityOutputContext_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe289deab_f709_49a9_b99e_282364074571); -} -#[repr(C)] -#[doc(hidden)] -pub struct IOpenServiceActivityOutputContext_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_System_Com")] - pub Navigate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwzuri: ::windows::core::PCWSTR, pwzmethod: ::windows::core::PCWSTR, pwzheaders: ::windows::core::PCWSTR, ppostdata: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Navigate: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub CanNavigate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwzuri: ::windows::core::PCWSTR, pwzmethod: ::windows::core::PCWSTR, pwzheaders: ::windows::core::PCWSTR, ppostdata: *mut ::core::ffi::c_void, pfcannavigate: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - CanNavigate: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IOpenServiceManager(::windows::core::IUnknown); -impl IOpenServiceManager { - pub unsafe fn InstallService<'a, P0>(&self, pwzserviceurl: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).InstallService)(::windows::core::Interface::as_raw(self), pwzserviceurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn UninstallService<'a, P0>(&self, pservice: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IOpenService>>, - { - (::windows::core::Interface::vtable(self).UninstallService)(::windows::core::Interface::as_raw(self), pservice.into().abi()).ok() - } - pub unsafe fn GetServiceByID<'a, P0>(&self, pwzid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetServiceByID)(::windows::core::Interface::as_raw(self), pwzid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IOpenServiceManager) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IOpenServiceManager> for &'a ::windows::core::IUnknown { - fn from(value: &'a IOpenServiceManager) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IOpenServiceManager> for ::windows::core::IUnknown { - fn from(value: &IOpenServiceManager) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IOpenServiceManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IOpenServiceManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpenServiceManager {} -impl ::core::fmt::Debug for IOpenServiceManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpenServiceManager").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IOpenServiceManager { - type Vtable = IOpenServiceManager_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x5664125f_4e10_4e90_98e4_e4513d955a14); -} -#[repr(C)] -#[doc(hidden)] -pub struct IOpenServiceManager_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub InstallService: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwzserviceurl: ::windows::core::PCWSTR, ppservice: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub UninstallService: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pservice: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub GetServiceByID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwzid: ::windows::core::PCWSTR, ppservice: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IPeerFactory(::windows::core::IUnknown); -impl IPeerFactory {} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IPeerFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IPeerFactory> for &'a ::windows::core::IUnknown { - fn from(value: &'a IPeerFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IPeerFactory> for ::windows::core::IUnknown { - fn from(value: &IPeerFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IPeerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IPeerFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPeerFactory {} -impl ::core::fmt::Debug for IPeerFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPeerFactory").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IPeerFactory { - type Vtable = IPeerFactory_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6663f9d3_b482_11d1_89c6_00c04fb6bfc4); -} -#[repr(C)] -#[doc(hidden)] -pub struct IPeerFactory_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IPersistHistory(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IPersistHistory { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn LoadHistory<'a, P0, P1>(&self, pstream: P0, pbc: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IBindCtx>>, - { - (::windows::core::Interface::vtable(self).LoadHistory)(::windows::core::Interface::as_raw(self), pstream.into().abi(), pbc.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn SaveHistory<'a, P0>(&self, pstream: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, - { - (::windows::core::Interface::vtable(self).SaveHistory)(::windows::core::Interface::as_raw(self), pstream.into().abi()).ok() - } - pub unsafe fn SetPositionCookie(&self, dwpositioncookie: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetPositionCookie)(::windows::core::Interface::as_raw(self), dwpositioncookie).ok() - } - pub unsafe fn GetPositionCookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetPositionCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IPersistHistory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IPersistHistory> for &'a ::windows::core::IUnknown { - fn from(value: &'a IPersistHistory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IPersistHistory> for ::windows::core::IUnknown { - fn from(value: &IPersistHistory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IPersist { - fn from(value: IPersistHistory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IPersistHistory> for &'a super::super::System::Com::IPersist { - fn from(value: &'a IPersistHistory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IPersistHistory> for super::super::System::Com::IPersist { - fn from(value: &IPersistHistory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPersistHistory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPersistHistory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPersistHistory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPersistHistory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistHistory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IPersistHistory { - type Vtable = IPersistHistory_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x91a565c1_e38f_11d0_94bf_00a0c9055cbf); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IPersistHistory_Vtbl { - pub base__: super::super::System::Com::IPersist_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub LoadHistory: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstream: *mut ::core::ffi::c_void, pbc: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - LoadHistory: usize, - #[cfg(feature = "Win32_System_Com")] - pub SaveHistory: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstream: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SaveHistory: usize, - pub SetPositionCookie: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwpositioncookie: u32) -> ::windows::core::HRESULT, - pub GetPositionCookie: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwpositioncookie: *mut u32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IPrintManagerTemplatePrinter(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IPrintManagerTemplatePrinter { - pub unsafe fn startPrint(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).startPrint)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn drawPreviewPage<'a, P0>(&self, pelemdisp: P0, npage: i32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).drawPreviewPage)(::windows::core::Interface::as_raw(self), pelemdisp.into().abi(), npage).ok() - } - pub unsafe fn setPageCount(&self, npage: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).setPageCount)(::windows::core::Interface::as_raw(self), npage).ok() - } - pub unsafe fn invalidatePreview(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).invalidatePreview)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getPrintTaskOptionValue<'a, P0>(&self, bstrkey: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getPrintTaskOptionValue)(::windows::core::Interface::as_raw(self), bstrkey.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn endPrint(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).endPrint)(::windows::core::Interface::as_raw(self)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IPrintManagerTemplatePrinter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IPrintManagerTemplatePrinter> for &'a ::windows::core::IUnknown { - fn from(value: &'a IPrintManagerTemplatePrinter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IPrintManagerTemplatePrinter> for ::windows::core::IUnknown { - fn from(value: &IPrintManagerTemplatePrinter) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IPrintManagerTemplatePrinter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IPrintManagerTemplatePrinter> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IPrintManagerTemplatePrinter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IPrintManagerTemplatePrinter> for super::super::System::Com::IDispatch { - fn from(value: &IPrintManagerTemplatePrinter) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintManagerTemplatePrinter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintManagerTemplatePrinter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintManagerTemplatePrinter {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintManagerTemplatePrinter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintManagerTemplatePrinter").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IPrintManagerTemplatePrinter { - type Vtable = IPrintManagerTemplatePrinter_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xf633be14_9eff_4c4d_929e_05717b21b3e6); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IPrintManagerTemplatePrinter_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub startPrint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub drawPreviewPage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pelemdisp: *mut ::core::ffi::c_void, npage: i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - drawPreviewPage: usize, - pub setPageCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, npage: i32) -> ::windows::core::HRESULT, - pub invalidatePreview: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getPrintTaskOptionValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrkey: ::core::mem::ManuallyDrop, pvarin: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getPrintTaskOptionValue: usize, - pub endPrint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IPrintManagerTemplatePrinter2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IPrintManagerTemplatePrinter2 { - pub unsafe fn startPrint(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.startPrint)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn drawPreviewPage<'a, P0>(&self, pelemdisp: P0, npage: i32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).base__.drawPreviewPage)(::windows::core::Interface::as_raw(self), pelemdisp.into().abi(), npage).ok() - } - pub unsafe fn setPageCount(&self, npage: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.setPageCount)(::windows::core::Interface::as_raw(self), npage).ok() - } - pub unsafe fn invalidatePreview(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.invalidatePreview)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getPrintTaskOptionValue<'a, P0>(&self, bstrkey: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.getPrintTaskOptionValue)(::windows::core::Interface::as_raw(self), bstrkey.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn endPrint(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.endPrint)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn showHeaderFooter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).showHeaderFooter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn shrinkToFit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).shrinkToFit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn percentScale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).percentScale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IPrintManagerTemplatePrinter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IPrintManagerTemplatePrinter2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IPrintManagerTemplatePrinter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IPrintManagerTemplatePrinter2> for ::windows::core::IUnknown { - fn from(value: &IPrintManagerTemplatePrinter2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IPrintManagerTemplatePrinter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IPrintManagerTemplatePrinter2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IPrintManagerTemplatePrinter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IPrintManagerTemplatePrinter2> for super::super::System::Com::IDispatch { - fn from(value: &IPrintManagerTemplatePrinter2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for IPrintManagerTemplatePrinter { - fn from(value: IPrintManagerTemplatePrinter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IPrintManagerTemplatePrinter2> for &'a IPrintManagerTemplatePrinter { - fn from(value: &'a IPrintManagerTemplatePrinter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IPrintManagerTemplatePrinter2> for IPrintManagerTemplatePrinter { - fn from(value: &IPrintManagerTemplatePrinter2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintManagerTemplatePrinter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintManagerTemplatePrinter2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintManagerTemplatePrinter2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintManagerTemplatePrinter2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintManagerTemplatePrinter2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IPrintManagerTemplatePrinter2 { - type Vtable = IPrintManagerTemplatePrinter2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc6403497_7493_4f09_8016_54b03e9bda69); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IPrintManagerTemplatePrinter2_Vtbl { - pub base__: IPrintManagerTemplatePrinter_Vtbl, - pub showHeaderFooter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub shrinkToFit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub percentScale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IPrintTaskRequestFactory(::windows::core::IUnknown); -impl IPrintTaskRequestFactory { - pub unsafe fn CreatePrintTaskRequest<'a, P0>(&self, pprinttaskrequesthandler: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IPrintTaskRequestHandler>>, - { - (::windows::core::Interface::vtable(self).CreatePrintTaskRequest)(::windows::core::Interface::as_raw(self), pprinttaskrequesthandler.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IPrintTaskRequestFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IPrintTaskRequestFactory> for &'a ::windows::core::IUnknown { - fn from(value: &'a IPrintTaskRequestFactory) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IPrintTaskRequestFactory> for ::windows::core::IUnknown { - fn from(value: &IPrintTaskRequestFactory) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IPrintTaskRequestFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IPrintTaskRequestFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintTaskRequestFactory {} -impl ::core::fmt::Debug for IPrintTaskRequestFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintTaskRequestFactory").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IPrintTaskRequestFactory { - type Vtable = IPrintTaskRequestFactory_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xbb516745_8c34_4f8b_9605_684dcb144be5); -} -#[repr(C)] -#[doc(hidden)] -pub struct IPrintTaskRequestFactory_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub CreatePrintTaskRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pprinttaskrequesthandler: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IPrintTaskRequestHandler(::windows::core::IUnknown); -impl IPrintTaskRequestHandler { - pub unsafe fn HandlePrintTaskRequest<'a, P0>(&self, pprinttaskrequest: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IInspectable>>, - { - (::windows::core::Interface::vtable(self).HandlePrintTaskRequest)(::windows::core::Interface::as_raw(self), pprinttaskrequest.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IPrintTaskRequestHandler) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IPrintTaskRequestHandler> for &'a ::windows::core::IUnknown { - fn from(value: &'a IPrintTaskRequestHandler) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IPrintTaskRequestHandler> for ::windows::core::IUnknown { - fn from(value: &IPrintTaskRequestHandler) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IPrintTaskRequestHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IPrintTaskRequestHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintTaskRequestHandler {} -impl ::core::fmt::Debug for IPrintTaskRequestHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintTaskRequestHandler").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IPrintTaskRequestHandler { - type Vtable = IPrintTaskRequestHandler_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x191cd340_cf36_44ff_bd53_d1b701799d9b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IPrintTaskRequestHandler_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub HandlePrintTaskRequest: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pprinttaskrequest: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IRangeException(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IRangeException { - pub unsafe fn Setcode(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setcode)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn code(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).code)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn message(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IRangeException) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IRangeException> for &'a ::windows::core::IUnknown { - fn from(value: &'a IRangeException) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IRangeException> for ::windows::core::IUnknown { - fn from(value: &IRangeException) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IRangeException) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IRangeException> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IRangeException) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IRangeException> for super::super::System::Com::IDispatch { - fn from(value: &IRangeException) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRangeException { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRangeException { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRangeException {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRangeException { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRangeException").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IRangeException { - type Vtable = IRangeException_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051072d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IRangeException_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setcode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub code: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub message: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - message: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IRulesApplied(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IRulesApplied { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn element(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).element)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn inlineStyles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).inlineStyles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn appliedRules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).appliedRules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn propertyIsInline<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).propertyIsInline)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn propertyIsInheritable<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).propertyIsInheritable)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn hasInheritableProperty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasInheritableProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IRulesApplied) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IRulesApplied> for &'a ::windows::core::IUnknown { - fn from(value: &'a IRulesApplied) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IRulesApplied> for ::windows::core::IUnknown { - fn from(value: &IRulesApplied) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IRulesApplied) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IRulesApplied> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IRulesApplied) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IRulesApplied> for super::super::System::Com::IDispatch { - fn from(value: &IRulesApplied) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRulesApplied { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRulesApplied { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRulesApplied {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRulesApplied { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRulesApplied").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IRulesApplied { - type Vtable = IRulesApplied_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104bf_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IRulesApplied_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub element: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - element: usize, - #[cfg(feature = "Win32_System_Com")] - pub inlineStyles: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - inlineStyles: usize, - #[cfg(feature = "Win32_System_Com")] - pub appliedRules: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - appliedRules: usize, - #[cfg(feature = "Win32_Foundation")] - pub propertyIsInline: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - propertyIsInline: usize, - #[cfg(feature = "Win32_Foundation")] - pub propertyIsInheritable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - propertyIsInheritable: usize, - pub hasInheritableProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IRulesAppliedCollection(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IRulesAppliedCollection { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn element(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).element)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn propertyInheritedFrom<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).propertyInheritedFrom)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn propertyCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).propertyCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn property(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).property)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn propertyInheritedTrace<'a, P0>(&self, name: P0, index: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).propertyInheritedTrace)(::windows::core::Interface::as_raw(self), name.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn propertyInheritedTraceLength<'a, P0>(&self, name: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).propertyInheritedTraceLength)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IRulesAppliedCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IRulesAppliedCollection> for &'a ::windows::core::IUnknown { - fn from(value: &'a IRulesAppliedCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IRulesAppliedCollection> for ::windows::core::IUnknown { - fn from(value: &IRulesAppliedCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IRulesAppliedCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IRulesAppliedCollection> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IRulesAppliedCollection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IRulesAppliedCollection> for super::super::System::Com::IDispatch { - fn from(value: &IRulesAppliedCollection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRulesAppliedCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRulesAppliedCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRulesAppliedCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRulesAppliedCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRulesAppliedCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IRulesAppliedCollection { - type Vtable = IRulesAppliedCollection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104be_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IRulesAppliedCollection_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pprulesapplied: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - item: usize, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub element: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - element: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub propertyInheritedFrom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, pprulesapplied: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - propertyInheritedFrom: usize, - pub propertyCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub property: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, pbstrproperty: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - property: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub propertyInheritedTrace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, index: i32, pprulesapplied: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - propertyInheritedTrace: usize, - #[cfg(feature = "Win32_Foundation")] - pub propertyInheritedTraceLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, plength: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - propertyInheritedTraceLength: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGAElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGAElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_target<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedString>>, - { - (::windows::core::Interface::vtable(self).putref_target)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGAElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGAElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAElement> for ::windows::core::IUnknown { - fn from(value: &ISVGAElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGAElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGAElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGAElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGAElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGAElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGAElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGAElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGAElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGAElement { - type Vtable = ISVGAElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051054b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGAElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_target: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_target: usize, - #[cfg(feature = "Win32_System_Com")] - pub target: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - target: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGAngle(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGAngle { - pub unsafe fn SetunitType(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetunitType)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn unitType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).unitType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setvalue(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetvalueInSpecifiedUnits(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetvalueInSpecifiedUnits)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn valueInSpecifiedUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).valueInSpecifiedUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetvalueAsString<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetvalueAsString)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn valueAsString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).valueAsString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn newValueSpecifiedUnits(&self, unittype: i16, valueinspecifiedunits: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).newValueSpecifiedUnits)(::windows::core::Interface::as_raw(self), unittype, valueinspecifiedunits).ok() - } - pub unsafe fn convertToSpecifiedUnits(&self, unittype: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).convertToSpecifiedUnits)(::windows::core::Interface::as_raw(self), unittype).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGAngle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAngle> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGAngle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAngle> for ::windows::core::IUnknown { - fn from(value: &ISVGAngle) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGAngle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAngle> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGAngle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAngle> for super::super::System::Com::IDispatch { - fn from(value: &ISVGAngle) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGAngle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGAngle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGAngle {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGAngle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGAngle").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGAngle { - type Vtable = ISVGAngle_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104d3_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGAngle_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetunitType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub unitType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetvalueInSpecifiedUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub valueInSpecifiedUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetvalueAsString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetvalueAsString: usize, - #[cfg(feature = "Win32_Foundation")] - pub valueAsString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - valueAsString: usize, - pub newValueSpecifiedUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, unittype: i16, valueinspecifiedunits: f32) -> ::windows::core::HRESULT, - pub convertToSpecifiedUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, unittype: i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGAnimatedAngle(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGAnimatedAngle { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_baseVal<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAngle>>, - { - (::windows::core::Interface::vtable(self).putref_baseVal)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_animVal<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAngle>>, - { - (::windows::core::Interface::vtable(self).putref_animVal)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGAnimatedAngle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedAngle> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGAnimatedAngle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedAngle> for ::windows::core::IUnknown { - fn from(value: &ISVGAnimatedAngle) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGAnimatedAngle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedAngle> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGAnimatedAngle) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedAngle> for super::super::System::Com::IDispatch { - fn from(value: &ISVGAnimatedAngle) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGAnimatedAngle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGAnimatedAngle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGAnimatedAngle {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGAnimatedAngle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGAnimatedAngle").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGAnimatedAngle { - type Vtable = ISVGAnimatedAngle_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104d4_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGAnimatedAngle_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_baseVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - baseVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_animVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - animVal: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGAnimatedBoolean(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGAnimatedBoolean { - pub unsafe fn SetbaseVal(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetbaseVal)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetanimVal(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetanimVal)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGAnimatedBoolean) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedBoolean> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGAnimatedBoolean) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedBoolean> for ::windows::core::IUnknown { - fn from(value: &ISVGAnimatedBoolean) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGAnimatedBoolean) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedBoolean> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGAnimatedBoolean) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedBoolean> for super::super::System::Com::IDispatch { - fn from(value: &ISVGAnimatedBoolean) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGAnimatedBoolean { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGAnimatedBoolean { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGAnimatedBoolean {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGAnimatedBoolean { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGAnimatedBoolean").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGAnimatedBoolean { - type Vtable = ISVGAnimatedBoolean_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104c6_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGAnimatedBoolean_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetbaseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetanimVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGAnimatedEnumeration(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGAnimatedEnumeration { - pub unsafe fn SetbaseVal(&self, v: u16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetbaseVal)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetanimVal(&self, v: u16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetanimVal)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGAnimatedEnumeration) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedEnumeration> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGAnimatedEnumeration) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedEnumeration> for ::windows::core::IUnknown { - fn from(value: &ISVGAnimatedEnumeration) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGAnimatedEnumeration) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedEnumeration> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGAnimatedEnumeration) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedEnumeration> for super::super::System::Com::IDispatch { - fn from(value: &ISVGAnimatedEnumeration) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGAnimatedEnumeration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGAnimatedEnumeration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGAnimatedEnumeration {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGAnimatedEnumeration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGAnimatedEnumeration").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGAnimatedEnumeration { - type Vtable = ISVGAnimatedEnumeration_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104c9_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGAnimatedEnumeration_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetbaseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: u16) -> ::windows::core::HRESULT, - pub baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT, - pub SetanimVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: u16) -> ::windows::core::HRESULT, - pub animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGAnimatedInteger(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGAnimatedInteger { - pub unsafe fn SetbaseVal(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetbaseVal)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetanimVal(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetanimVal)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGAnimatedInteger) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedInteger> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGAnimatedInteger) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedInteger> for ::windows::core::IUnknown { - fn from(value: &ISVGAnimatedInteger) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGAnimatedInteger) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedInteger> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGAnimatedInteger) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedInteger> for super::super::System::Com::IDispatch { - fn from(value: &ISVGAnimatedInteger) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGAnimatedInteger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGAnimatedInteger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGAnimatedInteger {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGAnimatedInteger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGAnimatedInteger").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGAnimatedInteger { - type Vtable = ISVGAnimatedInteger_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104ca_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGAnimatedInteger_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetbaseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetanimVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGAnimatedLength(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGAnimatedLength { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_baseVal<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGLength>>, - { - (::windows::core::Interface::vtable(self).putref_baseVal)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_animVal<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGLength>>, - { - (::windows::core::Interface::vtable(self).putref_animVal)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGAnimatedLength) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedLength> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGAnimatedLength) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedLength> for ::windows::core::IUnknown { - fn from(value: &ISVGAnimatedLength) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGAnimatedLength) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedLength> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGAnimatedLength) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedLength> for super::super::System::Com::IDispatch { - fn from(value: &ISVGAnimatedLength) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGAnimatedLength { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGAnimatedLength { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGAnimatedLength {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGAnimatedLength { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGAnimatedLength").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGAnimatedLength { - type Vtable = ISVGAnimatedLength_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104d0_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGAnimatedLength_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_baseVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - baseVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_animVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - animVal: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGAnimatedLengthList(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGAnimatedLengthList { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_baseVal<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGLengthList>>, - { - (::windows::core::Interface::vtable(self).putref_baseVal)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_animVal<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGLengthList>>, - { - (::windows::core::Interface::vtable(self).putref_animVal)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGAnimatedLengthList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedLengthList> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGAnimatedLengthList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedLengthList> for ::windows::core::IUnknown { - fn from(value: &ISVGAnimatedLengthList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGAnimatedLengthList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedLengthList> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGAnimatedLengthList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedLengthList> for super::super::System::Com::IDispatch { - fn from(value: &ISVGAnimatedLengthList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGAnimatedLengthList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGAnimatedLengthList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGAnimatedLengthList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGAnimatedLengthList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGAnimatedLengthList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGAnimatedLengthList { - type Vtable = ISVGAnimatedLengthList_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104d2_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGAnimatedLengthList_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_baseVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - baseVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_animVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - animVal: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGAnimatedNumber(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGAnimatedNumber { - pub unsafe fn SetbaseVal(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetbaseVal)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetanimVal(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetanimVal)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGAnimatedNumber) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedNumber> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGAnimatedNumber) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedNumber> for ::windows::core::IUnknown { - fn from(value: &ISVGAnimatedNumber) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGAnimatedNumber) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedNumber> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGAnimatedNumber) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedNumber> for super::super::System::Com::IDispatch { - fn from(value: &ISVGAnimatedNumber) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGAnimatedNumber { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGAnimatedNumber { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGAnimatedNumber {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGAnimatedNumber { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGAnimatedNumber").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGAnimatedNumber { - type Vtable = ISVGAnimatedNumber_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104cc_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGAnimatedNumber_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetbaseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetanimVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGAnimatedNumberList(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGAnimatedNumberList { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_baseVal<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGNumberList>>, - { - (::windows::core::Interface::vtable(self).putref_baseVal)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_animVal<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGNumberList>>, - { - (::windows::core::Interface::vtable(self).putref_animVal)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGAnimatedNumberList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedNumberList> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGAnimatedNumberList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedNumberList> for ::windows::core::IUnknown { - fn from(value: &ISVGAnimatedNumberList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGAnimatedNumberList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedNumberList> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGAnimatedNumberList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedNumberList> for super::super::System::Com::IDispatch { - fn from(value: &ISVGAnimatedNumberList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGAnimatedNumberList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGAnimatedNumberList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGAnimatedNumberList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGAnimatedNumberList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGAnimatedNumberList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGAnimatedNumberList { - type Vtable = ISVGAnimatedNumberList_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104ce_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGAnimatedNumberList_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_baseVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - baseVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_animVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - animVal: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGAnimatedPathData(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGAnimatedPathData { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_pathSegList<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPathSegList>>, - { - (::windows::core::Interface::vtable(self).putref_pathSegList)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn pathSegList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pathSegList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_normalizedPathSegList<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPathSegList>>, - { - (::windows::core::Interface::vtable(self).putref_normalizedPathSegList)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn normalizedPathSegList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).normalizedPathSegList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_animatedPathSegList<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPathSegList>>, - { - (::windows::core::Interface::vtable(self).putref_animatedPathSegList)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn animatedPathSegList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animatedPathSegList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_animatedNormalizedPathSegList<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPathSegList>>, - { - (::windows::core::Interface::vtable(self).putref_animatedNormalizedPathSegList)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn animatedNormalizedPathSegList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animatedNormalizedPathSegList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGAnimatedPathData) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedPathData> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGAnimatedPathData) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedPathData> for ::windows::core::IUnknown { - fn from(value: &ISVGAnimatedPathData) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGAnimatedPathData) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedPathData> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGAnimatedPathData) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedPathData> for super::super::System::Com::IDispatch { - fn from(value: &ISVGAnimatedPathData) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGAnimatedPathData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGAnimatedPathData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGAnimatedPathData {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGAnimatedPathData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGAnimatedPathData").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGAnimatedPathData { - type Vtable = ISVGAnimatedPathData_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510511_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGAnimatedPathData_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_pathSegList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_pathSegList: usize, - #[cfg(feature = "Win32_System_Com")] - pub pathSegList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - pathSegList: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_normalizedPathSegList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_normalizedPathSegList: usize, - #[cfg(feature = "Win32_System_Com")] - pub normalizedPathSegList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - normalizedPathSegList: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_animatedPathSegList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_animatedPathSegList: usize, - #[cfg(feature = "Win32_System_Com")] - pub animatedPathSegList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - animatedPathSegList: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_animatedNormalizedPathSegList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_animatedNormalizedPathSegList: usize, - #[cfg(feature = "Win32_System_Com")] - pub animatedNormalizedPathSegList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - animatedNormalizedPathSegList: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGAnimatedPoints(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGAnimatedPoints { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_points<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPointList>>, - { - (::windows::core::Interface::vtable(self).putref_points)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn points(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).points)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_animatedPoints<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPointList>>, - { - (::windows::core::Interface::vtable(self).putref_animatedPoints)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn animatedPoints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animatedPoints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGAnimatedPoints) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedPoints> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGAnimatedPoints) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedPoints> for ::windows::core::IUnknown { - fn from(value: &ISVGAnimatedPoints) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGAnimatedPoints) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedPoints> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGAnimatedPoints) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedPoints> for super::super::System::Com::IDispatch { - fn from(value: &ISVGAnimatedPoints) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGAnimatedPoints { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGAnimatedPoints { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGAnimatedPoints {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGAnimatedPoints { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGAnimatedPoints").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGAnimatedPoints { - type Vtable = ISVGAnimatedPoints_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510517_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGAnimatedPoints_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_points: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_points: usize, - #[cfg(feature = "Win32_System_Com")] - pub points: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - points: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_animatedPoints: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_animatedPoints: usize, - #[cfg(feature = "Win32_System_Com")] - pub animatedPoints: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - animatedPoints: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGAnimatedPreserveAspectRatio(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGAnimatedPreserveAspectRatio { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_baseVal<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPreserveAspectRatio>>, - { - (::windows::core::Interface::vtable(self).putref_baseVal)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_animVal<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPreserveAspectRatio>>, - { - (::windows::core::Interface::vtable(self).putref_animVal)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGAnimatedPreserveAspectRatio) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedPreserveAspectRatio> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGAnimatedPreserveAspectRatio) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedPreserveAspectRatio> for ::windows::core::IUnknown { - fn from(value: &ISVGAnimatedPreserveAspectRatio) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGAnimatedPreserveAspectRatio) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedPreserveAspectRatio> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGAnimatedPreserveAspectRatio) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedPreserveAspectRatio> for super::super::System::Com::IDispatch { - fn from(value: &ISVGAnimatedPreserveAspectRatio) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGAnimatedPreserveAspectRatio { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGAnimatedPreserveAspectRatio { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGAnimatedPreserveAspectRatio {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGAnimatedPreserveAspectRatio { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGAnimatedPreserveAspectRatio").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGAnimatedPreserveAspectRatio { - type Vtable = ISVGAnimatedPreserveAspectRatio_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104fb_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGAnimatedPreserveAspectRatio_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_baseVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - baseVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_animVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - animVal: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGAnimatedRect(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGAnimatedRect { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_baseVal<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGRect>>, - { - (::windows::core::Interface::vtable(self).putref_baseVal)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_animVal<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGRect>>, - { - (::windows::core::Interface::vtable(self).putref_animVal)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGAnimatedRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedRect> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGAnimatedRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedRect> for ::windows::core::IUnknown { - fn from(value: &ISVGAnimatedRect) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGAnimatedRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedRect> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGAnimatedRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedRect> for super::super::System::Com::IDispatch { - fn from(value: &ISVGAnimatedRect) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGAnimatedRect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGAnimatedRect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGAnimatedRect {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGAnimatedRect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGAnimatedRect").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGAnimatedRect { - type Vtable = ISVGAnimatedRect_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104d8_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGAnimatedRect_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_baseVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - baseVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_animVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - animVal: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGAnimatedString(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGAnimatedString { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetbaseVal<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetbaseVal)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGAnimatedString) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedString> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGAnimatedString) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedString> for ::windows::core::IUnknown { - fn from(value: &ISVGAnimatedString) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGAnimatedString) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedString> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGAnimatedString) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedString> for super::super::System::Com::IDispatch { - fn from(value: &ISVGAnimatedString) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGAnimatedString { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGAnimatedString { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGAnimatedString {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGAnimatedString { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGAnimatedString").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGAnimatedString { - type Vtable = ISVGAnimatedString_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104c7_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGAnimatedString_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetbaseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetbaseVal: usize, - #[cfg(feature = "Win32_Foundation")] - pub baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - baseVal: usize, - #[cfg(feature = "Win32_Foundation")] - pub animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - animVal: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGAnimatedTransformList(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGAnimatedTransformList { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_baseVal<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGTransformList>>, - { - (::windows::core::Interface::vtable(self).putref_baseVal)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_animVal<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGTransformList>>, - { - (::windows::core::Interface::vtable(self).putref_animVal)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGAnimatedTransformList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedTransformList> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGAnimatedTransformList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedTransformList> for ::windows::core::IUnknown { - fn from(value: &ISVGAnimatedTransformList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGAnimatedTransformList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGAnimatedTransformList> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGAnimatedTransformList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGAnimatedTransformList> for super::super::System::Com::IDispatch { - fn from(value: &ISVGAnimatedTransformList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGAnimatedTransformList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGAnimatedTransformList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGAnimatedTransformList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGAnimatedTransformList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGAnimatedTransformList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGAnimatedTransformList { - type Vtable = ISVGAnimatedTransformList_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104f9_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGAnimatedTransformList_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_baseVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub baseVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - baseVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_animVal: usize, - #[cfg(feature = "Win32_System_Com")] - pub animVal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - animVal: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGCircleElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGCircleElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_cx<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_cx)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn cx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_cy<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_cy)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn cy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_r<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_r)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn r(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGCircleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGCircleElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGCircleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGCircleElement> for ::windows::core::IUnknown { - fn from(value: &ISVGCircleElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGCircleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGCircleElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGCircleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGCircleElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGCircleElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGCircleElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGCircleElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGCircleElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGCircleElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGCircleElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGCircleElement { - type Vtable = ISVGCircleElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510514_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGCircleElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_cx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_cx: usize, - #[cfg(feature = "Win32_System_Com")] - pub cx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - cx: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_cy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_cy: usize, - #[cfg(feature = "Win32_System_Com")] - pub cy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - cy: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_r: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_r: usize, - #[cfg(feature = "Win32_System_Com")] - pub r: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - r: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGClipPathElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGClipPathElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_clipPathUnits<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedEnumeration>>, - { - (::windows::core::Interface::vtable(self).putref_clipPathUnits)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn clipPathUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).clipPathUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGClipPathElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGClipPathElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGClipPathElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGClipPathElement> for ::windows::core::IUnknown { - fn from(value: &ISVGClipPathElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGClipPathElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGClipPathElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGClipPathElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGClipPathElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGClipPathElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGClipPathElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGClipPathElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGClipPathElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGClipPathElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGClipPathElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGClipPathElement { - type Vtable = ISVGClipPathElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051052d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGClipPathElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_clipPathUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_clipPathUnits: usize, - #[cfg(feature = "Win32_System_Com")] - pub clipPathUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - clipPathUnits: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGDefsElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGDefsElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGDefsElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGDefsElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGDefsElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGDefsElement> for ::windows::core::IUnknown { - fn from(value: &ISVGDefsElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGDefsElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGDefsElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGDefsElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGDefsElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGDefsElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGDefsElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGDefsElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGDefsElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGDefsElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGDefsElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGDefsElement { - type Vtable = ISVGDefsElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104e9_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGDefsElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGDescElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGDescElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGDescElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGDescElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGDescElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGDescElement> for ::windows::core::IUnknown { - fn from(value: &ISVGDescElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGDescElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGDescElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGDescElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGDescElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGDescElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGDescElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGDescElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGDescElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGDescElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGDescElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGDescElement { - type Vtable = ISVGDescElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104ea_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGDescElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGDocument(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGDocument { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn rootElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rootElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGDocument) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGDocument> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGDocument) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGDocument> for ::windows::core::IUnknown { - fn from(value: &ISVGDocument) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGDocument) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGDocument> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGDocument) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGDocument> for super::super::System::Com::IDispatch { - fn from(value: &ISVGDocument) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGDocument {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGDocument").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGDocument { - type Vtable = ISVGDocument_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104e6_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGDocument_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub rootElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - rootElement: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setxmlbase<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setxmlbase)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn xmlbase(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).xmlbase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_ownerSVGElement<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGSVGElement>>, - { - (::windows::core::Interface::vtable(self).putref_ownerSVGElement)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn ownerSVGElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ownerSVGElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_viewportElement<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGElement>>, - { - (::windows::core::Interface::vtable(self).putref_viewportElement)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn viewportElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).viewportElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_focusable<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedEnumeration>>, - { - (::windows::core::Interface::vtable(self).putref_focusable)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn focusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).focusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGElement> for ::windows::core::IUnknown { - fn from(value: &ISVGElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGElement { - type Vtable = ISVGElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104c5_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setxmlbase: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setxmlbase: usize, - #[cfg(feature = "Win32_Foundation")] - pub xmlbase: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - xmlbase: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_ownerSVGElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_ownerSVGElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub ownerSVGElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ownerSVGElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_viewportElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_viewportElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub viewportElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - viewportElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_focusable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_focusable: usize, - #[cfg(feature = "Win32_System_Com")] - pub focusable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - focusable: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGElementInstance(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGElementInstance { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn correspondingElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).correspondingElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn correspondingUseElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).correspondingUseElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGElementInstance) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGElementInstance> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGElementInstance) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGElementInstance> for ::windows::core::IUnknown { - fn from(value: &ISVGElementInstance) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGElementInstance) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGElementInstance> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGElementInstance) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGElementInstance> for super::super::System::Com::IDispatch { - fn from(value: &ISVGElementInstance) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGElementInstance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGElementInstance { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGElementInstance {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGElementInstance { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGElementInstance").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGElementInstance { - type Vtable = ISVGElementInstance_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104ee_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGElementInstance_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub correspondingElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - correspondingElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub correspondingUseElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - correspondingUseElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub parentNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - parentNode: usize, - #[cfg(feature = "Win32_System_Com")] - pub childNodes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - childNodes: usize, - #[cfg(feature = "Win32_System_Com")] - pub firstChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - firstChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub lastChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - lastChild: usize, - #[cfg(feature = "Win32_System_Com")] - pub previousSibling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - previousSibling: usize, - #[cfg(feature = "Win32_System_Com")] - pub nextSibling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - nextSibling: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGElementInstanceList(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGElementInstanceList { - pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGElementInstanceList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGElementInstanceList> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGElementInstanceList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGElementInstanceList> for ::windows::core::IUnknown { - fn from(value: &ISVGElementInstanceList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGElementInstanceList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGElementInstanceList> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGElementInstanceList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGElementInstanceList> for super::super::System::Com::IDispatch { - fn from(value: &ISVGElementInstanceList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGElementInstanceList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGElementInstanceList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGElementInstanceList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGElementInstanceList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGElementInstanceList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGElementInstanceList { - type Vtable = ISVGElementInstanceList_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104ef_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGElementInstanceList_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub length: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - item: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGEllipseElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGEllipseElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_cx<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_cx)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn cx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_cy<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_cy)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn cy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_rx<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_rx)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn rx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_ry<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_ry)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn ry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGEllipseElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGEllipseElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGEllipseElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGEllipseElement> for ::windows::core::IUnknown { - fn from(value: &ISVGEllipseElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGEllipseElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGEllipseElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGEllipseElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGEllipseElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGEllipseElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGEllipseElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGEllipseElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGEllipseElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGEllipseElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGEllipseElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGEllipseElement { - type Vtable = ISVGEllipseElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510515_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGEllipseElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_cx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_cx: usize, - #[cfg(feature = "Win32_System_Com")] - pub cx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - cx: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_cy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_cy: usize, - #[cfg(feature = "Win32_System_Com")] - pub cy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - cy: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_rx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_rx: usize, - #[cfg(feature = "Win32_System_Com")] - pub rx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - rx: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_ry: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_ry: usize, - #[cfg(feature = "Win32_System_Com")] - pub ry: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ry: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGException(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGException { - pub unsafe fn Setcode(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setcode)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn code(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).code)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn message(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGException) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGException> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGException) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGException> for ::windows::core::IUnknown { - fn from(value: &ISVGException) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGException) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGException> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGException) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGException> for super::super::System::Com::IDispatch { - fn from(value: &ISVGException) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGException { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGException { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGException {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGException { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGException").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGException { - type Vtable = ISVGException_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051072f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGException_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setcode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub code: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub message: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - message: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGExternalResourcesRequired(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGExternalResourcesRequired { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn externalResourcesRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).externalResourcesRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGExternalResourcesRequired) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGExternalResourcesRequired> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGExternalResourcesRequired) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGExternalResourcesRequired> for ::windows::core::IUnknown { - fn from(value: &ISVGExternalResourcesRequired) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGExternalResourcesRequired) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGExternalResourcesRequired> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGExternalResourcesRequired) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGExternalResourcesRequired> for super::super::System::Com::IDispatch { - fn from(value: &ISVGExternalResourcesRequired) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGExternalResourcesRequired { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGExternalResourcesRequired { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGExternalResourcesRequired {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGExternalResourcesRequired { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGExternalResourcesRequired").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGExternalResourcesRequired { - type Vtable = ISVGExternalResourcesRequired_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104df_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGExternalResourcesRequired_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub externalResourcesRequired: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - externalResourcesRequired: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGFitToViewBox(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGFitToViewBox { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn viewBox(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).viewBox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_preserveAspectRatio<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedPreserveAspectRatio>>, - { - (::windows::core::Interface::vtable(self).putref_preserveAspectRatio)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn preserveAspectRatio(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).preserveAspectRatio)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGFitToViewBox) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGFitToViewBox> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGFitToViewBox) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGFitToViewBox> for ::windows::core::IUnknown { - fn from(value: &ISVGFitToViewBox) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGFitToViewBox) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGFitToViewBox> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGFitToViewBox) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGFitToViewBox> for super::super::System::Com::IDispatch { - fn from(value: &ISVGFitToViewBox) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGFitToViewBox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGFitToViewBox { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGFitToViewBox {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGFitToViewBox { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGFitToViewBox").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGFitToViewBox { - type Vtable = ISVGFitToViewBox_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104e0_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGFitToViewBox_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub viewBox: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - viewBox: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_preserveAspectRatio: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_preserveAspectRatio: usize, - #[cfg(feature = "Win32_System_Com")] - pub preserveAspectRatio: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - preserveAspectRatio: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGGElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGGElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGGElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGGElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGGElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGGElement> for ::windows::core::IUnknown { - fn from(value: &ISVGGElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGGElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGGElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGGElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGGElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGGElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGGElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGGElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGGElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGGElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGGElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGGElement { - type Vtable = ISVGGElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104e8_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGGElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGGradientElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGGradientElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_gradientUnits<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedEnumeration>>, - { - (::windows::core::Interface::vtable(self).putref_gradientUnits)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn gradientUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).gradientUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_gradientTransform<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedTransformList>>, - { - (::windows::core::Interface::vtable(self).putref_gradientTransform)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn gradientTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).gradientTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_spreadMethod<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedEnumeration>>, - { - (::windows::core::Interface::vtable(self).putref_spreadMethod)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn spreadMethod(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).spreadMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGGradientElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGGradientElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGGradientElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGGradientElement> for ::windows::core::IUnknown { - fn from(value: &ISVGGradientElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGGradientElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGGradientElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGGradientElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGGradientElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGGradientElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGGradientElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGGradientElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGGradientElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGGradientElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGGradientElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGGradientElement { - type Vtable = ISVGGradientElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510528_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGGradientElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_gradientUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_gradientUnits: usize, - #[cfg(feature = "Win32_System_Com")] - pub gradientUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - gradientUnits: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_gradientTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_gradientTransform: usize, - #[cfg(feature = "Win32_System_Com")] - pub gradientTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - gradientTransform: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_spreadMethod: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_spreadMethod: usize, - #[cfg(feature = "Win32_System_Com")] - pub spreadMethod: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - spreadMethod: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGImageElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGImageElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_x<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_x)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_y<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_y)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_width<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_width)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_height<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_height)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGImageElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGImageElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGImageElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGImageElement> for ::windows::core::IUnknown { - fn from(value: &ISVGImageElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGImageElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGImageElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGImageElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGImageElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGImageElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGImageElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGImageElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGImageElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGImageElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGImageElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGImageElement { - type Vtable = ISVGImageElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104f0_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGImageElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_x: usize, - #[cfg(feature = "Win32_System_Com")] - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - x: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_y: usize, - #[cfg(feature = "Win32_System_Com")] - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - y: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_width: usize, - #[cfg(feature = "Win32_System_Com")] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - width: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_height: usize, - #[cfg(feature = "Win32_System_Com")] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - height: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGLangSpace(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGLangSpace { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setxmllang<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setxmllang)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn xmllang(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).xmllang)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setxmlspace<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setxmlspace)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn xmlspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).xmlspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGLangSpace) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGLangSpace> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGLangSpace) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGLangSpace> for ::windows::core::IUnknown { - fn from(value: &ISVGLangSpace) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGLangSpace) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGLangSpace> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGLangSpace) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGLangSpace> for super::super::System::Com::IDispatch { - fn from(value: &ISVGLangSpace) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGLangSpace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGLangSpace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGLangSpace {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGLangSpace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGLangSpace").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGLangSpace { - type Vtable = ISVGLangSpace_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104de_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGLangSpace_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Setxmllang: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setxmllang: usize, - #[cfg(feature = "Win32_Foundation")] - pub xmllang: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - xmllang: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setxmlspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setxmlspace: usize, - #[cfg(feature = "Win32_Foundation")] - pub xmlspace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - xmlspace: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGLength(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGLength { - pub unsafe fn SetunitType(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetunitType)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn unitType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).unitType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setvalue(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetvalueInSpecifiedUnits(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetvalueInSpecifiedUnits)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn valueInSpecifiedUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).valueInSpecifiedUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetvalueAsString<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetvalueAsString)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn valueAsString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).valueAsString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn newValueSpecifiedUnits(&self, unittype: i16, valueinspecifiedunits: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).newValueSpecifiedUnits)(::windows::core::Interface::as_raw(self), unittype, valueinspecifiedunits).ok() - } - pub unsafe fn convertToSpecifiedUnits(&self, unittype: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).convertToSpecifiedUnits)(::windows::core::Interface::as_raw(self), unittype).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGLength) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGLength> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGLength) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGLength> for ::windows::core::IUnknown { - fn from(value: &ISVGLength) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGLength) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGLength> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGLength) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGLength> for super::super::System::Com::IDispatch { - fn from(value: &ISVGLength) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGLength { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGLength { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGLength {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGLength { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGLength").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGLength { - type Vtable = ISVGLength_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104cf_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGLength_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetunitType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub unitType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetvalueInSpecifiedUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub valueInSpecifiedUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub SetvalueAsString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetvalueAsString: usize, - #[cfg(feature = "Win32_Foundation")] - pub valueAsString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - valueAsString: usize, - pub newValueSpecifiedUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, unittype: i16, valueinspecifiedunits: f32) -> ::windows::core::HRESULT, - pub convertToSpecifiedUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, unittype: i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGLengthList(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGLengthList { - pub unsafe fn SetnumberOfItems(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetnumberOfItems)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn numberOfItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).numberOfItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clear(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn initialize<'a, P0>(&self, newitem: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGLength>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).initialize)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn insertItemBefore<'a, P0>(&self, newitem: P0, index: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGLength>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertItemBefore)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn replaceItem<'a, P0>(&self, newitem: P0, index: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGLength>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).replaceItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn removeItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn appendItem<'a, P0>(&self, newitem: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGLength>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).appendItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGLengthList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGLengthList> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGLengthList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGLengthList> for ::windows::core::IUnknown { - fn from(value: &ISVGLengthList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGLengthList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGLengthList> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGLengthList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGLengthList> for super::super::System::Com::IDispatch { - fn from(value: &ISVGLengthList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGLengthList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGLengthList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGLengthList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGLengthList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGLengthList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGLengthList { - type Vtable = ISVGLengthList_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104d1_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGLengthList_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetnumberOfItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub numberOfItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - initialize: usize, - #[cfg(feature = "Win32_System_Com")] - pub getItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub insertItemBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - insertItemBefore: usize, - #[cfg(feature = "Win32_System_Com")] - pub replaceItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - replaceItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub removeItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - removeItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub appendItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - appendItem: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGLineElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGLineElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_x1<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_x1)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn x1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_y1<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_y1)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn y1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_x2<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_x2)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn x2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_y2<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_y2)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn y2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGLineElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGLineElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGLineElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGLineElement> for ::windows::core::IUnknown { - fn from(value: &ISVGLineElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGLineElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGLineElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGLineElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGLineElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGLineElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGLineElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGLineElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGLineElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGLineElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGLineElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGLineElement { - type Vtable = ISVGLineElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510516_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGLineElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_x1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_x1: usize, - #[cfg(feature = "Win32_System_Com")] - pub x1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - x1: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_y1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_y1: usize, - #[cfg(feature = "Win32_System_Com")] - pub y1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - y1: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_x2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_x2: usize, - #[cfg(feature = "Win32_System_Com")] - pub x2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - x2: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_y2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_y2: usize, - #[cfg(feature = "Win32_System_Com")] - pub y2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - y2: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGLinearGradientElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGLinearGradientElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_x1<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_x1)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn x1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_y1<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_y1)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn y1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_x2<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_x2)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn x2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_y2<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_y2)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn y2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGLinearGradientElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGLinearGradientElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGLinearGradientElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGLinearGradientElement> for ::windows::core::IUnknown { - fn from(value: &ISVGLinearGradientElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGLinearGradientElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGLinearGradientElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGLinearGradientElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGLinearGradientElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGLinearGradientElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGLinearGradientElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGLinearGradientElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGLinearGradientElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGLinearGradientElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGLinearGradientElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGLinearGradientElement { - type Vtable = ISVGLinearGradientElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510529_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGLinearGradientElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_x1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_x1: usize, - #[cfg(feature = "Win32_System_Com")] - pub x1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - x1: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_y1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_y1: usize, - #[cfg(feature = "Win32_System_Com")] - pub y1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - y1: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_x2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_x2: usize, - #[cfg(feature = "Win32_System_Com")] - pub x2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - x2: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_y2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_y2: usize, - #[cfg(feature = "Win32_System_Com")] - pub y2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - y2: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGLocatable(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGLocatable { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn nearestViewportElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).nearestViewportElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn farthestViewportElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).farthestViewportElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getBBox(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getBBox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getCTM(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getCTM)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getScreenCTM(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getScreenCTM)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getTransformToElement<'a, P0>(&self, pelement: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGElement>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getTransformToElement)(::windows::core::Interface::as_raw(self), pelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGLocatable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGLocatable> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGLocatable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGLocatable> for ::windows::core::IUnknown { - fn from(value: &ISVGLocatable) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGLocatable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGLocatable> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGLocatable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGLocatable> for super::super::System::Com::IDispatch { - fn from(value: &ISVGLocatable) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGLocatable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGLocatable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGLocatable {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGLocatable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGLocatable").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGLocatable { - type Vtable = ISVGLocatable_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104db_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGLocatable_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub nearestViewportElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - nearestViewportElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub farthestViewportElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - farthestViewportElement: usize, - #[cfg(feature = "Win32_System_Com")] - pub getBBox: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getBBox: usize, - #[cfg(feature = "Win32_System_Com")] - pub getCTM: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getCTM: usize, - #[cfg(feature = "Win32_System_Com")] - pub getScreenCTM: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getScreenCTM: usize, - #[cfg(feature = "Win32_System_Com")] - pub getTransformToElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pelement: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getTransformToElement: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGMarkerElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGMarkerElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_refX<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_refX)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn refX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).refX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_refY<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_refY)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn refY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).refY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_markerUnits<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedEnumeration>>, - { - (::windows::core::Interface::vtable(self).putref_markerUnits)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn markerUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).markerUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_markerWidth<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_markerWidth)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn markerWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).markerWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_markerHeight<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_markerHeight)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn markerHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).markerHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_orientType<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedEnumeration>>, - { - (::windows::core::Interface::vtable(self).putref_orientType)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn orientType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).orientType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_orientAngle<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedAngle>>, - { - (::windows::core::Interface::vtable(self).putref_orientAngle)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn orientAngle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).orientAngle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn setOrientToAuto(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).setOrientToAuto)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn setOrientToAngle<'a, P0>(&self, psvgangle: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAngle>>, - { - (::windows::core::Interface::vtable(self).setOrientToAngle)(::windows::core::Interface::as_raw(self), psvgangle.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGMarkerElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGMarkerElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGMarkerElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGMarkerElement> for ::windows::core::IUnknown { - fn from(value: &ISVGMarkerElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGMarkerElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGMarkerElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGMarkerElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGMarkerElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGMarkerElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGMarkerElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGMarkerElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGMarkerElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGMarkerElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGMarkerElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGMarkerElement { - type Vtable = ISVGMarkerElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510525_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGMarkerElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_refX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_refX: usize, - #[cfg(feature = "Win32_System_Com")] - pub refX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - refX: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_refY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_refY: usize, - #[cfg(feature = "Win32_System_Com")] - pub refY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - refY: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_markerUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_markerUnits: usize, - #[cfg(feature = "Win32_System_Com")] - pub markerUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - markerUnits: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_markerWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_markerWidth: usize, - #[cfg(feature = "Win32_System_Com")] - pub markerWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - markerWidth: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_markerHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_markerHeight: usize, - #[cfg(feature = "Win32_System_Com")] - pub markerHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - markerHeight: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_orientType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_orientType: usize, - #[cfg(feature = "Win32_System_Com")] - pub orientType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - orientType: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_orientAngle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_orientAngle: usize, - #[cfg(feature = "Win32_System_Com")] - pub orientAngle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - orientAngle: usize, - pub setOrientToAuto: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub setOrientToAngle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psvgangle: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - setOrientToAngle: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGMaskElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGMaskElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_maskUnits<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedEnumeration>>, - { - (::windows::core::Interface::vtable(self).putref_maskUnits)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn maskUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).maskUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_maskContentUnits<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedEnumeration>>, - { - (::windows::core::Interface::vtable(self).putref_maskContentUnits)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn maskContentUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).maskContentUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_x<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_x)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_y<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_y)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_width<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_width)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_height<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_height)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGMaskElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGMaskElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGMaskElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGMaskElement> for ::windows::core::IUnknown { - fn from(value: &ISVGMaskElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGMaskElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGMaskElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGMaskElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGMaskElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGMaskElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGMaskElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGMaskElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGMaskElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGMaskElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGMaskElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGMaskElement { - type Vtable = ISVGMaskElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051052e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGMaskElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_maskUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_maskUnits: usize, - #[cfg(feature = "Win32_System_Com")] - pub maskUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - maskUnits: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_maskContentUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_maskContentUnits: usize, - #[cfg(feature = "Win32_System_Com")] - pub maskContentUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - maskContentUnits: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_x: usize, - #[cfg(feature = "Win32_System_Com")] - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - x: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_y: usize, - #[cfg(feature = "Win32_System_Com")] - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - y: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_width: usize, - #[cfg(feature = "Win32_System_Com")] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - width: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_height: usize, - #[cfg(feature = "Win32_System_Com")] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - height: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGMatrix(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGMatrix { - pub unsafe fn Seta(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Seta)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn a(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).a)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setb(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setb)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn b(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).b)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setc(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setc)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn c(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).c)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setd(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setd)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn d(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).d)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sete(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sete)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn e(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).e)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setf(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setf)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn f(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).f)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn multiply<'a, P0>(&self, secondmatrix: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGMatrix>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).multiply)(::windows::core::Interface::as_raw(self), secondmatrix.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn inverse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).inverse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn translate(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).translate)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn scale(&self, scalefactor: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scale)(::windows::core::Interface::as_raw(self), scalefactor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn scaleNonUniform(&self, scalefactorx: f32, scalefactory: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scaleNonUniform)(::windows::core::Interface::as_raw(self), scalefactorx, scalefactory, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn rotate(&self, angle: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rotate)(::windows::core::Interface::as_raw(self), angle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn rotateFromVector(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rotateFromVector)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn flipX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).flipX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn flipY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).flipY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn skewX(&self, angle: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).skewX)(::windows::core::Interface::as_raw(self), angle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn skewY(&self, angle: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).skewY)(::windows::core::Interface::as_raw(self), angle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGMatrix) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGMatrix> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGMatrix) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGMatrix> for ::windows::core::IUnknown { - fn from(value: &ISVGMatrix) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGMatrix) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGMatrix> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGMatrix) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGMatrix> for super::super::System::Com::IDispatch { - fn from(value: &ISVGMatrix) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGMatrix { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGMatrix { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGMatrix {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGMatrix { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGMatrix").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGMatrix { - type Vtable = ISVGMatrix_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104f6_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGMatrix_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Seta: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub a: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setb: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub b: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub c: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub d: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub e: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setf: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub f: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub multiply: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, secondmatrix: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - multiply: usize, - #[cfg(feature = "Win32_System_Com")] - pub inverse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - inverse: usize, - #[cfg(feature = "Win32_System_Com")] - pub translate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - translate: usize, - #[cfg(feature = "Win32_System_Com")] - pub scale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, scalefactor: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - scale: usize, - #[cfg(feature = "Win32_System_Com")] - pub scaleNonUniform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, scalefactorx: f32, scalefactory: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - scaleNonUniform: usize, - #[cfg(feature = "Win32_System_Com")] - pub rotate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, angle: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - rotate: usize, - #[cfg(feature = "Win32_System_Com")] - pub rotateFromVector: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - rotateFromVector: usize, - #[cfg(feature = "Win32_System_Com")] - pub flipX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - flipX: usize, - #[cfg(feature = "Win32_System_Com")] - pub flipY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - flipY: usize, - #[cfg(feature = "Win32_System_Com")] - pub skewX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, angle: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - skewX: usize, - #[cfg(feature = "Win32_System_Com")] - pub skewY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, angle: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - skewY: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGMetadataElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGMetadataElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGMetadataElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGMetadataElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGMetadataElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGMetadataElement> for ::windows::core::IUnknown { - fn from(value: &ISVGMetadataElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGMetadataElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGMetadataElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGMetadataElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGMetadataElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGMetadataElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGMetadataElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGMetadataElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGMetadataElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGMetadataElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGMetadataElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGMetadataElement { - type Vtable = ISVGMetadataElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510560_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGMetadataElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGNumber(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGNumber { - pub unsafe fn Setvalue(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGNumber) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGNumber> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGNumber) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGNumber> for ::windows::core::IUnknown { - fn from(value: &ISVGNumber) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGNumber) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGNumber> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGNumber) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGNumber> for super::super::System::Com::IDispatch { - fn from(value: &ISVGNumber) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGNumber { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGNumber { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGNumber {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGNumber { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGNumber").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGNumber { - type Vtable = ISVGNumber_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104cb_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGNumber_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setvalue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub value: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGNumberList(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGNumberList { - pub unsafe fn SetnumberOfItems(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetnumberOfItems)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn numberOfItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).numberOfItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clear(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn initialize<'a, P0>(&self, newitem: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGNumber>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).initialize)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn insertItemBefore<'a, P0>(&self, newitem: P0, index: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGNumber>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertItemBefore)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn replaceItem<'a, P0>(&self, newitem: P0, index: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGNumber>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).replaceItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn removeItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn appendItem<'a, P0>(&self, newitem: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGNumber>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).appendItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGNumberList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGNumberList> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGNumberList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGNumberList> for ::windows::core::IUnknown { - fn from(value: &ISVGNumberList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGNumberList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGNumberList> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGNumberList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGNumberList> for super::super::System::Com::IDispatch { - fn from(value: &ISVGNumberList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGNumberList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGNumberList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGNumberList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGNumberList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGNumberList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGNumberList { - type Vtable = ISVGNumberList_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104cd_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGNumberList_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetnumberOfItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub numberOfItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - initialize: usize, - #[cfg(feature = "Win32_System_Com")] - pub getItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub insertItemBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - insertItemBefore: usize, - #[cfg(feature = "Win32_System_Com")] - pub replaceItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - replaceItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub removeItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - removeItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub appendItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - appendItem: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPaint(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPaint {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPaint) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPaint> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPaint) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPaint> for ::windows::core::IUnknown { - fn from(value: &ISVGPaint) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPaint) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPaint> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPaint) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPaint> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPaint) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPaint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPaint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPaint {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPaint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPaint").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPaint { - type Vtable = ISVGPaint_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510524_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPaint_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_pathLength<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedNumber>>, - { - (::windows::core::Interface::vtable(self).putref_pathLength)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn pathLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pathLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn getTotalLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getTotalLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getPointAtLength(&self, fltdistance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getPointAtLength)(::windows::core::Interface::as_raw(self), fltdistance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn getPathSegAtLength(&self, fltdistance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getPathSegAtLength)(::windows::core::Interface::as_raw(self), fltdistance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegClosePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegClosePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegMovetoAbs(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegMovetoAbs)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegMovetoRel(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegMovetoRel)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegLinetoAbs(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegLinetoAbs)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegLinetoRel(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegLinetoRel)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegCurvetoCubicAbs(&self, x: f32, y: f32, x1: f32, y1: f32, x2: f32, y2: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegCurvetoCubicAbs)(::windows::core::Interface::as_raw(self), x, y, x1, y1, x2, y2, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegCurvetoCubicRel(&self, x: f32, y: f32, x1: f32, y1: f32, x2: f32, y2: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegCurvetoCubicRel)(::windows::core::Interface::as_raw(self), x, y, x1, y1, x2, y2, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegCurvetoQuadraticAbs(&self, x: f32, y: f32, x1: f32, y1: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegCurvetoQuadraticAbs)(::windows::core::Interface::as_raw(self), x, y, x1, y1, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegCurvetoQuadraticRel(&self, x: f32, y: f32, x1: f32, y1: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegCurvetoQuadraticRel)(::windows::core::Interface::as_raw(self), x, y, x1, y1, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegArcAbs(&self, x: f32, y: f32, r1: f32, r2: f32, angle: f32, largearcflag: i16, sweepflag: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegArcAbs)(::windows::core::Interface::as_raw(self), x, y, r1, r2, angle, largearcflag, sweepflag, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegArcRel(&self, x: f32, y: f32, r1: f32, r2: f32, angle: f32, largearcflag: i16, sweepflag: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegArcRel)(::windows::core::Interface::as_raw(self), x, y, r1, r2, angle, largearcflag, sweepflag, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegLinetoHorizontalAbs(&self, x: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegLinetoHorizontalAbs)(::windows::core::Interface::as_raw(self), x, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegLinetoHorizontalRel(&self, x: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegLinetoHorizontalRel)(::windows::core::Interface::as_raw(self), x, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegLinetoVerticalAbs(&self, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegLinetoVerticalAbs)(::windows::core::Interface::as_raw(self), y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegLinetoVerticalRel(&self, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegLinetoVerticalRel)(::windows::core::Interface::as_raw(self), y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegCurvetoCubicSmoothAbs(&self, x: f32, y: f32, x2: f32, y2: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegCurvetoCubicSmoothAbs)(::windows::core::Interface::as_raw(self), x, y, x2, y2, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegCurvetoCubicSmoothRel(&self, x: f32, y: f32, x2: f32, y2: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegCurvetoCubicSmoothRel)(::windows::core::Interface::as_raw(self), x, y, x2, y2, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegCurvetoQuadraticSmoothAbs(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegCurvetoQuadraticSmoothAbs)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPathSegCurvetoQuadraticSmoothRel(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPathSegCurvetoQuadraticSmoothRel)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathElement> for ::windows::core::IUnknown { - fn from(value: &ISVGPathElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathElement { - type Vtable = ISVGPathElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510512_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_pathLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_pathLength: usize, - #[cfg(feature = "Win32_System_Com")] - pub pathLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - pathLength: usize, - pub getTotalLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfltresult: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub getPointAtLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fltdistance: f32, pppointresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getPointAtLength: usize, - pub getPathSegAtLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fltdistance: f32, plresult: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegClosePath: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegClosePath: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegMovetoAbs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegMovetoAbs: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegMovetoRel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegMovetoRel: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegLinetoAbs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegLinetoAbs: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegLinetoRel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegLinetoRel: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegCurvetoCubicAbs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, x1: f32, y1: f32, x2: f32, y2: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegCurvetoCubicAbs: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegCurvetoCubicRel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, x1: f32, y1: f32, x2: f32, y2: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegCurvetoCubicRel: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegCurvetoQuadraticAbs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, x1: f32, y1: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegCurvetoQuadraticAbs: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegCurvetoQuadraticRel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, x1: f32, y1: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegCurvetoQuadraticRel: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegArcAbs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, r1: f32, r2: f32, angle: f32, largearcflag: i16, sweepflag: i16, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegArcAbs: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegArcRel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, r1: f32, r2: f32, angle: f32, largearcflag: i16, sweepflag: i16, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegArcRel: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegLinetoHorizontalAbs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegLinetoHorizontalAbs: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegLinetoHorizontalRel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegLinetoHorizontalRel: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegLinetoVerticalAbs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegLinetoVerticalAbs: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegLinetoVerticalRel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegLinetoVerticalRel: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegCurvetoCubicSmoothAbs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, x2: f32, y2: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegCurvetoCubicSmoothAbs: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegCurvetoCubicSmoothRel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, x2: f32, y2: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegCurvetoCubicSmoothRel: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegCurvetoQuadraticSmoothAbs: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegCurvetoQuadraticSmoothAbs: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPathSegCurvetoQuadraticSmoothRel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: f32, y: f32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPathSegCurvetoQuadraticSmoothRel: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSeg(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSeg { - pub unsafe fn SetpathSegType(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetpathSegType)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pathSegType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pathSegType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn pathSegTypeAsLetter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pathSegTypeAsLetter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSeg) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSeg> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSeg) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSeg> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSeg) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSeg) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSeg> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSeg) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSeg> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSeg) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSeg { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSeg { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSeg {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSeg { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSeg").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSeg { - type Vtable = ISVGPathSeg_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104fc_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSeg_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetpathSegType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub pathSegType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub pathSegTypeAsLetter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - pathSegTypeAsLetter: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegArcAbs(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegArcAbs { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setr1(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setr1)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn r1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setr2(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setr2)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn r2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setangle(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setangle)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn angle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).angle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetlargeArcFlag(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetlargeArcFlag)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn largeArcFlag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).largeArcFlag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetsweepFlag(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetsweepFlag)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn sweepFlag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).sweepFlag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegArcAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegArcAbs> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegArcAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegArcAbs> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegArcAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegArcAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegArcAbs> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegArcAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegArcAbs> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegArcAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegArcAbs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegArcAbs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegArcAbs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegArcAbs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegArcAbs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegArcAbs { - type Vtable = ISVGPathSegArcAbs_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510506_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegArcAbs_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setr1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub r1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setr2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub r2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setangle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub angle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetlargeArcFlag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub largeArcFlag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetsweepFlag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub sweepFlag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegArcRel(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegArcRel { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setr1(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setr1)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn r1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setr2(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setr2)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn r2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setangle(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setangle)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn angle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).angle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetlargeArcFlag(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetlargeArcFlag)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn largeArcFlag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).largeArcFlag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetsweepFlag(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetsweepFlag)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn sweepFlag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).sweepFlag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegArcRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegArcRel> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegArcRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegArcRel> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegArcRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegArcRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegArcRel> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegArcRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegArcRel> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegArcRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegArcRel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegArcRel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegArcRel {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegArcRel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegArcRel").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegArcRel { - type Vtable = ISVGPathSegArcRel_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510507_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegArcRel_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setr1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub r1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setr2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub r2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setangle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub angle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetlargeArcFlag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub largeArcFlag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetsweepFlag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub sweepFlag: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegClosePath(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegClosePath {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegClosePath) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegClosePath> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegClosePath) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegClosePath> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegClosePath) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegClosePath) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegClosePath> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegClosePath) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegClosePath> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegClosePath) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegClosePath { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegClosePath { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegClosePath {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegClosePath { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegClosePath").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegClosePath { - type Vtable = ISVGPathSegClosePath_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104fd_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegClosePath_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegCurvetoCubicAbs(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegCurvetoCubicAbs { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setx1(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx1)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety1(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety1)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setx2(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx2)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety2(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety2)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegCurvetoCubicAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegCurvetoCubicAbs> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegCurvetoCubicAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegCurvetoCubicAbs> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegCurvetoCubicAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegCurvetoCubicAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegCurvetoCubicAbs> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegCurvetoCubicAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegCurvetoCubicAbs> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegCurvetoCubicAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegCurvetoCubicAbs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegCurvetoCubicAbs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegCurvetoCubicAbs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegCurvetoCubicAbs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegCurvetoCubicAbs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegCurvetoCubicAbs { - type Vtable = ISVGPathSegCurvetoCubicAbs_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510502_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegCurvetoCubicAbs_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setx1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setx2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegCurvetoCubicRel(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegCurvetoCubicRel { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setx1(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx1)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety1(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety1)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setx2(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx2)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety2(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety2)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegCurvetoCubicRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegCurvetoCubicRel> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegCurvetoCubicRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegCurvetoCubicRel> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegCurvetoCubicRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegCurvetoCubicRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegCurvetoCubicRel> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegCurvetoCubicRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegCurvetoCubicRel> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegCurvetoCubicRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegCurvetoCubicRel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegCurvetoCubicRel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegCurvetoCubicRel {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegCurvetoCubicRel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegCurvetoCubicRel").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegCurvetoCubicRel { - type Vtable = ISVGPathSegCurvetoCubicRel_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510503_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegCurvetoCubicRel_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setx1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setx2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegCurvetoCubicSmoothAbs(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegCurvetoCubicSmoothAbs { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setx2(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx2)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety2(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety2)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegCurvetoCubicSmoothAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegCurvetoCubicSmoothAbs> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegCurvetoCubicSmoothAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegCurvetoCubicSmoothAbs> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegCurvetoCubicSmoothAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegCurvetoCubicSmoothAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegCurvetoCubicSmoothAbs> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegCurvetoCubicSmoothAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegCurvetoCubicSmoothAbs> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegCurvetoCubicSmoothAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegCurvetoCubicSmoothAbs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegCurvetoCubicSmoothAbs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegCurvetoCubicSmoothAbs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegCurvetoCubicSmoothAbs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegCurvetoCubicSmoothAbs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegCurvetoCubicSmoothAbs { - type Vtable = ISVGPathSegCurvetoCubicSmoothAbs_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051050c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegCurvetoCubicSmoothAbs_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setx2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegCurvetoCubicSmoothRel(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegCurvetoCubicSmoothRel { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setx2(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx2)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety2(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety2)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegCurvetoCubicSmoothRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegCurvetoCubicSmoothRel> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegCurvetoCubicSmoothRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegCurvetoCubicSmoothRel> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegCurvetoCubicSmoothRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegCurvetoCubicSmoothRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegCurvetoCubicSmoothRel> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegCurvetoCubicSmoothRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegCurvetoCubicSmoothRel> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegCurvetoCubicSmoothRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegCurvetoCubicSmoothRel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegCurvetoCubicSmoothRel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegCurvetoCubicSmoothRel {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegCurvetoCubicSmoothRel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegCurvetoCubicSmoothRel").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegCurvetoCubicSmoothRel { - type Vtable = ISVGPathSegCurvetoCubicSmoothRel_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051050d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegCurvetoCubicSmoothRel_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setx2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegCurvetoQuadraticAbs(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegCurvetoQuadraticAbs { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setx1(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx1)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety1(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety1)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegCurvetoQuadraticAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegCurvetoQuadraticAbs> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegCurvetoQuadraticAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegCurvetoQuadraticAbs> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegCurvetoQuadraticAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegCurvetoQuadraticAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegCurvetoQuadraticAbs> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegCurvetoQuadraticAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegCurvetoQuadraticAbs> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegCurvetoQuadraticAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegCurvetoQuadraticAbs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegCurvetoQuadraticAbs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegCurvetoQuadraticAbs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegCurvetoQuadraticAbs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegCurvetoQuadraticAbs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegCurvetoQuadraticAbs { - type Vtable = ISVGPathSegCurvetoQuadraticAbs_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510504_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegCurvetoQuadraticAbs_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setx1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegCurvetoQuadraticRel(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegCurvetoQuadraticRel { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setx1(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx1)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety1(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety1)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegCurvetoQuadraticRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegCurvetoQuadraticRel> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegCurvetoQuadraticRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegCurvetoQuadraticRel> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegCurvetoQuadraticRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegCurvetoQuadraticRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegCurvetoQuadraticRel> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegCurvetoQuadraticRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegCurvetoQuadraticRel> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegCurvetoQuadraticRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegCurvetoQuadraticRel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegCurvetoQuadraticRel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegCurvetoQuadraticRel {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegCurvetoQuadraticRel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegCurvetoQuadraticRel").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegCurvetoQuadraticRel { - type Vtable = ISVGPathSegCurvetoQuadraticRel_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510505_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegCurvetoQuadraticRel_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setx1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegCurvetoQuadraticSmoothAbs(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegCurvetoQuadraticSmoothAbs { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegCurvetoQuadraticSmoothAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegCurvetoQuadraticSmoothAbs> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegCurvetoQuadraticSmoothAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegCurvetoQuadraticSmoothAbs> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegCurvetoQuadraticSmoothAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegCurvetoQuadraticSmoothAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegCurvetoQuadraticSmoothAbs> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegCurvetoQuadraticSmoothAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegCurvetoQuadraticSmoothAbs> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegCurvetoQuadraticSmoothAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegCurvetoQuadraticSmoothAbs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegCurvetoQuadraticSmoothAbs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegCurvetoQuadraticSmoothAbs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegCurvetoQuadraticSmoothAbs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegCurvetoQuadraticSmoothAbs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegCurvetoQuadraticSmoothAbs { - type Vtable = ISVGPathSegCurvetoQuadraticSmoothAbs_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051050e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegCurvetoQuadraticSmoothAbs_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegCurvetoQuadraticSmoothRel(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegCurvetoQuadraticSmoothRel { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegCurvetoQuadraticSmoothRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegCurvetoQuadraticSmoothRel> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegCurvetoQuadraticSmoothRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegCurvetoQuadraticSmoothRel> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegCurvetoQuadraticSmoothRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegCurvetoQuadraticSmoothRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegCurvetoQuadraticSmoothRel> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegCurvetoQuadraticSmoothRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegCurvetoQuadraticSmoothRel> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegCurvetoQuadraticSmoothRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegCurvetoQuadraticSmoothRel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegCurvetoQuadraticSmoothRel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegCurvetoQuadraticSmoothRel {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegCurvetoQuadraticSmoothRel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegCurvetoQuadraticSmoothRel").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegCurvetoQuadraticSmoothRel { - type Vtable = ISVGPathSegCurvetoQuadraticSmoothRel_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051050f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegCurvetoQuadraticSmoothRel_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegLinetoAbs(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegLinetoAbs { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegLinetoAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegLinetoAbs> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegLinetoAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegLinetoAbs> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegLinetoAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegLinetoAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegLinetoAbs> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegLinetoAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegLinetoAbs> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegLinetoAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegLinetoAbs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegLinetoAbs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegLinetoAbs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegLinetoAbs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegLinetoAbs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegLinetoAbs { - type Vtable = ISVGPathSegLinetoAbs_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510500_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegLinetoAbs_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegLinetoHorizontalAbs(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegLinetoHorizontalAbs { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegLinetoHorizontalAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegLinetoHorizontalAbs> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegLinetoHorizontalAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegLinetoHorizontalAbs> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegLinetoHorizontalAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegLinetoHorizontalAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegLinetoHorizontalAbs> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegLinetoHorizontalAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegLinetoHorizontalAbs> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegLinetoHorizontalAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegLinetoHorizontalAbs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegLinetoHorizontalAbs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegLinetoHorizontalAbs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegLinetoHorizontalAbs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegLinetoHorizontalAbs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegLinetoHorizontalAbs { - type Vtable = ISVGPathSegLinetoHorizontalAbs_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510508_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegLinetoHorizontalAbs_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegLinetoHorizontalRel(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegLinetoHorizontalRel { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegLinetoHorizontalRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegLinetoHorizontalRel> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegLinetoHorizontalRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegLinetoHorizontalRel> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegLinetoHorizontalRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegLinetoHorizontalRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegLinetoHorizontalRel> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegLinetoHorizontalRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegLinetoHorizontalRel> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegLinetoHorizontalRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegLinetoHorizontalRel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegLinetoHorizontalRel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegLinetoHorizontalRel {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegLinetoHorizontalRel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegLinetoHorizontalRel").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegLinetoHorizontalRel { - type Vtable = ISVGPathSegLinetoHorizontalRel_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510509_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegLinetoHorizontalRel_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegLinetoRel(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegLinetoRel { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegLinetoRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegLinetoRel> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegLinetoRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegLinetoRel> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegLinetoRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegLinetoRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegLinetoRel> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegLinetoRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegLinetoRel> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegLinetoRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegLinetoRel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegLinetoRel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegLinetoRel {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegLinetoRel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegLinetoRel").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegLinetoRel { - type Vtable = ISVGPathSegLinetoRel_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510501_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegLinetoRel_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegLinetoVerticalAbs(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegLinetoVerticalAbs { - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegLinetoVerticalAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegLinetoVerticalAbs> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegLinetoVerticalAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegLinetoVerticalAbs> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegLinetoVerticalAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegLinetoVerticalAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegLinetoVerticalAbs> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegLinetoVerticalAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegLinetoVerticalAbs> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegLinetoVerticalAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegLinetoVerticalAbs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegLinetoVerticalAbs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegLinetoVerticalAbs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegLinetoVerticalAbs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegLinetoVerticalAbs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegLinetoVerticalAbs { - type Vtable = ISVGPathSegLinetoVerticalAbs_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051050a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegLinetoVerticalAbs_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegLinetoVerticalRel(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegLinetoVerticalRel { - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegLinetoVerticalRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegLinetoVerticalRel> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegLinetoVerticalRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegLinetoVerticalRel> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegLinetoVerticalRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegLinetoVerticalRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegLinetoVerticalRel> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegLinetoVerticalRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegLinetoVerticalRel> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegLinetoVerticalRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegLinetoVerticalRel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegLinetoVerticalRel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegLinetoVerticalRel {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegLinetoVerticalRel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegLinetoVerticalRel").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegLinetoVerticalRel { - type Vtable = ISVGPathSegLinetoVerticalRel_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051050b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegLinetoVerticalRel_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegList(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegList { - pub unsafe fn SetnumberOfItems(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetnumberOfItems)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn numberOfItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).numberOfItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clear(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn initialize<'a, P0>(&self, newitem: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPathSeg>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).initialize)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn insertItemBefore<'a, P0>(&self, newitem: P0, index: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPathSeg>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertItemBefore)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn replaceItem<'a, P0>(&self, newitem: P0, index: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPathSeg>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).replaceItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn removeItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn appendItem<'a, P0>(&self, newitem: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPathSeg>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).appendItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegList> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegList> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegList> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegList> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegList { - type Vtable = ISVGPathSegList_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510510_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegList_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetnumberOfItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub numberOfItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - initialize: usize, - #[cfg(feature = "Win32_System_Com")] - pub getItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub insertItemBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - insertItemBefore: usize, - #[cfg(feature = "Win32_System_Com")] - pub replaceItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - replaceItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub removeItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - removeItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub appendItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - appendItem: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegMovetoAbs(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegMovetoAbs { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegMovetoAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegMovetoAbs> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegMovetoAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegMovetoAbs> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegMovetoAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegMovetoAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegMovetoAbs> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegMovetoAbs) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegMovetoAbs> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegMovetoAbs) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegMovetoAbs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegMovetoAbs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegMovetoAbs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegMovetoAbs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegMovetoAbs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegMovetoAbs { - type Vtable = ISVGPathSegMovetoAbs_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104fe_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegMovetoAbs_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPathSegMovetoRel(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPathSegMovetoRel { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPathSegMovetoRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegMovetoRel> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPathSegMovetoRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegMovetoRel> for ::windows::core::IUnknown { - fn from(value: &ISVGPathSegMovetoRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPathSegMovetoRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPathSegMovetoRel> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPathSegMovetoRel) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPathSegMovetoRel> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPathSegMovetoRel) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPathSegMovetoRel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPathSegMovetoRel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPathSegMovetoRel {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPathSegMovetoRel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPathSegMovetoRel").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPathSegMovetoRel { - type Vtable = ISVGPathSegMovetoRel_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104ff_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPathSegMovetoRel_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPatternElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPatternElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_patternUnits<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedEnumeration>>, - { - (::windows::core::Interface::vtable(self).putref_patternUnits)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn patternUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).patternUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_patternContentUnits<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedEnumeration>>, - { - (::windows::core::Interface::vtable(self).putref_patternContentUnits)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn patternContentUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).patternContentUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_patternTransform<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedTransformList>>, - { - (::windows::core::Interface::vtable(self).putref_patternTransform)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn patternTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).patternTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_x<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_x)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_y<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_y)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_width<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_width)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_height<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_height)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPatternElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPatternElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPatternElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPatternElement> for ::windows::core::IUnknown { - fn from(value: &ISVGPatternElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPatternElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPatternElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPatternElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPatternElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPatternElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPatternElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPatternElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPatternElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPatternElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPatternElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPatternElement { - type Vtable = ISVGPatternElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051052c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPatternElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_patternUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_patternUnits: usize, - #[cfg(feature = "Win32_System_Com")] - pub patternUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - patternUnits: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_patternContentUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_patternContentUnits: usize, - #[cfg(feature = "Win32_System_Com")] - pub patternContentUnits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - patternContentUnits: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_patternTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_patternTransform: usize, - #[cfg(feature = "Win32_System_Com")] - pub patternTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - patternTransform: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_x: usize, - #[cfg(feature = "Win32_System_Com")] - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - x: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_y: usize, - #[cfg(feature = "Win32_System_Com")] - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - y: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_width: usize, - #[cfg(feature = "Win32_System_Com")] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - width: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_height: usize, - #[cfg(feature = "Win32_System_Com")] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - height: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPoint(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPoint { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn matrixTransform<'a, P0>(&self, pmatrix: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGMatrix>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).matrixTransform)(::windows::core::Interface::as_raw(self), pmatrix.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPoint) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPoint> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPoint) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPoint> for ::windows::core::IUnknown { - fn from(value: &ISVGPoint) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPoint) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPoint> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPoint) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPoint> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPoint) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPoint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPoint {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPoint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPoint").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPoint { - type Vtable = ISVGPoint_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104f4_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPoint_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub matrixTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pmatrix: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - matrixTransform: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPointList(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPointList { - pub unsafe fn SetnumberOfItems(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetnumberOfItems)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn numberOfItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).numberOfItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clear(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn initialize<'a, P0>(&self, pnewitem: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPoint>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).initialize)(::windows::core::Interface::as_raw(self), pnewitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn insertItemBefore<'a, P0>(&self, pnewitem: P0, index: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPoint>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertItemBefore)(::windows::core::Interface::as_raw(self), pnewitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn replaceItem<'a, P0>(&self, pnewitem: P0, index: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPoint>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).replaceItem)(::windows::core::Interface::as_raw(self), pnewitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn removeItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn appendItem<'a, P0>(&self, pnewitem: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPoint>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).appendItem)(::windows::core::Interface::as_raw(self), pnewitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPointList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPointList> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPointList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPointList> for ::windows::core::IUnknown { - fn from(value: &ISVGPointList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPointList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPointList> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPointList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPointList> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPointList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPointList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPointList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPointList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPointList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPointList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPointList { - type Vtable = ISVGPointList_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104f5_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPointList_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetnumberOfItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub numberOfItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnewitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - initialize: usize, - #[cfg(feature = "Win32_System_Com")] - pub getItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub insertItemBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnewitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - insertItemBefore: usize, - #[cfg(feature = "Win32_System_Com")] - pub replaceItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnewitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - replaceItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub removeItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - removeItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub appendItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnewitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - appendItem: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPolygonElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPolygonElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPolygonElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPolygonElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPolygonElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPolygonElement> for ::windows::core::IUnknown { - fn from(value: &ISVGPolygonElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPolygonElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPolygonElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPolygonElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPolygonElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPolygonElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPolygonElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPolygonElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPolygonElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPolygonElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPolygonElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPolygonElement { - type Vtable = ISVGPolygonElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510519_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPolygonElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPolylineElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPolylineElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPolylineElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPolylineElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPolylineElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPolylineElement> for ::windows::core::IUnknown { - fn from(value: &ISVGPolylineElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPolylineElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPolylineElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPolylineElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPolylineElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPolylineElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPolylineElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPolylineElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPolylineElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPolylineElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPolylineElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPolylineElement { - type Vtable = ISVGPolylineElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510518_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPolylineElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGPreserveAspectRatio(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGPreserveAspectRatio { - pub unsafe fn Setalign(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmeetOrSlice(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetmeetOrSlice)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn meetOrSlice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).meetOrSlice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGPreserveAspectRatio) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPreserveAspectRatio> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGPreserveAspectRatio) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPreserveAspectRatio> for ::windows::core::IUnknown { - fn from(value: &ISVGPreserveAspectRatio) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGPreserveAspectRatio) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGPreserveAspectRatio> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGPreserveAspectRatio) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGPreserveAspectRatio> for super::super::System::Com::IDispatch { - fn from(value: &ISVGPreserveAspectRatio) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGPreserveAspectRatio { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGPreserveAspectRatio { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGPreserveAspectRatio {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGPreserveAspectRatio { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGPreserveAspectRatio").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGPreserveAspectRatio { - type Vtable = ISVGPreserveAspectRatio_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104fa_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGPreserveAspectRatio_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setalign: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub align: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetmeetOrSlice: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub meetOrSlice: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGRadialGradientElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGRadialGradientElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_cx<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_cx)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn cx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_cy<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_cy)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn cy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).cy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_r<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_r)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn r(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_fx<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_fx)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn fx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_fy<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_fy)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn fy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).fy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGRadialGradientElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGRadialGradientElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGRadialGradientElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGRadialGradientElement> for ::windows::core::IUnknown { - fn from(value: &ISVGRadialGradientElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGRadialGradientElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGRadialGradientElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGRadialGradientElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGRadialGradientElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGRadialGradientElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGRadialGradientElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGRadialGradientElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGRadialGradientElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGRadialGradientElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGRadialGradientElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGRadialGradientElement { - type Vtable = ISVGRadialGradientElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051052a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGRadialGradientElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_cx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_cx: usize, - #[cfg(feature = "Win32_System_Com")] - pub cx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - cx: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_cy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_cy: usize, - #[cfg(feature = "Win32_System_Com")] - pub cy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - cy: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_r: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_r: usize, - #[cfg(feature = "Win32_System_Com")] - pub r: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - r: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_fx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_fx: usize, - #[cfg(feature = "Win32_System_Com")] - pub fx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - fx: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_fy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_fy: usize, - #[cfg(feature = "Win32_System_Com")] - pub fy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - fy: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGRect(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGRect { - pub unsafe fn Setx(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setwidth(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setheight(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGRect> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGRect> for ::windows::core::IUnknown { - fn from(value: &ISVGRect) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGRect> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGRect) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGRect> for super::super::System::Com::IDispatch { - fn from(value: &ISVGRect) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGRect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGRect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGRect {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGRect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGRect").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGRect { - type Vtable = ISVGRect_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104d7_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGRect_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Setx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Sety: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setwidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub Setheight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGRectElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGRectElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_x<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_x)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_y<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_y)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_width<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_width)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_height<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_height)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_rx<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_rx)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn rx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_ry<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_ry)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn ry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGRectElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGRectElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGRectElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGRectElement> for ::windows::core::IUnknown { - fn from(value: &ISVGRectElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGRectElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGRectElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGRectElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGRectElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGRectElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGRectElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGRectElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGRectElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGRectElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGRectElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGRectElement { - type Vtable = ISVGRectElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510513_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGRectElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_x: usize, - #[cfg(feature = "Win32_System_Com")] - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - x: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_y: usize, - #[cfg(feature = "Win32_System_Com")] - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - y: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_width: usize, - #[cfg(feature = "Win32_System_Com")] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - width: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_height: usize, - #[cfg(feature = "Win32_System_Com")] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - height: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_rx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_rx: usize, - #[cfg(feature = "Win32_System_Com")] - pub rx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - rx: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_ry: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_ry: usize, - #[cfg(feature = "Win32_System_Com")] - pub ry: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ry: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGSVGElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGSVGElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_x<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_x)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_y<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_y)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_width<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_width)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_height<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_height)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcontentScriptType<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcontentScriptType)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn contentScriptType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).contentScriptType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetcontentStyleType<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetcontentStyleType)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn contentStyleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).contentStyleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_viewport<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGRect>>, - { - (::windows::core::Interface::vtable(self).putref_viewport)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn viewport(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).viewport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpixelUnitToMillimeterX(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetpixelUnitToMillimeterX)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pixelUnitToMillimeterX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pixelUnitToMillimeterX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpixelUnitToMillimeterY(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetpixelUnitToMillimeterY)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pixelUnitToMillimeterY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pixelUnitToMillimeterY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetscreenPixelToMillimeterX(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetscreenPixelToMillimeterX)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn screenPixelToMillimeterX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).screenPixelToMillimeterX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetscreenPixelToMillimeterY(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetscreenPixelToMillimeterY)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn screenPixelToMillimeterY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).screenPixelToMillimeterY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetuseCurrentView(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetuseCurrentView)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn useCurrentView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).useCurrentView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_currentView<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGViewSpec>>, - { - (::windows::core::Interface::vtable(self).putref_currentView)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn currentView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).currentView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetcurrentScale(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetcurrentScale)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn currentScale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).currentScale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_currentTranslate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPoint>>, - { - (::windows::core::Interface::vtable(self).putref_currentTranslate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn currentTranslate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).currentTranslate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn suspendRedraw(&self, maxwaitmilliseconds: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).suspendRedraw)(::windows::core::Interface::as_raw(self), maxwaitmilliseconds, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn unsuspendRedraw(&self, suspendhandeid: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).unsuspendRedraw)(::windows::core::Interface::as_raw(self), suspendhandeid).ok() - } - pub unsafe fn unsuspendRedrawAll(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).unsuspendRedrawAll)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn forceRedraw(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).forceRedraw)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn pauseAnimations(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).pauseAnimations)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn unpauseAnimations(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).unpauseAnimations)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn animationsPaused(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animationsPaused)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn getCurrentTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getCurrentTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn setCurrentTime(&self, seconds: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).setCurrentTime)(::windows::core::Interface::as_raw(self), seconds).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getIntersectionList<'a, P0, P1>(&self, rect: P0, referenceelement: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGRect>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, ISVGElement>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getIntersectionList)(::windows::core::Interface::as_raw(self), rect.into().abi(), referenceelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getEnclosureList<'a, P0, P1>(&self, rect: P0, referenceelement: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGRect>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, ISVGElement>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getEnclosureList)(::windows::core::Interface::as_raw(self), rect.into().abi(), referenceelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn checkIntersection<'a, P0, P1>(&self, element: P0, rect: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGElement>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, ISVGRect>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).checkIntersection)(::windows::core::Interface::as_raw(self), element.into().abi(), rect.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn checkEnclosure<'a, P0, P1>(&self, element: P0, rect: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGElement>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, ISVGRect>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).checkEnclosure)(::windows::core::Interface::as_raw(self), element.into().abi(), rect.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn deselectAll(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).deselectAll)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGAngle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGAngle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGPoint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGMatrix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGMatrix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGTransformFromMatrix<'a, P0>(&self, matrix: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGMatrix>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGTransformFromMatrix)(::windows::core::Interface::as_raw(self), matrix.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub unsafe fn getElementById<'a, P0>(&self, elementid: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getElementById)(::windows::core::Interface::as_raw(self), elementid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGSVGElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGSVGElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGSVGElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGSVGElement> for ::windows::core::IUnknown { - fn from(value: &ISVGSVGElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGSVGElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGSVGElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGSVGElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGSVGElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGSVGElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGSVGElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGSVGElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGSVGElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGSVGElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGSVGElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGSVGElement { - type Vtable = ISVGSVGElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104e7_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGSVGElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_x: usize, - #[cfg(feature = "Win32_System_Com")] - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - x: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_y: usize, - #[cfg(feature = "Win32_System_Com")] - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - y: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_width: usize, - #[cfg(feature = "Win32_System_Com")] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - width: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_height: usize, - #[cfg(feature = "Win32_System_Com")] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - height: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcontentScriptType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcontentScriptType: usize, - #[cfg(feature = "Win32_Foundation")] - pub contentScriptType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - contentScriptType: usize, - #[cfg(feature = "Win32_Foundation")] - pub SetcontentStyleType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetcontentStyleType: usize, - #[cfg(feature = "Win32_Foundation")] - pub contentStyleType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - contentStyleType: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_viewport: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_viewport: usize, - #[cfg(feature = "Win32_System_Com")] - pub viewport: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - viewport: usize, - pub SetpixelUnitToMillimeterX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub pixelUnitToMillimeterX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetpixelUnitToMillimeterY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub pixelUnitToMillimeterY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetscreenPixelToMillimeterX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub screenPixelToMillimeterX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetscreenPixelToMillimeterY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub screenPixelToMillimeterY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - pub SetuseCurrentView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub useCurrentView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub putref_currentView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_currentView: usize, - #[cfg(feature = "Win32_System_Com")] - pub currentView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - currentView: usize, - pub SetcurrentScale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub currentScale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub putref_currentTranslate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_currentTranslate: usize, - #[cfg(feature = "Win32_System_Com")] - pub currentTranslate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - currentTranslate: usize, - pub suspendRedraw: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, maxwaitmilliseconds: u32, presult: *mut u32) -> ::windows::core::HRESULT, - pub unsuspendRedraw: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, suspendhandeid: u32) -> ::windows::core::HRESULT, - pub unsuspendRedrawAll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub forceRedraw: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub pauseAnimations: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub unpauseAnimations: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub animationsPaused: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presult: *mut i16) -> ::windows::core::HRESULT, - pub getCurrentTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presult: *mut f32) -> ::windows::core::HRESULT, - pub setCurrentTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, seconds: f32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getIntersectionList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, rect: *mut ::core::ffi::c_void, referenceelement: *mut ::core::ffi::c_void, presult: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getIntersectionList: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getEnclosureList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, rect: *mut ::core::ffi::c_void, referenceelement: *mut ::core::ffi::c_void, presult: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getEnclosureList: usize, - #[cfg(feature = "Win32_System_Com")] - pub checkIntersection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, element: *mut ::core::ffi::c_void, rect: *mut ::core::ffi::c_void, presult: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - checkIntersection: usize, - #[cfg(feature = "Win32_System_Com")] - pub checkEnclosure: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, element: *mut ::core::ffi::c_void, rect: *mut ::core::ffi::c_void, presult: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - checkEnclosure: usize, - pub deselectAll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub createSVGNumber: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGNumber: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGLength: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGAngle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGAngle: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGPoint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGPoint: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGMatrix: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGMatrix: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGRect: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGTransform: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGTransformFromMatrix: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, matrix: *mut ::core::ffi::c_void, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGTransformFromMatrix: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] - pub getElementById: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, elementid: ::core::mem::ManuallyDrop, presult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] - getElementById: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGScriptElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGScriptElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settype<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGScriptElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGScriptElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGScriptElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGScriptElement> for ::windows::core::IUnknown { - fn from(value: &ISVGScriptElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGScriptElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGScriptElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGScriptElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGScriptElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGScriptElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGScriptElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGScriptElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGScriptElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGScriptElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGScriptElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGScriptElement { - type Vtable = ISVGScriptElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051054d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGScriptElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Settype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settype: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGStopElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGStopElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_offset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedNumber>>, - { - (::windows::core::Interface::vtable(self).putref_offset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn offset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).offset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGStopElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGStopElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGStopElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGStopElement> for ::windows::core::IUnknown { - fn from(value: &ISVGStopElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGStopElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGStopElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGStopElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGStopElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGStopElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGStopElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGStopElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGStopElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGStopElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGStopElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGStopElement { - type Vtable = ISVGStopElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051052b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGStopElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_offset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_offset: usize, - #[cfg(feature = "Win32_System_Com")] - pub offset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - offset: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGStringList(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGStringList { - pub unsafe fn SetnumberOfItems(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetnumberOfItems)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn numberOfItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).numberOfItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clear(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn initialize<'a, P0>(&self, newitem: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).initialize)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn getItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn insertItemBefore<'a, P0>(&self, newitem: P0, index: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertItemBefore)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn replaceItem<'a, P0>(&self, newitem: P0, index: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).replaceItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn removeItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn appendItem<'a, P0>(&self, newitem: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).appendItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGStringList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGStringList> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGStringList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGStringList> for ::windows::core::IUnknown { - fn from(value: &ISVGStringList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGStringList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGStringList> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGStringList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGStringList> for super::super::System::Com::IDispatch { - fn from(value: &ISVGStringList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGStringList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGStringList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGStringList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGStringList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGStringList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGStringList { - type Vtable = ISVGStringList_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104c8_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGStringList_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetnumberOfItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub numberOfItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: ::core::mem::ManuallyDrop, ppresult: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - initialize: usize, - #[cfg(feature = "Win32_Foundation")] - pub getItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - getItem: usize, - #[cfg(feature = "Win32_Foundation")] - pub insertItemBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: ::core::mem::ManuallyDrop, index: i32, ppresult: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - insertItemBefore: usize, - #[cfg(feature = "Win32_Foundation")] - pub replaceItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: ::core::mem::ManuallyDrop, index: i32, ppresult: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - replaceItem: usize, - #[cfg(feature = "Win32_Foundation")] - pub removeItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - removeItem: usize, - #[cfg(feature = "Win32_Foundation")] - pub appendItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: ::core::mem::ManuallyDrop, ppresult: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - appendItem: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGStylable(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGStylable { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn className(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).className)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGStylable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGStylable> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGStylable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGStylable> for ::windows::core::IUnknown { - fn from(value: &ISVGStylable) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGStylable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGStylable> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGStylable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGStylable> for super::super::System::Com::IDispatch { - fn from(value: &ISVGStylable) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGStylable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGStylable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGStylable {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGStylable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGStylable").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGStylable { - type Vtable = ISVGStylable_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104da_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGStylable_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub className: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - className: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGStyleElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGStyleElement { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Settype<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setmedia<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setmedia)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGStyleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGStyleElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGStyleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGStyleElement> for ::windows::core::IUnknown { - fn from(value: &ISVGStyleElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGStyleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGStyleElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGStyleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGStyleElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGStyleElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGStyleElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGStyleElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGStyleElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGStyleElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGStyleElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGStyleElement { - type Vtable = ISVGStyleElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104f3_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGStyleElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub Settype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Settype: usize, - #[cfg(feature = "Win32_Foundation")] - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - r#type: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setmedia: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setmedia: usize, - #[cfg(feature = "Win32_Foundation")] - pub media: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - media: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGSwitchElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGSwitchElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGSwitchElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGSwitchElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGSwitchElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGSwitchElement> for ::windows::core::IUnknown { - fn from(value: &ISVGSwitchElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGSwitchElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGSwitchElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGSwitchElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGSwitchElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGSwitchElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGSwitchElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGSwitchElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGSwitchElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGSwitchElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGSwitchElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGSwitchElement { - type Vtable = ISVGSwitchElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104f1_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGSwitchElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGSymbolElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGSymbolElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGSymbolElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGSymbolElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGSymbolElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGSymbolElement> for ::windows::core::IUnknown { - fn from(value: &ISVGSymbolElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGSymbolElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGSymbolElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGSymbolElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGSymbolElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGSymbolElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGSymbolElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGSymbolElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGSymbolElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGSymbolElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGSymbolElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGSymbolElement { - type Vtable = ISVGSymbolElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104ec_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGSymbolElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGTSpanElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGTSpanElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGTSpanElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTSpanElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGTSpanElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTSpanElement> for ::windows::core::IUnknown { - fn from(value: &ISVGTSpanElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGTSpanElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTSpanElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGTSpanElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTSpanElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGTSpanElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGTSpanElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGTSpanElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGTSpanElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGTSpanElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGTSpanElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGTSpanElement { - type Vtable = ISVGTSpanElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051051d_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGTSpanElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGTests(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGTests { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn requiredFeatures(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).requiredFeatures)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn requiredExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).requiredExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn systemLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).systemLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn hasExtension<'a, P0>(&self, extension: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).hasExtension)(::windows::core::Interface::as_raw(self), extension.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGTests) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTests> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGTests) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTests> for ::windows::core::IUnknown { - fn from(value: &ISVGTests) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGTests) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTests> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGTests) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTests> for super::super::System::Com::IDispatch { - fn from(value: &ISVGTests) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGTests { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGTests { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGTests {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGTests { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGTests").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGTests { - type Vtable = ISVGTests_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104dd_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGTests_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub requiredFeatures: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - requiredFeatures: usize, - #[cfg(feature = "Win32_System_Com")] - pub requiredExtensions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - requiredExtensions: usize, - #[cfg(feature = "Win32_System_Com")] - pub systemLanguage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - systemLanguage: usize, - #[cfg(feature = "Win32_Foundation")] - pub hasExtension: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, extension: ::core::mem::ManuallyDrop, presult: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - hasExtension: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGTextContentElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGTextContentElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_textLength<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_textLength)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn textLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).textLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_lengthAdjust<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedEnumeration>>, - { - (::windows::core::Interface::vtable(self).putref_lengthAdjust)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn lengthAdjust(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).lengthAdjust)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn getNumberOfChars(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getNumberOfChars)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn getComputedTextLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getComputedTextLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn getSubStringLength(&self, charnum: i32, nchars: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getSubStringLength)(::windows::core::Interface::as_raw(self), charnum, nchars, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getStartPositionOfChar(&self, charnum: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getStartPositionOfChar)(::windows::core::Interface::as_raw(self), charnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getEndPositionOfChar(&self, charnum: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getEndPositionOfChar)(::windows::core::Interface::as_raw(self), charnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getExtentOfChar(&self, charnum: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getExtentOfChar)(::windows::core::Interface::as_raw(self), charnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn getRotationOfChar(&self, charnum: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getRotationOfChar)(::windows::core::Interface::as_raw(self), charnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getCharNumAtPosition<'a, P0>(&self, point: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPoint>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getCharNumAtPosition)(::windows::core::Interface::as_raw(self), point.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn selectSubString(&self, charnum: i32, nchars: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).selectSubString)(::windows::core::Interface::as_raw(self), charnum, nchars).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGTextContentElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTextContentElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGTextContentElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTextContentElement> for ::windows::core::IUnknown { - fn from(value: &ISVGTextContentElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGTextContentElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTextContentElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGTextContentElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTextContentElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGTextContentElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGTextContentElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGTextContentElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGTextContentElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGTextContentElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGTextContentElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGTextContentElement { - type Vtable = ISVGTextContentElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051051a_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGTextContentElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_textLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_textLength: usize, - #[cfg(feature = "Win32_System_Com")] - pub textLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - textLength: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_lengthAdjust: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_lengthAdjust: usize, - #[cfg(feature = "Win32_System_Com")] - pub lengthAdjust: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - lengthAdjust: usize, - pub getNumberOfChars: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presult: *mut i32) -> ::windows::core::HRESULT, - pub getComputedTextLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presult: *mut f32) -> ::windows::core::HRESULT, - pub getSubStringLength: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, charnum: i32, nchars: i32, presult: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub getStartPositionOfChar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, charnum: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getStartPositionOfChar: usize, - #[cfg(feature = "Win32_System_Com")] - pub getEndPositionOfChar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, charnum: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getEndPositionOfChar: usize, - #[cfg(feature = "Win32_System_Com")] - pub getExtentOfChar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, charnum: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getExtentOfChar: usize, - pub getRotationOfChar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, charnum: i32, presult: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub getCharNumAtPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, point: *mut ::core::ffi::c_void, presult: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getCharNumAtPosition: usize, - pub selectSubString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, charnum: i32, nchars: i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGTextElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGTextElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGTextElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTextElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGTextElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTextElement> for ::windows::core::IUnknown { - fn from(value: &ISVGTextElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGTextElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTextElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGTextElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTextElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGTextElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGTextElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGTextElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGTextElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGTextElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGTextElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGTextElement { - type Vtable = ISVGTextElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051051c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGTextElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGTextPathElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGTextPathElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_startOffset<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_startOffset)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn startOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).startOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_method<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedEnumeration>>, - { - (::windows::core::Interface::vtable(self).putref_method)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn method(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).method)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_spacing<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedEnumeration>>, - { - (::windows::core::Interface::vtable(self).putref_spacing)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn spacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).spacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGTextPathElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTextPathElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGTextPathElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTextPathElement> for ::windows::core::IUnknown { - fn from(value: &ISVGTextPathElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGTextPathElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTextPathElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGTextPathElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTextPathElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGTextPathElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGTextPathElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGTextPathElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGTextPathElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGTextPathElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGTextPathElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGTextPathElement { - type Vtable = ISVGTextPathElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051051f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGTextPathElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_startOffset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_startOffset: usize, - #[cfg(feature = "Win32_System_Com")] - pub startOffset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - startOffset: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_method: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_method: usize, - #[cfg(feature = "Win32_System_Com")] - pub method: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - method: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_spacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_spacing: usize, - #[cfg(feature = "Win32_System_Com")] - pub spacing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - spacing: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGTextPositioningElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGTextPositioningElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_x<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLengthList>>, - { - (::windows::core::Interface::vtable(self).putref_x)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_y<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLengthList>>, - { - (::windows::core::Interface::vtable(self).putref_y)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_dx<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLengthList>>, - { - (::windows::core::Interface::vtable(self).putref_dx)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn dx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_dy<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLengthList>>, - { - (::windows::core::Interface::vtable(self).putref_dy)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn dy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).dy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_rotate<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedNumberList>>, - { - (::windows::core::Interface::vtable(self).putref_rotate)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn rotate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).rotate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGTextPositioningElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTextPositioningElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGTextPositioningElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTextPositioningElement> for ::windows::core::IUnknown { - fn from(value: &ISVGTextPositioningElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGTextPositioningElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTextPositioningElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGTextPositioningElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTextPositioningElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGTextPositioningElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGTextPositioningElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGTextPositioningElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGTextPositioningElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGTextPositioningElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGTextPositioningElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGTextPositioningElement { - type Vtable = ISVGTextPositioningElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051051b_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGTextPositioningElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_x: usize, - #[cfg(feature = "Win32_System_Com")] - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - x: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_y: usize, - #[cfg(feature = "Win32_System_Com")] - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - y: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_dx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_dx: usize, - #[cfg(feature = "Win32_System_Com")] - pub dx: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - dx: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_dy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_dy: usize, - #[cfg(feature = "Win32_System_Com")] - pub dy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - dy: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_rotate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_rotate: usize, - #[cfg(feature = "Win32_System_Com")] - pub rotate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - rotate: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGTitleElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGTitleElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGTitleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTitleElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGTitleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTitleElement> for ::windows::core::IUnknown { - fn from(value: &ISVGTitleElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGTitleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTitleElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGTitleElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTitleElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGTitleElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGTitleElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGTitleElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGTitleElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGTitleElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGTitleElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGTitleElement { - type Vtable = ISVGTitleElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104eb_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGTitleElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGTransform(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGTransform { - pub unsafe fn Settype(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_matrix<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGMatrix>>, - { - (::windows::core::Interface::vtable(self).putref_matrix)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn matrix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).matrix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setangle(&self, v: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setangle)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn angle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).angle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn setMatrix<'a, P0>(&self, matrix: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGMatrix>>, - { - (::windows::core::Interface::vtable(self).setMatrix)(::windows::core::Interface::as_raw(self), matrix.into().abi()).ok() - } - pub unsafe fn setTranslate(&self, tx: f32, ty: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).setTranslate)(::windows::core::Interface::as_raw(self), tx, ty).ok() - } - pub unsafe fn setScale(&self, sx: f32, sy: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).setScale)(::windows::core::Interface::as_raw(self), sx, sy).ok() - } - pub unsafe fn setRotate(&self, angle: f32, cx: f32, cy: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).setRotate)(::windows::core::Interface::as_raw(self), angle, cx, cy).ok() - } - pub unsafe fn setSkewX(&self, angle: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).setSkewX)(::windows::core::Interface::as_raw(self), angle).ok() - } - pub unsafe fn setSkewY(&self, angle: f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).setSkewY)(::windows::core::Interface::as_raw(self), angle).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGTransform) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTransform> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGTransform) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTransform> for ::windows::core::IUnknown { - fn from(value: &ISVGTransform) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGTransform) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTransform> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGTransform) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTransform> for super::super::System::Com::IDispatch { - fn from(value: &ISVGTransform) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGTransform {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGTransform").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGTransform { - type Vtable = ISVGTransform_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104f7_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGTransform_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Settype: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub r#type: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub putref_matrix: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_matrix: usize, - #[cfg(feature = "Win32_System_Com")] - pub matrix: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - matrix: usize, - pub Setangle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: f32) -> ::windows::core::HRESULT, - pub angle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub setMatrix: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, matrix: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - setMatrix: usize, - pub setTranslate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, tx: f32, ty: f32) -> ::windows::core::HRESULT, - pub setScale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sx: f32, sy: f32) -> ::windows::core::HRESULT, - pub setRotate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, angle: f32, cx: f32, cy: f32) -> ::windows::core::HRESULT, - pub setSkewX: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, angle: f32) -> ::windows::core::HRESULT, - pub setSkewY: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, angle: f32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGTransformList(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGTransformList { - pub unsafe fn SetnumberOfItems(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetnumberOfItems)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn numberOfItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).numberOfItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clear(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn initialize<'a, P0>(&self, newitem: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGTransform>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).initialize)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn insertItemBefore<'a, P0>(&self, newitem: P0, index: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGTransform>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).insertItemBefore)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn replaceItem<'a, P0>(&self, newitem: P0, index: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGTransform>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).replaceItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn removeItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).removeItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn appendItem<'a, P0>(&self, newitem: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGTransform>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).appendItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn createSVGTransformFromMatrix<'a, P0>(&self, newitem: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGMatrix>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).createSVGTransformFromMatrix)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn consolidate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).consolidate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGTransformList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTransformList> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGTransformList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTransformList> for ::windows::core::IUnknown { - fn from(value: &ISVGTransformList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGTransformList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTransformList> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGTransformList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTransformList> for super::super::System::Com::IDispatch { - fn from(value: &ISVGTransformList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGTransformList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGTransformList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGTransformList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGTransformList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGTransformList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGTransformList { - type Vtable = ISVGTransformList_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104f8_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGTransformList_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetnumberOfItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub numberOfItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - initialize: usize, - #[cfg(feature = "Win32_System_Com")] - pub getItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub insertItemBefore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - insertItemBefore: usize, - #[cfg(feature = "Win32_System_Com")] - pub replaceItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - replaceItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub removeItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: i32, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - removeItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub appendItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - appendItem: usize, - #[cfg(feature = "Win32_System_Com")] - pub createSVGTransformFromMatrix: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, newitem: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - createSVGTransformFromMatrix: usize, - #[cfg(feature = "Win32_System_Com")] - pub consolidate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - consolidate: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGTransformable(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGTransformable { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn transform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).transform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGTransformable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTransformable> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGTransformable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTransformable> for ::windows::core::IUnknown { - fn from(value: &ISVGTransformable) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGTransformable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGTransformable> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGTransformable) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGTransformable> for super::super::System::Com::IDispatch { - fn from(value: &ISVGTransformable) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGTransformable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGTransformable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGTransformable {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGTransformable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGTransformable").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGTransformable { - type Vtable = ISVGTransformable_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104dc_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGTransformable_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub transform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - transform: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGURIReference(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGURIReference { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGURIReference) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGURIReference> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGURIReference) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGURIReference> for ::windows::core::IUnknown { - fn from(value: &ISVGURIReference) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGURIReference) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGURIReference> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGURIReference) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGURIReference> for super::super::System::Com::IDispatch { - fn from(value: &ISVGURIReference) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGURIReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGURIReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGURIReference {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGURIReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGURIReference").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGURIReference { - type Vtable = ISVGURIReference_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104e3_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGURIReference_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub href: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - href: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGUseElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGUseElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_x<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_x)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_y<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_y)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_width<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_width)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_height<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGAnimatedLength>>, - { - (::windows::core::Interface::vtable(self).putref_height)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_instanceRoot<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGElementInstance>>, - { - (::windows::core::Interface::vtable(self).putref_instanceRoot)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn instanceRoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).instanceRoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_animatedInstanceRoot<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGElementInstance>>, - { - (::windows::core::Interface::vtable(self).putref_animatedInstanceRoot)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn animatedInstanceRoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).animatedInstanceRoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGUseElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGUseElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGUseElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGUseElement> for ::windows::core::IUnknown { - fn from(value: &ISVGUseElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGUseElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGUseElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGUseElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGUseElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGUseElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGUseElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGUseElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGUseElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGUseElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGUseElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGUseElement { - type Vtable = ISVGUseElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104ed_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGUseElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_x: usize, - #[cfg(feature = "Win32_System_Com")] - pub x: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - x: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_y: usize, - #[cfg(feature = "Win32_System_Com")] - pub y: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - y: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_width: usize, - #[cfg(feature = "Win32_System_Com")] - pub width: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - width: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_height: usize, - #[cfg(feature = "Win32_System_Com")] - pub height: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - height: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_instanceRoot: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_instanceRoot: usize, - #[cfg(feature = "Win32_System_Com")] - pub instanceRoot: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - instanceRoot: usize, - #[cfg(feature = "Win32_System_Com")] - pub putref_animatedInstanceRoot: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_animatedInstanceRoot: usize, - #[cfg(feature = "Win32_System_Com")] - pub animatedInstanceRoot: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - animatedInstanceRoot: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGViewElement(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGViewElement { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn putref_viewTarget<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGStringList>>, - { - (::windows::core::Interface::vtable(self).putref_viewTarget)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn viewTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).viewTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGViewElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGViewElement> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGViewElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGViewElement> for ::windows::core::IUnknown { - fn from(value: &ISVGViewElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGViewElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGViewElement> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGViewElement) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGViewElement> for super::super::System::Com::IDispatch { - fn from(value: &ISVGViewElement) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGViewElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGViewElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGViewElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGViewElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGViewElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGViewElement { - type Vtable = ISVGViewElement_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051054c_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGViewElement_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub putref_viewTarget: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - putref_viewTarget: usize, - #[cfg(feature = "Win32_System_Com")] - pub viewTarget: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - viewTarget: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGViewSpec(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGViewSpec {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGViewSpec) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGViewSpec> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGViewSpec) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGViewSpec> for ::windows::core::IUnknown { - fn from(value: &ISVGViewSpec) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGViewSpec) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGViewSpec> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGViewSpec) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGViewSpec> for super::super::System::Com::IDispatch { - fn from(value: &ISVGViewSpec) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGViewSpec { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGViewSpec { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGViewSpec {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGViewSpec { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGViewSpec").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGViewSpec { - type Vtable = ISVGViewSpec_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104e2_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGViewSpec_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGZoomAndPan(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGZoomAndPan { - pub unsafe fn zoomAndPan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).zoomAndPan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGZoomAndPan) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGZoomAndPan> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGZoomAndPan) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGZoomAndPan> for ::windows::core::IUnknown { - fn from(value: &ISVGZoomAndPan) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGZoomAndPan) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGZoomAndPan> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGZoomAndPan) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGZoomAndPan> for super::super::System::Com::IDispatch { - fn from(value: &ISVGZoomAndPan) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGZoomAndPan { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGZoomAndPan { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGZoomAndPan {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGZoomAndPan { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGZoomAndPan").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGZoomAndPan { - type Vtable = ISVGZoomAndPan_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104e1_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGZoomAndPan_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub zoomAndPan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ISVGZoomEvent(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ISVGZoomEvent { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn zoomRectScreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).zoomRectScreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn previousScale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).previousScale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn previousTranslate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).previousTranslate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn newScale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).newScale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn newTranslate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).newTranslate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISVGZoomEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGZoomEvent> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISVGZoomEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGZoomEvent> for ::windows::core::IUnknown { - fn from(value: &ISVGZoomEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ISVGZoomEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ISVGZoomEvent> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ISVGZoomEvent) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ISVGZoomEvent> for super::super::System::Com::IDispatch { - fn from(value: &ISVGZoomEvent) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISVGZoomEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISVGZoomEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISVGZoomEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISVGZoomEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISVGZoomEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ISVGZoomEvent { - type Vtable = ISVGZoomEvent_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051054e_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ISVGZoomEvent_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub zoomRectScreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - zoomRectScreen: usize, - pub previousScale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub previousTranslate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - previousTranslate: usize, - pub newScale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub newTranslate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - newTranslate: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IScriptEventHandler(::windows::core::IUnknown); -impl IScriptEventHandler { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn FunctionName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).FunctionName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn DebugDocumentContext(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).DebugDocumentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn EventHandlerDispatch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).EventHandlerDispatch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn UsesCapture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).UsesCapture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Cookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Cookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IScriptEventHandler) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IScriptEventHandler> for &'a ::windows::core::IUnknown { - fn from(value: &'a IScriptEventHandler) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IScriptEventHandler> for ::windows::core::IUnknown { - fn from(value: &IScriptEventHandler) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IScriptEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IScriptEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IScriptEventHandler {} -impl ::core::fmt::Debug for IScriptEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScriptEventHandler").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IScriptEventHandler { - type Vtable = IScriptEventHandler_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051083a_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IScriptEventHandler_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub FunctionName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrfunctionname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - FunctionName: usize, - pub DebugDocumentContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppdebugdocumentcontext: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub EventHandlerDispatch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppdisphandler: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - EventHandlerDispatch: usize, - #[cfg(feature = "Win32_Foundation")] - pub UsesCapture: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfusescapture: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - UsesCapture: usize, - pub Cookie: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pullcookie: *mut u64) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IScriptEventHandlerSourceInfo(::windows::core::IUnknown); -impl IScriptEventHandlerSourceInfo { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetSourceInfo(&self, pbstrfunctionname: *mut super::super::Foundation::BSTR, line: *mut u32, column: *mut u32, cchlength: *mut u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).GetSourceInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbstrfunctionname), ::core::mem::transmute(line), ::core::mem::transmute(column), ::core::mem::transmute(cchlength)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IScriptEventHandlerSourceInfo) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IScriptEventHandlerSourceInfo> for &'a ::windows::core::IUnknown { - fn from(value: &'a IScriptEventHandlerSourceInfo) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IScriptEventHandlerSourceInfo> for ::windows::core::IUnknown { - fn from(value: &IScriptEventHandlerSourceInfo) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IScriptEventHandlerSourceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IScriptEventHandlerSourceInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IScriptEventHandlerSourceInfo {} -impl ::core::fmt::Debug for IScriptEventHandlerSourceInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScriptEventHandlerSourceInfo").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IScriptEventHandlerSourceInfo { - type Vtable = IScriptEventHandlerSourceInfo_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510841_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IScriptEventHandlerSourceInfo_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub GetSourceInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstrfunctionname: *mut super::super::Foundation::BSTR, line: *mut u32, column: *mut u32, cchlength: *mut u32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetSourceInfo: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IScrollableContextMenu(::windows::core::IUnknown); -impl IScrollableContextMenu { - pub unsafe fn AddItem<'a, P0>(&self, itemtext: P0, cmdid: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).AddItem)(::windows::core::Interface::as_raw(self), itemtext.into(), cmdid).ok() - } - pub unsafe fn ShowModal(&self, x: i32, y: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ShowModal)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IScrollableContextMenu) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IScrollableContextMenu> for &'a ::windows::core::IUnknown { - fn from(value: &'a IScrollableContextMenu) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IScrollableContextMenu> for ::windows::core::IUnknown { - fn from(value: &IScrollableContextMenu) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IScrollableContextMenu { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IScrollableContextMenu { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IScrollableContextMenu {} -impl ::core::fmt::Debug for IScrollableContextMenu { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScrollableContextMenu").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IScrollableContextMenu { - type Vtable = IScrollableContextMenu_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510854_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IScrollableContextMenu_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub AddItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, itemtext: ::windows::core::PCWSTR, cmdid: u32) -> ::windows::core::HRESULT, - pub ShowModal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: i32, y: i32, cmdid: *mut u32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IScrollableContextMenu2(::windows::core::IUnknown); -impl IScrollableContextMenu2 { - pub unsafe fn AddItem<'a, P0>(&self, itemtext: P0, cmdid: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).base__.AddItem)(::windows::core::Interface::as_raw(self), itemtext.into(), cmdid).ok() - } - pub unsafe fn ShowModal(&self, x: i32, y: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.ShowModal)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn AddSeparator(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).AddSeparator)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn SetPlacement(&self, scmp: SCROLLABLECONTEXTMENU_PLACEMENT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetPlacement)(::windows::core::Interface::as_raw(self), scmp).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IScrollableContextMenu2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IScrollableContextMenu2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IScrollableContextMenu2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IScrollableContextMenu2> for ::windows::core::IUnknown { - fn from(value: &IScrollableContextMenu2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for IScrollableContextMenu { - fn from(value: IScrollableContextMenu2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IScrollableContextMenu2> for &'a IScrollableContextMenu { - fn from(value: &'a IScrollableContextMenu2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IScrollableContextMenu2> for IScrollableContextMenu { - fn from(value: &IScrollableContextMenu2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IScrollableContextMenu2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IScrollableContextMenu2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IScrollableContextMenu2 {} -impl ::core::fmt::Debug for IScrollableContextMenu2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScrollableContextMenu2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IScrollableContextMenu2 { - type Vtable = IScrollableContextMenu2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xf77e9056_8674_4936_924c_0e4a06fa634a); -} -#[repr(C)] -#[doc(hidden)] -pub struct IScrollableContextMenu2_Vtbl { - pub base__: IScrollableContextMenu_Vtbl, - pub AddSeparator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub SetPlacement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, scmp: SCROLLABLECONTEXTMENU_PLACEMENT) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ISecureUrlHost(::windows::core::IUnknown); -impl ISecureUrlHost { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ValidateSecureUrl<'a, P0>(&self, pfallow: *mut super::super::Foundation::BOOL, pchurlinquestion: P0, dwflags: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).ValidateSecureUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pfallow), pchurlinquestion.into(), dwflags).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISecureUrlHost) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ISecureUrlHost> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISecureUrlHost) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ISecureUrlHost> for ::windows::core::IUnknown { - fn from(value: &ISecureUrlHost) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ISecureUrlHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ISecureUrlHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISecureUrlHost {} -impl ::core::fmt::Debug for ISecureUrlHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISecureUrlHost").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ISecureUrlHost { - type Vtable = ISecureUrlHost_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc81984c4_74c8_11d2_baa9_00c04fc2040e); -} -#[repr(C)] -#[doc(hidden)] -pub struct ISecureUrlHost_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub ValidateSecureUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfallow: *mut super::super::Foundation::BOOL, pchurlinquestion: ::windows::core::PCWSTR, dwflags: u32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ValidateSecureUrl: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ISegment(::windows::core::IUnknown); -impl ISegment { - pub unsafe fn GetPointers<'a, P0, P1>(&self, pistart: P0, piend: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).GetPointers)(::windows::core::Interface::as_raw(self), pistart.into().abi(), piend.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISegment) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ISegment> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISegment) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ISegment> for ::windows::core::IUnknown { - fn from(value: &ISegment) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ISegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ISegment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISegment {} -impl ::core::fmt::Debug for ISegment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISegment").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ISegment { - type Vtable = ISegment_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f683_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ISegment_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub GetPointers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pistart: *mut ::core::ffi::c_void, piend: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ISegmentList(::windows::core::IUnknown); -impl ISegmentList { - pub unsafe fn CreateIterator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CreateIterator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsEmpty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsEmpty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISegmentList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ISegmentList> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISegmentList) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ISegmentList> for ::windows::core::IUnknown { - fn from(value: &ISegmentList) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ISegmentList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ISegmentList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISegmentList {} -impl ::core::fmt::Debug for ISegmentList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISegmentList").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ISegmentList { - type Vtable = ISegmentList_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f605_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ISegmentList_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub CreateIterator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppiiter: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub GetType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, petype: *mut SELECTION_TYPE) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub IsEmpty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfempty: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsEmpty: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ISegmentListIterator(::windows::core::IUnknown); -impl ISegmentListIterator { - pub unsafe fn Current(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Current)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn First(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).First)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn IsDone(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).IsDone)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn Advance(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Advance)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISegmentListIterator) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ISegmentListIterator> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISegmentListIterator) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ISegmentListIterator> for ::windows::core::IUnknown { - fn from(value: &ISegmentListIterator) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ISegmentListIterator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ISegmentListIterator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISegmentListIterator {} -impl ::core::fmt::Debug for ISegmentListIterator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISegmentListIterator").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ISegmentListIterator { - type Vtable = ISegmentListIterator_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f692_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ISegmentListIterator_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub Current: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppisegment: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub First: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub IsDone: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub Advance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ISelectionServices(::windows::core::IUnknown); -impl ISelectionServices { - pub unsafe fn SetSelectionType<'a, P0>(&self, etype: SELECTION_TYPE, pilistener: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISelectionServicesListener>>, - { - (::windows::core::Interface::vtable(self).SetSelectionType)(::windows::core::Interface::as_raw(self), etype, pilistener.into().abi()).ok() - } - pub unsafe fn GetMarkupContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetMarkupContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn AddSegment<'a, P0, P1>(&self, pistart: P0, piend: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).AddSegment)(::windows::core::Interface::as_raw(self), pistart.into().abi(), piend.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn AddElementSegment<'a, P0>(&self, pielement: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).AddElementSegment)(::windows::core::Interface::as_raw(self), pielement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn RemoveSegment<'a, P0>(&self, pisegment: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISegment>>, - { - (::windows::core::Interface::vtable(self).RemoveSegment)(::windows::core::Interface::as_raw(self), pisegment.into().abi()).ok() - } - pub unsafe fn GetSelectionServicesListener(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetSelectionServicesListener)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISelectionServices) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ISelectionServices> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISelectionServices) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ISelectionServices> for ::windows::core::IUnknown { - fn from(value: &ISelectionServices) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ISelectionServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ISelectionServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISelectionServices {} -impl ::core::fmt::Debug for ISelectionServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISelectionServices").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ISelectionServices { - type Vtable = ISelectionServices_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f684_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ISelectionServices_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub SetSelectionType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, etype: SELECTION_TYPE, pilistener: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub GetMarkupContainer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppicontainer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub AddSegment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pistart: *mut ::core::ffi::c_void, piend: *mut ::core::ffi::c_void, ppisegmentadded: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub AddElementSegment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pielement: *mut ::core::ffi::c_void, ppisegmentadded: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - AddElementSegment: usize, - pub RemoveSegment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pisegment: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub GetSelectionServicesListener: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppiselectionserviceslistener: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ISelectionServicesListener(::windows::core::IUnknown); -impl ISelectionServicesListener { - pub unsafe fn BeginSelectionUndo(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).BeginSelectionUndo)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn EndSelectionUndo(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).EndSelectionUndo)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn OnSelectedElementExit<'a, P0, P1, P2, P3>(&self, pielementstart: P0, pielementend: P1, pielementcontentstart: P2, pielementcontentend: P3) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, - { - (::windows::core::Interface::vtable(self).OnSelectedElementExit)(::windows::core::Interface::as_raw(self), pielementstart.into().abi(), pielementend.into().abi(), pielementcontentstart.into().abi(), pielementcontentend.into().abi()).ok() - } - pub unsafe fn OnChangeType<'a, P0>(&self, etype: SELECTION_TYPE, pilistener: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISelectionServicesListener>>, - { - (::windows::core::Interface::vtable(self).OnChangeType)(::windows::core::Interface::as_raw(self), etype, pilistener.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetTypeDetail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetTypeDetail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISelectionServicesListener) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ISelectionServicesListener> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISelectionServicesListener) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ISelectionServicesListener> for ::windows::core::IUnknown { - fn from(value: &ISelectionServicesListener) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ISelectionServicesListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ISelectionServicesListener { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISelectionServicesListener {} -impl ::core::fmt::Debug for ISelectionServicesListener { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISelectionServicesListener").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ISelectionServicesListener { - type Vtable = ISelectionServicesListener_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f699_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ISelectionServicesListener_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub BeginSelectionUndo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub EndSelectionUndo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub OnSelectedElementExit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pielementstart: *mut ::core::ffi::c_void, pielementend: *mut ::core::ffi::c_void, pielementcontentstart: *mut ::core::ffi::c_void, pielementcontentend: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub OnChangeType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, etype: SELECTION_TYPE, pilistener: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub GetTypeDetail: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptypedetail: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetTypeDetail: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ISequenceNumber(::windows::core::IUnknown); -impl ISequenceNumber { - pub unsafe fn GetSequenceNumber(&self, ncurrent: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetSequenceNumber)(::windows::core::Interface::as_raw(self), ncurrent, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISequenceNumber) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ISequenceNumber> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISequenceNumber) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ISequenceNumber> for ::windows::core::IUnknown { - fn from(value: &ISequenceNumber) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ISequenceNumber { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ISequenceNumber { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISequenceNumber {} -impl ::core::fmt::Debug for ISequenceNumber { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISequenceNumber").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ISequenceNumber { - type Vtable = ISequenceNumber_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6c1_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ISequenceNumber_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub GetSequenceNumber: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ncurrent: i32, pnnew: *mut i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ISniffStream(::windows::core::IUnknown); -impl ISniffStream { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Init<'a, P0>(&self, pstream: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, - { - (::windows::core::Interface::vtable(self).Init)(::windows::core::Interface::as_raw(self), pstream.into().abi()).ok() - } - pub unsafe fn Peek(&self, pbuffer: *mut ::core::ffi::c_void, nbytes: u32, pnbytesread: *mut u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Peek)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbuffer), nbytes, ::core::mem::transmute(pnbytesread)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISniffStream) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ISniffStream> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISniffStream) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ISniffStream> for ::windows::core::IUnknown { - fn from(value: &ISniffStream) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ISniffStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ISniffStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISniffStream {} -impl ::core::fmt::Debug for ISniffStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISniffStream").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ISniffStream { - type Vtable = ISniffStream_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x4ef17940_30e0_11d0_b724_00aa006c1a01); -} -#[repr(C)] -#[doc(hidden)] -pub struct ISniffStream_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_System_Com")] - pub Init: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstream: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Init: usize, - pub Peek: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbuffer: *mut ::core::ffi::c_void, nbytes: u32, pnbytesread: *mut u32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ISurfacePresenter(::windows::core::IUnknown); -impl ISurfacePresenter { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Present(&self, ubuffer: u32, pdirty: *const super::super::Foundation::RECT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Present)(::windows::core::Interface::as_raw(self), ubuffer, ::core::mem::transmute(pdirty)).ok() - } - pub unsafe fn GetBuffer(&self, backbufferindex: u32) -> ::windows::core::Result - where - T: ::windows::core::Interface, - { - let mut result__ = ::core::option::Option::None; - (::windows::core::Interface::vtable(self).GetBuffer)(::windows::core::Interface::as_raw(self), backbufferindex, &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISurfacePresenter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ISurfacePresenter> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISurfacePresenter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ISurfacePresenter> for ::windows::core::IUnknown { - fn from(value: &ISurfacePresenter) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ISurfacePresenter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ISurfacePresenter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISurfacePresenter {} -impl ::core::fmt::Debug for ISurfacePresenter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISurfacePresenter").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ISurfacePresenter { - type Vtable = ISurfacePresenter_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106e2_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ISurfacePresenter_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub Present: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ubuffer: u32, pdirty: *const super::super::Foundation::RECT) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Present: usize, - pub GetBuffer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, backbufferindex: u32, riid: *const ::windows::core::GUID, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub IsCurrent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, piscurrent: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsCurrent: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ISurfacePresenterFlip(::windows::core::IUnknown); -impl ISurfacePresenterFlip { - pub unsafe fn Present(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Present)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn GetBuffer(&self, backbufferindex: u32, riid: *const ::windows::core::GUID, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).GetBuffer)(::windows::core::Interface::as_raw(self), backbufferindex, ::core::mem::transmute(riid), ::core::mem::transmute(ppbuffer)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISurfacePresenterFlip) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ISurfacePresenterFlip> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISurfacePresenterFlip) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ISurfacePresenterFlip> for ::windows::core::IUnknown { - fn from(value: &ISurfacePresenterFlip) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ISurfacePresenterFlip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ISurfacePresenterFlip { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISurfacePresenterFlip {} -impl ::core::fmt::Debug for ISurfacePresenterFlip { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISurfacePresenterFlip").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ISurfacePresenterFlip { - type Vtable = ISurfacePresenterFlip_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510848_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ISurfacePresenterFlip_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub Present: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub GetBuffer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, backbufferindex: u32, riid: *const ::windows::core::GUID, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ISurfacePresenterFlip2(::windows::core::IUnknown); -impl ISurfacePresenterFlip2 { - #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] - #[cfg(feature = "Win32_Graphics_Dxgi_Common")] - pub unsafe fn SetRotation(&self, dxgirotation: super::super::Graphics::Dxgi::Common::DXGI_MODE_ROTATION) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetRotation)(::windows::core::Interface::as_raw(self), dxgirotation).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISurfacePresenterFlip2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ISurfacePresenterFlip2> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISurfacePresenterFlip2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ISurfacePresenterFlip2> for ::windows::core::IUnknown { - fn from(value: &ISurfacePresenterFlip2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ISurfacePresenterFlip2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ISurfacePresenterFlip2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISurfacePresenterFlip2 {} -impl ::core::fmt::Debug for ISurfacePresenterFlip2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISurfacePresenterFlip2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ISurfacePresenterFlip2 { - type Vtable = ISurfacePresenterFlip2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510865_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ISurfacePresenterFlip2_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Graphics_Dxgi_Common")] - pub SetRotation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dxgirotation: super::super::Graphics::Dxgi::Common::DXGI_MODE_ROTATION) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] - SetRotation: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ISurfacePresenterFlipBuffer(::windows::core::IUnknown); -impl ISurfacePresenterFlipBuffer { - pub unsafe fn BeginDraw(&self, riid: *const ::windows::core::GUID, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).BeginDraw)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(ppbuffer)).ok() - } - pub unsafe fn EndDraw(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).EndDraw)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ISurfacePresenterFlipBuffer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ISurfacePresenterFlipBuffer> for &'a ::windows::core::IUnknown { - fn from(value: &'a ISurfacePresenterFlipBuffer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ISurfacePresenterFlipBuffer> for ::windows::core::IUnknown { - fn from(value: &ISurfacePresenterFlipBuffer) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ISurfacePresenterFlipBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ISurfacePresenterFlipBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISurfacePresenterFlipBuffer {} -impl ::core::fmt::Debug for ISurfacePresenterFlipBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISurfacePresenterFlipBuffer").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ISurfacePresenterFlipBuffer { - type Vtable = ISurfacePresenterFlipBuffer_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe43f4a08_8bbc_4665_ac92_c55ce61fd7e7); -} -#[repr(C)] -#[doc(hidden)] -pub struct ISurfacePresenterFlipBuffer_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub BeginDraw: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, riid: *const ::windows::core::GUID, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub EndDraw: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ITargetContainer(::windows::core::IUnknown); -impl ITargetContainer { - pub unsafe fn GetFrameUrl(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetFrameUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) - } - #[doc = "*Required features: `\"Win32_System_Ole\"`*"] - #[cfg(feature = "Win32_System_Ole")] - pub unsafe fn GetFramesContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetFramesContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITargetContainer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITargetContainer> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITargetContainer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITargetContainer> for ::windows::core::IUnknown { - fn from(value: &ITargetContainer) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ITargetContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ITargetContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITargetContainer {} -impl ::core::fmt::Debug for ITargetContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITargetContainer").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ITargetContainer { - type Vtable = ITargetContainer_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x7847ec01_2bec_11d0_82b4_00a0c90c29c5); -} -#[repr(C)] -#[doc(hidden)] -pub struct ITargetContainer_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub GetFrameUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppszframesrc: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Ole")] - pub GetFramesContainer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppcontainer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Ole"))] - GetFramesContainer: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ITargetEmbedding(::windows::core::IUnknown); -impl ITargetEmbedding { - pub unsafe fn GetTargetFrame(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetTargetFrame)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITargetEmbedding) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITargetEmbedding> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITargetEmbedding) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITargetEmbedding> for ::windows::core::IUnknown { - fn from(value: &ITargetEmbedding) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ITargetEmbedding { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ITargetEmbedding { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITargetEmbedding {} -impl ::core::fmt::Debug for ITargetEmbedding { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITargetEmbedding").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ITargetEmbedding { - type Vtable = ITargetEmbedding_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x548793c0_9e74_11cf_9655_00a0c9034923); -} -#[repr(C)] -#[doc(hidden)] -pub struct ITargetEmbedding_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub GetTargetFrame: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pptargetframe: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ITargetFrame(::windows::core::IUnknown); -impl ITargetFrame { - pub unsafe fn SetFrameName<'a, P0>(&self, pszframename: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).SetFrameName)(::windows::core::Interface::as_raw(self), pszframename.into()).ok() - } - pub unsafe fn GetFrameName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetFrameName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) - } - pub unsafe fn GetParentFrame(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetParentFrame)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - pub unsafe fn FindFrame<'a, P0, P1>(&self, psztargetname: P0, ppunkcontextframe: P1, dwflags: u32) -> ::windows::core::Result<::windows::core::IUnknown> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).FindFrame)(::windows::core::Interface::as_raw(self), psztargetname.into(), ppunkcontextframe.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - pub unsafe fn SetFrameSrc<'a, P0>(&self, pszframesrc: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).SetFrameSrc)(::windows::core::Interface::as_raw(self), pszframesrc.into()).ok() - } - pub unsafe fn GetFrameSrc(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetFrameSrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) - } - #[doc = "*Required features: `\"Win32_System_Ole\"`*"] - #[cfg(feature = "Win32_System_Ole")] - pub unsafe fn GetFramesContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetFramesContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetFrameOptions(&self, dwflags: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetFrameOptions)(::windows::core::Interface::as_raw(self), dwflags).ok() - } - pub unsafe fn GetFrameOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetFrameOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetFrameMargins(&self, dwwidth: u32, dwheight: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetFrameMargins)(::windows::core::Interface::as_raw(self), dwwidth, dwheight).ok() - } - pub unsafe fn GetFrameMargins(&self, pdwwidth: *mut u32, pdwheight: *mut u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).GetFrameMargins)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwwidth), ::core::mem::transmute(pdwheight)).ok() - } - pub unsafe fn RemoteNavigate(&self, puldata: &[u32]) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).RemoteNavigate)(::windows::core::Interface::as_raw(self), puldata.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(puldata))).ok() - } - pub unsafe fn OnChildFrameActivate<'a, P0>(&self, punkchildframe: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).OnChildFrameActivate)(::windows::core::Interface::as_raw(self), punkchildframe.into().abi()).ok() - } - pub unsafe fn OnChildFrameDeactivate<'a, P0>(&self, punkchildframe: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).OnChildFrameDeactivate)(::windows::core::Interface::as_raw(self), punkchildframe.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITargetFrame) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITargetFrame> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITargetFrame) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITargetFrame> for ::windows::core::IUnknown { - fn from(value: &ITargetFrame) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ITargetFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ITargetFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITargetFrame {} -impl ::core::fmt::Debug for ITargetFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITargetFrame").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ITargetFrame { - type Vtable = ITargetFrame_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd5f78c80_5252_11cf_90fa_00aa0042106e); -} -#[repr(C)] -#[doc(hidden)] -pub struct ITargetFrame_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub SetFrameName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszframename: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, - pub GetFrameName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppszframename: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, - pub GetParentFrame: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppunkparent: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub FindFrame: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psztargetname: ::windows::core::PCWSTR, ppunkcontextframe: *mut ::core::ffi::c_void, dwflags: u32, ppunktargetframe: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub SetFrameSrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszframesrc: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, - pub GetFrameSrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppszframesrc: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Ole")] - pub GetFramesContainer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppcontainer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Ole"))] - GetFramesContainer: usize, - pub SetFrameOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows::core::HRESULT, - pub GetFrameOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwflags: *mut u32) -> ::windows::core::HRESULT, - pub SetFrameMargins: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwwidth: u32, dwheight: u32) -> ::windows::core::HRESULT, - pub GetFrameMargins: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwwidth: *mut u32, pdwheight: *mut u32) -> ::windows::core::HRESULT, - pub RemoteNavigate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, clength: u32, puldata: *const u32) -> ::windows::core::HRESULT, - pub OnChildFrameActivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, punkchildframe: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub OnChildFrameDeactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, punkchildframe: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ITargetFrame2(::windows::core::IUnknown); -impl ITargetFrame2 { - pub unsafe fn SetFrameName<'a, P0>(&self, pszframename: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).SetFrameName)(::windows::core::Interface::as_raw(self), pszframename.into()).ok() - } - pub unsafe fn GetFrameName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetFrameName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) - } - pub unsafe fn GetParentFrame(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetParentFrame)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - pub unsafe fn SetFrameSrc<'a, P0>(&self, pszframesrc: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).SetFrameSrc)(::windows::core::Interface::as_raw(self), pszframesrc.into()).ok() - } - pub unsafe fn GetFrameSrc(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetFrameSrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) - } - #[doc = "*Required features: `\"Win32_System_Ole\"`*"] - #[cfg(feature = "Win32_System_Ole")] - pub unsafe fn GetFramesContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetFramesContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetFrameOptions(&self, dwflags: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetFrameOptions)(::windows::core::Interface::as_raw(self), dwflags).ok() - } - pub unsafe fn GetFrameOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetFrameOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetFrameMargins(&self, dwwidth: u32, dwheight: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetFrameMargins)(::windows::core::Interface::as_raw(self), dwwidth, dwheight).ok() - } - pub unsafe fn GetFrameMargins(&self, pdwwidth: *mut u32, pdwheight: *mut u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).GetFrameMargins)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwwidth), ::core::mem::transmute(pdwheight)).ok() - } - pub unsafe fn FindFrame<'a, P0>(&self, psztargetname: P0, dwflags: u32) -> ::windows::core::Result<::windows::core::IUnknown> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).FindFrame)(::windows::core::Interface::as_raw(self), psztargetname.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - pub unsafe fn GetTargetAlias<'a, P0>(&self, psztargetname: P0) -> ::windows::core::Result<::windows::core::PWSTR> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetTargetAlias)(::windows::core::Interface::as_raw(self), psztargetname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITargetFrame2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITargetFrame2> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITargetFrame2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITargetFrame2> for ::windows::core::IUnknown { - fn from(value: &ITargetFrame2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ITargetFrame2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ITargetFrame2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITargetFrame2 {} -impl ::core::fmt::Debug for ITargetFrame2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITargetFrame2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ITargetFrame2 { - type Vtable = ITargetFrame2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x86d52e11_94a8_11d0_82af_00c04fd5ae38); -} -#[repr(C)] -#[doc(hidden)] -pub struct ITargetFrame2_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub SetFrameName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszframename: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, - pub GetFrameName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppszframename: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, - pub GetParentFrame: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppunkparent: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub SetFrameSrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszframesrc: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, - pub GetFrameSrc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppszframesrc: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Ole")] - pub GetFramesContainer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppcontainer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Ole"))] - GetFramesContainer: usize, - pub SetFrameOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows::core::HRESULT, - pub GetFrameOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwflags: *mut u32) -> ::windows::core::HRESULT, - pub SetFrameMargins: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwwidth: u32, dwheight: u32) -> ::windows::core::HRESULT, - pub GetFrameMargins: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwwidth: *mut u32, pdwheight: *mut u32) -> ::windows::core::HRESULT, - pub FindFrame: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psztargetname: ::windows::core::PCWSTR, dwflags: u32, ppunktargetframe: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub GetTargetAlias: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psztargetname: ::windows::core::PCWSTR, ppsztargetalias: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ITargetFramePriv(::windows::core::IUnknown); -impl ITargetFramePriv { - pub unsafe fn FindFrameDownwards<'a, P0>(&self, psztargetname: P0, dwflags: u32) -> ::windows::core::Result<::windows::core::IUnknown> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).FindFrameDownwards)(::windows::core::Interface::as_raw(self), psztargetname.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - pub unsafe fn FindFrameInContext<'a, P0, P1>(&self, psztargetname: P0, punkcontextframe: P1, dwflags: u32) -> ::windows::core::Result<::windows::core::IUnknown> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).FindFrameInContext)(::windows::core::Interface::as_raw(self), psztargetname.into(), punkcontextframe.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - pub unsafe fn OnChildFrameActivate<'a, P0>(&self, punkchildframe: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).OnChildFrameActivate)(::windows::core::Interface::as_raw(self), punkchildframe.into().abi()).ok() - } - pub unsafe fn OnChildFrameDeactivate<'a, P0>(&self, punkchildframe: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).OnChildFrameDeactivate)(::windows::core::Interface::as_raw(self), punkchildframe.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn NavigateHack<'a, P0, P1, P2, P3, P4>(&self, grfhlnf: u32, pbc: P0, pibsc: P1, psztargetname: P2, pszurl: P3, pszlocation: P4) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IBindCtx>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IBindStatusCallback>>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, - P3: ::std::convert::Into<::windows::core::PCWSTR>, - P4: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).NavigateHack)(::windows::core::Interface::as_raw(self), grfhlnf, pbc.into().abi(), pibsc.into().abi(), psztargetname.into(), pszurl.into(), pszlocation.into()).ok() - } - pub unsafe fn FindBrowserByIndex(&self, dwid: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).FindBrowserByIndex)(::windows::core::Interface::as_raw(self), dwid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITargetFramePriv) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITargetFramePriv> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITargetFramePriv) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITargetFramePriv> for ::windows::core::IUnknown { - fn from(value: &ITargetFramePriv) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ITargetFramePriv { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ITargetFramePriv { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITargetFramePriv {} -impl ::core::fmt::Debug for ITargetFramePriv { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITargetFramePriv").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ITargetFramePriv { - type Vtable = ITargetFramePriv_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x9216e421_2bf5_11d0_82b4_00a0c90c29c5); -} -#[repr(C)] -#[doc(hidden)] -pub struct ITargetFramePriv_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub FindFrameDownwards: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psztargetname: ::windows::core::PCWSTR, dwflags: u32, ppunktargetframe: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub FindFrameInContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psztargetname: ::windows::core::PCWSTR, punkcontextframe: *mut ::core::ffi::c_void, dwflags: u32, ppunktargetframe: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub OnChildFrameActivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, punkchildframe: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub OnChildFrameDeactivate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, punkchildframe: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub NavigateHack: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, grfhlnf: u32, pbc: *mut ::core::ffi::c_void, pibsc: *mut ::core::ffi::c_void, psztargetname: ::windows::core::PCWSTR, pszurl: ::windows::core::PCWSTR, pszlocation: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - NavigateHack: usize, - pub FindBrowserByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwid: u32, ppunkbrowser: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ITargetFramePriv2(::windows::core::IUnknown); -impl ITargetFramePriv2 { - pub unsafe fn FindFrameDownwards<'a, P0>(&self, psztargetname: P0, dwflags: u32) -> ::windows::core::Result<::windows::core::IUnknown> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.FindFrameDownwards)(::windows::core::Interface::as_raw(self), psztargetname.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - pub unsafe fn FindFrameInContext<'a, P0, P1>(&self, psztargetname: P0, punkcontextframe: P1, dwflags: u32) -> ::windows::core::Result<::windows::core::IUnknown> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.FindFrameInContext)(::windows::core::Interface::as_raw(self), psztargetname.into(), punkcontextframe.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - pub unsafe fn OnChildFrameActivate<'a, P0>(&self, punkchildframe: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).base__.OnChildFrameActivate)(::windows::core::Interface::as_raw(self), punkchildframe.into().abi()).ok() - } - pub unsafe fn OnChildFrameDeactivate<'a, P0>(&self, punkchildframe: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).base__.OnChildFrameDeactivate)(::windows::core::Interface::as_raw(self), punkchildframe.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn NavigateHack<'a, P0, P1, P2, P3, P4>(&self, grfhlnf: u32, pbc: P0, pibsc: P1, psztargetname: P2, pszurl: P3, pszlocation: P4) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IBindCtx>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IBindStatusCallback>>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, - P3: ::std::convert::Into<::windows::core::PCWSTR>, - P4: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).base__.NavigateHack)(::windows::core::Interface::as_raw(self), grfhlnf, pbc.into().abi(), pibsc.into().abi(), psztargetname.into(), pszurl.into(), pszlocation.into()).ok() - } - pub unsafe fn FindBrowserByIndex(&self, dwid: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.FindBrowserByIndex)(::windows::core::Interface::as_raw(self), dwid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn AggregatedNavigation2<'a, P0, P1, P2, P3, P4>(&self, grfhlnf: u32, pbc: P0, pibsc: P1, psztargetname: P2, puri: P3, pszlocation: P4) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IBindCtx>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IBindStatusCallback>>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IUri>>, - P4: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).AggregatedNavigation2)(::windows::core::Interface::as_raw(self), grfhlnf, pbc.into().abi(), pibsc.into().abi(), psztargetname.into(), puri.into().abi(), pszlocation.into()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITargetFramePriv2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITargetFramePriv2> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITargetFramePriv2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITargetFramePriv2> for ::windows::core::IUnknown { - fn from(value: &ITargetFramePriv2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for ITargetFramePriv { - fn from(value: ITargetFramePriv2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITargetFramePriv2> for &'a ITargetFramePriv { - fn from(value: &'a ITargetFramePriv2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITargetFramePriv2> for ITargetFramePriv { - fn from(value: &ITargetFramePriv2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ITargetFramePriv2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ITargetFramePriv2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITargetFramePriv2 {} -impl ::core::fmt::Debug for ITargetFramePriv2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITargetFramePriv2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ITargetFramePriv2 { - type Vtable = ITargetFramePriv2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb2c867e6_69d6_46f2_a611_ded9a4bd7fef); -} -#[repr(C)] -#[doc(hidden)] -pub struct ITargetFramePriv2_Vtbl { - pub base__: ITargetFramePriv_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub AggregatedNavigation2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, grfhlnf: u32, pbc: *mut ::core::ffi::c_void, pibsc: *mut ::core::ffi::c_void, psztargetname: ::windows::core::PCWSTR, puri: *mut ::core::ffi::c_void, pszlocation: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - AggregatedNavigation2: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ITargetNotify(::windows::core::IUnknown); -impl ITargetNotify { - pub unsafe fn OnCreate<'a, P0>(&self, punkdestination: P0, cbcookie: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).OnCreate)(::windows::core::Interface::as_raw(self), punkdestination.into().abi(), cbcookie).ok() - } - pub unsafe fn OnReuse<'a, P0>(&self, punkdestination: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).OnReuse)(::windows::core::Interface::as_raw(self), punkdestination.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITargetNotify) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITargetNotify> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITargetNotify) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITargetNotify> for ::windows::core::IUnknown { - fn from(value: &ITargetNotify) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ITargetNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ITargetNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITargetNotify {} -impl ::core::fmt::Debug for ITargetNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITargetNotify").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ITargetNotify { - type Vtable = ITargetNotify_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x863a99a0_21bc_11d0_82b4_00a0c90c29c5); -} -#[repr(C)] -#[doc(hidden)] -pub struct ITargetNotify_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub OnCreate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, punkdestination: *mut ::core::ffi::c_void, cbcookie: u32) -> ::windows::core::HRESULT, - pub OnReuse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, punkdestination: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ITargetNotify2(::windows::core::IUnknown); -impl ITargetNotify2 { - pub unsafe fn OnCreate<'a, P0>(&self, punkdestination: P0, cbcookie: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).base__.OnCreate)(::windows::core::Interface::as_raw(self), punkdestination.into().abi(), cbcookie).ok() - } - pub unsafe fn OnReuse<'a, P0>(&self, punkdestination: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).base__.OnReuse)(::windows::core::Interface::as_raw(self), punkdestination.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetOptionString(&self, pbstroptions: *mut super::super::Foundation::BSTR) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).GetOptionString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbstroptions)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITargetNotify2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITargetNotify2> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITargetNotify2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITargetNotify2> for ::windows::core::IUnknown { - fn from(value: &ITargetNotify2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for ITargetNotify { - fn from(value: ITargetNotify2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITargetNotify2> for &'a ITargetNotify { - fn from(value: &'a ITargetNotify2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITargetNotify2> for ITargetNotify { - fn from(value: &ITargetNotify2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ITargetNotify2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ITargetNotify2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITargetNotify2 {} -impl ::core::fmt::Debug for ITargetNotify2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITargetNotify2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ITargetNotify2 { - type Vtable = ITargetNotify2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6b1_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ITargetNotify2_Vtbl { - pub base__: ITargetNotify_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub GetOptionString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstroptions: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetOptionString: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ITemplatePrinter(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ITemplatePrinter { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn startDoc<'a, P0>(&self, bstrtitle: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).startDoc)(::windows::core::Interface::as_raw(self), bstrtitle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn stopDoc(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).stopDoc)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn printBlankPage(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).printBlankPage)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn printPage<'a, P0>(&self, pelemdisp: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).printPage)(::windows::core::Interface::as_raw(self), pelemdisp.into().abi()).ok() - } - pub unsafe fn ensurePrintDialogDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).ensurePrintDialogDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn showPrintDialog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).showPrintDialog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn showPageSetupDialog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).showPageSetupDialog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn printNonNative<'a, P0>(&self, pmarkup: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).printNonNative)(::windows::core::Interface::as_raw(self), pmarkup.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn printNonNativeFrames<'a, P0>(&self, pmarkup: P0, factiveframe: i16) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).printNonNativeFrames)(::windows::core::Interface::as_raw(self), pmarkup.into().abi(), factiveframe).ok() - } - pub unsafe fn SetframesetDocument(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetframesetDocument)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn framesetDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).framesetDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetframeActive(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetframeActive)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn frameActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).frameActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetframeAsShown(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetframeAsShown)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn frameAsShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).frameAsShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setselection(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setselection)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn selection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).selection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetselectedPages(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetselectedPages)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn selectedPages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).selectedPages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetcurrentPage(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetcurrentPage)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn currentPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).currentPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetcurrentPageAvail(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetcurrentPageAvail)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn currentPageAvail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).currentPageAvail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setcollate(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setcollate)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn collate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).collate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn duplex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).duplex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setcopies(&self, v: u16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setcopies)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn copies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).copies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpageFrom(&self, v: u16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetpageFrom)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pageFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpageTo(&self, v: u16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetpageTo)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pageTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettableOfLinks(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SettableOfLinks)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn tableOfLinks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).tableOfLinks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetallLinkedDocuments(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetallLinkedDocuments)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn allLinkedDocuments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).allLinkedDocuments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setheader<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setheader)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn header(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).header)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setfooter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setfooter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn footer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).footer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmarginLeft(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetmarginLeft)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn marginLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmarginRight(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetmarginRight)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn marginRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmarginTop(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetmarginTop)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn marginTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmarginBottom(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetmarginBottom)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn marginBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).marginBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn pageWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn pageHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).pageHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn unprintableLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).unprintableLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn unprintableTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).unprintableTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn unprintableRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).unprintableRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn unprintableBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).unprintableBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn updatePageStatus(&self, p: *const i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).updatePageStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(p)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITemplatePrinter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ITemplatePrinter> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITemplatePrinter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ITemplatePrinter> for ::windows::core::IUnknown { - fn from(value: &ITemplatePrinter) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ITemplatePrinter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ITemplatePrinter> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ITemplatePrinter) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ITemplatePrinter> for super::super::System::Com::IDispatch { - fn from(value: &ITemplatePrinter) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITemplatePrinter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITemplatePrinter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITemplatePrinter {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITemplatePrinter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITemplatePrinter").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ITemplatePrinter { - type Vtable = ITemplatePrinter_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6b4_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ITemplatePrinter_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub startDoc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrtitle: ::core::mem::ManuallyDrop, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - startDoc: usize, - pub stopDoc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub printBlankPage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub printPage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pelemdisp: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - printPage: usize, - pub ensurePrintDialogDefaults: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub showPrintDialog: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub showPageSetupDialog: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub printNonNative: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pmarkup: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub printNonNativeFrames: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pmarkup: *mut ::core::ffi::c_void, factiveframe: i16) -> ::windows::core::HRESULT, - pub SetframesetDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub framesetDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetframeActive: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub frameActive: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetframeAsShown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub frameAsShown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setselection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub selection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetselectedPages: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub selectedPages: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetcurrentPage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub currentPage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetcurrentPageAvail: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub currentPageAvail: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setcollate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub collate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub duplex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setcopies: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: u16) -> ::windows::core::HRESULT, - pub copies: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT, - pub SetpageFrom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: u16) -> ::windows::core::HRESULT, - pub pageFrom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT, - pub SetpageTo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: u16) -> ::windows::core::HRESULT, - pub pageTo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u16) -> ::windows::core::HRESULT, - pub SettableOfLinks: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub tableOfLinks: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetallLinkedDocuments: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub allLinkedDocuments: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setheader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setheader: usize, - #[cfg(feature = "Win32_Foundation")] - pub header: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - header: usize, - #[cfg(feature = "Win32_Foundation")] - pub Setfooter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setfooter: usize, - #[cfg(feature = "Win32_Foundation")] - pub footer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - footer: usize, - pub SetmarginLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub marginLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetmarginRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub marginRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetmarginTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub marginTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub SetmarginBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i32) -> ::windows::core::HRESULT, - pub marginBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub pageWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub pageHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub unprintableLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub unprintableTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub unprintableRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub unprintableBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub updatePageStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *const i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ITemplatePrinter2(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ITemplatePrinter2 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn startDoc<'a, P0>(&self, bstrtitle: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.startDoc)(::windows::core::Interface::as_raw(self), bstrtitle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn stopDoc(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.stopDoc)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn printBlankPage(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.printBlankPage)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn printPage<'a, P0>(&self, pelemdisp: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).base__.printPage)(::windows::core::Interface::as_raw(self), pelemdisp.into().abi()).ok() - } - pub unsafe fn ensurePrintDialogDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.ensurePrintDialogDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn showPrintDialog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.showPrintDialog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn showPageSetupDialog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.showPageSetupDialog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn printNonNative<'a, P0>(&self, pmarkup: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.printNonNative)(::windows::core::Interface::as_raw(self), pmarkup.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn printNonNativeFrames<'a, P0>(&self, pmarkup: P0, factiveframe: i16) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).base__.printNonNativeFrames)(::windows::core::Interface::as_raw(self), pmarkup.into().abi(), factiveframe).ok() - } - pub unsafe fn SetframesetDocument(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetframesetDocument)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn framesetDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.framesetDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetframeActive(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetframeActive)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn frameActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.frameActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetframeAsShown(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetframeAsShown)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn frameAsShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.frameAsShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setselection(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.Setselection)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn selection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.selection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetselectedPages(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetselectedPages)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn selectedPages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.selectedPages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetcurrentPage(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetcurrentPage)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn currentPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.currentPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetcurrentPageAvail(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetcurrentPageAvail)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn currentPageAvail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.currentPageAvail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setcollate(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.Setcollate)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn collate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.collate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn duplex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.duplex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setcopies(&self, v: u16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.Setcopies)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn copies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.copies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpageFrom(&self, v: u16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetpageFrom)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pageFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.pageFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpageTo(&self, v: u16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetpageTo)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pageTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.pageTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettableOfLinks(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SettableOfLinks)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn tableOfLinks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.tableOfLinks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetallLinkedDocuments(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetallLinkedDocuments)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn allLinkedDocuments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.allLinkedDocuments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setheader<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).base__.Setheader)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn header(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.header)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setfooter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).base__.Setfooter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn footer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.footer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmarginLeft(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetmarginLeft)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn marginLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.marginLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmarginRight(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetmarginRight)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn marginRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.marginRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmarginTop(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetmarginTop)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn marginTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.marginTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmarginBottom(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetmarginBottom)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn marginBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.marginBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn pageWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.pageWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn pageHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.pageHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn unprintableLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.unprintableLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn unprintableTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.unprintableTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn unprintableRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.unprintableRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn unprintableBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.unprintableBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn updatePageStatus(&self, p: *const i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.updatePageStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(p)).ok() - } - pub unsafe fn SetselectionEnabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetselectionEnabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn selectionEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).selectionEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetframeActiveEnabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetframeActiveEnabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn frameActiveEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).frameActiveEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setorientation<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).Setorientation)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn orientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).orientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetusePrinterCopyCollate(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetusePrinterCopyCollate)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn usePrinterCopyCollate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).usePrinterCopyCollate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn deviceSupports<'a, P0>(&self, bstrproperty: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).deviceSupports)(::windows::core::Interface::as_raw(self), bstrproperty.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITemplatePrinter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ITemplatePrinter2> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITemplatePrinter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ITemplatePrinter2> for ::windows::core::IUnknown { - fn from(value: &ITemplatePrinter2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ITemplatePrinter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ITemplatePrinter2> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ITemplatePrinter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ITemplatePrinter2> for super::super::System::Com::IDispatch { - fn from(value: &ITemplatePrinter2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ITemplatePrinter { - fn from(value: ITemplatePrinter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ITemplatePrinter2> for &'a ITemplatePrinter { - fn from(value: &'a ITemplatePrinter2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ITemplatePrinter2> for ITemplatePrinter { - fn from(value: &ITemplatePrinter2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITemplatePrinter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITemplatePrinter2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITemplatePrinter2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITemplatePrinter2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITemplatePrinter2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ITemplatePrinter2 { - type Vtable = ITemplatePrinter2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f83f_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ITemplatePrinter2_Vtbl { - pub base__: ITemplatePrinter_Vtbl, - pub SetselectionEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub selectionEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub SetframeActiveEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub frameActiveEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Setorientation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Setorientation: usize, - #[cfg(feature = "Win32_Foundation")] - pub orientation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - orientation: usize, - pub SetusePrinterCopyCollate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub usePrinterCopyCollate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub deviceSupports: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrproperty: ::core::mem::ManuallyDrop, pvar: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - deviceSupports: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct ITemplatePrinter3(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl ITemplatePrinter3 { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn startDoc<'a, P0>(&self, bstrtitle: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.startDoc)(::windows::core::Interface::as_raw(self), bstrtitle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn stopDoc(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.stopDoc)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn printBlankPage(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.printBlankPage)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn printPage<'a, P0>(&self, pelemdisp: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).base__.base__.printPage)(::windows::core::Interface::as_raw(self), pelemdisp.into().abi()).ok() - } - pub unsafe fn ensurePrintDialogDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.ensurePrintDialogDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn showPrintDialog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.showPrintDialog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn showPageSetupDialog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.showPageSetupDialog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn printNonNative<'a, P0>(&self, pmarkup: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.printNonNative)(::windows::core::Interface::as_raw(self), pmarkup.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn printNonNativeFrames<'a, P0>(&self, pmarkup: P0, factiveframe: i16) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).base__.base__.printNonNativeFrames)(::windows::core::Interface::as_raw(self), pmarkup.into().abi(), factiveframe).ok() - } - pub unsafe fn SetframesetDocument(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.SetframesetDocument)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn framesetDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.framesetDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetframeActive(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.SetframeActive)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn frameActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.frameActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetframeAsShown(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.SetframeAsShown)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn frameAsShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.frameAsShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setselection(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.Setselection)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn selection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.selection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetselectedPages(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.SetselectedPages)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn selectedPages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.selectedPages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetcurrentPage(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.SetcurrentPage)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn currentPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.currentPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetcurrentPageAvail(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.SetcurrentPageAvail)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn currentPageAvail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.currentPageAvail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setcollate(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.Setcollate)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn collate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.collate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn duplex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.duplex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setcopies(&self, v: u16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.Setcopies)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn copies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.copies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpageFrom(&self, v: u16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.SetpageFrom)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pageFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.pageFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetpageTo(&self, v: u16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.SetpageTo)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn pageTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.pageTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SettableOfLinks(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.SettableOfLinks)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn tableOfLinks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.tableOfLinks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetallLinkedDocuments(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.SetallLinkedDocuments)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn allLinkedDocuments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.allLinkedDocuments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setheader<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).base__.base__.Setheader)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn header(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.header)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setfooter<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).base__.base__.Setfooter)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn footer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.footer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmarginLeft(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.SetmarginLeft)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn marginLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.marginLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmarginRight(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.SetmarginRight)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn marginRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.marginRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmarginTop(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.SetmarginTop)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn marginTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.marginTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetmarginBottom(&self, v: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.SetmarginBottom)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn marginBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.marginBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn pageWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.pageWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn pageHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.pageHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn unprintableLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.unprintableLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn unprintableTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.unprintableTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn unprintableRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.unprintableRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn unprintableBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.base__.unprintableBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn updatePageStatus(&self, p: *const i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.base__.updatePageStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(p)).ok() - } - pub unsafe fn SetselectionEnabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetselectionEnabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn selectionEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.selectionEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetframeActiveEnabled(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetframeActiveEnabled)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn frameActiveEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.frameActiveEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Setorientation<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).base__.Setorientation)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn orientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.orientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetusePrinterCopyCollate(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetusePrinterCopyCollate)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn usePrinterCopyCollate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.usePrinterCopyCollate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn deviceSupports<'a, P0>(&self, bstrproperty: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.deviceSupports)(::windows::core::Interface::as_raw(self), bstrproperty.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetheaderFooterFont<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetheaderFooterFont)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn headerFooterFont(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).headerFooterFont)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getPageMarginTop<'a, P0>(&self, pagerule: P0, pagewidth: i32, pageheight: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getPageMarginTop)(::windows::core::Interface::as_raw(self), pagerule.into().abi(), pagewidth, pageheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getPageMarginRight<'a, P0>(&self, pagerule: P0, pagewidth: i32, pageheight: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getPageMarginRight)(::windows::core::Interface::as_raw(self), pagerule.into().abi(), pagewidth, pageheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getPageMarginBottom<'a, P0>(&self, pagerule: P0, pagewidth: i32, pageheight: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getPageMarginBottom)(::windows::core::Interface::as_raw(self), pagerule.into().abi(), pagewidth, pageheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn getPageMarginLeft<'a, P0>(&self, pagerule: P0, pagewidth: i32, pageheight: i32) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getPageMarginLeft)(::windows::core::Interface::as_raw(self), pagerule.into().abi(), pagewidth, pageheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getPageMarginTopImportant<'a, P0>(&self, pagerule: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getPageMarginTopImportant)(::windows::core::Interface::as_raw(self), pagerule.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getPageMarginRightImportant<'a, P0>(&self, pagerule: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getPageMarginRightImportant)(::windows::core::Interface::as_raw(self), pagerule.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getPageMarginBottomImportant<'a, P0>(&self, pagerule: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getPageMarginBottomImportant)(::windows::core::Interface::as_raw(self), pagerule.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getPageMarginLeftImportant<'a, P0>(&self, pagerule: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).getPageMarginLeftImportant)(::windows::core::Interface::as_raw(self), pagerule.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITemplatePrinter3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ITemplatePrinter3> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITemplatePrinter3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ITemplatePrinter3> for ::windows::core::IUnknown { - fn from(value: &ITemplatePrinter3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: ITemplatePrinter3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ITemplatePrinter3> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a ITemplatePrinter3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ITemplatePrinter3> for super::super::System::Com::IDispatch { - fn from(value: &ITemplatePrinter3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ITemplatePrinter { - fn from(value: ITemplatePrinter3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ITemplatePrinter3> for &'a ITemplatePrinter { - fn from(value: &'a ITemplatePrinter3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ITemplatePrinter3> for ITemplatePrinter { - fn from(value: &ITemplatePrinter3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ITemplatePrinter2 { - fn from(value: ITemplatePrinter3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a ITemplatePrinter3> for &'a ITemplatePrinter2 { - fn from(value: &'a ITemplatePrinter3) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&ITemplatePrinter3> for ITemplatePrinter2 { - fn from(value: &ITemplatePrinter3) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITemplatePrinter3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITemplatePrinter3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITemplatePrinter3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITemplatePrinter3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITemplatePrinter3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for ITemplatePrinter3 { - type Vtable = ITemplatePrinter3_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305104a3_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct ITemplatePrinter3_Vtbl { - pub base__: ITemplatePrinter2_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetheaderFooterFont: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetheaderFooterFont: usize, - #[cfg(feature = "Win32_Foundation")] - pub headerFooterFont: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - headerFooterFont: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getPageMarginTop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pagerule: *mut ::core::ffi::c_void, pagewidth: i32, pageheight: i32, pmargin: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getPageMarginTop: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getPageMarginRight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pagerule: *mut ::core::ffi::c_void, pagewidth: i32, pageheight: i32, pmargin: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getPageMarginRight: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getPageMarginBottom: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pagerule: *mut ::core::ffi::c_void, pagewidth: i32, pageheight: i32, pmargin: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getPageMarginBottom: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub getPageMarginLeft: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pagerule: *mut ::core::ffi::c_void, pagewidth: i32, pageheight: i32, pmargin: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - getPageMarginLeft: usize, - #[cfg(feature = "Win32_System_Com")] - pub getPageMarginTopImportant: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pagerule: *mut ::core::ffi::c_void, pbimportant: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getPageMarginTopImportant: usize, - #[cfg(feature = "Win32_System_Com")] - pub getPageMarginRightImportant: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pagerule: *mut ::core::ffi::c_void, pbimportant: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getPageMarginRightImportant: usize, - #[cfg(feature = "Win32_System_Com")] - pub getPageMarginBottomImportant: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pagerule: *mut ::core::ffi::c_void, pbimportant: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getPageMarginBottomImportant: usize, - #[cfg(feature = "Win32_System_Com")] - pub getPageMarginLeftImportant: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pagerule: *mut ::core::ffi::c_void, pbimportant: *mut i16) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getPageMarginLeftImportant: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ITimer(::windows::core::IUnknown); -impl ITimer { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Advise<'a, P0, P1, P2, P3>(&self, vtimemin: P0, vtimemax: P1, vtimeinterval: P2, dwflags: u32, ptimersink: P3) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, ITimerSink>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), vtimemin.into().abi(), vtimemax.into().abi(), vtimeinterval.into().abi(), dwflags, ptimersink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Unadvise)(::windows::core::Interface::as_raw(self), dwcookie).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Freeze<'a, P0>(&self, ffreeze: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).Freeze)(::windows::core::Interface::as_raw(self), ffreeze.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn GetTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITimer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITimer> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITimer) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITimer> for ::windows::core::IUnknown { - fn from(value: &ITimer) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ITimer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ITimer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITimer {} -impl ::core::fmt::Debug for ITimer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITimer").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ITimer { - type Vtable = ITimer_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f360_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ITimer_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Advise: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, vtimemin: ::core::mem::ManuallyDrop, vtimemax: ::core::mem::ManuallyDrop, vtimeinterval: ::core::mem::ManuallyDrop, dwflags: u32, ptimersink: *mut ::core::ffi::c_void, pdwcookie: *mut u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Advise: usize, - pub Unadvise: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwcookie: u32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub Freeze: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ffreeze: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - Freeze: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub GetTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvtime: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - GetTime: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ITimerEx(::windows::core::IUnknown); -impl ITimerEx { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Advise<'a, P0, P1, P2, P3>(&self, vtimemin: P0, vtimemax: P1, vtimeinterval: P2, dwflags: u32, ptimersink: P3) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - P3: ::std::convert::Into<::windows::core::InParam<'a, ITimerSink>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.Advise)(::windows::core::Interface::as_raw(self), vtimemin.into().abi(), vtimemax.into().abi(), vtimeinterval.into().abi(), dwflags, ptimersink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.Unadvise)(::windows::core::Interface::as_raw(self), dwcookie).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Freeze<'a, P0>(&self, ffreeze: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).base__.Freeze)(::windows::core::Interface::as_raw(self), ffreeze.into()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn GetTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.GetTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetMode(&self, dwmode: u32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetMode)(::windows::core::Interface::as_raw(self), dwmode).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITimerEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITimerEx> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITimerEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITimerEx> for ::windows::core::IUnknown { - fn from(value: &ITimerEx) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for ITimer { - fn from(value: ITimerEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITimerEx> for &'a ITimer { - fn from(value: &'a ITimerEx) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITimerEx> for ITimer { - fn from(value: &ITimerEx) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ITimerEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ITimerEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITimerEx {} -impl ::core::fmt::Debug for ITimerEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITimerEx").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ITimerEx { - type Vtable = ITimerEx_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510414_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ITimerEx_Vtbl { - pub base__: ITimer_Vtbl, - pub SetMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwmode: u32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ITimerService(::windows::core::IUnknown); -impl ITimerService { - pub unsafe fn CreateTimer<'a, P0>(&self, preferencetimer: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ITimer>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CreateTimer)(::windows::core::Interface::as_raw(self), preferencetimer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn GetNamedTimer(&self, rguidname: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetNamedTimer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguidname), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetNamedTimerReference<'a, P0>(&self, rguidname: *const ::windows::core::GUID, preferencetimer: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ITimer>>, - { - (::windows::core::Interface::vtable(self).SetNamedTimerReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguidname), preferencetimer.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITimerService) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITimerService> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITimerService) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITimerService> for ::windows::core::IUnknown { - fn from(value: &ITimerService) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ITimerService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ITimerService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITimerService {} -impl ::core::fmt::Debug for ITimerService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITimerService").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ITimerService { - type Vtable = ITimerService_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f35f_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ITimerService_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub CreateTimer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, preferencetimer: *mut ::core::ffi::c_void, ppnewtimer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub GetNamedTimer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, rguidname: *const ::windows::core::GUID, pptimer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub SetNamedTimerReference: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, rguidname: *const ::windows::core::GUID, preferencetimer: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ITimerSink(::windows::core::IUnknown); -impl ITimerSink { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn OnTimer<'a, P0>(&self, vtimeadvise: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).OnTimer)(::windows::core::Interface::as_raw(self), vtimeadvise.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITimerSink) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITimerSink> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITimerSink) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITimerSink> for ::windows::core::IUnknown { - fn from(value: &ITimerSink) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ITimerSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ITimerSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITimerSink {} -impl ::core::fmt::Debug for ITimerSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITimerSink").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ITimerSink { - type Vtable = ITimerSink_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f361_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ITimerSink_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub OnTimer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, vtimeadvise: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - OnTimer: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ITrackingProtection(::windows::core::IUnknown); -impl ITrackingProtection { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn EvaluateUrl<'a, P0>(&self, bstrurl: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).EvaluateUrl)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITrackingProtection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITrackingProtection> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITrackingProtection) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITrackingProtection> for ::windows::core::IUnknown { - fn from(value: &ITrackingProtection) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ITrackingProtection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ITrackingProtection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITrackingProtection {} -impl ::core::fmt::Debug for ITrackingProtection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITrackingProtection").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ITrackingProtection { - type Vtable = ITrackingProtection_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510803_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ITrackingProtection_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub EvaluateUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, pfallowed: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - EvaluateUrl: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfenabled: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetEnabled: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ITridentTouchInput(::windows::core::IUnknown); -impl ITridentTouchInput { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn OnPointerMessage<'a, P0, P1>(&self, msg: u32, wparam: P0, lparam: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into, - P1: ::std::convert::Into, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).OnPointerMessage)(::windows::core::Interface::as_raw(self), msg, wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITridentTouchInput) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITridentTouchInput> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITridentTouchInput) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITridentTouchInput> for ::windows::core::IUnknown { - fn from(value: &ITridentTouchInput) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ITridentTouchInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ITridentTouchInput { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITridentTouchInput {} -impl ::core::fmt::Debug for ITridentTouchInput { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITridentTouchInput").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ITridentTouchInput { - type Vtable = ITridentTouchInput_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510850_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ITridentTouchInput_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub OnPointerMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, pfallowmanipulations: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - OnPointerMessage: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct ITridentTouchInputSite(::windows::core::IUnknown); -impl ITridentTouchInputSite { - pub unsafe fn SetManipulationMode(&self, mstouchaction: styleMsTouchAction) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetManipulationMode)(::windows::core::Interface::as_raw(self), mstouchaction).ok() - } - pub unsafe fn ZoomToPoint(&self, x: i32, y: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).ZoomToPoint)(::windows::core::Interface::as_raw(self), x, y).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: ITridentTouchInputSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a ITridentTouchInputSite> for &'a ::windows::core::IUnknown { - fn from(value: &'a ITridentTouchInputSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&ITridentTouchInputSite> for ::windows::core::IUnknown { - fn from(value: &ITridentTouchInputSite) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for ITridentTouchInputSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for ITridentTouchInputSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITridentTouchInputSite {} -impl ::core::fmt::Debug for ITridentTouchInputSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITridentTouchInputSite").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for ITridentTouchInputSite { - type Vtable = ITridentTouchInputSite_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510849_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct ITridentTouchInputSite_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub SetManipulationMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, mstouchaction: styleMsTouchAction) -> ::windows::core::HRESULT, - pub ZoomToPoint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, x: i32, y: i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Ole\"`*"] -#[cfg(feature = "Win32_System_Ole")] -#[repr(transparent)] -pub struct IUrlHistoryNotify(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Ole")] -impl IUrlHistoryNotify { - #[doc = "*Required features: `\"Win32_System_Ole\"`*"] - #[cfg(feature = "Win32_System_Ole")] - pub unsafe fn QueryStatus(&self, pguidcmdgroup: *const ::windows::core::GUID, ccmds: u32, prgcmds: *mut super::super::System::Ole::OLECMD, pcmdtext: *mut super::super::System::Ole::OLECMDTEXT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.QueryStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidcmdgroup), ccmds, ::core::mem::transmute(prgcmds), ::core::mem::transmute(pcmdtext)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Exec(&self, pguidcmdgroup: *const ::windows::core::GUID, ncmdid: u32, ncmdexecopt: u32, pvain: *const super::super::System::Com::VARIANT, pvaout: *mut super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.Exec)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidcmdgroup), ncmdid, ncmdexecopt, ::core::mem::transmute(pvain), ::core::mem::transmute(pvaout)).ok() - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IUrlHistoryNotify) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Ole")] -impl<'a> ::core::convert::From<&'a IUrlHistoryNotify> for &'a ::windows::core::IUnknown { - fn from(value: &'a IUrlHistoryNotify) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::convert::From<&IUrlHistoryNotify> for ::windows::core::IUnknown { - fn from(value: &IUrlHistoryNotify) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::convert::From for super::super::System::Ole::IOleCommandTarget { - fn from(value: IUrlHistoryNotify) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Ole")] -impl<'a> ::core::convert::From<&'a IUrlHistoryNotify> for &'a super::super::System::Ole::IOleCommandTarget { - fn from(value: &'a IUrlHistoryNotify) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::convert::From<&IUrlHistoryNotify> for super::super::System::Ole::IOleCommandTarget { - fn from(value: &IUrlHistoryNotify) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::clone::Clone for IUrlHistoryNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::PartialEq for IUrlHistoryNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::Eq for IUrlHistoryNotify {} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::fmt::Debug for IUrlHistoryNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUrlHistoryNotify").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Ole")] -unsafe impl ::windows::core::Interface for IUrlHistoryNotify { - type Vtable = IUrlHistoryNotify_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xbc40bec1_c493_11d0_831b_00c04fd5ae38); -} -#[cfg(feature = "Win32_System_Ole")] -#[repr(C)] -#[doc(hidden)] -pub struct IUrlHistoryNotify_Vtbl { - pub base__: super::super::System::Ole::IOleCommandTarget_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IUrlHistoryStg(::windows::core::IUnknown); -impl IUrlHistoryStg { - pub unsafe fn AddUrl<'a, P0, P1>(&self, pocsurl: P0, pocstitle: P1, dwflags: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).AddUrl)(::windows::core::Interface::as_raw(self), pocsurl.into(), pocstitle.into(), dwflags).ok() - } - pub unsafe fn DeleteUrl<'a, P0>(&self, pocsurl: P0, dwflags: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).DeleteUrl)(::windows::core::Interface::as_raw(self), pocsurl.into(), dwflags).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn QueryUrl<'a, P0>(&self, pocsurl: P0, dwflags: u32, lpstaturl: *mut STATURL) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).QueryUrl)(::windows::core::Interface::as_raw(self), pocsurl.into(), dwflags, ::core::mem::transmute(lpstaturl)).ok() - } - pub unsafe fn BindToObject<'a, P0, T>(&self, pocsurl: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - T: ::windows::core::Interface, - { - let mut result__ = ::core::option::Option::None; - (::windows::core::Interface::vtable(self).BindToObject)(::windows::core::Interface::as_raw(self), pocsurl.into(), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) - } - pub unsafe fn EnumUrls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).EnumUrls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IUrlHistoryStg) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IUrlHistoryStg> for &'a ::windows::core::IUnknown { - fn from(value: &'a IUrlHistoryStg) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IUrlHistoryStg> for ::windows::core::IUnknown { - fn from(value: &IUrlHistoryStg) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IUrlHistoryStg { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IUrlHistoryStg { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUrlHistoryStg {} -impl ::core::fmt::Debug for IUrlHistoryStg { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUrlHistoryStg").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IUrlHistoryStg { - type Vtable = IUrlHistoryStg_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3c374a41_bae4_11cf_bf7d_00aa006946ee); -} -#[repr(C)] -#[doc(hidden)] -pub struct IUrlHistoryStg_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub AddUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pocsurl: ::windows::core::PCWSTR, pocstitle: ::windows::core::PCWSTR, dwflags: u32) -> ::windows::core::HRESULT, - pub DeleteUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pocsurl: ::windows::core::PCWSTR, dwflags: u32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub QueryUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pocsurl: ::windows::core::PCWSTR, dwflags: u32, lpstaturl: *mut STATURL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - QueryUrl: usize, - pub BindToObject: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pocsurl: ::windows::core::PCWSTR, riid: *const ::windows::core::GUID, ppvout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub EnumUrls: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IUrlHistoryStg2(::windows::core::IUnknown); -impl IUrlHistoryStg2 { - pub unsafe fn AddUrl<'a, P0, P1>(&self, pocsurl: P0, pocstitle: P1, dwflags: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).base__.AddUrl)(::windows::core::Interface::as_raw(self), pocsurl.into(), pocstitle.into(), dwflags).ok() - } - pub unsafe fn DeleteUrl<'a, P0>(&self, pocsurl: P0, dwflags: u32) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).base__.DeleteUrl)(::windows::core::Interface::as_raw(self), pocsurl.into(), dwflags).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn QueryUrl<'a, P0>(&self, pocsurl: P0, dwflags: u32, lpstaturl: *mut STATURL) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - { - (::windows::core::Interface::vtable(self).base__.QueryUrl)(::windows::core::Interface::as_raw(self), pocsurl.into(), dwflags, ::core::mem::transmute(lpstaturl)).ok() - } - pub unsafe fn BindToObject<'a, P0, T>(&self, pocsurl: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - T: ::windows::core::Interface, - { - let mut result__ = ::core::option::Option::None; - (::windows::core::Interface::vtable(self).base__.BindToObject)(::windows::core::Interface::as_raw(self), pocsurl.into(), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) - } - pub unsafe fn EnumUrls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.EnumUrls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] - pub unsafe fn AddUrlAndNotify<'a, P0, P1, P2, P3, P4>(&self, pocsurl: P0, pocstitle: P1, dwflags: u32, fwritehistory: P2, poctnotify: P3, punkisfolder: P4) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into, - P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Ole::IOleCommandTarget>>, - P4: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).AddUrlAndNotify)(::windows::core::Interface::as_raw(self), pocsurl.into(), pocstitle.into(), dwflags, fwritehistory.into(), poctnotify.into().abi(), punkisfolder.into().abi()).ok() - } - pub unsafe fn ClearHistory(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).ClearHistory)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IUrlHistoryStg2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IUrlHistoryStg2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IUrlHistoryStg2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IUrlHistoryStg2> for ::windows::core::IUnknown { - fn from(value: &IUrlHistoryStg2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for IUrlHistoryStg { - fn from(value: IUrlHistoryStg2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IUrlHistoryStg2> for &'a IUrlHistoryStg { - fn from(value: &'a IUrlHistoryStg2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IUrlHistoryStg2> for IUrlHistoryStg { - fn from(value: &IUrlHistoryStg2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IUrlHistoryStg2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IUrlHistoryStg2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUrlHistoryStg2 {} -impl ::core::fmt::Debug for IUrlHistoryStg2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUrlHistoryStg2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IUrlHistoryStg2 { - type Vtable = IUrlHistoryStg2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xafa0dc11_c313_11d0_831a_00c04fd5ae38); -} -#[repr(C)] -#[doc(hidden)] -pub struct IUrlHistoryStg2_Vtbl { - pub base__: IUrlHistoryStg_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] - pub AddUrlAndNotify: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pocsurl: ::windows::core::PCWSTR, pocstitle: ::windows::core::PCWSTR, dwflags: u32, fwritehistory: super::super::Foundation::BOOL, poctnotify: *mut ::core::ffi::c_void, punkisfolder: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole")))] - AddUrlAndNotify: usize, - pub ClearHistory: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IViewObjectPresentFlip(::windows::core::IUnknown); -impl IViewObjectPresentFlip { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn NotifyRender<'a, P0>(&self, frecreatepresenter: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into, - { - (::windows::core::Interface::vtable(self).NotifyRender)(::windows::core::Interface::as_raw(self), frecreatepresenter.into()).ok() - } - pub unsafe fn RenderObjectToBitmap<'a, P0>(&self, pbitmap: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).RenderObjectToBitmap)(::windows::core::Interface::as_raw(self), pbitmap.into().abi()).ok() - } - pub unsafe fn RenderObjectToSharedBuffer<'a, P0>(&self, pbuffer: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ISurfacePresenterFlipBuffer>>, - { - (::windows::core::Interface::vtable(self).RenderObjectToSharedBuffer)(::windows::core::Interface::as_raw(self), pbuffer.into().abi()).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IViewObjectPresentFlip) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IViewObjectPresentFlip> for &'a ::windows::core::IUnknown { - fn from(value: &'a IViewObjectPresentFlip) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IViewObjectPresentFlip> for ::windows::core::IUnknown { - fn from(value: &IViewObjectPresentFlip) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IViewObjectPresentFlip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IViewObjectPresentFlip { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewObjectPresentFlip {} -impl ::core::fmt::Debug for IViewObjectPresentFlip { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewObjectPresentFlip").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IViewObjectPresentFlip { - type Vtable = IViewObjectPresentFlip_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510847_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IViewObjectPresentFlip_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub NotifyRender: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, frecreatepresenter: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - NotifyRender: usize, - pub RenderObjectToBitmap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbitmap: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub RenderObjectToSharedBuffer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbuffer: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IViewObjectPresentFlip2(::windows::core::IUnknown); -impl IViewObjectPresentFlip2 { - pub unsafe fn NotifyLeavingView(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).NotifyLeavingView)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IViewObjectPresentFlip2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IViewObjectPresentFlip2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IViewObjectPresentFlip2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IViewObjectPresentFlip2> for ::windows::core::IUnknown { - fn from(value: &IViewObjectPresentFlip2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IViewObjectPresentFlip2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IViewObjectPresentFlip2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewObjectPresentFlip2 {} -impl ::core::fmt::Debug for IViewObjectPresentFlip2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewObjectPresentFlip2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IViewObjectPresentFlip2 { - type Vtable = IViewObjectPresentFlip2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510856_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IViewObjectPresentFlip2_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub NotifyLeavingView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IViewObjectPresentFlipSite(::windows::core::IUnknown); -impl IViewObjectPresentFlipSite { - #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] - #[cfg(feature = "Win32_Graphics_Dxgi_Common")] - pub unsafe fn CreateSurfacePresenterFlip<'a, P0>(&self, pdevice: P0, width: u32, height: u32, backbuffercount: u32, format: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, mode: VIEW_OBJECT_ALPHA_MODE) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CreateSurfacePresenterFlip)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), width, height, backbuffercount, format, mode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetDeviceLuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetDeviceLuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn EnterFullScreen(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).EnterFullScreen)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn ExitFullScreen(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).ExitFullScreen)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsFullScreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsFullScreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetBoundingRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetBoundingRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetMetrics(&self, ppos: *mut super::super::Foundation::POINT, psize: *mut super::super::Foundation::SIZE, pscalex: *mut f32, pscaley: *mut f32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).GetMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppos), ::core::mem::transmute(psize), ::core::mem::transmute(pscalex), ::core::mem::transmute(pscaley)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetFullScreenSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetFullScreenSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IViewObjectPresentFlipSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IViewObjectPresentFlipSite> for &'a ::windows::core::IUnknown { - fn from(value: &'a IViewObjectPresentFlipSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IViewObjectPresentFlipSite> for ::windows::core::IUnknown { - fn from(value: &IViewObjectPresentFlipSite) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IViewObjectPresentFlipSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IViewObjectPresentFlipSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewObjectPresentFlipSite {} -impl ::core::fmt::Debug for IViewObjectPresentFlipSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewObjectPresentFlipSite").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IViewObjectPresentFlipSite { - type Vtable = IViewObjectPresentFlipSite_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510846_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IViewObjectPresentFlipSite_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Graphics_Dxgi_Common")] - pub CreateSurfacePresenterFlip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdevice: *mut ::core::ffi::c_void, width: u32, height: u32, backbuffercount: u32, format: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, mode: VIEW_OBJECT_ALPHA_MODE, ppspflip: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] - CreateSurfacePresenterFlip: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetDeviceLuid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pluid: *mut super::super::Foundation::LUID) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetDeviceLuid: usize, - pub EnterFullScreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub ExitFullScreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub IsFullScreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pffullscreen: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsFullScreen: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetBoundingRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prect: *mut super::super::Foundation::RECT) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetBoundingRect: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetMetrics: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppos: *mut super::super::Foundation::POINT, psize: *mut super::super::Foundation::SIZE, pscalex: *mut f32, pscaley: *mut f32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetMetrics: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetFullScreenSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psize: *mut super::super::Foundation::SIZE) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetFullScreenSize: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IViewObjectPresentFlipSite2(::windows::core::IUnknown); -impl IViewObjectPresentFlipSite2 { - #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] - #[cfg(feature = "Win32_Graphics_Dxgi_Common")] - pub unsafe fn GetRotationForCurrentOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetRotationForCurrentOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IViewObjectPresentFlipSite2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IViewObjectPresentFlipSite2> for &'a ::windows::core::IUnknown { - fn from(value: &'a IViewObjectPresentFlipSite2) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IViewObjectPresentFlipSite2> for ::windows::core::IUnknown { - fn from(value: &IViewObjectPresentFlipSite2) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IViewObjectPresentFlipSite2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IViewObjectPresentFlipSite2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewObjectPresentFlipSite2 {} -impl ::core::fmt::Debug for IViewObjectPresentFlipSite2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewObjectPresentFlipSite2").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IViewObjectPresentFlipSite2 { - type Vtable = IViewObjectPresentFlipSite2_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xaad0cbf1_e7fd_4f12_8902_c78132a8e01d); -} -#[repr(C)] -#[doc(hidden)] -pub struct IViewObjectPresentFlipSite2_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Graphics_Dxgi_Common")] - pub GetRotationForCurrentOutput: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdxgirotation: *mut super::super::Graphics::Dxgi::Common::DXGI_MODE_ROTATION) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] - GetRotationForCurrentOutput: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IViewObjectPresentNotify(::windows::core::IUnknown); -impl IViewObjectPresentNotify { - pub unsafe fn OnPreRender(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).OnPreRender)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IViewObjectPresentNotify) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IViewObjectPresentNotify> for &'a ::windows::core::IUnknown { - fn from(value: &'a IViewObjectPresentNotify) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IViewObjectPresentNotify> for ::windows::core::IUnknown { - fn from(value: &IViewObjectPresentNotify) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IViewObjectPresentNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IViewObjectPresentNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewObjectPresentNotify {} -impl ::core::fmt::Debug for IViewObjectPresentNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewObjectPresentNotify").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IViewObjectPresentNotify { - type Vtable = IViewObjectPresentNotify_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107f8_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IViewObjectPresentNotify_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub OnPreRender: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IViewObjectPresentNotifySite(::windows::core::IUnknown); -impl IViewObjectPresentNotifySite { - #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] - #[cfg(feature = "Win32_Graphics_Dxgi_Common")] - pub unsafe fn CreateSurfacePresenter<'a, P0>(&self, pdevice: P0, width: u32, height: u32, backbuffercount: u32, format: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, mode: VIEW_OBJECT_ALPHA_MODE) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.CreateSurfacePresenter)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), width, height, backbuffercount, format, mode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsHardwareComposition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).base__.IsHardwareComposition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetCompositionMode(&self, mode: VIEW_OBJECT_COMPOSITION_MODE) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).base__.SetCompositionMode)(::windows::core::Interface::as_raw(self), mode).ok() - } - pub unsafe fn RequestFrame(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).RequestFrame)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IViewObjectPresentNotifySite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IViewObjectPresentNotifySite> for &'a ::windows::core::IUnknown { - fn from(value: &'a IViewObjectPresentNotifySite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IViewObjectPresentNotifySite> for ::windows::core::IUnknown { - fn from(value: &IViewObjectPresentNotifySite) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::convert::From for IViewObjectPresentSite { - fn from(value: IViewObjectPresentNotifySite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IViewObjectPresentNotifySite> for &'a IViewObjectPresentSite { - fn from(value: &'a IViewObjectPresentNotifySite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IViewObjectPresentNotifySite> for IViewObjectPresentSite { - fn from(value: &IViewObjectPresentNotifySite) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IViewObjectPresentNotifySite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IViewObjectPresentNotifySite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewObjectPresentNotifySite {} -impl ::core::fmt::Debug for IViewObjectPresentNotifySite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewObjectPresentNotifySite").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IViewObjectPresentNotifySite { - type Vtable = IViewObjectPresentNotifySite_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107fa_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IViewObjectPresentNotifySite_Vtbl { - pub base__: IViewObjectPresentSite_Vtbl, - pub RequestFrame: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IViewObjectPresentSite(::windows::core::IUnknown); -impl IViewObjectPresentSite { - #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] - #[cfg(feature = "Win32_Graphics_Dxgi_Common")] - pub unsafe fn CreateSurfacePresenter<'a, P0>(&self, pdevice: P0, width: u32, height: u32, backbuffercount: u32, format: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, mode: VIEW_OBJECT_ALPHA_MODE) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).CreateSurfacePresenter)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), width, height, backbuffercount, format, mode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsHardwareComposition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).IsHardwareComposition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetCompositionMode(&self, mode: VIEW_OBJECT_COMPOSITION_MODE) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetCompositionMode)(::windows::core::Interface::as_raw(self), mode).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IViewObjectPresentSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IViewObjectPresentSite> for &'a ::windows::core::IUnknown { - fn from(value: &'a IViewObjectPresentSite) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IViewObjectPresentSite> for ::windows::core::IUnknown { - fn from(value: &IViewObjectPresentSite) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IViewObjectPresentSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IViewObjectPresentSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewObjectPresentSite {} -impl ::core::fmt::Debug for IViewObjectPresentSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewObjectPresentSite").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IViewObjectPresentSite { - type Vtable = IViewObjectPresentSite_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106e1_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IViewObjectPresentSite_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Graphics_Dxgi_Common")] - pub CreateSurfacePresenter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdevice: *mut ::core::ffi::c_void, width: u32, height: u32, backbuffercount: u32, format: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, mode: VIEW_OBJECT_ALPHA_MODE, ppqueue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] - CreateSurfacePresenter: usize, - #[cfg(feature = "Win32_Foundation")] - pub IsHardwareComposition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pishardwarecomposition: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - IsHardwareComposition: usize, - pub SetCompositionMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, mode: VIEW_OBJECT_COMPOSITION_MODE) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IViewObjectPrint(::windows::core::IUnknown); -impl IViewObjectPrint { - pub unsafe fn GetPrintBitmap(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetPrintBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IViewObjectPrint) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IViewObjectPrint> for &'a ::windows::core::IUnknown { - fn from(value: &'a IViewObjectPrint) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IViewObjectPrint> for ::windows::core::IUnknown { - fn from(value: &IViewObjectPrint) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IViewObjectPrint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IViewObjectPrint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewObjectPrint {} -impl ::core::fmt::Debug for IViewObjectPrint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewObjectPrint").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IViewObjectPrint { - type Vtable = IViewObjectPrint_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305106e3_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IViewObjectPrint_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub GetPrintBitmap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppprintbitmap: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IWBScriptControl(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IWBScriptControl { - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn raiseEvent<'a, P0, P1>(&self, name: P0, eventdata: P1) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).raiseEvent)(::windows::core::Interface::as_raw(self), name.into().abi(), eventdata.into().abi()).ok() - } - pub unsafe fn bubbleEvent(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).bubbleEvent)(::windows::core::Interface::as_raw(self)).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn setContextMenu<'a, P0>(&self, menuitempairs: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).setContextMenu)(::windows::core::Interface::as_raw(self), menuitempairs.into().abi()).ok() - } - pub unsafe fn SetselectableContent(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetselectableContent)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn selectableContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).selectableContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn frozen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).frozen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setscrollbar(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setscrollbar)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn scrollbar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).scrollbar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn visibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).visibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn Setonvisibilitychange<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, - { - (::windows::core::Interface::vtable(self).Setonvisibilitychange)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn onvisibilitychange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).onvisibilitychange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IWBScriptControl) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IWBScriptControl> for &'a ::windows::core::IUnknown { - fn from(value: &'a IWBScriptControl) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IWBScriptControl> for ::windows::core::IUnknown { - fn from(value: &IWBScriptControl) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IWBScriptControl) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IWBScriptControl> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IWBScriptControl) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IWBScriptControl> for super::super::System::Com::IDispatch { - fn from(value: &IWBScriptControl) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWBScriptControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWBScriptControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWBScriptControl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWBScriptControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWBScriptControl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IWBScriptControl { - type Vtable = IWBScriptControl_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa5170870_0cf8_11d1_8b91_0080c744f389); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IWBScriptControl_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub raiseEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop, eventdata: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - raiseEvent: usize, - pub bubbleEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub setContextMenu: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, menuitempairs: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - setContextMenu: usize, - pub SetselectableContent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub selectableContent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub frozen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setscrollbar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub scrollbar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub version: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - version: usize, - pub visibility: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub Setonvisibilitychange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - Setonvisibilitychange: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub onvisibilitychange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - onvisibilitychange: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IWPCBlockedUrls(::windows::core::IUnknown); -impl IWPCBlockedUrls { - pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetUrl(&self, dwidx: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetUrl)(::windows::core::Interface::as_raw(self), dwidx, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IWPCBlockedUrls) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IWPCBlockedUrls> for &'a ::windows::core::IUnknown { - fn from(value: &'a IWPCBlockedUrls) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IWPCBlockedUrls> for ::windows::core::IUnknown { - fn from(value: &IWPCBlockedUrls) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IWPCBlockedUrls { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IWPCBlockedUrls { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWPCBlockedUrls {} -impl ::core::fmt::Debug for IWPCBlockedUrls { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWPCBlockedUrls").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IWPCBlockedUrls { - type Vtable = IWPCBlockedUrls_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510413_98b5_11cf_bb82_00aa00bdce0b); -} -#[repr(C)] -#[doc(hidden)] -pub struct IWPCBlockedUrls_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub GetCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwcount: *mut u32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub GetUrl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwidx: u32, pbstrurl: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetUrl: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IWebBridge(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IWebBridge { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn SetURL<'a, P0>(&self, v: P0) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - (::windows::core::Interface::vtable(self).SetURL)(::windows::core::Interface::as_raw(self), v.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn URL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).URL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn SetScrollbar(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetScrollbar)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn Scrollbar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).Scrollbar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn Setembed(&self, v: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).Setembed)(::windows::core::Interface::as_raw(self), v).ok() - } - pub unsafe fn embed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).embed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn AboutBox(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).AboutBox)(::windows::core::Interface::as_raw(self)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IWebBridge) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IWebBridge> for &'a ::windows::core::IUnknown { - fn from(value: &'a IWebBridge) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IWebBridge> for ::windows::core::IUnknown { - fn from(value: &IWebBridge) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IWebBridge) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IWebBridge> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IWebBridge) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IWebBridge> for super::super::System::Com::IDispatch { - fn from(value: &IWebBridge) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWebBridge { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWebBridge { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWebBridge {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWebBridge { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebBridge").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IWebBridge { - type Vtable = IWebBridge_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xae24fdad_03c6_11d1_8b76_0080c744f389); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IWebBridge_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub SetURL: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - SetURL: usize, - #[cfg(feature = "Win32_Foundation")] - pub URL: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - URL: usize, - pub SetScrollbar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub Scrollbar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - pub Setembed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, v: i16) -> ::windows::core::HRESULT, - pub embed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i16) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub event: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - event: usize, - pub readyState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - pub AboutBox: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IWebBrowserEventsService(::windows::core::IUnknown); -impl IWebBrowserEventsService { - pub unsafe fn FireBeforeNavigate2Event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).FireBeforeNavigate2Event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn FireNavigateComplete2Event(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).FireNavigateComplete2Event)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn FireDownloadBeginEvent(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).FireDownloadBeginEvent)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn FireDownloadCompleteEvent(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).FireDownloadCompleteEvent)(::windows::core::Interface::as_raw(self)).ok() - } - pub unsafe fn FireDocumentCompleteEvent(&self) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).FireDocumentCompleteEvent)(::windows::core::Interface::as_raw(self)).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IWebBrowserEventsService) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IWebBrowserEventsService> for &'a ::windows::core::IUnknown { - fn from(value: &'a IWebBrowserEventsService) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IWebBrowserEventsService> for ::windows::core::IUnknown { - fn from(value: &IWebBrowserEventsService) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IWebBrowserEventsService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IWebBrowserEventsService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebBrowserEventsService {} -impl ::core::fmt::Debug for IWebBrowserEventsService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebBrowserEventsService").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IWebBrowserEventsService { - type Vtable = IWebBrowserEventsService_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x54a8f188_9ebd_4795_ad16_9b4945119636); -} -#[repr(C)] -#[doc(hidden)] -pub struct IWebBrowserEventsService_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub FireBeforeNavigate2Event: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfcancel: *mut i16) -> ::windows::core::HRESULT, - pub FireNavigateComplete2Event: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub FireDownloadBeginEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub FireDownloadCompleteEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - pub FireDocumentCompleteEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IWebBrowserEventsUrlService(::windows::core::IUnknown); -impl IWebBrowserEventsUrlService { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetUrlForEvents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).GetUrlForEvents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IWebBrowserEventsUrlService) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IWebBrowserEventsUrlService> for &'a ::windows::core::IUnknown { - fn from(value: &'a IWebBrowserEventsUrlService) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IWebBrowserEventsUrlService> for ::windows::core::IUnknown { - fn from(value: &IWebBrowserEventsUrlService) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IWebBrowserEventsUrlService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IWebBrowserEventsUrlService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebBrowserEventsUrlService {} -impl ::core::fmt::Debug for IWebBrowserEventsUrlService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebBrowserEventsUrlService").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IWebBrowserEventsUrlService { - type Vtable = IWebBrowserEventsUrlService_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x87cc5d04_eafa_4833_9820_8f986530cc00); -} -#[repr(C)] -#[doc(hidden)] -pub struct IWebBrowserEventsUrlService_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - #[cfg(feature = "Win32_Foundation")] - pub GetUrlForEvents: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, purl: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetUrlForEvents: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IWebGeocoordinates(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IWebGeocoordinates { - pub unsafe fn latitude(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).latitude)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn longitude(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).longitude)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn altitude(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).altitude)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn accuracy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).accuracy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn altitudeAccuracy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).altitudeAccuracy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn heading(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).heading)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub unsafe fn speed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).speed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IWebGeocoordinates) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IWebGeocoordinates> for &'a ::windows::core::IUnknown { - fn from(value: &'a IWebGeocoordinates) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IWebGeocoordinates> for ::windows::core::IUnknown { - fn from(value: &IWebGeocoordinates) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IWebGeocoordinates) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IWebGeocoordinates> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IWebGeocoordinates) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IWebGeocoordinates> for super::super::System::Com::IDispatch { - fn from(value: &IWebGeocoordinates) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWebGeocoordinates { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWebGeocoordinates { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWebGeocoordinates {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWebGeocoordinates { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebGeocoordinates").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IWebGeocoordinates { - type Vtable = IWebGeocoordinates_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107c7_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IWebGeocoordinates_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub latitude: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT, - pub longitude: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub altitude: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - altitude: usize, - pub accuracy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut f64) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub altitudeAccuracy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - altitudeAccuracy: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub heading: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - heading: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] - pub speed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))] - speed: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IWebGeolocation(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IWebGeolocation { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn getCurrentPosition<'a, P0, P1, P2>(&self, successcallback: P0, errorcallback: P1, options: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - (::windows::core::Interface::vtable(self).getCurrentPosition)(::windows::core::Interface::as_raw(self), successcallback.into().abi(), errorcallback.into().abi(), options.into().abi()).ok() - } - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn watchPosition<'a, P0, P1, P2>(&self, successcallback: P0, errorcallback: P1, options: P2) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).watchPosition)(::windows::core::Interface::as_raw(self), successcallback.into().abi(), errorcallback.into().abi(), options.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn clearWatch(&self, watchid: i32) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).clearWatch)(::windows::core::Interface::as_raw(self), watchid).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IWebGeolocation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IWebGeolocation> for &'a ::windows::core::IUnknown { - fn from(value: &'a IWebGeolocation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IWebGeolocation> for ::windows::core::IUnknown { - fn from(value: &IWebGeolocation) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IWebGeolocation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IWebGeolocation> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IWebGeolocation) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IWebGeolocation> for super::super::System::Com::IDispatch { - fn from(value: &IWebGeolocation) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWebGeolocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWebGeolocation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWebGeolocation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWebGeolocation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebGeolocation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IWebGeolocation { - type Vtable = IWebGeolocation_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107c5_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IWebGeolocation_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub getCurrentPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, successcallback: *mut ::core::ffi::c_void, errorcallback: *mut ::core::ffi::c_void, options: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - getCurrentPosition: usize, - #[cfg(feature = "Win32_System_Com")] - pub watchPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, successcallback: *mut ::core::ffi::c_void, errorcallback: *mut ::core::ffi::c_void, options: *mut ::core::ffi::c_void, watchid: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - watchPosition: usize, - pub clearWatch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, watchid: i32) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IWebGeoposition(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IWebGeoposition { - #[doc = "*Required features: `\"Win32_System_Com\"`*"] - #[cfg(feature = "Win32_System_Com")] - pub unsafe fn coords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).coords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - pub unsafe fn timestamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).timestamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IWebGeoposition) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IWebGeoposition> for &'a ::windows::core::IUnknown { - fn from(value: &'a IWebGeoposition) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IWebGeoposition> for ::windows::core::IUnknown { - fn from(value: &IWebGeoposition) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IWebGeoposition) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IWebGeoposition> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IWebGeoposition) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IWebGeoposition> for super::super::System::Com::IDispatch { - fn from(value: &IWebGeoposition) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWebGeoposition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWebGeoposition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWebGeoposition {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWebGeoposition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebGeoposition").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IWebGeoposition { - type Vtable = IWebGeoposition_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107cd_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IWebGeoposition_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] - pub coords: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - coords: usize, - pub timestamp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut u64) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IWebGeopositionError(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IWebGeopositionError { - pub unsafe fn code(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).code)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn message(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IWebGeopositionError) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IWebGeopositionError> for &'a ::windows::core::IUnknown { - fn from(value: &'a IWebGeopositionError) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IWebGeopositionError> for ::windows::core::IUnknown { - fn from(value: &IWebGeopositionError) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IWebGeopositionError) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IWebGeopositionError> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IWebGeopositionError) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IWebGeopositionError> for super::super::System::Com::IDispatch { - fn from(value: &IWebGeopositionError) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWebGeopositionError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWebGeopositionError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWebGeopositionError {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWebGeopositionError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebGeopositionError").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IWebGeopositionError { - type Vtable = IWebGeopositionError_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107c9_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IWebGeopositionError_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - pub code: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut i32) -> ::windows::core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub message: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, p: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - message: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -pub struct IXMLGenericParse(::windows::core::IUnknown); -impl IXMLGenericParse { - pub unsafe fn SetGenericParse(&self, fdogeneric: i16) -> ::windows::core::Result<()> { - (::windows::core::Interface::vtable(self).SetGenericParse)(::windows::core::Interface::as_raw(self), fdogeneric).ok() - } -} -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IXMLGenericParse) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl<'a> ::core::convert::From<&'a IXMLGenericParse> for &'a ::windows::core::IUnknown { - fn from(value: &'a IXMLGenericParse) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -impl ::core::convert::From<&IXMLGenericParse> for ::windows::core::IUnknown { - fn from(value: &IXMLGenericParse) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -impl ::core::clone::Clone for IXMLGenericParse { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl ::core::cmp::PartialEq for IXMLGenericParse { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXMLGenericParse {} -impl ::core::fmt::Debug for IXMLGenericParse { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLGenericParse").field(&self.0).finish() - } -} -unsafe impl ::windows::core::Interface for IXMLGenericParse { - type Vtable = IXMLGenericParse_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe4e23071_4d07_11d2_ae76_0080c73bc199); -} -#[repr(C)] -#[doc(hidden)] -pub struct IXMLGenericParse_Vtbl { - pub base__: ::windows::core::IUnknownVtbl, - pub SetGenericParse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fdogeneric: i16) -> ::windows::core::HRESULT, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct IXMLHttpRequestEventTarget(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl IXMLHttpRequestEventTarget {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: IXMLHttpRequestEventTarget) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IXMLHttpRequestEventTarget> for &'a ::windows::core::IUnknown { - fn from(value: &'a IXMLHttpRequestEventTarget) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IXMLHttpRequestEventTarget> for ::windows::core::IUnknown { - fn from(value: &IXMLHttpRequestEventTarget) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: IXMLHttpRequestEventTarget) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a IXMLHttpRequestEventTarget> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a IXMLHttpRequestEventTarget) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&IXMLHttpRequestEventTarget> for super::super::System::Com::IDispatch { - fn from(value: &IXMLHttpRequestEventTarget) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLHttpRequestEventTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLHttpRequestEventTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLHttpRequestEventTarget {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLHttpRequestEventTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLHttpRequestEventTarget").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for IXMLHttpRequestEventTarget { - type Vtable = IXMLHttpRequestEventTarget_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510830_98b5_11cf_bb82_00aa00bdce0b); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct IXMLHttpRequestEventTarget_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[inline] -pub unsafe fn IdentifyMIMEType(pbbytes: *const u8, nbytes: u32, pnformat: *mut u32) -> ::windows::core::Result<()> { - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn IdentifyMIMEType(pbbytes: *const u8, nbytes: u32, pnformat: *mut u32) -> ::windows::core::HRESULT; - } - IdentifyMIMEType(::core::mem::transmute(pbbytes), nbytes, ::core::mem::transmute(pnformat)).ok() -} -pub const IntelliForms: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x613ab92e_16bf_11d2_bca5_00c04fd929db); -pub const InternetExplorerManager: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xdf4fcc34_067a_4e0a_8352_4a1a5095346e); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[repr(transparent)] -pub struct Iwfolders(::windows::core::IUnknown); -#[cfg(feature = "Win32_System_Com")] -impl Iwfolders { - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn navigate<'a, P0>(&self, bstrurl: P0) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).navigate)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn navigateFrame<'a, P0, P1>(&self, bstrurl: P0, bstrtargetframe: P1) -> ::windows::core::Result - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - { - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - (::windows::core::Interface::vtable(self).navigateFrame)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), bstrtargetframe.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) - } - #[doc = "*Required features: `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn navigateNoSite<'a, P0, P1, P2>(&self, bstrurl: P0, bstrtargetframe: P1, dwhwnd: u32, pwb: P2) -> ::windows::core::Result<()> - where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, - P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, - { - (::windows::core::Interface::vtable(self).navigateNoSite)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), bstrtargetframe.into().abi(), dwhwnd, pwb.into().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for ::windows::core::IUnknown { - fn from(value: Iwfolders) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a Iwfolders> for &'a ::windows::core::IUnknown { - fn from(value: &'a Iwfolders) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&Iwfolders> for ::windows::core::IUnknown { - fn from(value: &Iwfolders) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From for super::super::System::Com::IDispatch { - fn from(value: Iwfolders) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl<'a> ::core::convert::From<&'a Iwfolders> for &'a super::super::System::Com::IDispatch { - fn from(value: &'a Iwfolders) -> Self { - unsafe { ::core::mem::transmute(value) } - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::convert::From<&Iwfolders> for super::super::System::Com::IDispatch { - fn from(value: &Iwfolders) -> Self { - ::core::convert::From::from(::core::clone::Clone::clone(value)) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for Iwfolders { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for Iwfolders { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for Iwfolders {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for Iwfolders { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Iwfolders").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows::core::Interface for Iwfolders { - type Vtable = Iwfolders_Vtbl; - const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xbae31f98_1b81_11d2_a97a_00c04f8ecb02); -} -#[cfg(feature = "Win32_System_Com")] -#[repr(C)] -#[doc(hidden)] -pub struct Iwfolders_Vtbl { - pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub navigate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, pbstrretval: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - navigate: usize, - #[cfg(feature = "Win32_Foundation")] - pub navigateFrame: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, bstrtargetframe: ::core::mem::ManuallyDrop, pbstrretval: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - navigateFrame: usize, - #[cfg(feature = "Win32_Foundation")] - pub navigateNoSite: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bstrurl: ::core::mem::ManuallyDrop, bstrtargetframe: ::core::mem::ManuallyDrop, dwhwnd: u32, pwb: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - navigateNoSite: usize, -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct LINE_DIRECTION(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const LINE_DIRECTION_RightToLeft: LINE_DIRECTION = LINE_DIRECTION(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const LINE_DIRECTION_LeftToRight: LINE_DIRECTION = LINE_DIRECTION(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const LINE_DIRECTION_Max: LINE_DIRECTION = LINE_DIRECTION(2147483647i32); -impl ::core::marker::Copy for LINE_DIRECTION {} -impl ::core::clone::Clone for LINE_DIRECTION { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for LINE_DIRECTION { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for LINE_DIRECTION { - type Abi = Self; -} -impl ::core::fmt::Debug for LINE_DIRECTION { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LINE_DIRECTION").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const LINKSBAND: u32 = 4u32; -#[repr(C)] -pub struct LayoutRectEvents(pub u8); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MAPMIME_CLSID: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MAPMIME_DEFAULT: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MAPMIME_DEFAULT_ALWAYS: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MAPMIME_DISABLE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MARKUP_CONTEXT_TYPE(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_TYPE_None: MARKUP_CONTEXT_TYPE = MARKUP_CONTEXT_TYPE(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_TYPE_Text: MARKUP_CONTEXT_TYPE = MARKUP_CONTEXT_TYPE(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_TYPE_EnterScope: MARKUP_CONTEXT_TYPE = MARKUP_CONTEXT_TYPE(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_TYPE_ExitScope: MARKUP_CONTEXT_TYPE = MARKUP_CONTEXT_TYPE(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const CONTEXT_TYPE_NoScope: MARKUP_CONTEXT_TYPE = MARKUP_CONTEXT_TYPE(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MARKUP_CONTEXT_TYPE_Max: MARKUP_CONTEXT_TYPE = MARKUP_CONTEXT_TYPE(2147483647i32); -impl ::core::marker::Copy for MARKUP_CONTEXT_TYPE {} -impl ::core::clone::Clone for MARKUP_CONTEXT_TYPE { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for MARKUP_CONTEXT_TYPE { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for MARKUP_CONTEXT_TYPE { - type Abi = Self; -} -impl ::core::fmt::Debug for MARKUP_CONTEXT_TYPE { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MARKUP_CONTEXT_TYPE").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MAX_SEARCH_FORMAT_STRING: u32 = 255u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MENUEXT_SHOWDIALOG: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MOVEUNIT_ACTION(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVCHAR: MOVEUNIT_ACTION = MOVEUNIT_ACTION(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTCHAR: MOVEUNIT_ACTION = MOVEUNIT_ACTION(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVCLUSTERBEGIN: MOVEUNIT_ACTION = MOVEUNIT_ACTION(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTCLUSTERBEGIN: MOVEUNIT_ACTION = MOVEUNIT_ACTION(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVCLUSTEREND: MOVEUNIT_ACTION = MOVEUNIT_ACTION(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTCLUSTEREND: MOVEUNIT_ACTION = MOVEUNIT_ACTION(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVWORDBEGIN: MOVEUNIT_ACTION = MOVEUNIT_ACTION(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTWORDBEGIN: MOVEUNIT_ACTION = MOVEUNIT_ACTION(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVWORDEND: MOVEUNIT_ACTION = MOVEUNIT_ACTION(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTWORDEND: MOVEUNIT_ACTION = MOVEUNIT_ACTION(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVPROOFWORD: MOVEUNIT_ACTION = MOVEUNIT_ACTION(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTPROOFWORD: MOVEUNIT_ACTION = MOVEUNIT_ACTION(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTURLBEGIN: MOVEUNIT_ACTION = MOVEUNIT_ACTION(12i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVURLBEGIN: MOVEUNIT_ACTION = MOVEUNIT_ACTION(13i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTURLEND: MOVEUNIT_ACTION = MOVEUNIT_ACTION(14i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVURLEND: MOVEUNIT_ACTION = MOVEUNIT_ACTION(15i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVSENTENCE: MOVEUNIT_ACTION = MOVEUNIT_ACTION(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTSENTENCE: MOVEUNIT_ACTION = MOVEUNIT_ACTION(17i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_PREVBLOCK: MOVEUNIT_ACTION = MOVEUNIT_ACTION(18i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_NEXTBLOCK: MOVEUNIT_ACTION = MOVEUNIT_ACTION(19i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MOVEUNIT_ACTION_Max: MOVEUNIT_ACTION = MOVEUNIT_ACTION(2147483647i32); -impl ::core::marker::Copy for MOVEUNIT_ACTION {} -impl ::core::clone::Clone for MOVEUNIT_ACTION { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for MOVEUNIT_ACTION { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for MOVEUNIT_ACTION { - type Abi = Self; -} -impl ::core::fmt::Debug for MOVEUNIT_ACTION { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MOVEUNIT_ACTION").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MediaActivityNotifyType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MediaPlayback: MediaActivityNotifyType = MediaActivityNotifyType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MediaRecording: MediaActivityNotifyType = MediaActivityNotifyType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const MediaCasting: MediaActivityNotifyType = MediaActivityNotifyType(2i32); -impl ::core::marker::Copy for MediaActivityNotifyType {} -impl ::core::clone::Clone for MediaActivityNotifyType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for MediaActivityNotifyType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for MediaActivityNotifyType { - type Abi = Self; -} -impl ::core::fmt::Debug for MediaActivityNotifyType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaActivityNotifyType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct NAVIGATEFRAME_FLAGS(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const NAVIGATEFRAME_FL_RECORD: NAVIGATEFRAME_FLAGS = NAVIGATEFRAME_FLAGS(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const NAVIGATEFRAME_FL_POST: NAVIGATEFRAME_FLAGS = NAVIGATEFRAME_FLAGS(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const NAVIGATEFRAME_FL_NO_DOC_CACHE: NAVIGATEFRAME_FLAGS = NAVIGATEFRAME_FLAGS(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const NAVIGATEFRAME_FL_NO_IMAGE_CACHE: NAVIGATEFRAME_FLAGS = NAVIGATEFRAME_FLAGS(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const NAVIGATEFRAME_FL_AUTH_FAIL_CACHE_OK: NAVIGATEFRAME_FLAGS = NAVIGATEFRAME_FLAGS(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const NAVIGATEFRAME_FL_SENDING_FROM_FORM: NAVIGATEFRAME_FLAGS = NAVIGATEFRAME_FLAGS(32i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const NAVIGATEFRAME_FL_REALLY_SENDING_FROM_FORM: NAVIGATEFRAME_FLAGS = NAVIGATEFRAME_FLAGS(64i32); -impl ::core::marker::Copy for NAVIGATEFRAME_FLAGS {} -impl ::core::clone::Clone for NAVIGATEFRAME_FLAGS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for NAVIGATEFRAME_FLAGS { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for NAVIGATEFRAME_FLAGS { - type Abi = Self; -} -impl ::core::fmt::Debug for NAVIGATEFRAME_FLAGS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NAVIGATEFRAME_FLAGS").field(&self.0).finish() - } -} -pub const NodeIterator: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510745_98b5_11cf_bb82_00aa00bdce0b); -pub const OldHTMLDocument: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd48a6ec9_6a4a_11cf_94a7_444553540000); -pub const OldHTMLFormElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x0d04d285_6bec_11cf_8b97_00aa00476da6); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OpenServiceActivityContentType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ActivityContentNone: OpenServiceActivityContentType = OpenServiceActivityContentType(-1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ActivityContentDocument: OpenServiceActivityContentType = OpenServiceActivityContentType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ActivityContentSelection: OpenServiceActivityContentType = OpenServiceActivityContentType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ActivityContentLink: OpenServiceActivityContentType = OpenServiceActivityContentType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const ActivityContentCount: OpenServiceActivityContentType = OpenServiceActivityContentType(3i32); -impl ::core::marker::Copy for OpenServiceActivityContentType {} -impl ::core::clone::Clone for OpenServiceActivityContentType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for OpenServiceActivityContentType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for OpenServiceActivityContentType { - type Abi = Self; -} -impl ::core::fmt::Debug for OpenServiceActivityContentType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OpenServiceActivityContentType").field(&self.0).finish() - } -} -pub const OpenServiceActivityManager: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc5efd803_50f8_43cd_9ab8_aafc1394c9e0); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OpenServiceErrors(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const OS_E_NOTFOUND: OpenServiceErrors = OpenServiceErrors(-2147287038i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const OS_E_NOTSUPPORTED: OpenServiceErrors = OpenServiceErrors(-2147467231i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const OS_E_CANCELLED: OpenServiceErrors = OpenServiceErrors(-2147471631i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const OS_E_GPDISABLED: OpenServiceErrors = OpenServiceErrors(-1072886820i32); -impl ::core::marker::Copy for OpenServiceErrors {} -impl ::core::clone::Clone for OpenServiceErrors { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for OpenServiceErrors { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for OpenServiceErrors { - type Abi = Self; -} -impl ::core::fmt::Debug for OpenServiceErrors { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OpenServiceErrors").field(&self.0).finish() - } -} -pub const OpenServiceManager: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x098870b6_39ea_480b_b8b5_dd0167c4db59); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct PARSE_FLAGS(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PARSE_ABSOLUTIFYIE40URLS: PARSE_FLAGS = PARSE_FLAGS(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PARSE_DISABLEVML: PARSE_FLAGS = PARSE_FLAGS(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PARSE_FLAGS_Max: PARSE_FLAGS = PARSE_FLAGS(2147483647i32); -impl ::core::marker::Copy for PARSE_FLAGS {} -impl ::core::clone::Clone for PARSE_FLAGS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for PARSE_FLAGS { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for PARSE_FLAGS { - type Abi = Self; -} -impl ::core::fmt::Debug for PARSE_FLAGS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PARSE_FLAGS").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct POINTER_GRAVITY(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const POINTER_GRAVITY_Left: POINTER_GRAVITY = POINTER_GRAVITY(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const POINTER_GRAVITY_Right: POINTER_GRAVITY = POINTER_GRAVITY(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const POINTER_GRAVITY_Max: POINTER_GRAVITY = POINTER_GRAVITY(2147483647i32); -impl ::core::marker::Copy for POINTER_GRAVITY {} -impl ::core::clone::Clone for POINTER_GRAVITY { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for POINTER_GRAVITY { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for POINTER_GRAVITY { - type Abi = Self; -} -impl ::core::fmt::Debug for POINTER_GRAVITY { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("POINTER_GRAVITY").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PRINT_DONTBOTHERUSER: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PRINT_WAITFORCOMPLETION: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PRIVACY_URLHASCOMPACTPOLICY: u32 = 131072u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PRIVACY_URLHASP3PHEADER: u32 = 4194304u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PRIVACY_URLHASPOLICYREFHEADER: u32 = 2097152u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PRIVACY_URLHASPOLICYREFLINK: u32 = 1048576u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PRIVACY_URLHASPOSTDATA: u32 = 524288u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PRIVACY_URLISTOPLEVEL: u32 = 65536u32; -pub const PeerFactory: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4cf_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTRA_VAL_STARTPAGE: &str = "Start Page"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_PATH_CURRENT: &str = "current"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_PATH_DEFAULT: &str = "default"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_PATH_INETCPL_RESTRICTIONS: &str = "Software\\Policies\\Microsoft\\Internet Explorer\\Control Panel"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_PATH_MIME_DATABASE: &str = "MIME\\Database"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_PATH_REMOTEACCESS: &str = "RemoteAccess"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_PATH_REMOTEACESS: &str = "RemoteAccess"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_SHIFTQUICKSUFFIX: &str = "ShiftQuickCompleteSuffix"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ACCEPT_LANGUAGE: &str = "AcceptLanguage"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ACCESSMEDIUM: &str = "AccessMedium"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ACCESSTYPE: &str = "AccessType"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ALIASTO: &str = "AliasForCharset"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ANCHORCOLOR: &str = "Anchor Color"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ANCHORCOLORHOVER: &str = "Anchor Color Hover"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ANCHORCOLORVISITED: &str = "Anchor Color Visited"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ANCHORUNDERLINE: &str = "Anchor Underline"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_AUTODETECT: &str = "AutoDetect"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_AUTODIALDLLNAME: &str = "AutodialDllName"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_AUTODIALFCNNAME: &str = "AutodialFcnName"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_AUTODIAL_MONITORCLASSNAME: &str = "MS_AutodialMonitor"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_AUTODIAL_TRYONLYONCE: &str = "TryAutodialOnce"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_AUTONAVIGATE: &str = "SearchForExtensions"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_AUTOSEARCH: &str = "Do404Search"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_BACKBITMAP: &str = "BackBitmap"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_BACKGROUNDCOLOR: &str = "Background Color"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_BODYCHARSET: &str = "BodyCharset"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_BYPASSAUTOCONFIG: &str = "BypassAutoconfig"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_CACHEPREFIX: &str = "CachePrefix"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_CHECKASSOC: &str = "Check_Associations"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_CODEDOWNLOAD: &str = "Code Download"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_CODEDOWNLOAD_DEF: &str = "yes"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_CODEPAGE: &str = "CodePage"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_COVEREXCLUDE: &str = "CoverExclude"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_DAYSTOKEEP: &str = "DaysToKeep"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_DEFAULT_CODEPAGE: &str = "Default_CodePage"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_DEFAULT_SCRIPT: &str = "Default_Script"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_DEF_ENCODING: &str = "Default_Encoding"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_DEF_INETENCODING: &str = "Default_InternetEncoding"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_DESCRIPTION: &str = "Description"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_DIRECTORY: &str = "Directory"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_DISCONNECTIDLETIME: &str = "DisconnectIdleTime"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ENABLEAUTODIAL: &str = "EnableAutodial"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ENABLEAUTODIALDISCONNECT: &str = "EnableAutodisconnect"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ENABLEAUTODISCONNECT: &str = "EnableAutodisconnect"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ENABLEEXITDISCONNECT: &str = "EnableExitDisconnect"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ENABLESECURITYCHECK: &str = "EnableSecurityCheck"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ENABLEUNATTENDED: &str = "EnableUnattended"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_ENCODENAME: &str = "EncodingName"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_FAMILY: &str = "Family"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_FIXEDWIDTHFONT: &str = "FixedWidthFont"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_FIXED_FONT: &str = "IEFixedFontName"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_FONT_SCRIPT: &str = "Script"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_FONT_SCRIPTS: &str = "Scripts"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_FONT_SCRIPT_NAME: &str = "Script"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_FONT_SIZE: &str = "IEFontSize"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_FONT_SIZE_DEF: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_HEADERCHARSET: &str = "HeaderCharset"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_HTTP_ERRORS: &str = "Friendly http errors"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_IE_CUSTOMCOLORS: &str = "Custom Colors"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETCPL_ADVANCEDTAB: &str = "AdvancedTab"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETCPL_CONNECTIONSTAB: &str = "ConnectionsTab"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETCPL_CONTENTTAB: &str = "ContentTab"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETCPL_GENERALTAB: &str = "GeneralTab"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETCPL_IEAK: &str = "IEAKContext"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETCPL_PRIVACYTAB: &str = "PrivacyTab"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETCPL_PROGRAMSTAB: &str = "ProgramsTab"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETCPL_SECURITYTAB: &str = "SecurityTab"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INETENCODING: &str = "InternetEncoding"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INTERNETENTRY: &str = "InternetProfile"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INTERNETENTRYBKUP: &str = "BackupInternetProfile"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_INTERNETPROFILE: &str = "InternetProfile"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_JAVAJIT: &str = "EnableJIT"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_JAVAJIT_DEF: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_JAVALOGGING: &str = "EnableLogging"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_JAVALOGGING_DEF: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_LEVEL: &str = "Level"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_LOADIMAGES: &str = "Display Inline Images"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_LOCALPAGE: &str = "Local Page"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_MOSDISCONNECT: &str = "DisconnectTimeout"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_NEWDIRECTORY: &str = "NewDirectory"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_NONETAUTODIAL: &str = "NoNetAutodial"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_PLAYSOUNDS: &str = "Play_Background_Sounds"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_PLAYVIDEOS: &str = "Display Inline Videos"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_PRIVCONVERTER: &str = "PrivConverter"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_PROPORTIONALFONT: &str = "ProportionalFont"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_PROP_FONT: &str = "IEPropFontName"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_PROXYENABLE: &str = "ProxyEnable"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_PROXYOVERRIDE: &str = "ProxyOverride"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_PROXYSERVER: &str = "ProxyServer"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_REDIALATTEMPTS: &str = "RedialAttempts"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_REDIALINTERVAL: &str = "RedialWait"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_RNAINSTALLED: &str = "Installed"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SAFETYWARNINGLEVEL: &str = "Safety Warning Level"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SCHANNELENABLEPROTOCOL: &str = "Enabled"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SCHANNELENABLEPROTOCOL_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SCRIPT_FIXED_FONT: &str = "IEFixedFontName"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SCRIPT_PROP_FONT: &str = "IEPropFontName"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SEARCHPAGE: &str = "Search Page"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYACTICEXSCRIPTS: &str = "Security_RunScripts"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYACTICEXSCRIPTS_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYACTIVEX: &str = "Security_RunActiveXControls"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYACTIVEX_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYALLOWCOOKIES: &str = "AllowCookies"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYALLOWCOOKIES_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYDISABLECACHINGOFSSLPAGES: &str = "DisableCachingOfSSLPages"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYDISABLECACHINGOFSSLPAGES_DEF: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYJAVA: &str = "Security_RunJavaApplets"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYJAVA_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONBADCERTSENDING: &str = "WarnOnBadCertSending"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONBADCERTSENDING_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONBADCERTVIEWING: &str = "WarnOnBadCertRecving"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONBADCERTVIEWING_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONSEND: &str = "WarnOnPost"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONSENDALWAYS: &str = "WarnAlwaysOnPost"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONSENDALWAYS_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONSEND_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONVIEW: &str = "WarnOnView"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONVIEW_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONZONECROSSING: &str = "WarnOnZoneCrossing"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SECURITYWARNONZONECROSSING_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SHOWADDRESSBAR: &str = "Show_URLToolBar"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SHOWFOCUS: &str = "Tabstop - MouseDown"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SHOWFOCUS_DEF: &str = "no"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SHOWFULLURLS: &str = "Show_FullURL"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SHOWTOOLBAR: &str = "Show_ToolBar"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SMOOTHSCROLL: &str = "SmoothScroll"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_SMOOTHSCROLL_DEF: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_STARTPAGE: &str = "Start Page"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_TEXTCOLOR: &str = "Text Color"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_TRUSTWARNINGLEVEL_HIGH: &str = "High"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_TRUSTWARNINGLEVEL_LOW: &str = "No Security"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_TRUSTWARNINGLEVEL_MED: &str = "Medium"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USEAUTOAPPEND: &str = "Append Completion"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USEAUTOCOMPLETE: &str = "Use AutoComplete"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USEAUTOSUGGEST: &str = "AutoSuggest"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USEDLGCOLORS: &str = "Use_DlgBox_Colors"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USEHOVERCOLOR: &str = "Use Anchor Hover Color"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USEIBAR: &str = "UseBar"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USEICM: &str = "UseICM"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USEICM_DEF: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USERAGENT: &str = "User Agent"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USESTYLESHEETS: &str = "Use Stylesheets"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_USESTYLESHEETS_DEF: &str = "yes"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_VISIBLEBANDS: &str = "VisibleBands"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_VISIBLEBANDS_DEF: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const REGSTR_VAL_WEBCHARSET: &str = "WebCharset"; -pub const RangeException: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051072e_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn RatingAccessDeniedDialog<'a, P0, P1, P2>(hdlg: P0, pszusername: P1, pszcontentdescription: P2, pratingdetails: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into, - P1: ::std::convert::Into<::windows::core::PCSTR>, - P2: ::std::convert::Into<::windows::core::PCSTR>, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingAccessDeniedDialog(hdlg: super::super::Foundation::HWND, pszusername: ::windows::core::PCSTR, pszcontentdescription: ::windows::core::PCSTR, pratingdetails: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; - } - RatingAccessDeniedDialog(hdlg.into(), pszusername.into(), pszcontentdescription.into(), ::core::mem::transmute(pratingdetails)).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn RatingAccessDeniedDialog2<'a, P0, P1>(hdlg: P0, pszusername: P1, pratingdetails: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into, - P1: ::std::convert::Into<::windows::core::PCSTR>, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingAccessDeniedDialog2(hdlg: super::super::Foundation::HWND, pszusername: ::windows::core::PCSTR, pratingdetails: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; - } - RatingAccessDeniedDialog2(hdlg.into(), pszusername.into(), ::core::mem::transmute(pratingdetails)).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn RatingAccessDeniedDialog2W<'a, P0, P1>(hdlg: P0, pszusername: P1, pratingdetails: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into, - P1: ::std::convert::Into<::windows::core::PCWSTR>, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingAccessDeniedDialog2W(hdlg: super::super::Foundation::HWND, pszusername: ::windows::core::PCWSTR, pratingdetails: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; - } - RatingAccessDeniedDialog2W(hdlg.into(), pszusername.into(), ::core::mem::transmute(pratingdetails)).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn RatingAccessDeniedDialogW<'a, P0, P1, P2>(hdlg: P0, pszusername: P1, pszcontentdescription: P2, pratingdetails: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingAccessDeniedDialogW(hdlg: super::super::Foundation::HWND, pszusername: ::windows::core::PCWSTR, pszcontentdescription: ::windows::core::PCWSTR, pratingdetails: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; - } - RatingAccessDeniedDialogW(hdlg.into(), pszusername.into(), pszcontentdescription.into(), ::core::mem::transmute(pratingdetails)).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn RatingAddToApprovedSites<'a, P0, P1, P2, P3, P4>(hdlg: P0, cbpasswordblob: u32, pbpasswordblob: *mut u8, lpszurl: P1, falwaysnever: P2, fsitepage: P3, fapprovedsitesenforced: P4) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into, - P3: ::std::convert::Into, - P4: ::std::convert::Into, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingAddToApprovedSites(hdlg: super::super::Foundation::HWND, cbpasswordblob: u32, pbpasswordblob: *mut u8, lpszurl: ::windows::core::PCWSTR, falwaysnever: super::super::Foundation::BOOL, fsitepage: super::super::Foundation::BOOL, fapprovedsitesenforced: super::super::Foundation::BOOL) -> ::windows::core::HRESULT; - } - RatingAddToApprovedSites(hdlg.into(), cbpasswordblob, ::core::mem::transmute(pbpasswordblob), lpszurl.into(), falwaysnever.into(), fsitepage.into(), fapprovedsitesenforced.into()).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[inline] -pub unsafe fn RatingCheckUserAccess<'a, P0, P1, P2>(pszusername: P0, pszurl: P1, pszratinginfo: P2, pdata: *const u8, cbdata: u32, ppratingdetails: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into<::windows::core::PCSTR>, - P1: ::std::convert::Into<::windows::core::PCSTR>, - P2: ::std::convert::Into<::windows::core::PCSTR>, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingCheckUserAccess(pszusername: ::windows::core::PCSTR, pszurl: ::windows::core::PCSTR, pszratinginfo: ::windows::core::PCSTR, pdata: *const u8, cbdata: u32, ppratingdetails: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; - } - RatingCheckUserAccess(pszusername.into(), pszurl.into(), pszratinginfo.into(), ::core::mem::transmute(pdata), cbdata, ::core::mem::transmute(ppratingdetails)).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[inline] -pub unsafe fn RatingCheckUserAccessW<'a, P0, P1, P2>(pszusername: P0, pszurl: P1, pszratinginfo: P2, pdata: *const u8, cbdata: u32, ppratingdetails: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into<::windows::core::PCWSTR>, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into<::windows::core::PCWSTR>, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingCheckUserAccessW(pszusername: ::windows::core::PCWSTR, pszurl: ::windows::core::PCWSTR, pszratinginfo: ::windows::core::PCWSTR, pdata: *const u8, cbdata: u32, ppratingdetails: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; - } - RatingCheckUserAccessW(pszusername.into(), pszurl.into(), pszratinginfo.into(), ::core::mem::transmute(pdata), cbdata, ::core::mem::transmute(ppratingdetails)).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn RatingClickedOnPRFInternal<'a, P0, P1, P2>(hwndowner: P0, param1: P1, lpszfilename: P2, nshow: i32) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into, - P1: ::std::convert::Into, - P2: ::std::convert::Into<::windows::core::PCSTR>, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingClickedOnPRFInternal(hwndowner: super::super::Foundation::HWND, param1: super::super::Foundation::HINSTANCE, lpszfilename: ::windows::core::PCSTR, nshow: i32) -> ::windows::core::HRESULT; - } - RatingClickedOnPRFInternal(hwndowner.into(), param1.into(), lpszfilename.into(), nshow).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn RatingClickedOnRATInternal<'a, P0, P1, P2>(hwndowner: P0, param1: P1, lpszfilename: P2, nshow: i32) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into, - P1: ::std::convert::Into, - P2: ::std::convert::Into<::windows::core::PCSTR>, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingClickedOnRATInternal(hwndowner: super::super::Foundation::HWND, param1: super::super::Foundation::HINSTANCE, lpszfilename: ::windows::core::PCSTR, nshow: i32) -> ::windows::core::HRESULT; - } - RatingClickedOnRATInternal(hwndowner.into(), param1.into(), lpszfilename.into(), nshow).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn RatingEnable<'a, P0, P1, P2>(hwndparent: P0, pszusername: P1, fenable: P2) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into, - P1: ::std::convert::Into<::windows::core::PCSTR>, - P2: ::std::convert::Into, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingEnable(hwndparent: super::super::Foundation::HWND, pszusername: ::windows::core::PCSTR, fenable: super::super::Foundation::BOOL) -> ::windows::core::HRESULT; - } - RatingEnable(hwndparent.into(), pszusername.into(), fenable.into()).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn RatingEnableW<'a, P0, P1, P2>(hwndparent: P0, pszusername: P1, fenable: P2) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into, - P1: ::std::convert::Into<::windows::core::PCWSTR>, - P2: ::std::convert::Into, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingEnableW(hwndparent: super::super::Foundation::HWND, pszusername: ::windows::core::PCWSTR, fenable: super::super::Foundation::BOOL) -> ::windows::core::HRESULT; - } - RatingEnableW(hwndparent.into(), pszusername.into(), fenable.into()).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[inline] -pub unsafe fn RatingEnabledQuery() -> ::windows::core::Result<()> { - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingEnabledQuery() -> ::windows::core::HRESULT; - } - RatingEnabledQuery().ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[inline] -pub unsafe fn RatingFreeDetails(pratingdetails: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingFreeDetails(pratingdetails: *const ::core::ffi::c_void) -> ::windows::core::HRESULT; - } - RatingFreeDetails(::core::mem::transmute(pratingdetails)).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[inline] -pub unsafe fn RatingInit() -> ::windows::core::Result<()> { - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingInit() -> ::windows::core::HRESULT; - } - RatingInit().ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn RatingObtainCancel<'a, P0>(hratingobtainquery: P0) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingObtainCancel(hratingobtainquery: super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; - } - RatingObtainCancel(hratingobtainquery.into()).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn RatingObtainQuery<'a, P0>(psztargeturl: P0, dwuserdata: u32, fcallback: isize) -> ::windows::core::Result -where - P0: ::std::convert::Into<::windows::core::PCSTR>, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingObtainQuery(psztargeturl: ::windows::core::PCSTR, dwuserdata: u32, fcallback: isize, phratingobtainquery: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; - } - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - RatingObtainQuery(psztargeturl.into(), dwuserdata, fcallback, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn RatingObtainQueryW<'a, P0>(psztargeturl: P0, dwuserdata: u32, fcallback: isize) -> ::windows::core::Result -where - P0: ::std::convert::Into<::windows::core::PCWSTR>, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingObtainQueryW(psztargeturl: ::windows::core::PCWSTR, dwuserdata: u32, fcallback: isize, phratingobtainquery: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; - } - let mut result__ = ::core::mem::MaybeUninit::zeroed(); - RatingObtainQueryW(psztargeturl.into(), dwuserdata, fcallback, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn RatingSetupUI<'a, P0, P1>(hdlg: P0, pszusername: P1) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into, - P1: ::std::convert::Into<::windows::core::PCSTR>, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingSetupUI(hdlg: super::super::Foundation::HWND, pszusername: ::windows::core::PCSTR) -> ::windows::core::HRESULT; - } - RatingSetupUI(hdlg.into(), pszusername.into()).ok() -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn RatingSetupUIW<'a, P0, P1>(hdlg: P0, pszusername: P1) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into, - P1: ::std::convert::Into<::windows::core::PCWSTR>, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn RatingSetupUIW(hdlg: super::super::Foundation::HWND, pszusername: ::windows::core::PCWSTR) -> ::windows::core::HRESULT; - } - RatingSetupUIW(hdlg.into(), pszusername.into()).ok() -} -pub const RulesApplied: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x7c803920_7a53_4d26_98ac_fdd23e6b9e01); -pub const RulesAppliedCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x671926ee_c3cf_40af_be8f_1cbaee6486e8); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct SAVE_SEGMENTS_FLAGS(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SAVE_SEGMENTS_NoIE4SelectionCompat: SAVE_SEGMENTS_FLAGS = SAVE_SEGMENTS_FLAGS(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SAVE_SEGMENTS_FLAGS_Max: SAVE_SEGMENTS_FLAGS = SAVE_SEGMENTS_FLAGS(2147483647i32); -impl ::core::marker::Copy for SAVE_SEGMENTS_FLAGS {} -impl ::core::clone::Clone for SAVE_SEGMENTS_FLAGS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for SAVE_SEGMENTS_FLAGS { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for SAVE_SEGMENTS_FLAGS { - type Abi = Self; -} -impl ::core::fmt::Debug for SAVE_SEGMENTS_FLAGS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SAVE_SEGMENTS_FLAGS").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct SCRIPT_TIMER_TYPE(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STT_TIMEOUT: SCRIPT_TIMER_TYPE = SCRIPT_TIMER_TYPE(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STT_INTERVAL: SCRIPT_TIMER_TYPE = SCRIPT_TIMER_TYPE(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STT_IMMEDIATE: SCRIPT_TIMER_TYPE = SCRIPT_TIMER_TYPE(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STT_ANIMATION_FRAME: SCRIPT_TIMER_TYPE = SCRIPT_TIMER_TYPE(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SCRIPT_TIMER_TYPE_Max: SCRIPT_TIMER_TYPE = SCRIPT_TIMER_TYPE(2147483647i32); -impl ::core::marker::Copy for SCRIPT_TIMER_TYPE {} -impl ::core::clone::Clone for SCRIPT_TIMER_TYPE { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for SCRIPT_TIMER_TYPE { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for SCRIPT_TIMER_TYPE { - type Abi = Self; -} -impl ::core::fmt::Debug for SCRIPT_TIMER_TYPE { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SCRIPT_TIMER_TYPE").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct SCROLLABLECONTEXTMENU_PLACEMENT(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SCMP_TOP: SCROLLABLECONTEXTMENU_PLACEMENT = SCROLLABLECONTEXTMENU_PLACEMENT(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SCMP_BOTTOM: SCROLLABLECONTEXTMENU_PLACEMENT = SCROLLABLECONTEXTMENU_PLACEMENT(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SCMP_LEFT: SCROLLABLECONTEXTMENU_PLACEMENT = SCROLLABLECONTEXTMENU_PLACEMENT(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SCMP_RIGHT: SCROLLABLECONTEXTMENU_PLACEMENT = SCROLLABLECONTEXTMENU_PLACEMENT(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SCMP_FULL: SCROLLABLECONTEXTMENU_PLACEMENT = SCROLLABLECONTEXTMENU_PLACEMENT(4i32); -impl ::core::marker::Copy for SCROLLABLECONTEXTMENU_PLACEMENT {} -impl ::core::clone::Clone for SCROLLABLECONTEXTMENU_PLACEMENT { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for SCROLLABLECONTEXTMENU_PLACEMENT { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for SCROLLABLECONTEXTMENU_PLACEMENT { - type Abi = Self; -} -impl ::core::fmt::Debug for SCROLLABLECONTEXTMENU_PLACEMENT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SCROLLABLECONTEXTMENU_PLACEMENT").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct SECUREURLHOSTVALIDATE_FLAGS(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SUHV_PROMPTBEFORENO: SECUREURLHOSTVALIDATE_FLAGS = SECUREURLHOSTVALIDATE_FLAGS(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SUHV_SILENTYES: SECUREURLHOSTVALIDATE_FLAGS = SECUREURLHOSTVALIDATE_FLAGS(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SUHV_UNSECURESOURCE: SECUREURLHOSTVALIDATE_FLAGS = SECUREURLHOSTVALIDATE_FLAGS(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SECUREURLHOSTVALIDATE_FLAGS_Max: SECUREURLHOSTVALIDATE_FLAGS = SECUREURLHOSTVALIDATE_FLAGS(2147483647i32); -impl ::core::marker::Copy for SECUREURLHOSTVALIDATE_FLAGS {} -impl ::core::clone::Clone for SECUREURLHOSTVALIDATE_FLAGS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for SECUREURLHOSTVALIDATE_FLAGS { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for SECUREURLHOSTVALIDATE_FLAGS { - type Abi = Self; -} -impl ::core::fmt::Debug for SECUREURLHOSTVALIDATE_FLAGS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SECUREURLHOSTVALIDATE_FLAGS").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct SELECTION_TYPE(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SELECTION_TYPE_None: SELECTION_TYPE = SELECTION_TYPE(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SELECTION_TYPE_Caret: SELECTION_TYPE = SELECTION_TYPE(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SELECTION_TYPE_Text: SELECTION_TYPE = SELECTION_TYPE(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SELECTION_TYPE_Control: SELECTION_TYPE = SELECTION_TYPE(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SELECTION_TYPE_Max: SELECTION_TYPE = SELECTION_TYPE(2147483647i32); -impl ::core::marker::Copy for SELECTION_TYPE {} -impl ::core::clone::Clone for SELECTION_TYPE { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for SELECTION_TYPE { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for SELECTION_TYPE { - type Abi = Self; -} -impl ::core::fmt::Debug for SELECTION_TYPE { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SELECTION_TYPE").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub type SHOWHTMLDIALOGEXFN = ::core::option::Option, dwdialogflags: u32, pvarargin: *mut super::super::System::Com::VARIANT, pchoptions: ::windows::core::PCWSTR, pvargout: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT>; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub type SHOWHTMLDIALOGFN = ::core::option::Option, pvarargin: *mut super::super::System::Com::VARIANT, pchoptions: ::windows::core::PCWSTR, pvargout: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT>; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -pub type SHOWMODELESSHTMLDIALOGFN = ::core::option::Option, pvarargin: *mut super::super::System::Com::VARIANT, pvaroptions: *mut super::super::System::Com::VARIANT, ppwindow: *mut ::core::option::Option) -> ::windows::core::HRESULT>; -pub const SID_SEditCommandTarget: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f4b5_98b5_11cf_bb82_00aa00bdce0b); -pub const SID_SHTMLEditHost: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f6a0_98b5_11cf_bb82_00aa00bdce0b); -pub const SID_SHTMLEditServices: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f7f9_98b5_11cf_bb82_00aa00bdce0b); -#[repr(C)] -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub struct STATURL { - pub cbSize: u32, - pub pwcsUrl: ::windows::core::PWSTR, - pub pwcsTitle: ::windows::core::PWSTR, - pub ftLastVisited: super::super::Foundation::FILETIME, - pub ftLastUpdated: super::super::Foundation::FILETIME, - pub ftExpires: super::super::Foundation::FILETIME, - pub dwFlags: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for STATURL {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for STATURL { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::fmt::Debug for STATURL { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("STATURL").field("cbSize", &self.cbSize).field("pwcsUrl", &self.pwcsUrl).field("pwcsTitle", &self.pwcsTitle).field("ftLastVisited", &self.ftLastVisited).field("ftLastUpdated", &self.ftLastUpdated).field("ftExpires", &self.ftExpires).field("dwFlags", &self.dwFlags).finish() - } -} -#[cfg(feature = "Win32_Foundation")] -unsafe impl ::windows::core::Abi for STATURL { - type Abi = Self; -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::cmp::PartialEq for STATURL { - fn eq(&self, other: &Self) -> bool { - unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } - } -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::cmp::Eq for STATURL {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::default::Default for STATURL { - fn default() -> Self { - unsafe { ::core::mem::zeroed() } - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STATURLFLAG_ISCACHED: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STATURLFLAG_ISTOPLEVEL: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STATURL_QUERYFLAG_ISCACHED: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STATURL_QUERYFLAG_NOTITLE: u32 = 262144u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STATURL_QUERYFLAG_NOURL: u32 = 131072u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STATURL_QUERYFLAG_TOPLEVEL: u32 = 524288u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_AFTERUPDATE: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_BEFOREUPDATE: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ERRORUPDATE: u32 = 65549u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONBEFORECOPY: u32 = 65566u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONBEFORECUT: u32 = 65565u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONBEFOREPASTE: u32 = 65567u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONCELLCHANGE: u32 = 65570u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONCOPY: u32 = 65563u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONCUT: u32 = 65562u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDATAAVAILABLE: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDATASETCHANGED: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDATASETCOMPLETE: u32 = 65552u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDRAG: u32 = 65556u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDRAGEND: u32 = 65557u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDRAGENTER: u32 = 65558u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDRAGLEAVE: u32 = 65560u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDRAGOVER: u32 = 65559u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDRAGSTART: u32 = 65547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONDROP: u32 = 65561u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONFILTER: u32 = 65553u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONFOCUS: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONHELP: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONLOSECAPTURE: u32 = 65554u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONMOUSEOUT: u32 = 65545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONMOUSEOVER: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONPASTE: u32 = 65564u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONPROPERTYCHANGE: u32 = 65555u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONROWENTER: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONROWEXIT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONROWSDELETE: u32 = 65568u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONROWSINSERTED: u32 = 65569u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDDISPID_XOBJ_ONSELECTSTART: u32 = 65548u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_IE3XOBJ_OBJECTALIGN: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_ALIGNPERSIST: u32 = 65596u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_APPLICATION: u32 = 65607u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_BASEHREF: u32 = 65538u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_BLOCKALIGN: u32 = 65608u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_BOTTOM: u32 = 65614u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_CANCEL: u32 = 65592u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_CONTROLALIGN: u32 = 65609u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_CONTROLTIPTEXT: u32 = 65605u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_COUNT: u32 = 65611u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_DATACHANGED: u32 = 65601u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_DATAFIELD: u32 = 65602u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_DATASOURCE: u32 = 65603u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_DEFAULT: u32 = 65591u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_DISABLED: u32 = 65612u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_DRAGICON: u32 = 65546u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_DRAGMODE: u32 = 65545u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_GETSVGDOCUMENT: u32 = 65615u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_HEIGHT: u32 = 65542u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_HELPCONTEXTID: u32 = 65586u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_INDEX: u32 = 65537u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_LEFT: u32 = 65539u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_LEFTNORUN: u32 = 65593u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_LINKITEM: u32 = 65599u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_LINKMODE: u32 = 65600u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_LINKTIMEOUT: u32 = 65597u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_LINKTOPIC: u32 = 65598u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_NAME: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_PARENT: u32 = 65544u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_RIGHT: u32 = 65613u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_STATUSBARTEXT: u32 = 65606u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_STYLE: u32 = 65610u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_TABINDEX: u32 = 65551u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_TABSTOP: u32 = 65550u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_TAG: u32 = 65547u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_TOP: u32 = 65540u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_TOPNORUN: u32 = 65594u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_VISIBLE: u32 = 65543u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_WHATSTHISHELPID: u32 = 65604u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const STDPROPID_XOBJ_WIDTH: u32 = 65541u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SURFACE_LOCK_ALLOW_DISCARD: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SURFACE_LOCK_EXCLUSIVE: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SURFACE_LOCK_WAIT: u32 = 4u32; -pub const SVGAElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105db_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGAngle: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510584_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGAnimatedAngle: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105e4_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGAnimatedBoolean: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051058b_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGAnimatedEnumeration: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051058e_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGAnimatedInteger: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051058f_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGAnimatedLength: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510581_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGAnimatedLengthList: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510582_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGAnimatedNumber: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510588_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGAnimatedNumberList: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051058a_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGAnimatedPreserveAspectRatio: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105ce_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGAnimatedRect: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510586_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGAnimatedString: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051058c_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGAnimatedTransformList: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105b1_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGCircleElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510578_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGClipPathElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105e6_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGDefsElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510570_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGDescElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510572_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510564_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGElementInstance: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510575_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGElementInstanceList: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510576_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGEllipseElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510579_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGException: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510730_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGGElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051056f_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGGradientElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105d6_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGImageElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105cf_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGLength: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051057e_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGLengthList: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510580_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGLineElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051057a_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGLinearGradientElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105d2_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGMarkerElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105de_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGMaskElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105e7_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGMatrix: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105ae_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGMetadataElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105d7_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGNumber: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510587_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGNumberList: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510589_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105b2_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSeg: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105b3_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegArcAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105bb_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegArcRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105bc_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegClosePath: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105bd_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegCurvetoCubicAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105be_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegCurvetoCubicRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105bf_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegCurvetoCubicSmoothAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105c0_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegCurvetoCubicSmoothRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105c1_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegCurvetoQuadraticAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105c2_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegCurvetoQuadraticRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105c3_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegCurvetoQuadraticSmoothAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105c4_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegCurvetoQuadraticSmoothRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105c5_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegLinetoAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105c6_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegLinetoHorizontalAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105c7_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegLinetoHorizontalRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105c8_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegLinetoRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105c9_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegLinetoVerticalAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105ca_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegLinetoVerticalRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105cb_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegList: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105b4_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegMovetoAbs: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105cc_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPathSegMovetoRel: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105cd_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPatternElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105d4_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPoint: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105ba_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPointList: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105b9_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPolygonElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051057b_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPolylineElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051057c_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGPreserveAspectRatio: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105d0_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGRadialGradientElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105d3_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGRect: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510583_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGRectElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510577_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGSVGElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510574_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGScriptElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105e1_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGStopElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105d5_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGStringList: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051058d_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGStyleElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105d1_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGSwitchElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105d8_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGSymbolElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510571_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGTSpanElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105e2_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGTextContentElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105dd_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGTextElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105df_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGTextPathElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105eb_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGTextPositioningElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105e0_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGTitleElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510573_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGTransform: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105af_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGTransformList: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105b0_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGUseElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510590_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGViewElement: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105dc_98b5_11cf_bb82_00aa00bdce0b); -pub const SVGZoomEvent: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305105d9_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZBACKBITMAP: &str = "BackBitmap"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZJAVAVMPATH: &str = "\\Java VM"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZNOTEXT: &str = "NoText"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZTOOLBAR: &str = "\\Toolbar"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZTRUSTWARNLEVEL: &str = "Trust Warning Level"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZVISIBLE: &str = "VisibleBands"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_HTML_CLIENTSITE_OBJECTPARAM: &str = "{d4db6850-5385-11d0-89e9-00a0c90a90ac}"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_IE_DEFAULT_HTML_EDITOR: &str = "Default HTML Editor"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_IE_IBAR: &str = "Bar"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_IE_IBAR_BANDS: &str = "Bands"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_IE_MAIN: &str = "Main"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_IE_SEARCHSTRINGS: &str = "UrlTemplate"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_IE_SECURITY: &str = "Security"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_IE_SETTINGS: &str = "Settings"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SZ_IE_THRESHOLDS: &str = "ErrorThresholds"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const S_SURFACE_DISCARDED: i32 = 49155i32; -pub const Scriptlet: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xae24fdae_03c6_11d1_8b76_0080c744f389); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -#[inline] -pub unsafe fn SniffStream<'a, P0>(pinstream: P0, pnformat: *mut u32, ppoutstream: *mut ::core::option::Option) -> ::windows::core::Result<()> -where - P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, -{ - #[cfg_attr(windows, link(name = "windows"))] - extern "system" { - fn SniffStream(pinstream: *mut ::core::ffi::c_void, pnformat: *mut u32, ppoutstream: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; - } - SniffStream(pinstream.into().abi(), ::core::mem::transmute(pnformat), ::core::mem::transmute(ppoutstream)).ok() -} -pub const StaticNodeList: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510467_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TARGET_NOTIFY_OBJECT_NAME: &str = "863a99a0-21bc-11d0-82b4-00a0c90c29c5"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TF_NAVIGATE: u32 = 2142153644u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TIMERMODE_NORMAL: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TIMERMODE_VISIBILITYAWARE: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TOOLSBAND: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZCALENDARPROTOCOL: &str = "unk"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZCALLTOPROTOCOL: &str = "callto"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZINTERNETCLIENTSPATH: &str = "Software\\Microsoft\\Internet Explorer\\Unix"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZLDAPPROTOCOL: &str = "ldap"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZMAILTOPROTOCOL: &str = "mailto"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZMICROSOFTPATH: &str = "Software\\Microsoft"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZNEWSPROTOCOL: &str = "news"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZPROTOCOLSPATH: &str = "Protocols\\"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZSCHANNELPATH: &str = "SYSTEM\\CurrentControlSet\\Control\\SecurityProviders\\SCHANNEL"; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TSZVSOURCEPROTOCOL: &str = "view source"; -pub const ThreadDialogProcParam: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3050f5eb_98b5_11cf_bb82_00aa00bdce0b); -pub const TreeWalker: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510747_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct VIEW_OBJECT_ALPHA_MODE(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const VIEW_OBJECT_ALPHA_MODE_IGNORE: VIEW_OBJECT_ALPHA_MODE = VIEW_OBJECT_ALPHA_MODE(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const VIEW_OBJECT_ALPHA_MODE_PREMULTIPLIED: VIEW_OBJECT_ALPHA_MODE = VIEW_OBJECT_ALPHA_MODE(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const VIEW_OBJECT_ALPHA_MODE_Max: VIEW_OBJECT_ALPHA_MODE = VIEW_OBJECT_ALPHA_MODE(2147483647i32); -impl ::core::marker::Copy for VIEW_OBJECT_ALPHA_MODE {} -impl ::core::clone::Clone for VIEW_OBJECT_ALPHA_MODE { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for VIEW_OBJECT_ALPHA_MODE { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for VIEW_OBJECT_ALPHA_MODE { - type Abi = Self; -} -impl ::core::fmt::Debug for VIEW_OBJECT_ALPHA_MODE { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VIEW_OBJECT_ALPHA_MODE").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct VIEW_OBJECT_COMPOSITION_MODE(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const VIEW_OBJECT_COMPOSITION_MODE_LEGACY: VIEW_OBJECT_COMPOSITION_MODE = VIEW_OBJECT_COMPOSITION_MODE(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const VIEW_OBJECT_COMPOSITION_MODE_SURFACEPRESENTER: VIEW_OBJECT_COMPOSITION_MODE = VIEW_OBJECT_COMPOSITION_MODE(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const VIEW_OBJECT_COMPOSITION_MODE_Max: VIEW_OBJECT_COMPOSITION_MODE = VIEW_OBJECT_COMPOSITION_MODE(2147483647i32); -impl ::core::marker::Copy for VIEW_OBJECT_COMPOSITION_MODE {} -impl ::core::clone::Clone for VIEW_OBJECT_COMPOSITION_MODE { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for VIEW_OBJECT_COMPOSITION_MODE { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for VIEW_OBJECT_COMPOSITION_MODE { - type Abi = Self; -} -impl ::core::fmt::Debug for VIEW_OBJECT_COMPOSITION_MODE { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VIEW_OBJECT_COMPOSITION_MODE").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const WEBOC_DISPIDBASE: u32 = 70536u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const WEBOC_DISPIDMAX: u32 = 70636u32; -pub const WebGeocoordinates: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107c8_98b5_11cf_bb82_00aa00bdce0b); -pub const WebGeolocation: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107c6_98b5_11cf_bb82_00aa00bdce0b); -pub const WebGeoposition: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107ce_98b5_11cf_bb82_00aa00bdce0b); -pub const WebGeopositionError: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x305107ca_98b5_11cf_bb82_00aa00bdce0b); -pub const XDomainRequest: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510455_98b5_11cf_bb82_00aa00bdce0b); -pub const XDomainRequestFactory: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510457_98b5_11cf_bb82_00aa00bdce0b); -pub const XMLHttpRequestEventTarget: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x30510831_98b5_11cf_bb82_00aa00bdce0b); -pub const XMLSerializer: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3051077e_98b5_11cf_bb82_00aa00bdce0b); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct bodyScroll(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const bodyScrollyes: bodyScroll = bodyScroll(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const bodyScrollno: bodyScroll = bodyScroll(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const bodyScrollauto: bodyScroll = bodyScroll(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const bodyScrolldefault: bodyScroll = bodyScroll(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const bodyScroll_Max: bodyScroll = bodyScroll(2147483647i32); -impl ::core::marker::Copy for bodyScroll {} -impl ::core::clone::Clone for bodyScroll { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for bodyScroll { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for bodyScroll { - type Abi = Self; -} -impl ::core::fmt::Debug for bodyScroll { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("bodyScroll").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct frameScrolling(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const frameScrollingyes: frameScrolling = frameScrolling(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const frameScrollingno: frameScrolling = frameScrolling(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const frameScrollingauto: frameScrolling = frameScrolling(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const frameScrolling_Max: frameScrolling = frameScrolling(2147483647i32); -impl ::core::marker::Copy for frameScrolling {} -impl ::core::clone::Clone for frameScrolling { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for frameScrolling { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for frameScrolling { - type Abi = Self; -} -impl ::core::fmt::Debug for frameScrolling { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("frameScrolling").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlAdjacency(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlAdjacencyBeforeBegin: htmlAdjacency = htmlAdjacency(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlAdjacencyAfterBegin: htmlAdjacency = htmlAdjacency(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlAdjacencyBeforeEnd: htmlAdjacency = htmlAdjacency(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlAdjacencyAfterEnd: htmlAdjacency = htmlAdjacency(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlAdjacency_Max: htmlAdjacency = htmlAdjacency(2147483647i32); -impl ::core::marker::Copy for htmlAdjacency {} -impl ::core::clone::Clone for htmlAdjacency { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlAdjacency { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlAdjacency { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlAdjacency { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlAdjacency").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlApplyLocation(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlApplyLocationInside: htmlApplyLocation = htmlApplyLocation(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlApplyLocationOutside: htmlApplyLocation = htmlApplyLocation(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlApplyLocation_Max: htmlApplyLocation = htmlApplyLocation(2147483647i32); -impl ::core::marker::Copy for htmlApplyLocation {} -impl ::core::clone::Clone for htmlApplyLocation { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlApplyLocation { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlApplyLocation { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlApplyLocation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlApplyLocation").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlBlockAlign(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlBlockAlignNotSet: htmlBlockAlign = htmlBlockAlign(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlBlockAlignLeft: htmlBlockAlign = htmlBlockAlign(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlBlockAlignCenter: htmlBlockAlign = htmlBlockAlign(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlBlockAlignRight: htmlBlockAlign = htmlBlockAlign(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlBlockAlignJustify: htmlBlockAlign = htmlBlockAlign(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlBlockAlign_Max: htmlBlockAlign = htmlBlockAlign(2147483647i32); -impl ::core::marker::Copy for htmlBlockAlign {} -impl ::core::clone::Clone for htmlBlockAlign { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlBlockAlign { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlBlockAlign { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlBlockAlign { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlBlockAlign").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlCaptionAlign(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionAlignNotSet: htmlCaptionAlign = htmlCaptionAlign(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionAlignLeft: htmlCaptionAlign = htmlCaptionAlign(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionAlignCenter: htmlCaptionAlign = htmlCaptionAlign(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionAlignRight: htmlCaptionAlign = htmlCaptionAlign(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionAlignJustify: htmlCaptionAlign = htmlCaptionAlign(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionAlignTop: htmlCaptionAlign = htmlCaptionAlign(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionAlignBottom: htmlCaptionAlign = htmlCaptionAlign(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionAlign_Max: htmlCaptionAlign = htmlCaptionAlign(2147483647i32); -impl ::core::marker::Copy for htmlCaptionAlign {} -impl ::core::clone::Clone for htmlCaptionAlign { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlCaptionAlign { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlCaptionAlign { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlCaptionAlign { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlCaptionAlign").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlCaptionVAlign(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionVAlignNotSet: htmlCaptionVAlign = htmlCaptionVAlign(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionVAlignTop: htmlCaptionVAlign = htmlCaptionVAlign(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionVAlignBottom: htmlCaptionVAlign = htmlCaptionVAlign(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCaptionVAlign_Max: htmlCaptionVAlign = htmlCaptionVAlign(2147483647i32); -impl ::core::marker::Copy for htmlCaptionVAlign {} -impl ::core::clone::Clone for htmlCaptionVAlign { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlCaptionVAlign { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlCaptionVAlign { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlCaptionVAlign { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlCaptionVAlign").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlCellAlign(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellAlignNotSet: htmlCellAlign = htmlCellAlign(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellAlignLeft: htmlCellAlign = htmlCellAlign(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellAlignCenter: htmlCellAlign = htmlCellAlign(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellAlignRight: htmlCellAlign = htmlCellAlign(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellAlignMiddle: htmlCellAlign = htmlCellAlign(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellAlign_Max: htmlCellAlign = htmlCellAlign(2147483647i32); -impl ::core::marker::Copy for htmlCellAlign {} -impl ::core::clone::Clone for htmlCellAlign { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlCellAlign { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlCellAlign { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlCellAlign { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlCellAlign").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlCellVAlign(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellVAlignNotSet: htmlCellVAlign = htmlCellVAlign(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellVAlignTop: htmlCellVAlign = htmlCellVAlign(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellVAlignMiddle: htmlCellVAlign = htmlCellVAlign(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellVAlignBottom: htmlCellVAlign = htmlCellVAlign(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellVAlignBaseline: htmlCellVAlign = htmlCellVAlign(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellVAlignCenter: htmlCellVAlign = htmlCellVAlign(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCellVAlign_Max: htmlCellVAlign = htmlCellVAlign(2147483647i32); -impl ::core::marker::Copy for htmlCellVAlign {} -impl ::core::clone::Clone for htmlCellVAlign { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlCellVAlign { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlCellVAlign { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlCellVAlign { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlCellVAlign").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlClear(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlClearNotSet: htmlClear = htmlClear(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlClearAll: htmlClear = htmlClear(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlClearLeft: htmlClear = htmlClear(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlClearRight: htmlClear = htmlClear(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlClearBoth: htmlClear = htmlClear(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlClearNone: htmlClear = htmlClear(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlClear_Max: htmlClear = htmlClear(2147483647i32); -impl ::core::marker::Copy for htmlClear {} -impl ::core::clone::Clone for htmlClear { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlClear { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlClear { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlClear { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlClear").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlCompatMode(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCompatModeBackCompat: htmlCompatMode = htmlCompatMode(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCompatModeCSS1Compat: htmlCompatMode = htmlCompatMode(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlCompatMode_Max: htmlCompatMode = htmlCompatMode(2147483647i32); -impl ::core::marker::Copy for htmlCompatMode {} -impl ::core::clone::Clone for htmlCompatMode { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlCompatMode { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlCompatMode { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlCompatMode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlCompatMode").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlComponent(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentClient: htmlComponent = htmlComponent(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbLeft: htmlComponent = htmlComponent(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbPageLeft: htmlComponent = htmlComponent(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbHThumb: htmlComponent = htmlComponent(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbPageRight: htmlComponent = htmlComponent(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbRight: htmlComponent = htmlComponent(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbUp: htmlComponent = htmlComponent(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbPageUp: htmlComponent = htmlComponent(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbVThumb: htmlComponent = htmlComponent(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbPageDown: htmlComponent = htmlComponent(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbDown: htmlComponent = htmlComponent(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbLeft2: htmlComponent = htmlComponent(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbPageLeft2: htmlComponent = htmlComponent(12i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbRight2: htmlComponent = htmlComponent(13i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbPageRight2: htmlComponent = htmlComponent(14i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbUp2: htmlComponent = htmlComponent(15i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbPageUp2: htmlComponent = htmlComponent(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbDown2: htmlComponent = htmlComponent(17i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbPageDown2: htmlComponent = htmlComponent(18i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbTop: htmlComponent = htmlComponent(19i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentSbBottom: htmlComponent = htmlComponent(20i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentOutside: htmlComponent = htmlComponent(21i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentGHTopLeft: htmlComponent = htmlComponent(22i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentGHLeft: htmlComponent = htmlComponent(23i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentGHTop: htmlComponent = htmlComponent(24i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentGHBottomLeft: htmlComponent = htmlComponent(25i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentGHTopRight: htmlComponent = htmlComponent(26i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentGHBottom: htmlComponent = htmlComponent(27i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentGHRight: htmlComponent = htmlComponent(28i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponentGHBottomRight: htmlComponent = htmlComponent(29i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlComponent_Max: htmlComponent = htmlComponent(2147483647i32); -impl ::core::marker::Copy for htmlComponent {} -impl ::core::clone::Clone for htmlComponent { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlComponent { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlComponent { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlComponent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlComponent").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlControlAlign(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignNotSet: htmlControlAlign = htmlControlAlign(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignLeft: htmlControlAlign = htmlControlAlign(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignCenter: htmlControlAlign = htmlControlAlign(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignRight: htmlControlAlign = htmlControlAlign(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignTextTop: htmlControlAlign = htmlControlAlign(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignAbsMiddle: htmlControlAlign = htmlControlAlign(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignBaseline: htmlControlAlign = htmlControlAlign(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignAbsBottom: htmlControlAlign = htmlControlAlign(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignBottom: htmlControlAlign = htmlControlAlign(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignMiddle: htmlControlAlign = htmlControlAlign(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlignTop: htmlControlAlign = htmlControlAlign(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlControlAlign_Max: htmlControlAlign = htmlControlAlign(2147483647i32); -impl ::core::marker::Copy for htmlControlAlign {} -impl ::core::clone::Clone for htmlControlAlign { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlControlAlign { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlControlAlign { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlControlAlign { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlControlAlign").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlDesignMode(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDesignModeInherit: htmlDesignMode = htmlDesignMode(-2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDesignModeOn: htmlDesignMode = htmlDesignMode(-1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDesignModeOff: htmlDesignMode = htmlDesignMode(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDesignMode_Max: htmlDesignMode = htmlDesignMode(2147483647i32); -impl ::core::marker::Copy for htmlDesignMode {} -impl ::core::clone::Clone for htmlDesignMode { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlDesignMode { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlDesignMode { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlDesignMode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlDesignMode").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlDir(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDirNotSet: htmlDir = htmlDir(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDirLeftToRight: htmlDir = htmlDir(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDirRightToLeft: htmlDir = htmlDir(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDir_Max: htmlDir = htmlDir(2147483647i32); -impl ::core::marker::Copy for htmlDir {} -impl ::core::clone::Clone for htmlDir { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlDir { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlDir { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlDir { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlDir").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlDirection(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDirectionForward: htmlDirection = htmlDirection(99999i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDirectionBackward: htmlDirection = htmlDirection(-99999i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDirection_Max: htmlDirection = htmlDirection(2147483647i32); -impl ::core::marker::Copy for htmlDirection {} -impl ::core::clone::Clone for htmlDirection { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlDirection { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlDirection { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlDirection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlDirection").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlDraggable(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDraggableAuto: htmlDraggable = htmlDraggable(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDraggableTrue: htmlDraggable = htmlDraggable(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDraggableFalse: htmlDraggable = htmlDraggable(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDraggable_Max: htmlDraggable = htmlDraggable(2147483647i32); -impl ::core::marker::Copy for htmlDraggable {} -impl ::core::clone::Clone for htmlDraggable { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlDraggable { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlDraggable { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlDraggable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlDraggable").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlDropEffect(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDropEffectCopy: htmlDropEffect = htmlDropEffect(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDropEffectLink: htmlDropEffect = htmlDropEffect(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDropEffectMove: htmlDropEffect = htmlDropEffect(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDropEffectNone: htmlDropEffect = htmlDropEffect(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlDropEffect_Max: htmlDropEffect = htmlDropEffect(2147483647i32); -impl ::core::marker::Copy for htmlDropEffect {} -impl ::core::clone::Clone for htmlDropEffect { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlDropEffect { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlDropEffect { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlDropEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlDropEffect").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlEditable(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEditableInherit: htmlEditable = htmlEditable(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEditableTrue: htmlEditable = htmlEditable(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEditableFalse: htmlEditable = htmlEditable(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEditable_Max: htmlEditable = htmlEditable(2147483647i32); -impl ::core::marker::Copy for htmlEditable {} -impl ::core::clone::Clone for htmlEditable { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlEditable { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlEditable { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlEditable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlEditable").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlEffectAllowed(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedCopy: htmlEffectAllowed = htmlEffectAllowed(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedLink: htmlEffectAllowed = htmlEffectAllowed(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedMove: htmlEffectAllowed = htmlEffectAllowed(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedCopyLink: htmlEffectAllowed = htmlEffectAllowed(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedCopyMove: htmlEffectAllowed = htmlEffectAllowed(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedLinkMove: htmlEffectAllowed = htmlEffectAllowed(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedAll: htmlEffectAllowed = htmlEffectAllowed(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedNone: htmlEffectAllowed = htmlEffectAllowed(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowedUninitialized: htmlEffectAllowed = htmlEffectAllowed(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEffectAllowed_Max: htmlEffectAllowed = htmlEffectAllowed(2147483647i32); -impl ::core::marker::Copy for htmlEffectAllowed {} -impl ::core::clone::Clone for htmlEffectAllowed { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlEffectAllowed { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlEffectAllowed { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlEffectAllowed { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlEffectAllowed").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlEncoding(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEncodingURL: htmlEncoding = htmlEncoding(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEncodingMultipart: htmlEncoding = htmlEncoding(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEncodingText: htmlEncoding = htmlEncoding(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEncoding_Max: htmlEncoding = htmlEncoding(2147483647i32); -impl ::core::marker::Copy for htmlEncoding {} -impl ::core::clone::Clone for htmlEncoding { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlEncoding { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlEncoding { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlEncoding { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlEncoding").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlEndPoints(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEndPointsStartToStart: htmlEndPoints = htmlEndPoints(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEndPointsStartToEnd: htmlEndPoints = htmlEndPoints(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEndPointsEndToStart: htmlEndPoints = htmlEndPoints(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEndPointsEndToEnd: htmlEndPoints = htmlEndPoints(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlEndPoints_Max: htmlEndPoints = htmlEndPoints(2147483647i32); -impl ::core::marker::Copy for htmlEndPoints {} -impl ::core::clone::Clone for htmlEndPoints { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlEndPoints { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlEndPoints { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlEndPoints { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlEndPoints").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlFrame(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFrameNotSet: htmlFrame = htmlFrame(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFramevoid: htmlFrame = htmlFrame(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFrameabove: htmlFrame = htmlFrame(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFramebelow: htmlFrame = htmlFrame(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFramehsides: htmlFrame = htmlFrame(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFramelhs: htmlFrame = htmlFrame(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFramerhs: htmlFrame = htmlFrame(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFramevsides: htmlFrame = htmlFrame(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFramebox: htmlFrame = htmlFrame(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFrameborder: htmlFrame = htmlFrame(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlFrame_Max: htmlFrame = htmlFrame(2147483647i32); -impl ::core::marker::Copy for htmlFrame {} -impl ::core::clone::Clone for htmlFrame { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlFrame { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlFrame { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlFrame").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlGlyphMode(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlGlyphModeNone: htmlGlyphMode = htmlGlyphMode(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlGlyphModeBegin: htmlGlyphMode = htmlGlyphMode(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlGlyphModeEnd: htmlGlyphMode = htmlGlyphMode(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlGlyphModeBoth: htmlGlyphMode = htmlGlyphMode(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlGlyphMode_Max: htmlGlyphMode = htmlGlyphMode(2147483647i32); -impl ::core::marker::Copy for htmlGlyphMode {} -impl ::core::clone::Clone for htmlGlyphMode { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlGlyphMode { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlGlyphMode { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlGlyphMode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlGlyphMode").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlInput(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputNotSet: htmlInput = htmlInput(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputButton: htmlInput = htmlInput(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputCheckbox: htmlInput = htmlInput(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputFile: htmlInput = htmlInput(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputHidden: htmlInput = htmlInput(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputImage: htmlInput = htmlInput(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputPassword: htmlInput = htmlInput(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputRadio: htmlInput = htmlInput(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputReset: htmlInput = htmlInput(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputSelectOne: htmlInput = htmlInput(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputSelectMultiple: htmlInput = htmlInput(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputSubmit: htmlInput = htmlInput(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputText: htmlInput = htmlInput(12i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputTextarea: htmlInput = htmlInput(13i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputRichtext: htmlInput = htmlInput(14i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputRange: htmlInput = htmlInput(15i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputUrl: htmlInput = htmlInput(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputEmail: htmlInput = htmlInput(17i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputNumber: htmlInput = htmlInput(18i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputTel: htmlInput = htmlInput(19i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInputSearch: htmlInput = htmlInput(20i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlInput_Max: htmlInput = htmlInput(2147483647i32); -impl ::core::marker::Copy for htmlInput {} -impl ::core::clone::Clone for htmlInput { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlInput { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlInput { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlInput { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlInput").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlListType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeNotSet: htmlListType = htmlListType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeLargeAlpha: htmlListType = htmlListType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeSmallAlpha: htmlListType = htmlListType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeLargeRoman: htmlListType = htmlListType(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeSmallRoman: htmlListType = htmlListType(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeNumbers: htmlListType = htmlListType(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeDisc: htmlListType = htmlListType(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeCircle: htmlListType = htmlListType(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListTypeSquare: htmlListType = htmlListType(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlListType_Max: htmlListType = htmlListType(2147483647i32); -impl ::core::marker::Copy for htmlListType {} -impl ::core::clone::Clone for htmlListType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlListType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlListType { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlListType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlListType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlLoop(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlLoopLoopInfinite: htmlLoop = htmlLoop(-1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlLoop_Max: htmlLoop = htmlLoop(2147483647i32); -impl ::core::marker::Copy for htmlLoop {} -impl ::core::clone::Clone for htmlLoop { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlLoop { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlLoop { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlLoop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlLoop").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlMarqueeBehavior(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeBehaviorscroll: htmlMarqueeBehavior = htmlMarqueeBehavior(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeBehaviorslide: htmlMarqueeBehavior = htmlMarqueeBehavior(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeBehavioralternate: htmlMarqueeBehavior = htmlMarqueeBehavior(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeBehavior_Max: htmlMarqueeBehavior = htmlMarqueeBehavior(2147483647i32); -impl ::core::marker::Copy for htmlMarqueeBehavior {} -impl ::core::clone::Clone for htmlMarqueeBehavior { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlMarqueeBehavior { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlMarqueeBehavior { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlMarqueeBehavior { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlMarqueeBehavior").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlMarqueeDirection(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeDirectionleft: htmlMarqueeDirection = htmlMarqueeDirection(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeDirectionright: htmlMarqueeDirection = htmlMarqueeDirection(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeDirectionup: htmlMarqueeDirection = htmlMarqueeDirection(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeDirectiondown: htmlMarqueeDirection = htmlMarqueeDirection(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMarqueeDirection_Max: htmlMarqueeDirection = htmlMarqueeDirection(2147483647i32); -impl ::core::marker::Copy for htmlMarqueeDirection {} -impl ::core::clone::Clone for htmlMarqueeDirection { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlMarqueeDirection { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlMarqueeDirection { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlMarqueeDirection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlMarqueeDirection").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlMediaErr(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaErrAborted: htmlMediaErr = htmlMediaErr(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaErrNetwork: htmlMediaErr = htmlMediaErr(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaErrDecode: htmlMediaErr = htmlMediaErr(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaErrSrcNotSupported: htmlMediaErr = htmlMediaErr(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaErr_Max: htmlMediaErr = htmlMediaErr(2147483647i32); -impl ::core::marker::Copy for htmlMediaErr {} -impl ::core::clone::Clone for htmlMediaErr { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlMediaErr { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlMediaErr { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlMediaErr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlMediaErr").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlMediaNetworkState(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaNetworkStateEmpty: htmlMediaNetworkState = htmlMediaNetworkState(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaNetworkStateIdle: htmlMediaNetworkState = htmlMediaNetworkState(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaNetworkStateLoading: htmlMediaNetworkState = htmlMediaNetworkState(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaNetworkStateNoSource: htmlMediaNetworkState = htmlMediaNetworkState(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaNetworkState_Max: htmlMediaNetworkState = htmlMediaNetworkState(2147483647i32); -impl ::core::marker::Copy for htmlMediaNetworkState {} -impl ::core::clone::Clone for htmlMediaNetworkState { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlMediaNetworkState { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlMediaNetworkState { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlMediaNetworkState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlMediaNetworkState").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlMediaReadyState(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaReadyStateHaveNothing: htmlMediaReadyState = htmlMediaReadyState(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaReadyStateHaveMetadata: htmlMediaReadyState = htmlMediaReadyState(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaReadyStateHaveCurrentData: htmlMediaReadyState = htmlMediaReadyState(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaReadyStateHaveFutureData: htmlMediaReadyState = htmlMediaReadyState(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaReadyStateHaveEnoughData: htmlMediaReadyState = htmlMediaReadyState(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMediaReadyState_Max: htmlMediaReadyState = htmlMediaReadyState(2147483647i32); -impl ::core::marker::Copy for htmlMediaReadyState {} -impl ::core::clone::Clone for htmlMediaReadyState { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlMediaReadyState { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlMediaReadyState { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlMediaReadyState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlMediaReadyState").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlMethod(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMethodNotSet: htmlMethod = htmlMethod(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMethodGet: htmlMethod = htmlMethod(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMethodPost: htmlMethod = htmlMethod(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlMethod_Max: htmlMethod = htmlMethod(2147483647i32); -impl ::core::marker::Copy for htmlMethod {} -impl ::core::clone::Clone for htmlMethod { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlMethod { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlMethod { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlMethod { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlMethod").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlPersistState(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlPersistStateNormal: htmlPersistState = htmlPersistState(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlPersistStateFavorite: htmlPersistState = htmlPersistState(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlPersistStateHistory: htmlPersistState = htmlPersistState(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlPersistStateSnapshot: htmlPersistState = htmlPersistState(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlPersistStateUserData: htmlPersistState = htmlPersistState(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlPersistState_Max: htmlPersistState = htmlPersistState(2147483647i32); -impl ::core::marker::Copy for htmlPersistState {} -impl ::core::clone::Clone for htmlPersistState { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlPersistState { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlPersistState { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlPersistState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlPersistState").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlReadyState(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlReadyStateuninitialized: htmlReadyState = htmlReadyState(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlReadyStateloading: htmlReadyState = htmlReadyState(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlReadyStateloaded: htmlReadyState = htmlReadyState(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlReadyStateinteractive: htmlReadyState = htmlReadyState(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlReadyStatecomplete: htmlReadyState = htmlReadyState(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlReadyState_Max: htmlReadyState = htmlReadyState(2147483647i32); -impl ::core::marker::Copy for htmlReadyState {} -impl ::core::clone::Clone for htmlReadyState { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlReadyState { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlReadyState { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlReadyState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlReadyState").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlRules(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlRulesNotSet: htmlRules = htmlRules(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlRulesnone: htmlRules = htmlRules(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlRulesgroups: htmlRules = htmlRules(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlRulesrows: htmlRules = htmlRules(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlRulescols: htmlRules = htmlRules(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlRulesall: htmlRules = htmlRules(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlRules_Max: htmlRules = htmlRules(2147483647i32); -impl ::core::marker::Copy for htmlRules {} -impl ::core::clone::Clone for htmlRules { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlRules { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlRules { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlRules { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlRules").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlSelectExFlag(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectExFlagNone: htmlSelectExFlag = htmlSelectExFlag(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectExFlagHideSelectionInDesign: htmlSelectExFlag = htmlSelectExFlag(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectExFlag_Max: htmlSelectExFlag = htmlSelectExFlag(2147483647i32); -impl ::core::marker::Copy for htmlSelectExFlag {} -impl ::core::clone::Clone for htmlSelectExFlag { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlSelectExFlag { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlSelectExFlag { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlSelectExFlag { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlSelectExFlag").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlSelectType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectTypeSelectOne: htmlSelectType = htmlSelectType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectTypeSelectMultiple: htmlSelectType = htmlSelectType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectType_Max: htmlSelectType = htmlSelectType(2147483647i32); -impl ::core::marker::Copy for htmlSelectType {} -impl ::core::clone::Clone for htmlSelectType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlSelectType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlSelectType { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlSelectType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlSelectType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlSelection(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectionNone: htmlSelection = htmlSelection(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectionText: htmlSelection = htmlSelection(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectionControl: htmlSelection = htmlSelection(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelectionTable: htmlSelection = htmlSelection(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSelection_Max: htmlSelection = htmlSelection(2147483647i32); -impl ::core::marker::Copy for htmlSelection {} -impl ::core::clone::Clone for htmlSelection { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlSelection { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlSelection { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlSelection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlSelection").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlSpellCheck(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSpellCheckNotSet: htmlSpellCheck = htmlSpellCheck(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSpellCheckTrue: htmlSpellCheck = htmlSpellCheck(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSpellCheckFalse: htmlSpellCheck = htmlSpellCheck(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSpellCheckDefault: htmlSpellCheck = htmlSpellCheck(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlSpellCheck_Max: htmlSpellCheck = htmlSpellCheck(2147483647i32); -impl ::core::marker::Copy for htmlSpellCheck {} -impl ::core::clone::Clone for htmlSpellCheck { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlSpellCheck { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlSpellCheck { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlSpellCheck { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlSpellCheck").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlStart(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlStartfileopen: htmlStart = htmlStart(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlStartmouseover: htmlStart = htmlStart(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlStart_Max: htmlStart = htmlStart(2147483647i32); -impl ::core::marker::Copy for htmlStart {} -impl ::core::clone::Clone for htmlStart { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlStart { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlStart { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlStart { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlStart").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlTabIndex(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlTabIndexNotSet: htmlTabIndex = htmlTabIndex(-32768i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlTabIndex_Max: htmlTabIndex = htmlTabIndex(2147483647i32); -impl ::core::marker::Copy for htmlTabIndex {} -impl ::core::clone::Clone for htmlTabIndex { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlTabIndex { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlTabIndex { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlTabIndex { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlTabIndex").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlUnit(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlUnitCharacter: htmlUnit = htmlUnit(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlUnitWord: htmlUnit = htmlUnit(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlUnitSentence: htmlUnit = htmlUnit(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlUnitTextEdit: htmlUnit = htmlUnit(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlUnit_Max: htmlUnit = htmlUnit(2147483647i32); -impl ::core::marker::Copy for htmlUnit {} -impl ::core::clone::Clone for htmlUnit { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlUnit { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlUnit { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlUnit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlUnit").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlWrap(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlWrapOff: htmlWrap = htmlWrap(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlWrapSoft: htmlWrap = htmlWrap(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlWrapHard: htmlWrap = htmlWrap(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlWrap_Max: htmlWrap = htmlWrap(2147483647i32); -impl ::core::marker::Copy for htmlWrap {} -impl ::core::clone::Clone for htmlWrap { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlWrap { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlWrap { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlWrap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlWrap").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct htmlZOrder(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlZOrderFront: htmlZOrder = htmlZOrder(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlZOrderBack: htmlZOrder = htmlZOrder(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const htmlZOrder_Max: htmlZOrder = htmlZOrder(2147483647i32); -impl ::core::marker::Copy for htmlZOrder {} -impl ::core::clone::Clone for htmlZOrder { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for htmlZOrder { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for htmlZOrder { - type Abi = Self; -} -impl ::core::fmt::Debug for htmlZOrder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("htmlZOrder").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct lengthAdjust(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const LENGTHADJUST_UNKNOWN: lengthAdjust = lengthAdjust(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const LENGTHADJUST_SPACING: lengthAdjust = lengthAdjust(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const LENGTHADJUST_SPACINGANDGLYPHS: lengthAdjust = lengthAdjust(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const lengthAdjust_Max: lengthAdjust = lengthAdjust(2147483647i32); -impl ::core::marker::Copy for lengthAdjust {} -impl ::core::clone::Clone for lengthAdjust { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for lengthAdjust { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for lengthAdjust { - type Abi = Self; -} -impl ::core::fmt::Debug for lengthAdjust { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("lengthAdjust").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct mediaType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeNotSet: mediaType = mediaType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeAll: mediaType = mediaType(511i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeAural: mediaType = mediaType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeBraille: mediaType = mediaType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeEmbossed: mediaType = mediaType(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeHandheld: mediaType = mediaType(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypePrint: mediaType = mediaType(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeProjection: mediaType = mediaType(32i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeScreen: mediaType = mediaType(64i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeTty: mediaType = mediaType(128i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaTypeTv: mediaType = mediaType(256i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const mediaType_Max: mediaType = mediaType(2147483647i32); -impl ::core::marker::Copy for mediaType {} -impl ::core::clone::Clone for mediaType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for mediaType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for mediaType { - type Abi = Self; -} -impl ::core::fmt::Debug for mediaType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("mediaType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msodsvFailed: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msodsvLowSecurityLevel: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msodsvNoMacros: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msodsvPassedTrusted: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msodsvPassedTrustedCert: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msodsvUnsigned: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msoedmDisable: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msoedmDontOpen: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msoedmEnable: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msoslHigh: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msoslMedium: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msoslNone: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const msoslUndefined: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct sandboxAllow(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const sandboxAllowScripts: sandboxAllow = sandboxAllow(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const sandboxAllowSameOrigin: sandboxAllow = sandboxAllow(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const sandboxAllowTopNavigation: sandboxAllow = sandboxAllow(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const sandboxAllowForms: sandboxAllow = sandboxAllow(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const sandboxAllowPopups: sandboxAllow = sandboxAllow(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const sandboxAllow_Max: sandboxAllow = sandboxAllow(2147483647i32); -impl ::core::marker::Copy for sandboxAllow {} -impl ::core::clone::Clone for sandboxAllow { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for sandboxAllow { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for sandboxAllow { - type Abi = Self; -} -impl ::core::fmt::Debug for sandboxAllow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("sandboxAllow").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleAccelerator(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAcceleratorFalse: styleAccelerator = styleAccelerator(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAcceleratorTrue: styleAccelerator = styleAccelerator(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAccelerator_Max: styleAccelerator = styleAccelerator(2147483647i32); -impl ::core::marker::Copy for styleAccelerator {} -impl ::core::clone::Clone for styleAccelerator { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleAccelerator { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleAccelerator { - type Abi = Self; -} -impl ::core::fmt::Debug for styleAccelerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleAccelerator").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleAlignContent(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignContentFlexStart: styleAlignContent = styleAlignContent(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignContentFlexEnd: styleAlignContent = styleAlignContent(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignContentCenter: styleAlignContent = styleAlignContent(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignContentSpaceBetween: styleAlignContent = styleAlignContent(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignContentSpaceAround: styleAlignContent = styleAlignContent(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignContentStretch: styleAlignContent = styleAlignContent(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignContentNotSet: styleAlignContent = styleAlignContent(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignContent_Max: styleAlignContent = styleAlignContent(2147483647i32); -impl ::core::marker::Copy for styleAlignContent {} -impl ::core::clone::Clone for styleAlignContent { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleAlignContent { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleAlignContent { - type Abi = Self; -} -impl ::core::fmt::Debug for styleAlignContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleAlignContent").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleAlignItems(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignItemsFlexStart: styleAlignItems = styleAlignItems(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignItemsFlexEnd: styleAlignItems = styleAlignItems(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignItemsCenter: styleAlignItems = styleAlignItems(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignItemsBaseline: styleAlignItems = styleAlignItems(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignItemsStretch: styleAlignItems = styleAlignItems(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignItemsNotSet: styleAlignItems = styleAlignItems(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignItems_Max: styleAlignItems = styleAlignItems(2147483647i32); -impl ::core::marker::Copy for styleAlignItems {} -impl ::core::clone::Clone for styleAlignItems { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleAlignItems { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleAlignItems { - type Abi = Self; -} -impl ::core::fmt::Debug for styleAlignItems { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleAlignItems").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleAlignSelf(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignSelfFlexStart: styleAlignSelf = styleAlignSelf(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignSelfFlexEnd: styleAlignSelf = styleAlignSelf(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignSelfCenter: styleAlignSelf = styleAlignSelf(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignSelfBaseline: styleAlignSelf = styleAlignSelf(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignSelfStretch: styleAlignSelf = styleAlignSelf(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignSelfAuto: styleAlignSelf = styleAlignSelf(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignSelfNotSet: styleAlignSelf = styleAlignSelf(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignSelf_Max: styleAlignSelf = styleAlignSelf(2147483647i32); -impl ::core::marker::Copy for styleAlignSelf {} -impl ::core::clone::Clone for styleAlignSelf { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleAlignSelf { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleAlignSelf { - type Abi = Self; -} -impl ::core::fmt::Debug for styleAlignSelf { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleAlignSelf").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleAlignmentBaseline(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineNotSet: styleAlignmentBaseline = styleAlignmentBaseline(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineAfterEdge: styleAlignmentBaseline = styleAlignmentBaseline(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineAlphabetic: styleAlignmentBaseline = styleAlignmentBaseline(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineAuto: styleAlignmentBaseline = styleAlignmentBaseline(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineBaseline: styleAlignmentBaseline = styleAlignmentBaseline(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineBeforeEdge: styleAlignmentBaseline = styleAlignmentBaseline(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineCentral: styleAlignmentBaseline = styleAlignmentBaseline(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineHanging: styleAlignmentBaseline = styleAlignmentBaseline(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineMathematical: styleAlignmentBaseline = styleAlignmentBaseline(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineMiddle: styleAlignmentBaseline = styleAlignmentBaseline(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineTextAfterEdge: styleAlignmentBaseline = styleAlignmentBaseline(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineTextBeforeEdge: styleAlignmentBaseline = styleAlignmentBaseline(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaselineIdeographic: styleAlignmentBaseline = styleAlignmentBaseline(12i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAlignmentBaseline_Max: styleAlignmentBaseline = styleAlignmentBaseline(2147483647i32); -impl ::core::marker::Copy for styleAlignmentBaseline {} -impl ::core::clone::Clone for styleAlignmentBaseline { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleAlignmentBaseline { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleAlignmentBaseline { - type Abi = Self; -} -impl ::core::fmt::Debug for styleAlignmentBaseline { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleAlignmentBaseline").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleAttrType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeString: styleAttrType = styleAttrType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeColor: styleAttrType = styleAttrType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeUrl: styleAttrType = styleAttrType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeInteger: styleAttrType = styleAttrType(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeNumber: styleAttrType = styleAttrType(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeLength: styleAttrType = styleAttrType(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypePx: styleAttrType = styleAttrType(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeEm: styleAttrType = styleAttrType(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeEx: styleAttrType = styleAttrType(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeIn: styleAttrType = styleAttrType(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeCm: styleAttrType = styleAttrType(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeMm: styleAttrType = styleAttrType(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypePt: styleAttrType = styleAttrType(12i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypePc: styleAttrType = styleAttrType(13i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeRem: styleAttrType = styleAttrType(14i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeCh: styleAttrType = styleAttrType(15i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeVh: styleAttrType = styleAttrType(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeVw: styleAttrType = styleAttrType(17i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeVmin: styleAttrType = styleAttrType(18i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypePercentage: styleAttrType = styleAttrType(19i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeAngle: styleAttrType = styleAttrType(20i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeDeg: styleAttrType = styleAttrType(21i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeRad: styleAttrType = styleAttrType(22i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeGrad: styleAttrType = styleAttrType(23i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeTime: styleAttrType = styleAttrType(24i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeS: styleAttrType = styleAttrType(25i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrTypeMs: styleAttrType = styleAttrType(26i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAttrType_Max: styleAttrType = styleAttrType(2147483647i32); -impl ::core::marker::Copy for styleAttrType {} -impl ::core::clone::Clone for styleAttrType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleAttrType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleAttrType { - type Abi = Self; -} -impl ::core::fmt::Debug for styleAttrType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleAttrType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleAuto(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAutoAuto: styleAuto = styleAuto(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleAuto_Max: styleAuto = styleAuto(2147483647i32); -impl ::core::marker::Copy for styleAuto {} -impl ::core::clone::Clone for styleAuto { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleAuto { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleAuto { - type Abi = Self; -} -impl ::core::fmt::Debug for styleAuto { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleAuto").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBackfaceVisibility(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackfaceVisibilityVisible: styleBackfaceVisibility = styleBackfaceVisibility(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackfaceVisibilityHidden: styleBackfaceVisibility = styleBackfaceVisibility(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackfaceVisibilityNotSet: styleBackfaceVisibility = styleBackfaceVisibility(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackfaceVisibility_Max: styleBackfaceVisibility = styleBackfaceVisibility(2147483647i32); -impl ::core::marker::Copy for styleBackfaceVisibility {} -impl ::core::clone::Clone for styleBackfaceVisibility { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBackfaceVisibility { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBackfaceVisibility { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBackfaceVisibility { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBackfaceVisibility").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBackgroundAttachment(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachmentFixed: styleBackgroundAttachment = styleBackgroundAttachment(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachmentScroll: styleBackgroundAttachment = styleBackgroundAttachment(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachmentNotSet: styleBackgroundAttachment = styleBackgroundAttachment(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachment_Max: styleBackgroundAttachment = styleBackgroundAttachment(2147483647i32); -impl ::core::marker::Copy for styleBackgroundAttachment {} -impl ::core::clone::Clone for styleBackgroundAttachment { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBackgroundAttachment { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBackgroundAttachment { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBackgroundAttachment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBackgroundAttachment").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBackgroundAttachment3(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachment3Fixed: styleBackgroundAttachment3 = styleBackgroundAttachment3(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachment3Scroll: styleBackgroundAttachment3 = styleBackgroundAttachment3(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachment3Local: styleBackgroundAttachment3 = styleBackgroundAttachment3(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachment3NotSet: styleBackgroundAttachment3 = styleBackgroundAttachment3(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundAttachment3_Max: styleBackgroundAttachment3 = styleBackgroundAttachment3(2147483647i32); -impl ::core::marker::Copy for styleBackgroundAttachment3 {} -impl ::core::clone::Clone for styleBackgroundAttachment3 { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBackgroundAttachment3 { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBackgroundAttachment3 { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBackgroundAttachment3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBackgroundAttachment3").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBackgroundClip(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundClipBorderBox: styleBackgroundClip = styleBackgroundClip(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundClipPaddingBox: styleBackgroundClip = styleBackgroundClip(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundClipContentBox: styleBackgroundClip = styleBackgroundClip(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundClipNotSet: styleBackgroundClip = styleBackgroundClip(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundClip_Max: styleBackgroundClip = styleBackgroundClip(2147483647i32); -impl ::core::marker::Copy for styleBackgroundClip {} -impl ::core::clone::Clone for styleBackgroundClip { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBackgroundClip { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBackgroundClip { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBackgroundClip { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBackgroundClip").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBackgroundOrigin(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundOriginBorderBox: styleBackgroundOrigin = styleBackgroundOrigin(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundOriginPaddingBox: styleBackgroundOrigin = styleBackgroundOrigin(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundOriginContentBox: styleBackgroundOrigin = styleBackgroundOrigin(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundOriginNotSet: styleBackgroundOrigin = styleBackgroundOrigin(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundOrigin_Max: styleBackgroundOrigin = styleBackgroundOrigin(2147483647i32); -impl ::core::marker::Copy for styleBackgroundOrigin {} -impl ::core::clone::Clone for styleBackgroundOrigin { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBackgroundOrigin { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBackgroundOrigin { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBackgroundOrigin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBackgroundOrigin").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBackgroundRepeat(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundRepeatRepeat: styleBackgroundRepeat = styleBackgroundRepeat(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundRepeatRepeatX: styleBackgroundRepeat = styleBackgroundRepeat(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundRepeatRepeatY: styleBackgroundRepeat = styleBackgroundRepeat(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundRepeatNoRepeat: styleBackgroundRepeat = styleBackgroundRepeat(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundRepeatNotSet: styleBackgroundRepeat = styleBackgroundRepeat(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBackgroundRepeat_Max: styleBackgroundRepeat = styleBackgroundRepeat(2147483647i32); -impl ::core::marker::Copy for styleBackgroundRepeat {} -impl ::core::clone::Clone for styleBackgroundRepeat { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBackgroundRepeat { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBackgroundRepeat { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBackgroundRepeat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBackgroundRepeat").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBaselineShift(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBaselineShiftBaseline: styleBaselineShift = styleBaselineShift(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBaselineShiftSub: styleBaselineShift = styleBaselineShift(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBaselineShiftSuper: styleBaselineShift = styleBaselineShift(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBaselineShift_Max: styleBaselineShift = styleBaselineShift(2147483647i32); -impl ::core::marker::Copy for styleBaselineShift {} -impl ::core::clone::Clone for styleBaselineShift { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBaselineShift { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBaselineShift { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBaselineShift { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBaselineShift").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBidi(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBidiNotSet: styleBidi = styleBidi(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBidiNormal: styleBidi = styleBidi(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBidiEmbed: styleBidi = styleBidi(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBidiOverride: styleBidi = styleBidi(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBidiInherit: styleBidi = styleBidi(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBidi_Max: styleBidi = styleBidi(2147483647i32); -impl ::core::marker::Copy for styleBidi {} -impl ::core::clone::Clone for styleBidi { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBidi { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBidi { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBidi { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBidi").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBlockProgression(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBlockProgressionTb: styleBlockProgression = styleBlockProgression(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBlockProgressionRl: styleBlockProgression = styleBlockProgression(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBlockProgressionBt: styleBlockProgression = styleBlockProgression(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBlockProgressionLr: styleBlockProgression = styleBlockProgression(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBlockProgressionNotSet: styleBlockProgression = styleBlockProgression(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBlockProgression_Max: styleBlockProgression = styleBlockProgression(2147483647i32); -impl ::core::marker::Copy for styleBlockProgression {} -impl ::core::clone::Clone for styleBlockProgression { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBlockProgression { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBlockProgression { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBlockProgression { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBlockProgression").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBool(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBoolFalse: styleBool = styleBool(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBoolTrue: styleBool = styleBool(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBool_Max: styleBool = styleBool(2147483647i32); -impl ::core::marker::Copy for styleBool {} -impl ::core::clone::Clone for styleBool { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBool { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBool { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBool { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBool").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBorderCollapse(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderCollapseNotSet: styleBorderCollapse = styleBorderCollapse(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderCollapseSeparate: styleBorderCollapse = styleBorderCollapse(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderCollapseCollapse: styleBorderCollapse = styleBorderCollapse(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderCollapse_Max: styleBorderCollapse = styleBorderCollapse(2147483647i32); -impl ::core::marker::Copy for styleBorderCollapse {} -impl ::core::clone::Clone for styleBorderCollapse { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBorderCollapse { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBorderCollapse { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBorderCollapse { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBorderCollapse").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBorderImageRepeat(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageRepeatStretch: styleBorderImageRepeat = styleBorderImageRepeat(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageRepeatRepeat: styleBorderImageRepeat = styleBorderImageRepeat(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageRepeatRound: styleBorderImageRepeat = styleBorderImageRepeat(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageRepeatSpace: styleBorderImageRepeat = styleBorderImageRepeat(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageRepeatNotSet: styleBorderImageRepeat = styleBorderImageRepeat(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageRepeat_Max: styleBorderImageRepeat = styleBorderImageRepeat(2147483647i32); -impl ::core::marker::Copy for styleBorderImageRepeat {} -impl ::core::clone::Clone for styleBorderImageRepeat { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBorderImageRepeat { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBorderImageRepeat { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBorderImageRepeat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBorderImageRepeat").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBorderImageSliceFill(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageSliceFillNotSet: styleBorderImageSliceFill = styleBorderImageSliceFill(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageSliceFillFill: styleBorderImageSliceFill = styleBorderImageSliceFill(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderImageSliceFill_Max: styleBorderImageSliceFill = styleBorderImageSliceFill(2147483647i32); -impl ::core::marker::Copy for styleBorderImageSliceFill {} -impl ::core::clone::Clone for styleBorderImageSliceFill { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBorderImageSliceFill { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBorderImageSliceFill { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBorderImageSliceFill { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBorderImageSliceFill").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBorderStyle(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleNotSet: styleBorderStyle = styleBorderStyle(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleDotted: styleBorderStyle = styleBorderStyle(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleDashed: styleBorderStyle = styleBorderStyle(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleSolid: styleBorderStyle = styleBorderStyle(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleDouble: styleBorderStyle = styleBorderStyle(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleGroove: styleBorderStyle = styleBorderStyle(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleRidge: styleBorderStyle = styleBorderStyle(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleInset: styleBorderStyle = styleBorderStyle(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleOutset: styleBorderStyle = styleBorderStyle(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleWindowInset: styleBorderStyle = styleBorderStyle(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleNone: styleBorderStyle = styleBorderStyle(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyleHidden: styleBorderStyle = styleBorderStyle(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderStyle_Max: styleBorderStyle = styleBorderStyle(2147483647i32); -impl ::core::marker::Copy for styleBorderStyle {} -impl ::core::clone::Clone for styleBorderStyle { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBorderStyle { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBorderStyle { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBorderStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBorderStyle").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBorderWidth(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderWidthThin: styleBorderWidth = styleBorderWidth(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderWidthMedium: styleBorderWidth = styleBorderWidth(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderWidthThick: styleBorderWidth = styleBorderWidth(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBorderWidth_Max: styleBorderWidth = styleBorderWidth(2147483647i32); -impl ::core::marker::Copy for styleBorderWidth {} -impl ::core::clone::Clone for styleBorderWidth { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBorderWidth { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBorderWidth { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBorderWidth { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBorderWidth").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBoxSizing(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBoxSizingNotSet: styleBoxSizing = styleBoxSizing(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBoxSizingContentBox: styleBoxSizing = styleBoxSizing(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBoxSizingBorderBox: styleBoxSizing = styleBoxSizing(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBoxSizing_Max: styleBoxSizing = styleBoxSizing(2147483647i32); -impl ::core::marker::Copy for styleBoxSizing {} -impl ::core::clone::Clone for styleBoxSizing { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBoxSizing { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBoxSizing { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBoxSizing { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBoxSizing").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBreak(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakNotSet: styleBreak = styleBreak(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakAuto: styleBreak = styleBreak(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakAlways: styleBreak = styleBreak(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakAvoid: styleBreak = styleBreak(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakLeft: styleBreak = styleBreak(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakRight: styleBreak = styleBreak(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakPage: styleBreak = styleBreak(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakColumn: styleBreak = styleBreak(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakAvoidPage: styleBreak = styleBreak(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakAvoidColumn: styleBreak = styleBreak(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreak_Max: styleBreak = styleBreak(2147483647i32); -impl ::core::marker::Copy for styleBreak {} -impl ::core::clone::Clone for styleBreak { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBreak { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBreak { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBreak { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBreak").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleBreakInside(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakInsideNotSet: styleBreakInside = styleBreakInside(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakInsideAuto: styleBreakInside = styleBreakInside(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakInsideAvoid: styleBreakInside = styleBreakInside(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakInsideAvoidPage: styleBreakInside = styleBreakInside(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakInsideAvoidColumn: styleBreakInside = styleBreakInside(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleBreakInside_Max: styleBreakInside = styleBreakInside(2147483647i32); -impl ::core::marker::Copy for styleBreakInside {} -impl ::core::clone::Clone for styleBreakInside { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleBreakInside { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleBreakInside { - type Abi = Self; -} -impl ::core::fmt::Debug for styleBreakInside { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleBreakInside").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleCaptionSide(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCaptionSideNotSet: styleCaptionSide = styleCaptionSide(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCaptionSideTop: styleCaptionSide = styleCaptionSide(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCaptionSideBottom: styleCaptionSide = styleCaptionSide(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCaptionSideLeft: styleCaptionSide = styleCaptionSide(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCaptionSideRight: styleCaptionSide = styleCaptionSide(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCaptionSide_Max: styleCaptionSide = styleCaptionSide(2147483647i32); -impl ::core::marker::Copy for styleCaptionSide {} -impl ::core::clone::Clone for styleCaptionSide { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleCaptionSide { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleCaptionSide { - type Abi = Self; -} -impl ::core::fmt::Debug for styleCaptionSide { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleCaptionSide").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleClipRule(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleClipRuleNotSet: styleClipRule = styleClipRule(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleClipRuleNonZero: styleClipRule = styleClipRule(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleClipRuleEvenOdd: styleClipRule = styleClipRule(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleClipRule_Max: styleClipRule = styleClipRule(2147483647i32); -impl ::core::marker::Copy for styleClipRule {} -impl ::core::clone::Clone for styleClipRule { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleClipRule { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleClipRule { - type Abi = Self; -} -impl ::core::fmt::Debug for styleClipRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleClipRule").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleColorInterpolationFilters(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColorInterpolationFiltersAuto: styleColorInterpolationFilters = styleColorInterpolationFilters(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColorInterpolationFiltersSRgb: styleColorInterpolationFilters = styleColorInterpolationFilters(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColorInterpolationFiltersLinearRgb: styleColorInterpolationFilters = styleColorInterpolationFilters(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColorInterpolationFiltersNotSet: styleColorInterpolationFilters = styleColorInterpolationFilters(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColorInterpolationFilters_Max: styleColorInterpolationFilters = styleColorInterpolationFilters(2147483647i32); -impl ::core::marker::Copy for styleColorInterpolationFilters {} -impl ::core::clone::Clone for styleColorInterpolationFilters { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleColorInterpolationFilters { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleColorInterpolationFilters { - type Abi = Self; -} -impl ::core::fmt::Debug for styleColorInterpolationFilters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleColorInterpolationFilters").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleColumnFill(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnFillAuto: styleColumnFill = styleColumnFill(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnFillBalance: styleColumnFill = styleColumnFill(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnFillNotSet: styleColumnFill = styleColumnFill(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnFill_Max: styleColumnFill = styleColumnFill(2147483647i32); -impl ::core::marker::Copy for styleColumnFill {} -impl ::core::clone::Clone for styleColumnFill { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleColumnFill { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleColumnFill { - type Abi = Self; -} -impl ::core::fmt::Debug for styleColumnFill { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleColumnFill").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleColumnSpan(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnSpanNone: styleColumnSpan = styleColumnSpan(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnSpanAll: styleColumnSpan = styleColumnSpan(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnSpanOne: styleColumnSpan = styleColumnSpan(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnSpanNotSet: styleColumnSpan = styleColumnSpan(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleColumnSpan_Max: styleColumnSpan = styleColumnSpan(2147483647i32); -impl ::core::marker::Copy for styleColumnSpan {} -impl ::core::clone::Clone for styleColumnSpan { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleColumnSpan { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleColumnSpan { - type Abi = Self; -} -impl ::core::fmt::Debug for styleColumnSpan { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleColumnSpan").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleCursor(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorAuto: styleCursor = styleCursor(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorCrosshair: styleCursor = styleCursor(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorDefault: styleCursor = styleCursor(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorHand: styleCursor = styleCursor(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorMove: styleCursor = styleCursor(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorE_resize: styleCursor = styleCursor(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNe_resize: styleCursor = styleCursor(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNw_resize: styleCursor = styleCursor(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorN_resize: styleCursor = styleCursor(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorSe_resize: styleCursor = styleCursor(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorSw_resize: styleCursor = styleCursor(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorS_resize: styleCursor = styleCursor(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorW_resize: styleCursor = styleCursor(12i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorText: styleCursor = styleCursor(13i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorWait: styleCursor = styleCursor(14i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorHelp: styleCursor = styleCursor(15i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorPointer: styleCursor = styleCursor(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorProgress: styleCursor = styleCursor(17i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNot_allowed: styleCursor = styleCursor(18i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNo_drop: styleCursor = styleCursor(19i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorVertical_text: styleCursor = styleCursor(20i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorall_scroll: styleCursor = styleCursor(21i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorcol_resize: styleCursor = styleCursor(22i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorrow_resize: styleCursor = styleCursor(23i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNone: styleCursor = styleCursor(24i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorContext_menu: styleCursor = styleCursor(25i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorEw_resize: styleCursor = styleCursor(26i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNs_resize: styleCursor = styleCursor(27i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNesw_resize: styleCursor = styleCursor(28i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNwse_resize: styleCursor = styleCursor(29i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorCell: styleCursor = styleCursor(30i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorCopy: styleCursor = styleCursor(31i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorAlias: styleCursor = styleCursor(32i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorcustom: styleCursor = styleCursor(33i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursorNotSet: styleCursor = styleCursor(34i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleCursor_Max: styleCursor = styleCursor(2147483647i32); -impl ::core::marker::Copy for styleCursor {} -impl ::core::clone::Clone for styleCursor { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleCursor { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleCursor { - type Abi = Self; -} -impl ::core::fmt::Debug for styleCursor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleCursor").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleDataRepeat(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDataRepeatNone: styleDataRepeat = styleDataRepeat(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDataRepeatInner: styleDataRepeat = styleDataRepeat(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDataRepeat_Max: styleDataRepeat = styleDataRepeat(2147483647i32); -impl ::core::marker::Copy for styleDataRepeat {} -impl ::core::clone::Clone for styleDataRepeat { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleDataRepeat { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleDataRepeat { - type Abi = Self; -} -impl ::core::fmt::Debug for styleDataRepeat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleDataRepeat").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleDefaultTextSelection(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDefaultTextSelectionFalse: styleDefaultTextSelection = styleDefaultTextSelection(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDefaultTextSelectionTrue: styleDefaultTextSelection = styleDefaultTextSelection(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDefaultTextSelection_Max: styleDefaultTextSelection = styleDefaultTextSelection(2147483647i32); -impl ::core::marker::Copy for styleDefaultTextSelection {} -impl ::core::clone::Clone for styleDefaultTextSelection { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleDefaultTextSelection { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleDefaultTextSelection { - type Abi = Self; -} -impl ::core::fmt::Debug for styleDefaultTextSelection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleDefaultTextSelection").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleDir(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDirNotSet: styleDir = styleDir(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDirLeftToRight: styleDir = styleDir(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDirRightToLeft: styleDir = styleDir(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDirInherit: styleDir = styleDir(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDir_Max: styleDir = styleDir(2147483647i32); -impl ::core::marker::Copy for styleDir {} -impl ::core::clone::Clone for styleDir { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleDir { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleDir { - type Abi = Self; -} -impl ::core::fmt::Debug for styleDir { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleDir").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleDisplay(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayNotSet: styleDisplay = styleDisplay(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayBlock: styleDisplay = styleDisplay(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayInline: styleDisplay = styleDisplay(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayListItem: styleDisplay = styleDisplay(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayNone: styleDisplay = styleDisplay(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTableHeaderGroup: styleDisplay = styleDisplay(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTableFooterGroup: styleDisplay = styleDisplay(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayInlineBlock: styleDisplay = styleDisplay(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTable: styleDisplay = styleDisplay(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayInlineTable: styleDisplay = styleDisplay(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTableRow: styleDisplay = styleDisplay(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTableRowGroup: styleDisplay = styleDisplay(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTableColumn: styleDisplay = styleDisplay(12i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTableColumnGroup: styleDisplay = styleDisplay(13i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTableCell: styleDisplay = styleDisplay(14i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayTableCaption: styleDisplay = styleDisplay(15i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayRunIn: styleDisplay = styleDisplay(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayRuby: styleDisplay = styleDisplay(17i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayRubyBase: styleDisplay = styleDisplay(18i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayRubyText: styleDisplay = styleDisplay(19i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayRubyBaseContainer: styleDisplay = styleDisplay(20i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayRubyTextContainer: styleDisplay = styleDisplay(21i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayMsFlexbox: styleDisplay = styleDisplay(22i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayMsInlineFlexbox: styleDisplay = styleDisplay(23i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayMsGrid: styleDisplay = styleDisplay(24i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayMsInlineGrid: styleDisplay = styleDisplay(25i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayFlex: styleDisplay = styleDisplay(26i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayInlineFlex: styleDisplay = styleDisplay(27i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayWebkitBox: styleDisplay = styleDisplay(28i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplayWebkitInlineBox: styleDisplay = styleDisplay(29i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDisplay_Max: styleDisplay = styleDisplay(2147483647i32); -impl ::core::marker::Copy for styleDisplay {} -impl ::core::clone::Clone for styleDisplay { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleDisplay { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleDisplay { - type Abi = Self; -} -impl ::core::fmt::Debug for styleDisplay { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleDisplay").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleDominantBaseline(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineNotSet: styleDominantBaseline = styleDominantBaseline(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineAlphabetic: styleDominantBaseline = styleDominantBaseline(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineAuto: styleDominantBaseline = styleDominantBaseline(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineCentral: styleDominantBaseline = styleDominantBaseline(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineHanging: styleDominantBaseline = styleDominantBaseline(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineIdeographic: styleDominantBaseline = styleDominantBaseline(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineMathematical: styleDominantBaseline = styleDominantBaseline(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineMiddle: styleDominantBaseline = styleDominantBaseline(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineNoChange: styleDominantBaseline = styleDominantBaseline(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineResetSize: styleDominantBaseline = styleDominantBaseline(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineTextAfterEdge: styleDominantBaseline = styleDominantBaseline(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineTextBeforeEdge: styleDominantBaseline = styleDominantBaseline(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaselineUseScript: styleDominantBaseline = styleDominantBaseline(12i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleDominantBaseline_Max: styleDominantBaseline = styleDominantBaseline(2147483647i32); -impl ::core::marker::Copy for styleDominantBaseline {} -impl ::core::clone::Clone for styleDominantBaseline { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleDominantBaseline { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleDominantBaseline { - type Abi = Self; -} -impl ::core::fmt::Debug for styleDominantBaseline { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleDominantBaseline").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleEmptyCells(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEmptyCellsNotSet: styleEmptyCells = styleEmptyCells(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEmptyCellsShow: styleEmptyCells = styleEmptyCells(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEmptyCellsHide: styleEmptyCells = styleEmptyCells(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEmptyCells_Max: styleEmptyCells = styleEmptyCells(2147483647i32); -impl ::core::marker::Copy for styleEmptyCells {} -impl ::core::clone::Clone for styleEmptyCells { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleEmptyCells { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleEmptyCells { - type Abi = Self; -} -impl ::core::fmt::Debug for styleEmptyCells { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleEmptyCells").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleEnableBackground(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEnableBackgroundNotSet: styleEnableBackground = styleEnableBackground(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEnableBackgroundAccumulate: styleEnableBackground = styleEnableBackground(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEnableBackgroundNew: styleEnableBackground = styleEnableBackground(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEnableBackgroundInherit: styleEnableBackground = styleEnableBackground(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleEnableBackground_Max: styleEnableBackground = styleEnableBackground(2147483647i32); -impl ::core::marker::Copy for styleEnableBackground {} -impl ::core::clone::Clone for styleEnableBackground { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleEnableBackground { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleEnableBackground { - type Abi = Self; -} -impl ::core::fmt::Debug for styleEnableBackground { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleEnableBackground").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleFillRule(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFillRuleNotSet: styleFillRule = styleFillRule(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFillRuleNonZero: styleFillRule = styleFillRule(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFillRuleEvenOdd: styleFillRule = styleFillRule(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFillRule_Max: styleFillRule = styleFillRule(2147483647i32); -impl ::core::marker::Copy for styleFillRule {} -impl ::core::clone::Clone for styleFillRule { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleFillRule { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleFillRule { - type Abi = Self; -} -impl ::core::fmt::Debug for styleFillRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleFillRule").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleFlex(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexNone: styleFlex = styleFlex(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexNotSet: styleFlex = styleFlex(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlex_Max: styleFlex = styleFlex(2147483647i32); -impl ::core::marker::Copy for styleFlex {} -impl ::core::clone::Clone for styleFlex { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleFlex { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleFlex { - type Abi = Self; -} -impl ::core::fmt::Debug for styleFlex { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleFlex").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleFlexBasis(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexBasisAuto: styleFlexBasis = styleFlexBasis(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexBasisNotSet: styleFlexBasis = styleFlexBasis(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexBasis_Max: styleFlexBasis = styleFlexBasis(2147483647i32); -impl ::core::marker::Copy for styleFlexBasis {} -impl ::core::clone::Clone for styleFlexBasis { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleFlexBasis { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleFlexBasis { - type Abi = Self; -} -impl ::core::fmt::Debug for styleFlexBasis { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleFlexBasis").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleFlexDirection(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexDirectionRow: styleFlexDirection = styleFlexDirection(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexDirectionRowReverse: styleFlexDirection = styleFlexDirection(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexDirectionColumn: styleFlexDirection = styleFlexDirection(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexDirectionColumnReverse: styleFlexDirection = styleFlexDirection(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexDirectionNotSet: styleFlexDirection = styleFlexDirection(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexDirection_Max: styleFlexDirection = styleFlexDirection(2147483647i32); -impl ::core::marker::Copy for styleFlexDirection {} -impl ::core::clone::Clone for styleFlexDirection { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleFlexDirection { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleFlexDirection { - type Abi = Self; -} -impl ::core::fmt::Debug for styleFlexDirection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleFlexDirection").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleFlexWrap(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexWrapNowrap: styleFlexWrap = styleFlexWrap(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexWrapWrap: styleFlexWrap = styleFlexWrap(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexWrapWrapReverse: styleFlexWrap = styleFlexWrap(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexWrapNotSet: styleFlexWrap = styleFlexWrap(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFlexWrap_Max: styleFlexWrap = styleFlexWrap(2147483647i32); -impl ::core::marker::Copy for styleFlexWrap {} -impl ::core::clone::Clone for styleFlexWrap { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleFlexWrap { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleFlexWrap { - type Abi = Self; -} -impl ::core::fmt::Debug for styleFlexWrap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleFlexWrap").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleFontSize(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeXXSmall: styleFontSize = styleFontSize(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeXSmall: styleFontSize = styleFontSize(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeSmall: styleFontSize = styleFontSize(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeMedium: styleFontSize = styleFontSize(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeLarge: styleFontSize = styleFontSize(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeXLarge: styleFontSize = styleFontSize(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeXXLarge: styleFontSize = styleFontSize(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeSmaller: styleFontSize = styleFontSize(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSizeLarger: styleFontSize = styleFontSize(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontSize_Max: styleFontSize = styleFontSize(2147483647i32); -impl ::core::marker::Copy for styleFontSize {} -impl ::core::clone::Clone for styleFontSize { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleFontSize { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleFontSize { - type Abi = Self; -} -impl ::core::fmt::Debug for styleFontSize { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleFontSize").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleFontStretch(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchNotSet: styleFontStretch = styleFontStretch(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchWider: styleFontStretch = styleFontStretch(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchNarrower: styleFontStretch = styleFontStretch(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchUltraCondensed: styleFontStretch = styleFontStretch(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchExtraCondensed: styleFontStretch = styleFontStretch(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchCondensed: styleFontStretch = styleFontStretch(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchSemiCondensed: styleFontStretch = styleFontStretch(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchNormal: styleFontStretch = styleFontStretch(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchSemiExpanded: styleFontStretch = styleFontStretch(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchExpanded: styleFontStretch = styleFontStretch(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchExtraExpanded: styleFontStretch = styleFontStretch(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretchUltraExpanded: styleFontStretch = styleFontStretch(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStretch_Max: styleFontStretch = styleFontStretch(2147483647i32); -impl ::core::marker::Copy for styleFontStretch {} -impl ::core::clone::Clone for styleFontStretch { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleFontStretch { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleFontStretch { - type Abi = Self; -} -impl ::core::fmt::Debug for styleFontStretch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleFontStretch").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleFontStyle(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStyleNotSet: styleFontStyle = styleFontStyle(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStyleItalic: styleFontStyle = styleFontStyle(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStyleOblique: styleFontStyle = styleFontStyle(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStyleNormal: styleFontStyle = styleFontStyle(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontStyle_Max: styleFontStyle = styleFontStyle(2147483647i32); -impl ::core::marker::Copy for styleFontStyle {} -impl ::core::clone::Clone for styleFontStyle { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleFontStyle { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleFontStyle { - type Abi = Self; -} -impl ::core::fmt::Debug for styleFontStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleFontStyle").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleFontVariant(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontVariantNotSet: styleFontVariant = styleFontVariant(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontVariantSmallCaps: styleFontVariant = styleFontVariant(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontVariantNormal: styleFontVariant = styleFontVariant(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontVariant_Max: styleFontVariant = styleFontVariant(2147483647i32); -impl ::core::marker::Copy for styleFontVariant {} -impl ::core::clone::Clone for styleFontVariant { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleFontVariant { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleFontVariant { - type Abi = Self; -} -impl ::core::fmt::Debug for styleFontVariant { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleFontVariant").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleFontWeight(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeightNotSet: styleFontWeight = styleFontWeight(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight100: styleFontWeight = styleFontWeight(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight200: styleFontWeight = styleFontWeight(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight300: styleFontWeight = styleFontWeight(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight400: styleFontWeight = styleFontWeight(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight500: styleFontWeight = styleFontWeight(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight600: styleFontWeight = styleFontWeight(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight700: styleFontWeight = styleFontWeight(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight800: styleFontWeight = styleFontWeight(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight900: styleFontWeight = styleFontWeight(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeightNormal: styleFontWeight = styleFontWeight(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeightBold: styleFontWeight = styleFontWeight(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeightBolder: styleFontWeight = styleFontWeight(12i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeightLighter: styleFontWeight = styleFontWeight(13i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleFontWeight_Max: styleFontWeight = styleFontWeight(2147483647i32); -impl ::core::marker::Copy for styleFontWeight {} -impl ::core::clone::Clone for styleFontWeight { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleFontWeight { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleFontWeight { - type Abi = Self; -} -impl ::core::fmt::Debug for styleFontWeight { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleFontWeight").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleGridColumn(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnNotSet: styleGridColumn = styleGridColumn(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumn_Max: styleGridColumn = styleGridColumn(2147483647i32); -impl ::core::marker::Copy for styleGridColumn {} -impl ::core::clone::Clone for styleGridColumn { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleGridColumn { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleGridColumn { - type Abi = Self; -} -impl ::core::fmt::Debug for styleGridColumn { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleGridColumn").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleGridColumnAlign(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnAlignCenter: styleGridColumnAlign = styleGridColumnAlign(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnAlignEnd: styleGridColumnAlign = styleGridColumnAlign(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnAlignStart: styleGridColumnAlign = styleGridColumnAlign(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnAlignStretch: styleGridColumnAlign = styleGridColumnAlign(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnAlignNotSet: styleGridColumnAlign = styleGridColumnAlign(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnAlign_Max: styleGridColumnAlign = styleGridColumnAlign(2147483647i32); -impl ::core::marker::Copy for styleGridColumnAlign {} -impl ::core::clone::Clone for styleGridColumnAlign { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleGridColumnAlign { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleGridColumnAlign { - type Abi = Self; -} -impl ::core::fmt::Debug for styleGridColumnAlign { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleGridColumnAlign").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleGridColumnSpan(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnSpanNotSet: styleGridColumnSpan = styleGridColumnSpan(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridColumnSpan_Max: styleGridColumnSpan = styleGridColumnSpan(2147483647i32); -impl ::core::marker::Copy for styleGridColumnSpan {} -impl ::core::clone::Clone for styleGridColumnSpan { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleGridColumnSpan { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleGridColumnSpan { - type Abi = Self; -} -impl ::core::fmt::Debug for styleGridColumnSpan { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleGridColumnSpan").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleGridRow(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowNotSet: styleGridRow = styleGridRow(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRow_Max: styleGridRow = styleGridRow(2147483647i32); -impl ::core::marker::Copy for styleGridRow {} -impl ::core::clone::Clone for styleGridRow { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleGridRow { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleGridRow { - type Abi = Self; -} -impl ::core::fmt::Debug for styleGridRow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleGridRow").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleGridRowAlign(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowAlignCenter: styleGridRowAlign = styleGridRowAlign(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowAlignEnd: styleGridRowAlign = styleGridRowAlign(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowAlignStart: styleGridRowAlign = styleGridRowAlign(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowAlignStretch: styleGridRowAlign = styleGridRowAlign(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowAlignNotSet: styleGridRowAlign = styleGridRowAlign(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowAlign_Max: styleGridRowAlign = styleGridRowAlign(2147483647i32); -impl ::core::marker::Copy for styleGridRowAlign {} -impl ::core::clone::Clone for styleGridRowAlign { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleGridRowAlign { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleGridRowAlign { - type Abi = Self; -} -impl ::core::fmt::Debug for styleGridRowAlign { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleGridRowAlign").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleGridRowSpan(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowSpanNotSet: styleGridRowSpan = styleGridRowSpan(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleGridRowSpan_Max: styleGridRowSpan = styleGridRowSpan(2147483647i32); -impl ::core::marker::Copy for styleGridRowSpan {} -impl ::core::clone::Clone for styleGridRowSpan { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleGridRowSpan { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleGridRowSpan { - type Abi = Self; -} -impl ::core::fmt::Debug for styleGridRowSpan { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleGridRowSpan").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleHyphenateLimitLines(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleHyphenateLimitLinesNoLimit: styleHyphenateLimitLines = styleHyphenateLimitLines(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleHyphenateLimitLines_Max: styleHyphenateLimitLines = styleHyphenateLimitLines(2147483647i32); -impl ::core::marker::Copy for styleHyphenateLimitLines {} -impl ::core::clone::Clone for styleHyphenateLimitLines { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleHyphenateLimitLines { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleHyphenateLimitLines { - type Abi = Self; -} -impl ::core::fmt::Debug for styleHyphenateLimitLines { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleHyphenateLimitLines").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleHyphens(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleHyphensNone: styleHyphens = styleHyphens(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleHyphensManual: styleHyphens = styleHyphens(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleHyphensAuto: styleHyphens = styleHyphens(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleHyphensNotSet: styleHyphens = styleHyphens(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleHyphens_Max: styleHyphens = styleHyphens(2147483647i32); -impl ::core::marker::Copy for styleHyphens {} -impl ::core::clone::Clone for styleHyphens { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleHyphens { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleHyphens { - type Abi = Self; -} -impl ::core::fmt::Debug for styleHyphens { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleHyphens").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleImeMode(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleImeModeAuto: styleImeMode = styleImeMode(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleImeModeActive: styleImeMode = styleImeMode(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleImeModeInactive: styleImeMode = styleImeMode(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleImeModeDisabled: styleImeMode = styleImeMode(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleImeModeNotSet: styleImeMode = styleImeMode(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleImeMode_Max: styleImeMode = styleImeMode(2147483647i32); -impl ::core::marker::Copy for styleImeMode {} -impl ::core::clone::Clone for styleImeMode { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleImeMode { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleImeMode { - type Abi = Self; -} -impl ::core::fmt::Debug for styleImeMode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleImeMode").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleInitialColor(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialColorNoInitial: styleInitialColor = styleInitialColor(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialColorColorProperty: styleInitialColor = styleInitialColor(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialColorTransparent: styleInitialColor = styleInitialColor(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialColorInvert: styleInitialColor = styleInitialColor(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialColor_Max: styleInitialColor = styleInitialColor(2147483647i32); -impl ::core::marker::Copy for styleInitialColor {} -impl ::core::clone::Clone for styleInitialColor { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleInitialColor { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleInitialColor { - type Abi = Self; -} -impl ::core::fmt::Debug for styleInitialColor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleInitialColor").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleInitialString(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialStringNoInitial: styleInitialString = styleInitialString(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialStringNone: styleInitialString = styleInitialString(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialStringAuto: styleInitialString = styleInitialString(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialStringNormal: styleInitialString = styleInitialString(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInitialString_Max: styleInitialString = styleInitialString(2147483647i32); -impl ::core::marker::Copy for styleInitialString {} -impl ::core::clone::Clone for styleInitialString { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleInitialString { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleInitialString { - type Abi = Self; -} -impl ::core::fmt::Debug for styleInitialString { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleInitialString").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleInterpolation(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInterpolationNotSet: styleInterpolation = styleInterpolation(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInterpolationNN: styleInterpolation = styleInterpolation(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInterpolationBCH: styleInterpolation = styleInterpolation(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleInterpolation_Max: styleInterpolation = styleInterpolation(2147483647i32); -impl ::core::marker::Copy for styleInterpolation {} -impl ::core::clone::Clone for styleInterpolation { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleInterpolation { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleInterpolation { - type Abi = Self; -} -impl ::core::fmt::Debug for styleInterpolation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleInterpolation").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleJustifyContent(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleJustifyContentFlexStart: styleJustifyContent = styleJustifyContent(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleJustifyContentFlexEnd: styleJustifyContent = styleJustifyContent(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleJustifyContentCenter: styleJustifyContent = styleJustifyContent(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleJustifyContentSpaceBetween: styleJustifyContent = styleJustifyContent(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleJustifyContentSpaceAround: styleJustifyContent = styleJustifyContent(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleJustifyContentNotSet: styleJustifyContent = styleJustifyContent(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleJustifyContent_Max: styleJustifyContent = styleJustifyContent(2147483647i32); -impl ::core::marker::Copy for styleJustifyContent {} -impl ::core::clone::Clone for styleJustifyContent { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleJustifyContent { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleJustifyContent { - type Abi = Self; -} -impl ::core::fmt::Debug for styleJustifyContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleJustifyContent").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleLayoutFlow(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutFlowHorizontal: styleLayoutFlow = styleLayoutFlow(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutFlowVerticalIdeographic: styleLayoutFlow = styleLayoutFlow(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutFlowNotSet: styleLayoutFlow = styleLayoutFlow(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutFlow_Max: styleLayoutFlow = styleLayoutFlow(2147483647i32); -impl ::core::marker::Copy for styleLayoutFlow {} -impl ::core::clone::Clone for styleLayoutFlow { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleLayoutFlow { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleLayoutFlow { - type Abi = Self; -} -impl ::core::fmt::Debug for styleLayoutFlow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleLayoutFlow").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleLayoutGridChar(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridCharNotSet: styleLayoutGridChar = styleLayoutGridChar(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridCharAuto: styleLayoutGridChar = styleLayoutGridChar(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridCharNone: styleLayoutGridChar = styleLayoutGridChar(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridChar_Max: styleLayoutGridChar = styleLayoutGridChar(2147483647i32); -impl ::core::marker::Copy for styleLayoutGridChar {} -impl ::core::clone::Clone for styleLayoutGridChar { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleLayoutGridChar { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleLayoutGridChar { - type Abi = Self; -} -impl ::core::fmt::Debug for styleLayoutGridChar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleLayoutGridChar").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleLayoutGridLine(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridLineNotSet: styleLayoutGridLine = styleLayoutGridLine(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridLineAuto: styleLayoutGridLine = styleLayoutGridLine(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridLineNone: styleLayoutGridLine = styleLayoutGridLine(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridLine_Max: styleLayoutGridLine = styleLayoutGridLine(2147483647i32); -impl ::core::marker::Copy for styleLayoutGridLine {} -impl ::core::clone::Clone for styleLayoutGridLine { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleLayoutGridLine { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleLayoutGridLine { - type Abi = Self; -} -impl ::core::fmt::Debug for styleLayoutGridLine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleLayoutGridLine").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleLayoutGridMode(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridModeNotSet: styleLayoutGridMode = styleLayoutGridMode(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridModeChar: styleLayoutGridMode = styleLayoutGridMode(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridModeLine: styleLayoutGridMode = styleLayoutGridMode(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridModeBoth: styleLayoutGridMode = styleLayoutGridMode(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridModeNone: styleLayoutGridMode = styleLayoutGridMode(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridMode_Max: styleLayoutGridMode = styleLayoutGridMode(2147483647i32); -impl ::core::marker::Copy for styleLayoutGridMode {} -impl ::core::clone::Clone for styleLayoutGridMode { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleLayoutGridMode { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleLayoutGridMode { - type Abi = Self; -} -impl ::core::fmt::Debug for styleLayoutGridMode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleLayoutGridMode").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleLayoutGridType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridTypeNotSet: styleLayoutGridType = styleLayoutGridType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridTypeLoose: styleLayoutGridType = styleLayoutGridType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridTypeStrict: styleLayoutGridType = styleLayoutGridType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridTypeFixed: styleLayoutGridType = styleLayoutGridType(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLayoutGridType_Max: styleLayoutGridType = styleLayoutGridType(2147483647i32); -impl ::core::marker::Copy for styleLayoutGridType {} -impl ::core::clone::Clone for styleLayoutGridType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleLayoutGridType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleLayoutGridType { - type Abi = Self; -} -impl ::core::fmt::Debug for styleLayoutGridType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleLayoutGridType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleLineBreak(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLineBreakNotSet: styleLineBreak = styleLineBreak(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLineBreakNormal: styleLineBreak = styleLineBreak(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLineBreakStrict: styleLineBreak = styleLineBreak(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleLineBreak_Max: styleLineBreak = styleLineBreak(2147483647i32); -impl ::core::marker::Copy for styleLineBreak {} -impl ::core::clone::Clone for styleLineBreak { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleLineBreak { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleLineBreak { - type Abi = Self; -} -impl ::core::fmt::Debug for styleLineBreak { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleLineBreak").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleListStylePosition(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStylePositionNotSet: styleListStylePosition = styleListStylePosition(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStylePositionInside: styleListStylePosition = styleListStylePosition(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStylePositionOutSide: styleListStylePosition = styleListStylePosition(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStylePosition_Max: styleListStylePosition = styleListStylePosition(2147483647i32); -impl ::core::marker::Copy for styleListStylePosition {} -impl ::core::clone::Clone for styleListStylePosition { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleListStylePosition { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleListStylePosition { - type Abi = Self; -} -impl ::core::fmt::Debug for styleListStylePosition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleListStylePosition").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleListStyleType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeNotSet: styleListStyleType = styleListStyleType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeDisc: styleListStyleType = styleListStyleType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeCircle: styleListStyleType = styleListStyleType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeSquare: styleListStyleType = styleListStyleType(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeDecimal: styleListStyleType = styleListStyleType(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeLowerRoman: styleListStyleType = styleListStyleType(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeUpperRoman: styleListStyleType = styleListStyleType(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeLowerAlpha: styleListStyleType = styleListStyleType(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeUpperAlpha: styleListStyleType = styleListStyleType(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeNone: styleListStyleType = styleListStyleType(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeDecimalLeadingZero: styleListStyleType = styleListStyleType(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeGeorgian: styleListStyleType = styleListStyleType(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeArmenian: styleListStyleType = styleListStyleType(12i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeUpperLatin: styleListStyleType = styleListStyleType(13i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeLowerLatin: styleListStyleType = styleListStyleType(14i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeUpperGreek: styleListStyleType = styleListStyleType(15i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleTypeLowerGreek: styleListStyleType = styleListStyleType(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleListStyleType_Max: styleListStyleType = styleListStyleType(2147483647i32); -impl ::core::marker::Copy for styleListStyleType {} -impl ::core::clone::Clone for styleListStyleType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleListStyleType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleListStyleType { - type Abi = Self; -} -impl ::core::fmt::Debug for styleListStyleType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleListStyleType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsAnimationDirection(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationDirectionNormal: styleMsAnimationDirection = styleMsAnimationDirection(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationDirectionAlternate: styleMsAnimationDirection = styleMsAnimationDirection(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationDirectionReverse: styleMsAnimationDirection = styleMsAnimationDirection(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationDirectionAlternateReverse: styleMsAnimationDirection = styleMsAnimationDirection(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationDirectionNotSet: styleMsAnimationDirection = styleMsAnimationDirection(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationDirection_Max: styleMsAnimationDirection = styleMsAnimationDirection(2147483647i32); -impl ::core::marker::Copy for styleMsAnimationDirection {} -impl ::core::clone::Clone for styleMsAnimationDirection { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsAnimationDirection { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsAnimationDirection { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsAnimationDirection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsAnimationDirection").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsAnimationFillMode(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationFillModeNone: styleMsAnimationFillMode = styleMsAnimationFillMode(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationFillModeForwards: styleMsAnimationFillMode = styleMsAnimationFillMode(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationFillModeBackwards: styleMsAnimationFillMode = styleMsAnimationFillMode(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationFillModeBoth: styleMsAnimationFillMode = styleMsAnimationFillMode(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationFillModeNotSet: styleMsAnimationFillMode = styleMsAnimationFillMode(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationFillMode_Max: styleMsAnimationFillMode = styleMsAnimationFillMode(2147483647i32); -impl ::core::marker::Copy for styleMsAnimationFillMode {} -impl ::core::clone::Clone for styleMsAnimationFillMode { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsAnimationFillMode { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsAnimationFillMode { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsAnimationFillMode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsAnimationFillMode").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsAnimationPlayState(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationPlayStateRunning: styleMsAnimationPlayState = styleMsAnimationPlayState(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationPlayStatePaused: styleMsAnimationPlayState = styleMsAnimationPlayState(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationPlayStateNotSet: styleMsAnimationPlayState = styleMsAnimationPlayState(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsAnimationPlayState_Max: styleMsAnimationPlayState = styleMsAnimationPlayState(2147483647i32); -impl ::core::marker::Copy for styleMsAnimationPlayState {} -impl ::core::clone::Clone for styleMsAnimationPlayState { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsAnimationPlayState { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsAnimationPlayState { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsAnimationPlayState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsAnimationPlayState").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsContentZoomChaining(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomChainingNotSet: styleMsContentZoomChaining = styleMsContentZoomChaining(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomChainingNone: styleMsContentZoomChaining = styleMsContentZoomChaining(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomChainingChained: styleMsContentZoomChaining = styleMsContentZoomChaining(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomChaining_Max: styleMsContentZoomChaining = styleMsContentZoomChaining(2147483647i32); -impl ::core::marker::Copy for styleMsContentZoomChaining {} -impl ::core::clone::Clone for styleMsContentZoomChaining { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsContentZoomChaining { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsContentZoomChaining { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsContentZoomChaining { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsContentZoomChaining").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsContentZoomSnapType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomSnapTypeNotSet: styleMsContentZoomSnapType = styleMsContentZoomSnapType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomSnapTypeNone: styleMsContentZoomSnapType = styleMsContentZoomSnapType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomSnapTypeMandatory: styleMsContentZoomSnapType = styleMsContentZoomSnapType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomSnapTypeProximity: styleMsContentZoomSnapType = styleMsContentZoomSnapType(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomSnapType_Max: styleMsContentZoomSnapType = styleMsContentZoomSnapType(2147483647i32); -impl ::core::marker::Copy for styleMsContentZoomSnapType {} -impl ::core::clone::Clone for styleMsContentZoomSnapType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsContentZoomSnapType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsContentZoomSnapType { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsContentZoomSnapType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsContentZoomSnapType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsContentZooming(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomingNotSet: styleMsContentZooming = styleMsContentZooming(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomingNone: styleMsContentZooming = styleMsContentZooming(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZoomingZoom: styleMsContentZooming = styleMsContentZooming(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsContentZooming_Max: styleMsContentZooming = styleMsContentZooming(2147483647i32); -impl ::core::marker::Copy for styleMsContentZooming {} -impl ::core::clone::Clone for styleMsContentZooming { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsContentZooming { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsContentZooming { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsContentZooming { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsContentZooming").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsFlexAlign(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexAlignStart: styleMsFlexAlign = styleMsFlexAlign(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexAlignEnd: styleMsFlexAlign = styleMsFlexAlign(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexAlignCenter: styleMsFlexAlign = styleMsFlexAlign(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexAlignBaseline: styleMsFlexAlign = styleMsFlexAlign(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexAlignStretch: styleMsFlexAlign = styleMsFlexAlign(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexAlignNotSet: styleMsFlexAlign = styleMsFlexAlign(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexAlign_Max: styleMsFlexAlign = styleMsFlexAlign(2147483647i32); -impl ::core::marker::Copy for styleMsFlexAlign {} -impl ::core::clone::Clone for styleMsFlexAlign { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsFlexAlign { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsFlexAlign { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsFlexAlign { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsFlexAlign").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsFlexItemAlign(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexItemAlignStart: styleMsFlexItemAlign = styleMsFlexItemAlign(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexItemAlignEnd: styleMsFlexItemAlign = styleMsFlexItemAlign(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexItemAlignCenter: styleMsFlexItemAlign = styleMsFlexItemAlign(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexItemAlignBaseline: styleMsFlexItemAlign = styleMsFlexItemAlign(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexItemAlignStretch: styleMsFlexItemAlign = styleMsFlexItemAlign(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexItemAlignAuto: styleMsFlexItemAlign = styleMsFlexItemAlign(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexItemAlignNotSet: styleMsFlexItemAlign = styleMsFlexItemAlign(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexItemAlign_Max: styleMsFlexItemAlign = styleMsFlexItemAlign(2147483647i32); -impl ::core::marker::Copy for styleMsFlexItemAlign {} -impl ::core::clone::Clone for styleMsFlexItemAlign { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsFlexItemAlign { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsFlexItemAlign { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsFlexItemAlign { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsFlexItemAlign").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsFlexLinePack(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexLinePackStart: styleMsFlexLinePack = styleMsFlexLinePack(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexLinePackEnd: styleMsFlexLinePack = styleMsFlexLinePack(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexLinePackCenter: styleMsFlexLinePack = styleMsFlexLinePack(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexLinePackJustify: styleMsFlexLinePack = styleMsFlexLinePack(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexLinePackDistribute: styleMsFlexLinePack = styleMsFlexLinePack(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexLinePackStretch: styleMsFlexLinePack = styleMsFlexLinePack(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexLinePackNotSet: styleMsFlexLinePack = styleMsFlexLinePack(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexLinePack_Max: styleMsFlexLinePack = styleMsFlexLinePack(2147483647i32); -impl ::core::marker::Copy for styleMsFlexLinePack {} -impl ::core::clone::Clone for styleMsFlexLinePack { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsFlexLinePack { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsFlexLinePack { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsFlexLinePack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsFlexLinePack").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsFlexPack(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexPackStart: styleMsFlexPack = styleMsFlexPack(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexPackEnd: styleMsFlexPack = styleMsFlexPack(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexPackCenter: styleMsFlexPack = styleMsFlexPack(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexPackJustify: styleMsFlexPack = styleMsFlexPack(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexPackDistribute: styleMsFlexPack = styleMsFlexPack(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexPackNotSet: styleMsFlexPack = styleMsFlexPack(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsFlexPack_Max: styleMsFlexPack = styleMsFlexPack(2147483647i32); -impl ::core::marker::Copy for styleMsFlexPack {} -impl ::core::clone::Clone for styleMsFlexPack { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsFlexPack { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsFlexPack { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsFlexPack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsFlexPack").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsHighContrastAdjust(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsHighContrastAdjustNotSet: styleMsHighContrastAdjust = styleMsHighContrastAdjust(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsHighContrastAdjustAuto: styleMsHighContrastAdjust = styleMsHighContrastAdjust(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsHighContrastAdjustNone: styleMsHighContrastAdjust = styleMsHighContrastAdjust(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsHighContrastAdjust_Max: styleMsHighContrastAdjust = styleMsHighContrastAdjust(2147483647i32); -impl ::core::marker::Copy for styleMsHighContrastAdjust {} -impl ::core::clone::Clone for styleMsHighContrastAdjust { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsHighContrastAdjust { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsHighContrastAdjust { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsHighContrastAdjust { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsHighContrastAdjust").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsImeAlign(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsImeAlignAuto: styleMsImeAlign = styleMsImeAlign(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsImeAlignAfter: styleMsImeAlign = styleMsImeAlign(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsImeAlignNotSet: styleMsImeAlign = styleMsImeAlign(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsImeAlign_Max: styleMsImeAlign = styleMsImeAlign(2147483647i32); -impl ::core::marker::Copy for styleMsImeAlign {} -impl ::core::clone::Clone for styleMsImeAlign { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsImeAlign { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsImeAlign { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsImeAlign { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsImeAlign").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsOverflowStyle(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsOverflowStyleNotSet: styleMsOverflowStyle = styleMsOverflowStyle(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsOverflowStyleAuto: styleMsOverflowStyle = styleMsOverflowStyle(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsOverflowStyleNone: styleMsOverflowStyle = styleMsOverflowStyle(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsOverflowStyleScrollbar: styleMsOverflowStyle = styleMsOverflowStyle(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsOverflowStyleMsAutoHidingScrollbar: styleMsOverflowStyle = styleMsOverflowStyle(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsOverflowStyle_Max: styleMsOverflowStyle = styleMsOverflowStyle(2147483647i32); -impl ::core::marker::Copy for styleMsOverflowStyle {} -impl ::core::clone::Clone for styleMsOverflowStyle { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsOverflowStyle { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsOverflowStyle { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsOverflowStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsOverflowStyle").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsScrollChaining(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollChainingNotSet: styleMsScrollChaining = styleMsScrollChaining(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollChainingNone: styleMsScrollChaining = styleMsScrollChaining(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollChainingChained: styleMsScrollChaining = styleMsScrollChaining(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollChaining_Max: styleMsScrollChaining = styleMsScrollChaining(2147483647i32); -impl ::core::marker::Copy for styleMsScrollChaining {} -impl ::core::clone::Clone for styleMsScrollChaining { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsScrollChaining { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsScrollChaining { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsScrollChaining { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsScrollChaining").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsScrollRails(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollRailsNotSet: styleMsScrollRails = styleMsScrollRails(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollRailsNone: styleMsScrollRails = styleMsScrollRails(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollRailsRailed: styleMsScrollRails = styleMsScrollRails(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollRails_Max: styleMsScrollRails = styleMsScrollRails(2147483647i32); -impl ::core::marker::Copy for styleMsScrollRails {} -impl ::core::clone::Clone for styleMsScrollRails { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsScrollRails { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsScrollRails { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsScrollRails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsScrollRails").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsScrollSnapType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollSnapTypeNotSet: styleMsScrollSnapType = styleMsScrollSnapType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollSnapTypeNone: styleMsScrollSnapType = styleMsScrollSnapType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollSnapTypeMandatory: styleMsScrollSnapType = styleMsScrollSnapType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollSnapTypeProximity: styleMsScrollSnapType = styleMsScrollSnapType(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollSnapType_Max: styleMsScrollSnapType = styleMsScrollSnapType(2147483647i32); -impl ::core::marker::Copy for styleMsScrollSnapType {} -impl ::core::clone::Clone for styleMsScrollSnapType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsScrollSnapType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsScrollSnapType { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsScrollSnapType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsScrollSnapType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsScrollTranslation(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollTranslationNotSet: styleMsScrollTranslation = styleMsScrollTranslation(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollTranslationNone: styleMsScrollTranslation = styleMsScrollTranslation(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollTranslationVtoH: styleMsScrollTranslation = styleMsScrollTranslation(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsScrollTranslation_Max: styleMsScrollTranslation = styleMsScrollTranslation(2147483647i32); -impl ::core::marker::Copy for styleMsScrollTranslation {} -impl ::core::clone::Clone for styleMsScrollTranslation { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsScrollTranslation { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsScrollTranslation { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsScrollTranslation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsScrollTranslation").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsTextCombineHorizontal(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTextCombineHorizontalNone: styleMsTextCombineHorizontal = styleMsTextCombineHorizontal(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTextCombineHorizontalAll: styleMsTextCombineHorizontal = styleMsTextCombineHorizontal(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTextCombineHorizontalDigits: styleMsTextCombineHorizontal = styleMsTextCombineHorizontal(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTextCombineHorizontalNotSet: styleMsTextCombineHorizontal = styleMsTextCombineHorizontal(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTextCombineHorizontal_Max: styleMsTextCombineHorizontal = styleMsTextCombineHorizontal(2147483647i32); -impl ::core::marker::Copy for styleMsTextCombineHorizontal {} -impl ::core::clone::Clone for styleMsTextCombineHorizontal { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsTextCombineHorizontal { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsTextCombineHorizontal { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsTextCombineHorizontal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsTextCombineHorizontal").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsTouchAction(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionNotSet: styleMsTouchAction = styleMsTouchAction(-1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionNone: styleMsTouchAction = styleMsTouchAction(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionAuto: styleMsTouchAction = styleMsTouchAction(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionManipulation: styleMsTouchAction = styleMsTouchAction(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionDoubleTapZoom: styleMsTouchAction = styleMsTouchAction(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionPanX: styleMsTouchAction = styleMsTouchAction(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionPanY: styleMsTouchAction = styleMsTouchAction(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionPinchZoom: styleMsTouchAction = styleMsTouchAction(32i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionCrossSlideX: styleMsTouchAction = styleMsTouchAction(64i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchActionCrossSlideY: styleMsTouchAction = styleMsTouchAction(128i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchAction_Max: styleMsTouchAction = styleMsTouchAction(2147483647i32); -impl ::core::marker::Copy for styleMsTouchAction {} -impl ::core::clone::Clone for styleMsTouchAction { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsTouchAction { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsTouchAction { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsTouchAction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsTouchAction").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsTouchSelect(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchSelectGrippers: styleMsTouchSelect = styleMsTouchSelect(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchSelectNone: styleMsTouchSelect = styleMsTouchSelect(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchSelectNotSet: styleMsTouchSelect = styleMsTouchSelect(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsTouchSelect_Max: styleMsTouchSelect = styleMsTouchSelect(2147483647i32); -impl ::core::marker::Copy for styleMsTouchSelect {} -impl ::core::clone::Clone for styleMsTouchSelect { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsTouchSelect { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsTouchSelect { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsTouchSelect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsTouchSelect").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleMsUserSelect(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsUserSelectAuto: styleMsUserSelect = styleMsUserSelect(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsUserSelectText: styleMsUserSelect = styleMsUserSelect(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsUserSelectElement: styleMsUserSelect = styleMsUserSelect(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsUserSelectNone: styleMsUserSelect = styleMsUserSelect(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsUserSelectNotSet: styleMsUserSelect = styleMsUserSelect(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleMsUserSelect_Max: styleMsUserSelect = styleMsUserSelect(2147483647i32); -impl ::core::marker::Copy for styleMsUserSelect {} -impl ::core::clone::Clone for styleMsUserSelect { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleMsUserSelect { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleMsUserSelect { - type Abi = Self; -} -impl ::core::fmt::Debug for styleMsUserSelect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleMsUserSelect").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleNone(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleNoneNone: styleNone = styleNone(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleNone_Max: styleNone = styleNone(2147483647i32); -impl ::core::marker::Copy for styleNone {} -impl ::core::clone::Clone for styleNone { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleNone { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleNone { - type Abi = Self; -} -impl ::core::fmt::Debug for styleNone { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleNone").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleNormal(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleNormalNormal: styleNormal = styleNormal(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleNormal_Max: styleNormal = styleNormal(2147483647i32); -impl ::core::marker::Copy for styleNormal {} -impl ::core::clone::Clone for styleNormal { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleNormal { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleNormal { - type Abi = Self; -} -impl ::core::fmt::Debug for styleNormal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleNormal").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleOutlineStyle(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleNotSet: styleOutlineStyle = styleOutlineStyle(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleDotted: styleOutlineStyle = styleOutlineStyle(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleDashed: styleOutlineStyle = styleOutlineStyle(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleSolid: styleOutlineStyle = styleOutlineStyle(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleDouble: styleOutlineStyle = styleOutlineStyle(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleGroove: styleOutlineStyle = styleOutlineStyle(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleRidge: styleOutlineStyle = styleOutlineStyle(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleInset: styleOutlineStyle = styleOutlineStyle(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleOutset: styleOutlineStyle = styleOutlineStyle(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleWindowInset: styleOutlineStyle = styleOutlineStyle(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyleNone: styleOutlineStyle = styleOutlineStyle(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOutlineStyle_Max: styleOutlineStyle = styleOutlineStyle(2147483647i32); -impl ::core::marker::Copy for styleOutlineStyle {} -impl ::core::clone::Clone for styleOutlineStyle { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleOutlineStyle { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleOutlineStyle { - type Abi = Self; -} -impl ::core::fmt::Debug for styleOutlineStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleOutlineStyle").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleOverflow(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOverflowNotSet: styleOverflow = styleOverflow(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOverflowAuto: styleOverflow = styleOverflow(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOverflowHidden: styleOverflow = styleOverflow(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOverflowVisible: styleOverflow = styleOverflow(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOverflowScroll: styleOverflow = styleOverflow(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleOverflow_Max: styleOverflow = styleOverflow(2147483647i32); -impl ::core::marker::Copy for styleOverflow {} -impl ::core::clone::Clone for styleOverflow { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleOverflow { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleOverflow { - type Abi = Self; -} -impl ::core::fmt::Debug for styleOverflow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleOverflow").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct stylePageBreak(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakNotSet: stylePageBreak = stylePageBreak(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakAuto: stylePageBreak = stylePageBreak(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakAlways: stylePageBreak = stylePageBreak(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakLeft: stylePageBreak = stylePageBreak(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakRight: stylePageBreak = stylePageBreak(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakAvoid: stylePageBreak = stylePageBreak(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreak_Max: stylePageBreak = stylePageBreak(2147483647i32); -impl ::core::marker::Copy for stylePageBreak {} -impl ::core::clone::Clone for stylePageBreak { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for stylePageBreak { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for stylePageBreak { - type Abi = Self; -} -impl ::core::fmt::Debug for stylePageBreak { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("stylePageBreak").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct stylePageBreakInside(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakInsideNotSet: stylePageBreakInside = stylePageBreakInside(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakInsideAuto: stylePageBreakInside = stylePageBreakInside(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakInsideAvoid: stylePageBreakInside = stylePageBreakInside(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePageBreakInside_Max: stylePageBreakInside = stylePageBreakInside(2147483647i32); -impl ::core::marker::Copy for stylePageBreakInside {} -impl ::core::clone::Clone for stylePageBreakInside { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for stylePageBreakInside { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for stylePageBreakInside { - type Abi = Self; -} -impl ::core::fmt::Debug for stylePageBreakInside { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("stylePageBreakInside").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct stylePerspectiveOriginX(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginXNotSet: stylePerspectiveOriginX = stylePerspectiveOriginX(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginXLeft: stylePerspectiveOriginX = stylePerspectiveOriginX(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginXCenter: stylePerspectiveOriginX = stylePerspectiveOriginX(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginXRight: stylePerspectiveOriginX = stylePerspectiveOriginX(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginX_Max: stylePerspectiveOriginX = stylePerspectiveOriginX(2147483647i32); -impl ::core::marker::Copy for stylePerspectiveOriginX {} -impl ::core::clone::Clone for stylePerspectiveOriginX { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for stylePerspectiveOriginX { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for stylePerspectiveOriginX { - type Abi = Self; -} -impl ::core::fmt::Debug for stylePerspectiveOriginX { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("stylePerspectiveOriginX").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct stylePerspectiveOriginY(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginYNotSet: stylePerspectiveOriginY = stylePerspectiveOriginY(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginYTop: stylePerspectiveOriginY = stylePerspectiveOriginY(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginYCenter: stylePerspectiveOriginY = stylePerspectiveOriginY(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginYBottom: stylePerspectiveOriginY = stylePerspectiveOriginY(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePerspectiveOriginY_Max: stylePerspectiveOriginY = stylePerspectiveOriginY(2147483647i32); -impl ::core::marker::Copy for stylePerspectiveOriginY {} -impl ::core::clone::Clone for stylePerspectiveOriginY { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for stylePerspectiveOriginY { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for stylePerspectiveOriginY { - type Abi = Self; -} -impl ::core::fmt::Debug for stylePerspectiveOriginY { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("stylePerspectiveOriginY").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct stylePointerEvents(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsNotSet: stylePointerEvents = stylePointerEvents(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsVisiblePainted: stylePointerEvents = stylePointerEvents(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsVisibleFill: stylePointerEvents = stylePointerEvents(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsVisibleStroke: stylePointerEvents = stylePointerEvents(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsVisible: stylePointerEvents = stylePointerEvents(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsPainted: stylePointerEvents = stylePointerEvents(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsFill: stylePointerEvents = stylePointerEvents(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsStroke: stylePointerEvents = stylePointerEvents(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsAll: stylePointerEvents = stylePointerEvents(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsNone: stylePointerEvents = stylePointerEvents(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsInitial: stylePointerEvents = stylePointerEvents(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEventsAuto: stylePointerEvents = stylePointerEvents(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePointerEvents_Max: stylePointerEvents = stylePointerEvents(2147483647i32); -impl ::core::marker::Copy for stylePointerEvents {} -impl ::core::clone::Clone for stylePointerEvents { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for stylePointerEvents { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for stylePointerEvents { - type Abi = Self; -} -impl ::core::fmt::Debug for stylePointerEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("stylePointerEvents").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct stylePosition(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePositionNotSet: stylePosition = stylePosition(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePositionstatic: stylePosition = stylePosition(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePositionrelative: stylePosition = stylePosition(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePositionabsolute: stylePosition = stylePosition(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePositionfixed: stylePosition = stylePosition(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePositionMsPage: stylePosition = stylePosition(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePositionMsDeviceFixed: stylePosition = stylePosition(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const stylePosition_Max: stylePosition = stylePosition(2147483647i32); -impl ::core::marker::Copy for stylePosition {} -impl ::core::clone::Clone for stylePosition { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for stylePosition { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for stylePosition { - type Abi = Self; -} -impl ::core::fmt::Debug for stylePosition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("stylePosition").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleRubyAlign(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlignNotSet: styleRubyAlign = styleRubyAlign(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlignAuto: styleRubyAlign = styleRubyAlign(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlignLeft: styleRubyAlign = styleRubyAlign(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlignCenter: styleRubyAlign = styleRubyAlign(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlignRight: styleRubyAlign = styleRubyAlign(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlignDistributeLetter: styleRubyAlign = styleRubyAlign(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlignDistributeSpace: styleRubyAlign = styleRubyAlign(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlignLineEdge: styleRubyAlign = styleRubyAlign(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyAlign_Max: styleRubyAlign = styleRubyAlign(2147483647i32); -impl ::core::marker::Copy for styleRubyAlign {} -impl ::core::clone::Clone for styleRubyAlign { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleRubyAlign { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleRubyAlign { - type Abi = Self; -} -impl ::core::fmt::Debug for styleRubyAlign { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleRubyAlign").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleRubyOverhang(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyOverhangNotSet: styleRubyOverhang = styleRubyOverhang(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyOverhangAuto: styleRubyOverhang = styleRubyOverhang(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyOverhangWhitespace: styleRubyOverhang = styleRubyOverhang(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyOverhangNone: styleRubyOverhang = styleRubyOverhang(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyOverhang_Max: styleRubyOverhang = styleRubyOverhang(2147483647i32); -impl ::core::marker::Copy for styleRubyOverhang {} -impl ::core::clone::Clone for styleRubyOverhang { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleRubyOverhang { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleRubyOverhang { - type Abi = Self; -} -impl ::core::fmt::Debug for styleRubyOverhang { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleRubyOverhang").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleRubyPosition(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyPositionNotSet: styleRubyPosition = styleRubyPosition(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyPositionAbove: styleRubyPosition = styleRubyPosition(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyPositionInline: styleRubyPosition = styleRubyPosition(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleRubyPosition_Max: styleRubyPosition = styleRubyPosition(2147483647i32); -impl ::core::marker::Copy for styleRubyPosition {} -impl ::core::clone::Clone for styleRubyPosition { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleRubyPosition { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleRubyPosition { - type Abi = Self; -} -impl ::core::fmt::Debug for styleRubyPosition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleRubyPosition").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleStrokeLinecap(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinecapNotSet: styleStrokeLinecap = styleStrokeLinecap(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinecapButt: styleStrokeLinecap = styleStrokeLinecap(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinecapRound: styleStrokeLinecap = styleStrokeLinecap(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinecapSquare: styleStrokeLinecap = styleStrokeLinecap(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinecap_Max: styleStrokeLinecap = styleStrokeLinecap(2147483647i32); -impl ::core::marker::Copy for styleStrokeLinecap {} -impl ::core::clone::Clone for styleStrokeLinecap { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleStrokeLinecap { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleStrokeLinecap { - type Abi = Self; -} -impl ::core::fmt::Debug for styleStrokeLinecap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleStrokeLinecap").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleStrokeLinejoin(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinejoinNotSet: styleStrokeLinejoin = styleStrokeLinejoin(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinejoinMiter: styleStrokeLinejoin = styleStrokeLinejoin(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinejoinRound: styleStrokeLinejoin = styleStrokeLinejoin(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinejoinBevel: styleStrokeLinejoin = styleStrokeLinejoin(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStrokeLinejoin_Max: styleStrokeLinejoin = styleStrokeLinejoin(2147483647i32); -impl ::core::marker::Copy for styleStrokeLinejoin {} -impl ::core::clone::Clone for styleStrokeLinejoin { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleStrokeLinejoin { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleStrokeLinejoin { - type Abi = Self; -} -impl ::core::fmt::Debug for styleStrokeLinejoin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleStrokeLinejoin").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleStyleFloat(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStyleFloatNotSet: styleStyleFloat = styleStyleFloat(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStyleFloatLeft: styleStyleFloat = styleStyleFloat(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStyleFloatRight: styleStyleFloat = styleStyleFloat(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStyleFloatNone: styleStyleFloat = styleStyleFloat(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleStyleFloat_Max: styleStyleFloat = styleStyleFloat(2147483647i32); -impl ::core::marker::Copy for styleStyleFloat {} -impl ::core::clone::Clone for styleStyleFloat { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleStyleFloat { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleStyleFloat { - type Abi = Self; -} -impl ::core::fmt::Debug for styleStyleFloat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleStyleFloat").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleTableLayout(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTableLayoutNotSet: styleTableLayout = styleTableLayout(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTableLayoutAuto: styleTableLayout = styleTableLayout(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTableLayoutFixed: styleTableLayout = styleTableLayout(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTableLayout_Max: styleTableLayout = styleTableLayout(2147483647i32); -impl ::core::marker::Copy for styleTableLayout {} -impl ::core::clone::Clone for styleTableLayout { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleTableLayout { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleTableLayout { - type Abi = Self; -} -impl ::core::fmt::Debug for styleTableLayout { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleTableLayout").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleTextAlignLast(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAlignLastNotSet: styleTextAlignLast = styleTextAlignLast(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAlignLastLeft: styleTextAlignLast = styleTextAlignLast(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAlignLastCenter: styleTextAlignLast = styleTextAlignLast(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAlignLastRight: styleTextAlignLast = styleTextAlignLast(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAlignLastJustify: styleTextAlignLast = styleTextAlignLast(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAlignLastAuto: styleTextAlignLast = styleTextAlignLast(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAlignLast_Max: styleTextAlignLast = styleTextAlignLast(2147483647i32); -impl ::core::marker::Copy for styleTextAlignLast {} -impl ::core::clone::Clone for styleTextAlignLast { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleTextAlignLast { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleTextAlignLast { - type Abi = Self; -} -impl ::core::fmt::Debug for styleTextAlignLast { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleTextAlignLast").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleTextAnchor(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAnchorNotSet: styleTextAnchor = styleTextAnchor(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAnchorStart: styleTextAnchor = styleTextAnchor(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAnchorMiddle: styleTextAnchor = styleTextAnchor(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAnchorEnd: styleTextAnchor = styleTextAnchor(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextAnchor_Max: styleTextAnchor = styleTextAnchor(2147483647i32); -impl ::core::marker::Copy for styleTextAnchor {} -impl ::core::clone::Clone for styleTextAnchor { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleTextAnchor { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleTextAnchor { - type Abi = Self; -} -impl ::core::fmt::Debug for styleTextAnchor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleTextAnchor").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleTextDecoration(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextDecorationNone: styleTextDecoration = styleTextDecoration(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextDecorationUnderline: styleTextDecoration = styleTextDecoration(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextDecorationOverline: styleTextDecoration = styleTextDecoration(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextDecorationLineThrough: styleTextDecoration = styleTextDecoration(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextDecorationBlink: styleTextDecoration = styleTextDecoration(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextDecoration_Max: styleTextDecoration = styleTextDecoration(2147483647i32); -impl ::core::marker::Copy for styleTextDecoration {} -impl ::core::clone::Clone for styleTextDecoration { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleTextDecoration { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleTextDecoration { - type Abi = Self; -} -impl ::core::fmt::Debug for styleTextDecoration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleTextDecoration").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleTextEffect(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextEffectNone: styleTextEffect = styleTextEffect(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextEffectEmboss: styleTextEffect = styleTextEffect(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextEffectEngrave: styleTextEffect = styleTextEffect(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextEffectOutline: styleTextEffect = styleTextEffect(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextEffect_Max: styleTextEffect = styleTextEffect(2147483647i32); -impl ::core::marker::Copy for styleTextEffect {} -impl ::core::clone::Clone for styleTextEffect { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleTextEffect { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleTextEffect { - type Abi = Self; -} -impl ::core::fmt::Debug for styleTextEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleTextEffect").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleTextJustify(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyNotSet: styleTextJustify = styleTextJustify(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyInterWord: styleTextJustify = styleTextJustify(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyNewspaper: styleTextJustify = styleTextJustify(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyDistribute: styleTextJustify = styleTextJustify(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyDistributeAllLines: styleTextJustify = styleTextJustify(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyInterIdeograph: styleTextJustify = styleTextJustify(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyInterCluster: styleTextJustify = styleTextJustify(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyKashida: styleTextJustify = styleTextJustify(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyAuto: styleTextJustify = styleTextJustify(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustify_Max: styleTextJustify = styleTextJustify(2147483647i32); -impl ::core::marker::Copy for styleTextJustify {} -impl ::core::clone::Clone for styleTextJustify { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleTextJustify { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleTextJustify { - type Abi = Self; -} -impl ::core::fmt::Debug for styleTextJustify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleTextJustify").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleTextJustifyTrim(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyTrimNotSet: styleTextJustifyTrim = styleTextJustifyTrim(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyTrimNone: styleTextJustifyTrim = styleTextJustifyTrim(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyTrimPunctuation: styleTextJustifyTrim = styleTextJustifyTrim(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyTrimPunctAndKana: styleTextJustifyTrim = styleTextJustifyTrim(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextJustifyTrim_Max: styleTextJustifyTrim = styleTextJustifyTrim(2147483647i32); -impl ::core::marker::Copy for styleTextJustifyTrim {} -impl ::core::clone::Clone for styleTextJustifyTrim { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleTextJustifyTrim { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleTextJustifyTrim { - type Abi = Self; -} -impl ::core::fmt::Debug for styleTextJustifyTrim { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleTextJustifyTrim").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleTextLineThroughStyle(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextLineThroughStyleUndefined: styleTextLineThroughStyle = styleTextLineThroughStyle(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextLineThroughStyleSingle: styleTextLineThroughStyle = styleTextLineThroughStyle(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextLineThroughStyleDouble: styleTextLineThroughStyle = styleTextLineThroughStyle(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextLineThroughStyle_Max: styleTextLineThroughStyle = styleTextLineThroughStyle(2147483647i32); -impl ::core::marker::Copy for styleTextLineThroughStyle {} -impl ::core::clone::Clone for styleTextLineThroughStyle { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleTextLineThroughStyle { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleTextLineThroughStyle { - type Abi = Self; -} -impl ::core::fmt::Debug for styleTextLineThroughStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleTextLineThroughStyle").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleTextOverflow(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextOverflowClip: styleTextOverflow = styleTextOverflow(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextOverflowEllipsis: styleTextOverflow = styleTextOverflow(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextOverflowNotSet: styleTextOverflow = styleTextOverflow(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextOverflow_Max: styleTextOverflow = styleTextOverflow(2147483647i32); -impl ::core::marker::Copy for styleTextOverflow {} -impl ::core::clone::Clone for styleTextOverflow { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleTextOverflow { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleTextOverflow { - type Abi = Self; -} -impl ::core::fmt::Debug for styleTextOverflow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleTextOverflow").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleTextSizeAdjust(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextSizeAdjustNone: styleTextSizeAdjust = styleTextSizeAdjust(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextSizeAdjustAuto: styleTextSizeAdjust = styleTextSizeAdjust(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextSizeAdjust_Max: styleTextSizeAdjust = styleTextSizeAdjust(2147483647i32); -impl ::core::marker::Copy for styleTextSizeAdjust {} -impl ::core::clone::Clone for styleTextSizeAdjust { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleTextSizeAdjust { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleTextSizeAdjust { - type Abi = Self; -} -impl ::core::fmt::Debug for styleTextSizeAdjust { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleTextSizeAdjust").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleTextTransform(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextTransformNotSet: styleTextTransform = styleTextTransform(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextTransformCapitalize: styleTextTransform = styleTextTransform(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextTransformLowercase: styleTextTransform = styleTextTransform(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextTransformUppercase: styleTextTransform = styleTextTransform(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextTransformNone: styleTextTransform = styleTextTransform(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextTransform_Max: styleTextTransform = styleTextTransform(2147483647i32); -impl ::core::marker::Copy for styleTextTransform {} -impl ::core::clone::Clone for styleTextTransform { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleTextTransform { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleTextTransform { - type Abi = Self; -} -impl ::core::fmt::Debug for styleTextTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleTextTransform").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleTextUnderlinePosition(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlinePositionBelow: styleTextUnderlinePosition = styleTextUnderlinePosition(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlinePositionAbove: styleTextUnderlinePosition = styleTextUnderlinePosition(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlinePositionAuto: styleTextUnderlinePosition = styleTextUnderlinePosition(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlinePositionNotSet: styleTextUnderlinePosition = styleTextUnderlinePosition(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlinePosition_Max: styleTextUnderlinePosition = styleTextUnderlinePosition(2147483647i32); -impl ::core::marker::Copy for styleTextUnderlinePosition {} -impl ::core::clone::Clone for styleTextUnderlinePosition { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleTextUnderlinePosition { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleTextUnderlinePosition { - type Abi = Self; -} -impl ::core::fmt::Debug for styleTextUnderlinePosition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleTextUnderlinePosition").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleTextUnderlineStyle(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleUndefined: styleTextUnderlineStyle = styleTextUnderlineStyle(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleSingle: styleTextUnderlineStyle = styleTextUnderlineStyle(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleDouble: styleTextUnderlineStyle = styleTextUnderlineStyle(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleWords: styleTextUnderlineStyle = styleTextUnderlineStyle(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleDotted: styleTextUnderlineStyle = styleTextUnderlineStyle(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleThick: styleTextUnderlineStyle = styleTextUnderlineStyle(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleDash: styleTextUnderlineStyle = styleTextUnderlineStyle(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleDotDash: styleTextUnderlineStyle = styleTextUnderlineStyle(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleDotDotDash: styleTextUnderlineStyle = styleTextUnderlineStyle(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleWave: styleTextUnderlineStyle = styleTextUnderlineStyle(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleSingleAccounting: styleTextUnderlineStyle = styleTextUnderlineStyle(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleDoubleAccounting: styleTextUnderlineStyle = styleTextUnderlineStyle(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyleThickDash: styleTextUnderlineStyle = styleTextUnderlineStyle(12i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTextUnderlineStyle_Max: styleTextUnderlineStyle = styleTextUnderlineStyle(2147483647i32); -impl ::core::marker::Copy for styleTextUnderlineStyle {} -impl ::core::clone::Clone for styleTextUnderlineStyle { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleTextUnderlineStyle { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleTextUnderlineStyle { - type Abi = Self; -} -impl ::core::fmt::Debug for styleTextUnderlineStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleTextUnderlineStyle").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleTransformOriginX(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginXNotSet: styleTransformOriginX = styleTransformOriginX(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginXLeft: styleTransformOriginX = styleTransformOriginX(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginXCenter: styleTransformOriginX = styleTransformOriginX(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginXRight: styleTransformOriginX = styleTransformOriginX(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginX_Max: styleTransformOriginX = styleTransformOriginX(2147483647i32); -impl ::core::marker::Copy for styleTransformOriginX {} -impl ::core::clone::Clone for styleTransformOriginX { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleTransformOriginX { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleTransformOriginX { - type Abi = Self; -} -impl ::core::fmt::Debug for styleTransformOriginX { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleTransformOriginX").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleTransformOriginY(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginYNotSet: styleTransformOriginY = styleTransformOriginY(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginYTop: styleTransformOriginY = styleTransformOriginY(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginYCenter: styleTransformOriginY = styleTransformOriginY(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginYBottom: styleTransformOriginY = styleTransformOriginY(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformOriginY_Max: styleTransformOriginY = styleTransformOriginY(2147483647i32); -impl ::core::marker::Copy for styleTransformOriginY {} -impl ::core::clone::Clone for styleTransformOriginY { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleTransformOriginY { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleTransformOriginY { - type Abi = Self; -} -impl ::core::fmt::Debug for styleTransformOriginY { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleTransformOriginY").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleTransformStyle(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformStyleFlat: styleTransformStyle = styleTransformStyle(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformStylePreserve3D: styleTransformStyle = styleTransformStyle(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformStyleNotSet: styleTransformStyle = styleTransformStyle(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleTransformStyle_Max: styleTransformStyle = styleTransformStyle(2147483647i32); -impl ::core::marker::Copy for styleTransformStyle {} -impl ::core::clone::Clone for styleTransformStyle { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleTransformStyle { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleTransformStyle { - type Abi = Self; -} -impl ::core::fmt::Debug for styleTransformStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleTransformStyle").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleUserZoom(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleUserZoomNotSet: styleUserZoom = styleUserZoom(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleUserZoomZoom: styleUserZoom = styleUserZoom(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleUserZoomFixed: styleUserZoom = styleUserZoom(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleUserZoom_Max: styleUserZoom = styleUserZoom(2147483647i32); -impl ::core::marker::Copy for styleUserZoom {} -impl ::core::clone::Clone for styleUserZoom { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleUserZoom { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleUserZoom { - type Abi = Self; -} -impl ::core::fmt::Debug for styleUserZoom { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleUserZoom").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleVerticalAlign(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignAuto: styleVerticalAlign = styleVerticalAlign(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignBaseline: styleVerticalAlign = styleVerticalAlign(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignSub: styleVerticalAlign = styleVerticalAlign(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignSuper: styleVerticalAlign = styleVerticalAlign(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignTop: styleVerticalAlign = styleVerticalAlign(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignTextTop: styleVerticalAlign = styleVerticalAlign(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignMiddle: styleVerticalAlign = styleVerticalAlign(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignBottom: styleVerticalAlign = styleVerticalAlign(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignTextBottom: styleVerticalAlign = styleVerticalAlign(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignInherit: styleVerticalAlign = styleVerticalAlign(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlignNotSet: styleVerticalAlign = styleVerticalAlign(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVerticalAlign_Max: styleVerticalAlign = styleVerticalAlign(2147483647i32); -impl ::core::marker::Copy for styleVerticalAlign {} -impl ::core::clone::Clone for styleVerticalAlign { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleVerticalAlign { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleVerticalAlign { - type Abi = Self; -} -impl ::core::fmt::Debug for styleVerticalAlign { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleVerticalAlign").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleViewportSize(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleViewportSizeAuto: styleViewportSize = styleViewportSize(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleViewportSizeDeviceWidth: styleViewportSize = styleViewportSize(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleViewportSizeDeviceHeight: styleViewportSize = styleViewportSize(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleViewportSize_Max: styleViewportSize = styleViewportSize(2147483647i32); -impl ::core::marker::Copy for styleViewportSize {} -impl ::core::clone::Clone for styleViewportSize { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleViewportSize { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleViewportSize { - type Abi = Self; -} -impl ::core::fmt::Debug for styleViewportSize { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleViewportSize").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleVisibility(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVisibilityNotSet: styleVisibility = styleVisibility(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVisibilityInherit: styleVisibility = styleVisibility(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVisibilityVisible: styleVisibility = styleVisibility(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVisibilityHidden: styleVisibility = styleVisibility(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVisibilityCollapse: styleVisibility = styleVisibility(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleVisibility_Max: styleVisibility = styleVisibility(2147483647i32); -impl ::core::marker::Copy for styleVisibility {} -impl ::core::clone::Clone for styleVisibility { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleVisibility { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleVisibility { - type Abi = Self; -} -impl ::core::fmt::Debug for styleVisibility { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleVisibility").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleWebkitAppearance(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceNone: styleWebkitAppearance = styleWebkitAppearance(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceCapsLockIndicator: styleWebkitAppearance = styleWebkitAppearance(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceButton: styleWebkitAppearance = styleWebkitAppearance(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceButtonBevel: styleWebkitAppearance = styleWebkitAppearance(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceCaret: styleWebkitAppearance = styleWebkitAppearance(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceCheckbox: styleWebkitAppearance = styleWebkitAppearance(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceDefaultButton: styleWebkitAppearance = styleWebkitAppearance(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceListbox: styleWebkitAppearance = styleWebkitAppearance(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceListitem: styleWebkitAppearance = styleWebkitAppearance(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMediaFullscreenButton: styleWebkitAppearance = styleWebkitAppearance(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMediaMuteButton: styleWebkitAppearance = styleWebkitAppearance(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMediaPlayButton: styleWebkitAppearance = styleWebkitAppearance(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMediaSeekBackButton: styleWebkitAppearance = styleWebkitAppearance(12i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMediaSeekForwardButton: styleWebkitAppearance = styleWebkitAppearance(13i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMediaSlider: styleWebkitAppearance = styleWebkitAppearance(14i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMediaSliderthumb: styleWebkitAppearance = styleWebkitAppearance(15i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMenulist: styleWebkitAppearance = styleWebkitAppearance(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMenulistButton: styleWebkitAppearance = styleWebkitAppearance(17i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMenulistText: styleWebkitAppearance = styleWebkitAppearance(18i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceMenulistTextfield: styleWebkitAppearance = styleWebkitAppearance(19i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearancePushButton: styleWebkitAppearance = styleWebkitAppearance(20i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceRadio: styleWebkitAppearance = styleWebkitAppearance(21i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSearchfield: styleWebkitAppearance = styleWebkitAppearance(22i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSearchfieldCancelButton: styleWebkitAppearance = styleWebkitAppearance(23i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSearchfieldDecoration: styleWebkitAppearance = styleWebkitAppearance(24i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSearchfieldResultsButton: styleWebkitAppearance = styleWebkitAppearance(25i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSearchfieldResultsDecoration: styleWebkitAppearance = styleWebkitAppearance(26i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSliderHorizontal: styleWebkitAppearance = styleWebkitAppearance(27i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSliderVertical: styleWebkitAppearance = styleWebkitAppearance(28i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSliderthumbHorizontal: styleWebkitAppearance = styleWebkitAppearance(29i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSliderthumbVertical: styleWebkitAppearance = styleWebkitAppearance(30i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceSquareButton: styleWebkitAppearance = styleWebkitAppearance(31i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceTextarea: styleWebkitAppearance = styleWebkitAppearance(32i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceTextfield: styleWebkitAppearance = styleWebkitAppearance(33i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearanceNotSet: styleWebkitAppearance = styleWebkitAppearance(34i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitAppearance_Max: styleWebkitAppearance = styleWebkitAppearance(2147483647i32); -impl ::core::marker::Copy for styleWebkitAppearance {} -impl ::core::clone::Clone for styleWebkitAppearance { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleWebkitAppearance { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleWebkitAppearance { - type Abi = Self; -} -impl ::core::fmt::Debug for styleWebkitAppearance { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleWebkitAppearance").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleWebkitBoxDirection(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxDirectionNormal: styleWebkitBoxDirection = styleWebkitBoxDirection(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxDirectionReverse: styleWebkitBoxDirection = styleWebkitBoxDirection(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxDirectionNotSet: styleWebkitBoxDirection = styleWebkitBoxDirection(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxDirection_Max: styleWebkitBoxDirection = styleWebkitBoxDirection(2147483647i32); -impl ::core::marker::Copy for styleWebkitBoxDirection {} -impl ::core::clone::Clone for styleWebkitBoxDirection { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleWebkitBoxDirection { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleWebkitBoxDirection { - type Abi = Self; -} -impl ::core::fmt::Debug for styleWebkitBoxDirection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleWebkitBoxDirection").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleWebkitBoxOrient(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxOrientHorizontal: styleWebkitBoxOrient = styleWebkitBoxOrient(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxOrientInlineAxis: styleWebkitBoxOrient = styleWebkitBoxOrient(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxOrientVertical: styleWebkitBoxOrient = styleWebkitBoxOrient(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxOrientBlockAxis: styleWebkitBoxOrient = styleWebkitBoxOrient(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxOrientNotSet: styleWebkitBoxOrient = styleWebkitBoxOrient(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxOrient_Max: styleWebkitBoxOrient = styleWebkitBoxOrient(2147483647i32); -impl ::core::marker::Copy for styleWebkitBoxOrient {} -impl ::core::clone::Clone for styleWebkitBoxOrient { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleWebkitBoxOrient { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleWebkitBoxOrient { - type Abi = Self; -} -impl ::core::fmt::Debug for styleWebkitBoxOrient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleWebkitBoxOrient").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleWebkitBoxPack(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxPackStart: styleWebkitBoxPack = styleWebkitBoxPack(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxPackEnd: styleWebkitBoxPack = styleWebkitBoxPack(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxPackCenter: styleWebkitBoxPack = styleWebkitBoxPack(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxPackJustify: styleWebkitBoxPack = styleWebkitBoxPack(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxPackNotSet: styleWebkitBoxPack = styleWebkitBoxPack(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWebkitBoxPack_Max: styleWebkitBoxPack = styleWebkitBoxPack(2147483647i32); -impl ::core::marker::Copy for styleWebkitBoxPack {} -impl ::core::clone::Clone for styleWebkitBoxPack { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleWebkitBoxPack { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleWebkitBoxPack { - type Abi = Self; -} -impl ::core::fmt::Debug for styleWebkitBoxPack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleWebkitBoxPack").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleWhiteSpace(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWhiteSpaceNotSet: styleWhiteSpace = styleWhiteSpace(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWhiteSpaceNormal: styleWhiteSpace = styleWhiteSpace(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWhiteSpacePre: styleWhiteSpace = styleWhiteSpace(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWhiteSpaceNowrap: styleWhiteSpace = styleWhiteSpace(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWhiteSpacePreline: styleWhiteSpace = styleWhiteSpace(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWhiteSpacePrewrap: styleWhiteSpace = styleWhiteSpace(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWhiteSpace_Max: styleWhiteSpace = styleWhiteSpace(2147483647i32); -impl ::core::marker::Copy for styleWhiteSpace {} -impl ::core::clone::Clone for styleWhiteSpace { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleWhiteSpace { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleWhiteSpace { - type Abi = Self; -} -impl ::core::fmt::Debug for styleWhiteSpace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleWhiteSpace").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleWidowsOrphans(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWidowsOrphansNotSet: styleWidowsOrphans = styleWidowsOrphans(-2147483647i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWidowsOrphans_Max: styleWidowsOrphans = styleWidowsOrphans(2147483647i32); -impl ::core::marker::Copy for styleWidowsOrphans {} -impl ::core::clone::Clone for styleWidowsOrphans { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleWidowsOrphans { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleWidowsOrphans { - type Abi = Self; -} -impl ::core::fmt::Debug for styleWidowsOrphans { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleWidowsOrphans").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleWordBreak(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordBreakNotSet: styleWordBreak = styleWordBreak(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordBreakNormal: styleWordBreak = styleWordBreak(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordBreakBreakAll: styleWordBreak = styleWordBreak(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordBreakKeepAll: styleWordBreak = styleWordBreak(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordBreak_Max: styleWordBreak = styleWordBreak(2147483647i32); -impl ::core::marker::Copy for styleWordBreak {} -impl ::core::clone::Clone for styleWordBreak { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleWordBreak { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleWordBreak { - type Abi = Self; -} -impl ::core::fmt::Debug for styleWordBreak { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleWordBreak").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleWordWrap(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordWrapNotSet: styleWordWrap = styleWordWrap(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordWrapOff: styleWordWrap = styleWordWrap(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordWrapOn: styleWordWrap = styleWordWrap(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWordWrap_Max: styleWordWrap = styleWordWrap(2147483647i32); -impl ::core::marker::Copy for styleWordWrap {} -impl ::core::clone::Clone for styleWordWrap { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleWordWrap { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleWordWrap { - type Abi = Self; -} -impl ::core::fmt::Debug for styleWordWrap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleWordWrap").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleWrapFlow(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlowNotSet: styleWrapFlow = styleWrapFlow(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlowAuto: styleWrapFlow = styleWrapFlow(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlowBoth: styleWrapFlow = styleWrapFlow(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlowStart: styleWrapFlow = styleWrapFlow(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlowEnd: styleWrapFlow = styleWrapFlow(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlowClear: styleWrapFlow = styleWrapFlow(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlowMinimum: styleWrapFlow = styleWrapFlow(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlowMaximum: styleWrapFlow = styleWrapFlow(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapFlow_Max: styleWrapFlow = styleWrapFlow(2147483647i32); -impl ::core::marker::Copy for styleWrapFlow {} -impl ::core::clone::Clone for styleWrapFlow { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleWrapFlow { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleWrapFlow { - type Abi = Self; -} -impl ::core::fmt::Debug for styleWrapFlow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleWrapFlow").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleWrapThrough(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapThroughNotSet: styleWrapThrough = styleWrapThrough(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapThroughWrap: styleWrapThrough = styleWrapThrough(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapThroughNone: styleWrapThrough = styleWrapThrough(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWrapThrough_Max: styleWrapThrough = styleWrapThrough(2147483647i32); -impl ::core::marker::Copy for styleWrapThrough {} -impl ::core::clone::Clone for styleWrapThrough { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleWrapThrough { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleWrapThrough { - type Abi = Self; -} -impl ::core::fmt::Debug for styleWrapThrough { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleWrapThrough").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleWritingMode(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeLrtb: styleWritingMode = styleWritingMode(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeTbrl: styleWritingMode = styleWritingMode(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeRltb: styleWritingMode = styleWritingMode(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeBtrl: styleWritingMode = styleWritingMode(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeNotSet: styleWritingMode = styleWritingMode(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeTblr: styleWritingMode = styleWritingMode(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeBtlr: styleWritingMode = styleWritingMode(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeLrbt: styleWritingMode = styleWritingMode(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeRlbt: styleWritingMode = styleWritingMode(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeLr: styleWritingMode = styleWritingMode(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeRl: styleWritingMode = styleWritingMode(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingModeTb: styleWritingMode = styleWritingMode(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleWritingMode_Max: styleWritingMode = styleWritingMode(2147483647i32); -impl ::core::marker::Copy for styleWritingMode {} -impl ::core::clone::Clone for styleWritingMode { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleWritingMode { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleWritingMode { - type Abi = Self; -} -impl ::core::fmt::Debug for styleWritingMode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleWritingMode").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct styleZIndex(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleZIndexAuto: styleZIndex = styleZIndex(-2147483647i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const styleZIndex_Max: styleZIndex = styleZIndex(2147483647i32); -impl ::core::marker::Copy for styleZIndex {} -impl ::core::clone::Clone for styleZIndex { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for styleZIndex { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for styleZIndex { - type Abi = Self; -} -impl ::core::fmt::Debug for styleZIndex { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("styleZIndex").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgAngleType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_ANGLETYPE_UNKNOWN: svgAngleType = svgAngleType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_ANGLETYPE_UNSPECIFIED: svgAngleType = svgAngleType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_ANGLETYPE_DEG: svgAngleType = svgAngleType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_ANGLETYPE_RAD: svgAngleType = svgAngleType(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_ANGLETYPE_GRAD: svgAngleType = svgAngleType(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgAngleType_Max: svgAngleType = svgAngleType(2147483647i32); -impl ::core::marker::Copy for svgAngleType {} -impl ::core::clone::Clone for svgAngleType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgAngleType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgAngleType { - type Abi = Self; -} -impl ::core::fmt::Debug for svgAngleType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgAngleType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgChannel(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_CHANNEL_UNKNOWN: svgChannel = svgChannel(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_CHANNEL_R: svgChannel = svgChannel(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_CHANNEL_G: svgChannel = svgChannel(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_CHANNEL_B: svgChannel = svgChannel(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_CHANNEL_A: svgChannel = svgChannel(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgChannel_Max: svgChannel = svgChannel(2147483647i32); -impl ::core::marker::Copy for svgChannel {} -impl ::core::clone::Clone for svgChannel { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgChannel { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgChannel { - type Abi = Self; -} -impl ::core::fmt::Debug for svgChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgChannel").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgEdgemode(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_EDGEMODE_UNKNOWN: svgEdgemode = svgEdgemode(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_EDGEMODE_DUPLICATE: svgEdgemode = svgEdgemode(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_EDGEMODE_WRAP: svgEdgemode = svgEdgemode(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_EDGEMODE_NONE: svgEdgemode = svgEdgemode(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgEdgemode_Max: svgEdgemode = svgEdgemode(2147483647i32); -impl ::core::marker::Copy for svgEdgemode {} -impl ::core::clone::Clone for svgEdgemode { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgEdgemode { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgEdgemode { - type Abi = Self; -} -impl ::core::fmt::Debug for svgEdgemode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgEdgemode").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgExternalResourcesRequired(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgExternalResourcesRequiredFalse: svgExternalResourcesRequired = svgExternalResourcesRequired(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgExternalResourcesRequiredTrue: svgExternalResourcesRequired = svgExternalResourcesRequired(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgExternalResourcesRequired_Max: svgExternalResourcesRequired = svgExternalResourcesRequired(2147483647i32); -impl ::core::marker::Copy for svgExternalResourcesRequired {} -impl ::core::clone::Clone for svgExternalResourcesRequired { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgExternalResourcesRequired { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgExternalResourcesRequired { - type Abi = Self; -} -impl ::core::fmt::Debug for svgExternalResourcesRequired { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgExternalResourcesRequired").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgFeblendMode(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FEBLEND_MODE_UNKNOWN: svgFeblendMode = svgFeblendMode(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FEBLEND_MODE_NORMAL: svgFeblendMode = svgFeblendMode(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FEBLEND_MODE_MULTIPLY: svgFeblendMode = svgFeblendMode(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FEBLEND_MODE_SCREEN: svgFeblendMode = svgFeblendMode(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FEBLEND_MODE_DARKEN: svgFeblendMode = svgFeblendMode(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FEBLEND_MODE_LIGHTEN: svgFeblendMode = svgFeblendMode(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFeblendMode_Max: svgFeblendMode = svgFeblendMode(2147483647i32); -impl ::core::marker::Copy for svgFeblendMode {} -impl ::core::clone::Clone for svgFeblendMode { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgFeblendMode { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgFeblendMode { - type Abi = Self; -} -impl ::core::fmt::Debug for svgFeblendMode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgFeblendMode").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgFecolormatrixType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOLORMATRIX_TYPE_UNKNOWN: svgFecolormatrixType = svgFecolormatrixType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOLORMATRIX_TYPE_MATRIX: svgFecolormatrixType = svgFecolormatrixType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOLORMATRIX_TYPE_SATURATE: svgFecolormatrixType = svgFecolormatrixType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOLORMATRIX_TYPE_HUEROTATE: svgFecolormatrixType = svgFecolormatrixType(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: svgFecolormatrixType = svgFecolormatrixType(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFecolormatrixType_Max: svgFecolormatrixType = svgFecolormatrixType(2147483647i32); -impl ::core::marker::Copy for svgFecolormatrixType {} -impl ::core::clone::Clone for svgFecolormatrixType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgFecolormatrixType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgFecolormatrixType { - type Abi = Self; -} -impl ::core::fmt::Debug for svgFecolormatrixType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgFecolormatrixType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgFecomponenttransferType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: svgFecomponenttransferType = svgFecomponenttransferType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: svgFecomponenttransferType = svgFecomponenttransferType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPONENTTRANSFER_TYPE_TABLE: svgFecomponenttransferType = svgFecomponenttransferType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: svgFecomponenttransferType = svgFecomponenttransferType(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: svgFecomponenttransferType = svgFecomponenttransferType(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: svgFecomponenttransferType = svgFecomponenttransferType(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFecomponenttransferType_Max: svgFecomponenttransferType = svgFecomponenttransferType(2147483647i32); -impl ::core::marker::Copy for svgFecomponenttransferType {} -impl ::core::clone::Clone for svgFecomponenttransferType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgFecomponenttransferType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgFecomponenttransferType { - type Abi = Self; -} -impl ::core::fmt::Debug for svgFecomponenttransferType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgFecomponenttransferType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgFecompositeOperator(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPOSITE_OPERATOR_UNKNOWN: svgFecompositeOperator = svgFecompositeOperator(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPOSITE_OPERATOR_OVER: svgFecompositeOperator = svgFecompositeOperator(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPOSITE_OPERATOR_IN: svgFecompositeOperator = svgFecompositeOperator(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPOSITE_OPERATOR_OUT: svgFecompositeOperator = svgFecompositeOperator(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPOSITE_OPERATOR_ATOP: svgFecompositeOperator = svgFecompositeOperator(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPOSITE_OPERATOR_XOR: svgFecompositeOperator = svgFecompositeOperator(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: svgFecompositeOperator = svgFecompositeOperator(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFecompositeOperator_Max: svgFecompositeOperator = svgFecompositeOperator(2147483647i32); -impl ::core::marker::Copy for svgFecompositeOperator {} -impl ::core::clone::Clone for svgFecompositeOperator { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgFecompositeOperator { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgFecompositeOperator { - type Abi = Self; -} -impl ::core::fmt::Debug for svgFecompositeOperator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgFecompositeOperator").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgFocusable(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFocusableNotSet: svgFocusable = svgFocusable(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFocusableAuto: svgFocusable = svgFocusable(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFocusableTrue: svgFocusable = svgFocusable(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFocusableFalse: svgFocusable = svgFocusable(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgFocusable_Max: svgFocusable = svgFocusable(2147483647i32); -impl ::core::marker::Copy for svgFocusable {} -impl ::core::clone::Clone for svgFocusable { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgFocusable { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgFocusable { - type Abi = Self; -} -impl ::core::fmt::Debug for svgFocusable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgFocusable").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgLengthType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_UNKNOWN: svgLengthType = svgLengthType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_NUMBER: svgLengthType = svgLengthType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_PERCENTAGE: svgLengthType = svgLengthType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_EMS: svgLengthType = svgLengthType(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_EXS: svgLengthType = svgLengthType(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_PX: svgLengthType = svgLengthType(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_CM: svgLengthType = svgLengthType(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_MM: svgLengthType = svgLengthType(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_IN: svgLengthType = svgLengthType(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_PT: svgLengthType = svgLengthType(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_LENGTHTYPE_PC: svgLengthType = svgLengthType(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgLengthType_Max: svgLengthType = svgLengthType(2147483647i32); -impl ::core::marker::Copy for svgLengthType {} -impl ::core::clone::Clone for svgLengthType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgLengthType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgLengthType { - type Abi = Self; -} -impl ::core::fmt::Debug for svgLengthType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgLengthType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgMarkerOrient(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MARKER_ORIENT_UNKNOWN: svgMarkerOrient = svgMarkerOrient(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MARKER_ORIENT_AUTO: svgMarkerOrient = svgMarkerOrient(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MARKER_ORIENT_ANGLE: svgMarkerOrient = svgMarkerOrient(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgMarkerOrient_Max: svgMarkerOrient = svgMarkerOrient(2147483647i32); -impl ::core::marker::Copy for svgMarkerOrient {} -impl ::core::clone::Clone for svgMarkerOrient { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgMarkerOrient { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgMarkerOrient { - type Abi = Self; -} -impl ::core::fmt::Debug for svgMarkerOrient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgMarkerOrient").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgMarkerOrientAttribute(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgMarkerOrientAttributeAuto: svgMarkerOrientAttribute = svgMarkerOrientAttribute(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgMarkerOrientAttribute_Max: svgMarkerOrientAttribute = svgMarkerOrientAttribute(2147483647i32); -impl ::core::marker::Copy for svgMarkerOrientAttribute {} -impl ::core::clone::Clone for svgMarkerOrientAttribute { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgMarkerOrientAttribute { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgMarkerOrientAttribute { - type Abi = Self; -} -impl ::core::fmt::Debug for svgMarkerOrientAttribute { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgMarkerOrientAttribute").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgMarkerUnits(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MARKERUNITS_UNKNOWN: svgMarkerUnits = svgMarkerUnits(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MARKERUNITS_USERSPACEONUSE: svgMarkerUnits = svgMarkerUnits(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MARKERUNITS_STROKEWIDTH: svgMarkerUnits = svgMarkerUnits(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgMarkerUnits_Max: svgMarkerUnits = svgMarkerUnits(2147483647i32); -impl ::core::marker::Copy for svgMarkerUnits {} -impl ::core::clone::Clone for svgMarkerUnits { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgMarkerUnits { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgMarkerUnits { - type Abi = Self; -} -impl ::core::fmt::Debug for svgMarkerUnits { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgMarkerUnits").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgMorphologyOperator(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MORPHOLOGY_OPERATOR_UNKNOWN: svgMorphologyOperator = svgMorphologyOperator(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MORPHOLOGY_OPERATOR_ERODE: svgMorphologyOperator = svgMorphologyOperator(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MORPHOLOGY_OPERATOR_DILATE: svgMorphologyOperator = svgMorphologyOperator(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgMorphologyOperator_Max: svgMorphologyOperator = svgMorphologyOperator(2147483647i32); -impl ::core::marker::Copy for svgMorphologyOperator {} -impl ::core::clone::Clone for svgMorphologyOperator { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgMorphologyOperator { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgMorphologyOperator { - type Abi = Self; -} -impl ::core::fmt::Debug for svgMorphologyOperator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgMorphologyOperator").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgPathSegType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_UNKNOWN: svgPathSegType = svgPathSegType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CLOSEPATH: svgPathSegType = svgPathSegType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_MOVETO_ABS: svgPathSegType = svgPathSegType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_MOVETO_REL: svgPathSegType = svgPathSegType(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_LINETO_ABS: svgPathSegType = svgPathSegType(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_LINETO_REL: svgPathSegType = svgPathSegType(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CURVETO_CUBIC_ABS: svgPathSegType = svgPathSegType(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CURVETO_CUBIC_REL: svgPathSegType = svgPathSegType(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CURVETO_QUADRATIC_ABS: svgPathSegType = svgPathSegType(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CURVETO_QUADRATIC_REL: svgPathSegType = svgPathSegType(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_ARC_ABS: svgPathSegType = svgPathSegType(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_ARC_REL: svgPathSegType = svgPathSegType(11i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_LINETO_HORIZONTAL_ABS: svgPathSegType = svgPathSegType(12i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_LINETO_HORIZONTAL_REL: svgPathSegType = svgPathSegType(13i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_LINETO_VERTICAL_ABS: svgPathSegType = svgPathSegType(14i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_LINETO_VERTICAL_REL: svgPathSegType = svgPathSegType(15i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: svgPathSegType = svgPathSegType(16i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CURVETO_CUBIC_SMOOTH_REL: svgPathSegType = svgPathSegType(17i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: svgPathSegType = svgPathSegType(18i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: svgPathSegType = svgPathSegType(19i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgPathSegType_Max: svgPathSegType = svgPathSegType(2147483647i32); -impl ::core::marker::Copy for svgPathSegType {} -impl ::core::clone::Clone for svgPathSegType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgPathSegType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgPathSegType { - type Abi = Self; -} -impl ::core::fmt::Debug for svgPathSegType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgPathSegType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgPreserveAlpha(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEALPHA_FALSE: svgPreserveAlpha = svgPreserveAlpha(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEALPHA_TRUE: svgPreserveAlpha = svgPreserveAlpha(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgPreserveAlpha_Max: svgPreserveAlpha = svgPreserveAlpha(2147483647i32); -impl ::core::marker::Copy for svgPreserveAlpha {} -impl ::core::clone::Clone for svgPreserveAlpha { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgPreserveAlpha { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgPreserveAlpha { - type Abi = Self; -} -impl ::core::fmt::Debug for svgPreserveAlpha { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgPreserveAlpha").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgPreserveAspectMeetOrSliceType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MEETORSLICE_UNKNOWN: svgPreserveAspectMeetOrSliceType = svgPreserveAspectMeetOrSliceType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MEETORSLICE_MEET: svgPreserveAspectMeetOrSliceType = svgPreserveAspectMeetOrSliceType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_MEETORSLICE_SLICE: svgPreserveAspectMeetOrSliceType = svgPreserveAspectMeetOrSliceType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgPreserveAspectMeetOrSliceType_Max: svgPreserveAspectMeetOrSliceType = svgPreserveAspectMeetOrSliceType(2147483647i32); -impl ::core::marker::Copy for svgPreserveAspectMeetOrSliceType {} -impl ::core::clone::Clone for svgPreserveAspectMeetOrSliceType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgPreserveAspectMeetOrSliceType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgPreserveAspectMeetOrSliceType { - type Abi = Self; -} -impl ::core::fmt::Debug for svgPreserveAspectMeetOrSliceType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgPreserveAspectMeetOrSliceType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgPreserveAspectRatioAlignType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_UNKNOWN: svgPreserveAspectRatioAlignType = svgPreserveAspectRatioAlignType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_NONE: svgPreserveAspectRatioAlignType = svgPreserveAspectRatioAlignType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMINYMIN: svgPreserveAspectRatioAlignType = svgPreserveAspectRatioAlignType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMIDYMIN: svgPreserveAspectRatioAlignType = svgPreserveAspectRatioAlignType(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMAXYMIN: svgPreserveAspectRatioAlignType = svgPreserveAspectRatioAlignType(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMINYMID: svgPreserveAspectRatioAlignType = svgPreserveAspectRatioAlignType(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMIDYMID: svgPreserveAspectRatioAlignType = svgPreserveAspectRatioAlignType(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMAXYMID: svgPreserveAspectRatioAlignType = svgPreserveAspectRatioAlignType(7i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMINYMAX: svgPreserveAspectRatioAlignType = svgPreserveAspectRatioAlignType(8i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMIDYMAX: svgPreserveAspectRatioAlignType = svgPreserveAspectRatioAlignType(9i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_PRESERVEASPECTRATIO_XMAXYMAX: svgPreserveAspectRatioAlignType = svgPreserveAspectRatioAlignType(10i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgPreserveAspectRatioAlignType_Max: svgPreserveAspectRatioAlignType = svgPreserveAspectRatioAlignType(2147483647i32); -impl ::core::marker::Copy for svgPreserveAspectRatioAlignType {} -impl ::core::clone::Clone for svgPreserveAspectRatioAlignType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgPreserveAspectRatioAlignType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgPreserveAspectRatioAlignType { - type Abi = Self; -} -impl ::core::fmt::Debug for svgPreserveAspectRatioAlignType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgPreserveAspectRatioAlignType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgSpreadMethod(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_SPREADMETHOD_UNKNOWN: svgSpreadMethod = svgSpreadMethod(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_SPREADMETHOD_PAD: svgSpreadMethod = svgSpreadMethod(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_SPREADMETHOD_REFLECT: svgSpreadMethod = svgSpreadMethod(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_SPREADMETHOD_REPEAT: svgSpreadMethod = svgSpreadMethod(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgSpreadMethod_Max: svgSpreadMethod = svgSpreadMethod(2147483647i32); -impl ::core::marker::Copy for svgSpreadMethod {} -impl ::core::clone::Clone for svgSpreadMethod { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgSpreadMethod { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgSpreadMethod { - type Abi = Self; -} -impl ::core::fmt::Debug for svgSpreadMethod { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgSpreadMethod").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgStitchtype(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_STITCHTYPE_UNKNOWN: svgStitchtype = svgStitchtype(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_STITCHTYPE_STITCH: svgStitchtype = svgStitchtype(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_STITCHTYPE_NOSTITCH: svgStitchtype = svgStitchtype(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgStitchtype_Max: svgStitchtype = svgStitchtype(2147483647i32); -impl ::core::marker::Copy for svgStitchtype {} -impl ::core::clone::Clone for svgStitchtype { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgStitchtype { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgStitchtype { - type Abi = Self; -} -impl ::core::fmt::Debug for svgStitchtype { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgStitchtype").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgTransformType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TRANSFORM_UNKNOWN: svgTransformType = svgTransformType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TRANSFORM_MATRIX: svgTransformType = svgTransformType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TRANSFORM_TRANSLATE: svgTransformType = svgTransformType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TRANSFORM_SCALE: svgTransformType = svgTransformType(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TRANSFORM_ROTATE: svgTransformType = svgTransformType(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TRANSFORM_SKEWX: svgTransformType = svgTransformType(5i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TRANSFORM_SKEWY: svgTransformType = svgTransformType(6i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgTransformType_Max: svgTransformType = svgTransformType(2147483647i32); -impl ::core::marker::Copy for svgTransformType {} -impl ::core::clone::Clone for svgTransformType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgTransformType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgTransformType { - type Abi = Self; -} -impl ::core::fmt::Debug for svgTransformType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgTransformType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgTurbulenceType(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TURBULENCE_TYPE_UNKNOWN: svgTurbulenceType = svgTurbulenceType(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TURBULENCE_TYPE_FACTALNOISE: svgTurbulenceType = svgTurbulenceType(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_TURBULENCE_TYPE_TURBULENCE: svgTurbulenceType = svgTurbulenceType(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgTurbulenceType_Max: svgTurbulenceType = svgTurbulenceType(2147483647i32); -impl ::core::marker::Copy for svgTurbulenceType {} -impl ::core::clone::Clone for svgTurbulenceType { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgTurbulenceType { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgTurbulenceType { - type Abi = Self; -} -impl ::core::fmt::Debug for svgTurbulenceType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgTurbulenceType").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct svgUnitTypes(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_UNITTYPE_UNKNOWN: svgUnitTypes = svgUnitTypes(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_UNITTYPE_USERSPACEONUSE: svgUnitTypes = svgUnitTypes(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const SVG_UNITTYPE_OBJECTBOUNDINGBOX: svgUnitTypes = svgUnitTypes(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const svgUnitTypes_Max: svgUnitTypes = svgUnitTypes(2147483647i32); -impl ::core::marker::Copy for svgUnitTypes {} -impl ::core::clone::Clone for svgUnitTypes { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for svgUnitTypes { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for svgUnitTypes { - type Abi = Self; -} -impl ::core::fmt::Debug for svgUnitTypes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("svgUnitTypes").field(&self.0).finish() - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub struct tagNavigateData { - pub ulTarget: u32, - pub ulURL: u32, - pub ulRefURL: u32, - pub ulPostData: u32, - pub dwFlags: u32, -} -impl ::core::marker::Copy for tagNavigateData {} -impl ::core::clone::Clone for tagNavigateData { - fn clone(&self) -> Self { - *self - } -} -impl ::core::fmt::Debug for tagNavigateData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("tagNavigateData").field("ulTarget", &self.ulTarget).field("ulURL", &self.ulURL).field("ulRefURL", &self.ulRefURL).field("ulPostData", &self.ulPostData).field("dwFlags", &self.dwFlags).finish() - } -} -unsafe impl ::windows::core::Abi for tagNavigateData { - type Abi = Self; -} -impl ::core::cmp::PartialEq for tagNavigateData { - fn eq(&self, other: &Self) -> bool { - unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } - } -} -impl ::core::cmp::Eq for tagNavigateData {} -impl ::core::default::Default for tagNavigateData { - fn default() -> Self { - unsafe { ::core::mem::zeroed() } - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct textDecoration(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const textDecorationNone: textDecoration = textDecoration(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const textDecorationUnderline: textDecoration = textDecoration(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const textDecorationOverline: textDecoration = textDecoration(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const textDecorationLineThrough: textDecoration = textDecoration(3i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const textDecorationBlink: textDecoration = textDecoration(4i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const textDecoration_Max: textDecoration = textDecoration(2147483647i32); -impl ::core::marker::Copy for textDecoration {} -impl ::core::clone::Clone for textDecoration { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for textDecoration { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for textDecoration { - type Abi = Self; -} -impl ::core::fmt::Debug for textDecoration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("textDecoration").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct textpathMethodtype(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TEXTPATH_METHODTYPE_UNKNOWN: textpathMethodtype = textpathMethodtype(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TEXTPATH_METHODTYPE_ALIGN: textpathMethodtype = textpathMethodtype(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TEXTPATH_METHODTYPE_STRETCH: textpathMethodtype = textpathMethodtype(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const textpathMethodtype_Max: textpathMethodtype = textpathMethodtype(2147483647i32); -impl ::core::marker::Copy for textpathMethodtype {} -impl ::core::clone::Clone for textpathMethodtype { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for textpathMethodtype { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for textpathMethodtype { - type Abi = Self; -} -impl ::core::fmt::Debug for textpathMethodtype { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("textpathMethodtype").field(&self.0).finish() - } -} -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct textpathSpacingtype(pub i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TEXTPATH_SPACINGTYPE_UNKNOWN: textpathSpacingtype = textpathSpacingtype(0i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TEXTPATH_SPACINGTYPE_AUTO: textpathSpacingtype = textpathSpacingtype(1i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const TEXTPATH_SPACINGTYPE_EXACT: textpathSpacingtype = textpathSpacingtype(2i32); -#[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] -pub const textpathSpacingtype_Max: textpathSpacingtype = textpathSpacingtype(2147483647i32); -impl ::core::marker::Copy for textpathSpacingtype {} -impl ::core::clone::Clone for textpathSpacingtype { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for textpathSpacingtype { - fn default() -> Self { - Self(0) - } -} -unsafe impl ::windows::core::Abi for textpathSpacingtype { - type Abi = Self; -} -impl ::core::fmt::Debug for textpathSpacingtype { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("textpathSpacingtype").field(&self.0).finish() - } -} -pub const wfolders: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xbae31f9a_1b81_11d2_a97a_00c04f8ecb02); -#[cfg(feature = "implement")] -::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Win32/Web/impl.rs b/crates/libs/windows/src/Windows/Win32/Web/impl.rs deleted file mode 100644 index 8b13789179..0000000000 --- a/crates/libs/windows/src/Windows/Win32/Web/impl.rs +++ /dev/null @@ -1 +0,0 @@ - diff --git a/crates/libs/windows/src/Windows/Win32/Web/mod.rs b/crates/libs/windows/src/Windows/Win32/Web/mod.rs deleted file mode 100644 index ebb32d9e26..0000000000 --- a/crates/libs/windows/src/Windows/Win32/Web/mod.rs +++ /dev/null @@ -1,4 +0,0 @@ -#[cfg(feature = "Win32_Web_MsHtml")] -pub mod MsHtml; -#[cfg(feature = "implement")] -::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Win32/mod.rs b/crates/libs/windows/src/Windows/Win32/mod.rs index f77e0e283b..eafa2a0ac3 100644 --- a/crates/libs/windows/src/Windows/Win32/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/mod.rs @@ -28,7 +28,5 @@ pub mod Storage; pub mod System; #[cfg(feature = "Win32_UI")] pub mod UI; -#[cfg(feature = "Win32_Web")] -pub mod Web; #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/tests/mshtml/Cargo.toml b/crates/tests/mshtml/Cargo.toml deleted file mode 100644 index dc5249ec89..0000000000 --- a/crates/tests/mshtml/Cargo.toml +++ /dev/null @@ -1,13 +0,0 @@ -[package] -name = "test_mshtml" -version = "0.0.0" -authors = ["Microsoft"] -edition = "2018" - -[dependencies.windows] -path = "../../libs/windows" -features = [ - "Win32_Web_MsHtml", - "Win32_Foundation", - "Win32_System_Com", -] diff --git a/crates/tests/mshtml/src/lib.rs b/crates/tests/mshtml/src/lib.rs deleted file mode 100644 index 8b13789179..0000000000 --- a/crates/tests/mshtml/src/lib.rs +++ /dev/null @@ -1 +0,0 @@ - diff --git a/crates/tests/mshtml/tests/test.rs b/crates/tests/mshtml/tests/test.rs deleted file mode 100644 index 273702bb30..0000000000 --- a/crates/tests/mshtml/tests/test.rs +++ /dev/null @@ -1,23 +0,0 @@ -use windows::core::*; -use windows::Win32::System::Com::*; -use windows::Win32::Web::MsHtml::*; - -// This test exists primarily to validate that IDispatch-based interfaces are generated correctly. - -#[test] -fn main() -> Result<()> { - unsafe { - CoInitializeEx(core::ptr::null_mut(), COINIT_MULTITHREADED)?; - - let doc: IHTMLDocument3 = CoCreateInstance(&HTMLDocument, None, CLSCTX_ALL)?; - - let text = doc.createTextNode(&"windows-rs".into())?; - - let text: IHTMLDOMTextNode = text.cast()?; - - assert_eq!("windows-rs", text.toString()?); - assert_eq!(10, text.length()?); - - Ok(()) - } -} diff --git a/crates/tools/sys/src/main.rs b/crates/tools/sys/src/main.rs index b45c4944e4..417a56dfe9 100644 --- a/crates/tools/sys/src/main.rs +++ b/crates/tools/sys/src/main.rs @@ -1,7 +1,7 @@ use rayon::prelude::*; use std::io::prelude::*; -const EXCLUDE_NAMESPACES: [&str; 2] = ["Windows.Win32.Interop", "Windows.UI.Xaml"]; +const EXCLUDE_NAMESPACES: [&str; 4] = ["Windows.Win32.Interop", "Windows.UI.Xaml", "Windows.Win32.Web", "Windows.Win32.System.Diagnostics.Debug.WebApp"]; fn main() { let rustfmt = std::env::args().nth(1).unwrap_or_default() != "-p"; diff --git a/crates/tools/windows/src/main.rs b/crates/tools/windows/src/main.rs index f90dc8ee11..2d8824233b 100644 --- a/crates/tools/windows/src/main.rs +++ b/crates/tools/windows/src/main.rs @@ -1,7 +1,7 @@ use rayon::prelude::*; use std::io::prelude::*; -const EXCLUDE_NAMESPACES: [&str; 2] = ["Windows.Win32.Interop", "Windows.UI.Xaml"]; +const EXCLUDE_NAMESPACES: [&str; 4] = ["Windows.Win32.Interop", "Windows.UI.Xaml", "Windows.Win32.Web", "Windows.Win32.System.Diagnostics.Debug.WebApp"]; fn main() { let rustfmt = std::env::args().nth(1).unwrap_or_default() != "-p";